[INFO] fetching crate buffett-metrics 0.1.3... [INFO] checking buffett-metrics-0.1.3 against master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] extracting crate buffett-metrics 0.1.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate buffett-metrics 0.1.3 on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sys-info v0.5.10 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded buffett-timing v0.1.1 [INFO] [stderr] Downloaded influx_db_client v0.3.6 [INFO] [stderr] Downloaded hyper-native-tls v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e997430c0b6f10e9fe06d8d6c4afd2dd92dd9f87e92bafb104c67ed98a67a413 [INFO] running `Command { std: "docker" "start" "-a" "e997430c0b6f10e9fe06d8d6c4afd2dd92dd9f87e92bafb104c67ed98a67a413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e997430c0b6f10e9fe06d8d6c4afd2dd92dd9f87e92bafb104c67ed98a67a413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e997430c0b6f10e9fe06d8d6c4afd2dd92dd9f87e92bafb104c67ed98a67a413", kill_on_drop: false }` [INFO] [stdout] e997430c0b6f10e9fe06d8d6c4afd2dd92dd9f87e92bafb104c67ed98a67a413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d9f9cf1489fea5a5eb00e2e9bac03bf9376726a4299cf8ed3503d6169d7b628 [INFO] running `Command { std: "docker" "start" "-a" "5d9f9cf1489fea5a5eb00e2e9bac03bf9376726a4299cf8ed3503d6169d7b628", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling sys-info v0.5.10 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking buffett-timing v0.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.0 [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: 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 158 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 186 | static SET_HOOK: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 80 | fn new(metrics_writer: Arc, write_frequency: Duration) -> Self { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 88 | writer: &Arc, [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 158 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 186 | static SET_HOOK: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 80 | fn new(metrics_writer: Arc, write_frequency: Duration) -> Self { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 88 | writer: &Arc, [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: 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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.95s [INFO] running `Command { std: "docker" "inspect" "5d9f9cf1489fea5a5eb00e2e9bac03bf9376726a4299cf8ed3503d6169d7b628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d9f9cf1489fea5a5eb00e2e9bac03bf9376726a4299cf8ed3503d6169d7b628", kill_on_drop: false }` [INFO] [stdout] 5d9f9cf1489fea5a5eb00e2e9bac03bf9376726a4299cf8ed3503d6169d7b628