[INFO] fetching crate wilton_rust 0.2.0... [INFO] building wilton_rust-0.2.0 against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] extracting crate wilton_rust 0.2.0 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate wilton_rust 0.2.0 on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wilton_rust 0.2.0 [INFO] finished tweaking crates.io crate wilton_rust 0.2.0 [INFO] tweaked toml for crates.io crate wilton_rust 0.2.0 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c14bc2ab7de92bf34dc377c8c15c5a15e5ef8671578f12b62ef95b7bfa289c0d [INFO] running `Command { std: "docker" "start" "-a" "c14bc2ab7de92bf34dc377c8c15c5a15e5ef8671578f12b62ef95b7bfa289c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c14bc2ab7de92bf34dc377c8c15c5a15e5ef8671578f12b62ef95b7bfa289c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c14bc2ab7de92bf34dc377c8c15c5a15e5ef8671578f12b62ef95b7bfa289c0d", kill_on_drop: false }` [INFO] [stdout] c14bc2ab7de92bf34dc377c8c15c5a15e5ef8671578f12b62ef95b7bfa289c0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cf36bbd7f3c0c2a8ba1f14da57d943a5499c32732910c64f24d2bf75b265a64 [INFO] running `Command { std: "docker" "start" "-a" "9cf36bbd7f3c0c2a8ba1f14da57d943a5499c32732910c64f24d2bf75b265a64", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling wilton_rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | #[allow(private_no_mangle_fns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | type WiltonCallback = Box Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - type WiltonCallback = Box Result>; [INFO] [stdout] 102 + type WiltonCallback = Box Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] 135 + fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 169 - let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] 169 + let callback_ref: &mut dyn Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:239:58 [INFO] [stdout] | [INFO] [stdout] 239 | ... Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:242:46 [INFO] [stdout] | [INFO] [stdout] 242 | Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:334:42 [INFO] [stdout] | [INFO] [stdout] 334 | Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:355:58 [INFO] [stdout] | [INFO] [stdout] 355 | ... Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.69s [INFO] running `Command { std: "docker" "inspect" "9cf36bbd7f3c0c2a8ba1f14da57d943a5499c32732910c64f24d2bf75b265a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf36bbd7f3c0c2a8ba1f14da57d943a5499c32732910c64f24d2bf75b265a64", kill_on_drop: false }` [INFO] [stdout] 9cf36bbd7f3c0c2a8ba1f14da57d943a5499c32732910c64f24d2bf75b265a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19cd6a2c22f23782fb4aa18d4c82a19119a54407a01ddedcc5f9685c5d98b2c0 [INFO] running `Command { std: "docker" "start" "-a" "19cd6a2c22f23782fb4aa18d4c82a19119a54407a01ddedcc5f9685c5d98b2c0", kill_on_drop: false }` [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | #[allow(private_no_mangle_fns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | type WiltonCallback = Box Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - type WiltonCallback = Box Result>; [INFO] [stdout] 102 + type WiltonCallback = Box Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] 135 + fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 169 - let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] 169 + let callback_ref: &mut dyn Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:239:58 [INFO] [stdout] | [INFO] [stdout] 239 | ... Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wilton_rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:242:46 [INFO] [stdout] | [INFO] [stdout] 242 | Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:334:42 [INFO] [stdout] | [INFO] [stdout] 334 | Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:355:58 [INFO] [stdout] | [INFO] [stdout] 355 | ... Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | #[allow(private_no_mangle_fns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | type WiltonCallback = Box Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - type WiltonCallback = Box Result>; [INFO] [stdout] 102 + type WiltonCallback = Box Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] 135 + fn panicmsg<'a>(e: &'a std::boxed::Box) -> &'a str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 169 - let callback_ref: &mut Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] 169 + let callback_ref: &mut dyn Fn(&[u8]) -> Result = &mut **callback_boxed_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:239:58 [INFO] [stdout] | [INFO] [stdout] 239 | ... Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:242:46 [INFO] [stdout] | [INFO] [stdout] 242 | Err(e) => Err(String::from(e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:334:42 [INFO] [stdout] | [INFO] [stdout] 334 | Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:355:58 [INFO] [stdout] | [INFO] [stdout] 355 | ... Err(e) => Err(String::from(e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/wilton_rust-6c69d0e64c9fa708) [INFO] running `Command { std: "docker" "inspect" "19cd6a2c22f23782fb4aa18d4c82a19119a54407a01ddedcc5f9685c5d98b2c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19cd6a2c22f23782fb4aa18d4c82a19119a54407a01ddedcc5f9685c5d98b2c0", kill_on_drop: false }` [INFO] [stdout] 19cd6a2c22f23782fb4aa18d4c82a19119a54407a01ddedcc5f9685c5d98b2c0