[INFO] fetching crate convertible 0.0.1... [INFO] testing convertible-0.0.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate convertible 0.0.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate convertible 0.0.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate convertible 0.0.1 [INFO] finished tweaking crates.io crate convertible 0.0.1 [INFO] tweaked toml for crates.io crate convertible 0.0.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60b1d864d381d478267e8d26f2df2ce229218bd195fcf4a62eb4b9838e1a1093 [INFO] running `Command { std: "docker" "start" "-a" "60b1d864d381d478267e8d26f2df2ce229218bd195fcf4a62eb4b9838e1a1093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60b1d864d381d478267e8d26f2df2ce229218bd195fcf4a62eb4b9838e1a1093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b1d864d381d478267e8d26f2df2ce229218bd195fcf4a62eb4b9838e1a1093", kill_on_drop: false }` [INFO] [stdout] 60b1d864d381d478267e8d26f2df2ce229218bd195fcf4a62eb4b9838e1a1093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6002e5633b8ec4f21cc97f3d52f8a2d7333bc5e0416ffff65c0de6bcd262abc0 [INFO] running `Command { std: "docker" "start" "-a" "6002e5633b8ec4f21cc97f3d52f8a2d7333bc5e0416ffff65c0de6bcd262abc0", kill_on_drop: false }` [INFO] [stderr] Compiling convertible v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | fn convert(&From) -> Option; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &From` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(anonymous_parameters)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | fn coerce(From) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: From` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn to>(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 37 | pub trait Convertible { [INFO] [stdout] | ---- required by this bound in `Convertible` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 14 | fn to>(&self) -> Option where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Convertible { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn coerce>(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 47 | pub trait Coercible { [INFO] [stdout] | ---- required by this bound in `Coercible` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 20 | fn coerce>(self) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Coercible { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fn convert(&From) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 39 | fn convert(&From) -> Option where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | fn coerce(From) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 51 | fn coerce(From) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `convertible` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6002e5633b8ec4f21cc97f3d52f8a2d7333bc5e0416ffff65c0de6bcd262abc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6002e5633b8ec4f21cc97f3d52f8a2d7333bc5e0416ffff65c0de6bcd262abc0", kill_on_drop: false }` [INFO] [stdout] 6002e5633b8ec4f21cc97f3d52f8a2d7333bc5e0416ffff65c0de6bcd262abc0