-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
nightly breakageBreakage on the nightly channel onlyBreakage on the nightly channel onlyupstreamAn unresolvable issue: an upstream dependency bugAn unresolvable issue: an upstream dependency bug
Description
Description
Compilation fails with following error:
error[E0277]: the trait bound `(dyn catcher::handler::Handler + 'static): catcher::handler::Cloneable` is not satisfied
--> /home/mpa/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket-0.5.0-rc.1/src/catcher/handler.rs:150:14
|
150 | self.clone_handler()
| ^^^^^^^^^^^^^ the trait `catcher::handler::Cloneable` is not implemented for `(dyn catcher::handler::Handler + 'static)`
error[E0277]: the trait bound `(dyn route::handler::Handler + 'static): route::handler::Cloneable` is not satisfied
--> /home/mpa/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket-0.5.0-rc.1/src/route/handler.rs:316:14
|
316 | self.clone_handler()
| ^^^^^^^^^^^^^ the trait `route::handler::Cloneable` is not implemented for `(dyn route::handler::Handler + 'static)`
To Reproduce
main.rs:
fn main() {
println!("Hello, world!");
}
Cargo.toml:
[package]
name = "rocket-build-failure"
version = "0.1.0"
edition = "2018"
[dependencies]
rocket = "0.5.0-rc.1"
rust-toolchain.toml:
[toolchain]
channel = "nightly-2021-10-15"
Environment:
- Arch Linux 5.4.12-arch1-1
- rocket 0.5.0-rc.1
- toolchain: nightly-x86_64-unknown-linux-gnu (c1026539b 2021-10-15)
lambda-fairy, ogham, helxsz, jhkersul, marcusbuffett and 11 more
Metadata
Metadata
Assignees
Labels
nightly breakageBreakage on the nightly channel onlyBreakage on the nightly channel onlyupstreamAn unresolvable issue: an upstream dependency bugAn unresolvable issue: an upstream dependency bug