[INFO] fetching crate buffett-metrics 0.1.3... [INFO] checking buffett-metrics-0.1.3 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate buffett-metrics 0.1.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate buffett-metrics 0.1.3 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate buffett-metrics 0.1.3 [INFO] finished tweaking crates.io crate buffett-metrics 0.1.3 [INFO] tweaked toml for crates.io crate buffett-metrics 0.1.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded buffett-timing v0.1.1 [INFO] [stderr] Downloaded influx_db_client v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 943b2e57a4719566a2689ab4b76e6fd0765f41ce39f9be4710c7558439332326 [INFO] running `Command { std: "docker" "start" "-a" "943b2e57a4719566a2689ab4b76e6fd0765f41ce39f9be4710c7558439332326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "943b2e57a4719566a2689ab4b76e6fd0765f41ce39f9be4710c7558439332326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943b2e57a4719566a2689ab4b76e6fd0765f41ce39f9be4710c7558439332326", kill_on_drop: false }` [INFO] [stdout] 943b2e57a4719566a2689ab4b76e6fd0765f41ce39f9be4710c7558439332326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2f638f6ad19a966be3a6fd1a14fa9dc5e650513e0e2b5ccc24074d8d1ffb323 [INFO] running `Command { std: "docker" "start" "-a" "d2f638f6ad19a966be3a6fd1a14fa9dc5e650513e0e2b5ccc24074d8d1ffb323", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking buffett-timing v0.1.1 [INFO] [stderr] Compiling sys-info v0.5.10 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking serde_json v1.0.68 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Checking influx_db_client v0.3.6 [INFO] [stderr] Checking buffett-metrics v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(metrics_writer: Arc, write_frequency: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetricsWriter + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | writer: &Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetricsWriter + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metrics.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Barrier, Mutex, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metrics.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metrics.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | static SET_HOOK: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(metrics_writer: Arc, write_frequency: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetricsWriter + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | writer: &Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetricsWriter + Send + Sync` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metrics.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Barrier, Mutex, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metrics.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metrics.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | static SET_HOOK: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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/counter.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | .compare_and_swap(lastlog, counts, Ordering::Relaxed); [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/counter.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | .compare_and_swap(lastlog, counts, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.67s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2f638f6ad19a966be3a6fd1a14fa9dc5e650513e0e2b5ccc24074d8d1ffb323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f638f6ad19a966be3a6fd1a14fa9dc5e650513e0e2b5ccc24074d8d1ffb323", kill_on_drop: false }` [INFO] [stdout] d2f638f6ad19a966be3a6fd1a14fa9dc5e650513e0e2b5ccc24074d8d1ffb323