[INFO] fetching crate entrance 0.3.0... [INFO] checking entrance-0.3.0 against try#8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f for pr-105568 [INFO] extracting crate entrance 0.3.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate entrance 0.3.0 on toolchain 8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate entrance 0.3.0 [INFO] finished tweaking crates.io crate entrance 0.3.0 [INFO] tweaked toml for crates.io crate entrance 0.3.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate entrance 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d170f7e6d23811f3c5aacbc4bf91b4c0cb3485666d5a4eb0dc645797b562dc8d [INFO] running `Command { std: "docker" "start" "-a" "d170f7e6d23811f3c5aacbc4bf91b4c0cb3485666d5a4eb0dc645797b562dc8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d170f7e6d23811f3c5aacbc4bf91b4c0cb3485666d5a4eb0dc645797b562dc8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d170f7e6d23811f3c5aacbc4bf91b4c0cb3485666d5a4eb0dc645797b562dc8d", kill_on_drop: false }` [INFO] [stdout] d170f7e6d23811f3c5aacbc4bf91b4c0cb3485666d5a4eb0dc645797b562dc8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72827b5a55a59df948bc3d7b92da8e3231c485f011bdafe7e0c2cf2640c4e474 [INFO] running `Command { std: "docker" "start" "-a" "72827b5a55a59df948bc3d7b92da8e3231c485f011bdafe7e0c2cf2640c4e474", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling entrance_derive v0.3.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking entrance v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | -------- ^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `Box::::new` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/alloc/src/boxed.rs:218:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | ^^^^^^^^^^^ ------- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `std::result::Result::::map_err` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/core/src/result.rs:858:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|&err| Error::ParseError(Box::new(err))) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `std::result::Result` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/core/src/result.rs:504:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Err == dyn std::error::Error` [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn parse_argument(arg: String) -> Result [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | ^^^^^ expected type parameter `E`, found trait object `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found trait object `dyn std::error::Error` [INFO] [stdout] = help: type parameters must be constrained to match other types [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | -------- ^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `Box::::new` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/alloc/src/boxed.rs:218:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | ^^^^^^^^^^^ ------- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `std::result::Result::::map_err` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/core/src/result.rs:858:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|&err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `std::result::Result` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/core/src/result.rs:504:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Err == dyn std::error::Error` [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_variable_argument(args: I) -> Result [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | ^^^^^ expected type parameter `E`, found trait object `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found trait object `dyn std::error::Error` [INFO] [stdout] = help: type parameters must be constrained to match other types [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | -------- ^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `Box::::new` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/alloc/src/boxed.rs:218:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | ^^^^^^^^^^^ ------- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `std::result::Result::::map_err` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/core/src/result.rs:858:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|&err| Error::ParseError(Box::new(err))) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `std::result::Result` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/core/src/result.rs:504:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Err == dyn std::error::Error` [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn parse_argument(arg: String) -> Result [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 73 | arg.parse().map_err(|err| Error::ParseError(Box::new(err))) [INFO] [stdout] | ^^^^^ expected type parameter `E`, found trait object `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found trait object `dyn std::error::Error` [INFO] [stdout] = help: type parameters must be constrained to match other types [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `entrance` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | -------- ^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `Box::::new` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/alloc/src/boxed.rs:218:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | ^^^^^^^^^^^ ------- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `std::result::Result::::map_err` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/core/src/result.rs:858:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|&err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `std::result::Result` [INFO] [stdout] --> /rustc/8c8ae8ffc9525cd62834a2b27e7aecc1c64ff44f/library/core/src/result.rs:504:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Err == dyn std::error::Error` [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_variable_argument(args: I) -> Result [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 83 | args.map(|arg| arg.parse().map_err(|err| Error::ParseError(Box::new(err)))) [INFO] [stdout] | ^^^^^ expected type parameter `E`, found trait object `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found trait object `dyn std::error::Error` [INFO] [stdout] = help: type parameters must be constrained to match other types [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `entrance` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "72827b5a55a59df948bc3d7b92da8e3231c485f011bdafe7e0c2cf2640c4e474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72827b5a55a59df948bc3d7b92da8e3231c485f011bdafe7e0c2cf2640c4e474", kill_on_drop: false }` [INFO] [stdout] 72827b5a55a59df948bc3d7b92da8e3231c485f011bdafe7e0c2cf2640c4e474