[INFO] fetching crate metrics-facade 0.1.1... [INFO] building metrics-facade-0.1.1 against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] extracting crate metrics-facade 0.1.1 into /workspace/builds/worker-39/source [INFO] validating manifest of crates.io crate metrics-facade 0.1.1 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 metrics-facade 0.1.1 [INFO] finished tweaking crates.io crate metrics-facade 0.1.1 [INFO] tweaked toml for crates.io crate metrics-facade 0.1.1 written to /workspace/builds/worker-39/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-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] fffb8445772d798c0d877f78149c48180464611ae11c75185f3ef629dce10a8d [INFO] running `Command { std: "docker" "start" "-a" "fffb8445772d798c0d877f78149c48180464611ae11c75185f3ef629dce10a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fffb8445772d798c0d877f78149c48180464611ae11c75185f3ef629dce10a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fffb8445772d798c0d877f78149c48180464611ae11c75185f3ef629dce10a8d", kill_on_drop: false }` [INFO] [stdout] fffb8445772d798c0d877f78149c48180464611ae11c75185f3ef629dce10a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] da88ec2401dfc3f9414d5777d6c6768b29365997160f7c43a5fc46969e3b67f3 [INFO] running `Command { std: "docker" "start" "-a" "da88ec2401dfc3f9414d5777d6c6768b29365997160f7c43a5fc46969e3b67f3", kill_on_drop: false }` [INFO] [stderr] Compiling metrics-facade v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling metrics-core v0.4.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | static mut RECORDER: &'static Recorder = &NoopRecorder; [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - static mut RECORDER: &'static Recorder = &NoopRecorder; [INFO] [stdout] 157 + static mut RECORDER: &'static dyn Recorder = &NoopRecorder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn set_recorder(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn set_recorder(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] 216 + pub fn set_recorder(recorder: &'static dyn Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | F: FnOnce() -> &'static Recorder, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - F: FnOnce() -> &'static Recorder, [INFO] [stdout] 239 + F: FnOnce() -> &'static dyn Recorder, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:274:52 [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn set_recorder_racy(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - pub unsafe fn set_recorder_racy(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] 274 + pub unsafe fn set_recorder_racy(recorder: &'static dyn Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn recorder() -> &'static Recorder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 310 - pub fn recorder() -> &'static Recorder { [INFO] [stdout] 310 + pub fn recorder() -> &'static dyn Recorder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | match STATE.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "da88ec2401dfc3f9414d5777d6c6768b29365997160f7c43a5fc46969e3b67f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da88ec2401dfc3f9414d5777d6c6768b29365997160f7c43a5fc46969e3b67f3", kill_on_drop: false }` [INFO] [stdout] da88ec2401dfc3f9414d5777d6c6768b29365997160f7c43a5fc46969e3b67f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] 16c8a90e064eaebb0682a830ece14cb93d9a596a6d90fab51e902e8a1a1918bd [INFO] running `Command { std: "docker" "start" "-a" "16c8a90e064eaebb0682a830ece14cb93d9a596a6d90fab51e902e8a1a1918bd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | static mut RECORDER: &'static Recorder = &NoopRecorder; [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - static mut RECORDER: &'static Recorder = &NoopRecorder; [INFO] [stdout] 157 + static mut RECORDER: &'static dyn Recorder = &NoopRecorder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn set_recorder(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn set_recorder(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] 216 + pub fn set_recorder(recorder: &'static dyn Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | F: FnOnce() -> &'static Recorder, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - F: FnOnce() -> &'static Recorder, [INFO] [stdout] 239 + F: FnOnce() -> &'static dyn Recorder, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:274:52 [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn set_recorder_racy(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - pub unsafe fn set_recorder_racy(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] 274 + pub unsafe fn set_recorder_racy(recorder: &'static dyn Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn recorder() -> &'static Recorder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 310 - pub fn recorder() -> &'static Recorder { [INFO] [stdout] 310 + pub fn recorder() -> &'static dyn Recorder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | match STATE.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling metrics-facade v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | static mut RECORDER: &'static Recorder = &NoopRecorder; [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - static mut RECORDER: &'static Recorder = &NoopRecorder; [INFO] [stdout] 157 + static mut RECORDER: &'static dyn Recorder = &NoopRecorder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn set_recorder(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn set_recorder(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] 216 + pub fn set_recorder(recorder: &'static dyn Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | F: FnOnce() -> &'static Recorder, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 - F: FnOnce() -> &'static Recorder, [INFO] [stdout] 239 + F: FnOnce() -> &'static dyn Recorder, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:274:52 [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn set_recorder_racy(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 - pub unsafe fn set_recorder_racy(recorder: &'static Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] 274 + pub unsafe fn set_recorder_racy(recorder: &'static dyn Recorder) -> Result<(), SetRecorderError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn recorder() -> &'static Recorder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 310 - pub fn recorder() -> &'static Recorder { [INFO] [stdout] 310 + pub fn recorder() -> &'static dyn Recorder { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | match STATE.compare_and_swap(UNINITIALIZED, INITIALIZING, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.35s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/metrics_facade-3eaa92398eb20db1) [INFO] running `Command { std: "docker" "inspect" "16c8a90e064eaebb0682a830ece14cb93d9a596a6d90fab51e902e8a1a1918bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c8a90e064eaebb0682a830ece14cb93d9a596a6d90fab51e902e8a1a1918bd", kill_on_drop: false }` [INFO] [stdout] 16c8a90e064eaebb0682a830ece14cb93d9a596a6d90fab51e902e8a1a1918bd