[INFO] fetching crate mut_static 5.0.0... [INFO] checking mut_static-5.0.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate mut_static 5.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate mut_static 5.0.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mut_static 5.0.0 [INFO] finished tweaking crates.io crate mut_static 5.0.0 [INFO] tweaked toml for crates.io crate mut_static 5.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding error-chain v0.10.0 (latest: v0.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4220b64eeee3e734402020d998f992fe057f3a306cb99d619fa2d17c6316075a [INFO] running `Command { std: "docker" "start" "-a" "4220b64eeee3e734402020d998f992fe057f3a306cb99d619fa2d17c6316075a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4220b64eeee3e734402020d998f992fe057f3a306cb99d619fa2d17c6316075a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4220b64eeee3e734402020d998f992fe057f3a306cb99d619fa2d17c6316075a", kill_on_drop: false }` [INFO] [stdout] 4220b64eeee3e734402020d998f992fe057f3a306cb99d619fa2d17c6316075a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6e80456ad516e28526046e4f9589ce1b6e540580f597b61f33f7c4ef37c576c [INFO] running `Command { std: "docker" "start" "-a" "e6e80456ad516e28526046e4f9589ce1b6e540580f597b61f33f7c4ef37c576c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking mut_static v5.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mut_static.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | Err(err) => Err(ErrorKind::PoisonError(err.description().to_string(), format!("{}", err)).into()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mut_static.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 46 | Err(err) => Err(ErrorKind::PoisonError(err.description().to_string(), format!("{}", err)).into()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mut_static.rs:54:67 [INFO] [stdout] | [INFO] [stdout] 54 | Err(err) => return Err(ErrorKind::PoisonError(err.description().to_string(), format!("{}", err)).into()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mut_static.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | Err(err) => Err(ErrorKind::PoisonError(err.description().to_string(), format!("{}", err)).into()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mut_static.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | Err(err) => Err(ErrorKind::PoisonError(err.description().to_string(), format!("{}", err)).into()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mut_static.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 46 | Err(err) => Err(ErrorKind::PoisonError(err.description().to_string(), format!("{}", err)).into()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mut_static.rs:54:67 [INFO] [stdout] | [INFO] [stdout] 54 | Err(err) => return Err(ErrorKind::PoisonError(err.description().to_string(), format!("{}", err)).into()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mut_static.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | Err(err) => Err(ErrorKind::PoisonError(err.description().to_string(), format!("{}", err)).into()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/test/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | mem::replace(test_obj.deref_mut(), TestStruct::new(2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = mem::replace(test_obj.deref_mut(), TestStruct::new(2)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "e6e80456ad516e28526046e4f9589ce1b6e540580f597b61f33f7c4ef37c576c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e80456ad516e28526046e4f9589ce1b6e540580f597b61f33f7c4ef37c576c", kill_on_drop: false }` [INFO] [stdout] e6e80456ad516e28526046e4f9589ce1b6e540580f597b61f33f7c4ef37c576c