[INFO] fetching crate hornet 0.1.0... [INFO] testing hornet-0.1.0 against try#61cd42370816fd135c0f3b9debf2f5dfcf194594 for pr-98839 [INFO] extracting crate hornet 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate hornet 0.1.0 on toolchain 61cd42370816fd135c0f3b9debf2f5dfcf194594 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hornet 0.1.0 [INFO] finished tweaking crates.io crate hornet 0.1.0 [INFO] tweaked toml for crates.io crate hornet 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b571fab34cd3dd0d84b174b4368a5563435552ad97b92ffeb582c350219c2d24 [INFO] running `Command { std: "docker" "start" "-a" "b571fab34cd3dd0d84b174b4368a5563435552ad97b92ffeb582c350219c2d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b571fab34cd3dd0d84b174b4368a5563435552ad97b92ffeb582c350219c2d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b571fab34cd3dd0d84b174b4368a5563435552ad97b92ffeb582c350219c2d24", kill_on_drop: false }` [INFO] [stdout] b571fab34cd3dd0d84b174b4368a5563435552ad97b92ffeb582c350219c2d24 [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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fa789b10a0942ff411d335d92159317ec75e0e7461a4361b2e6fae9463b343e [INFO] running `Command { std: "docker" "start" "-a" "7fa789b10a0942ff411d335d92159317ec75e0e7461a4361b2e6fae9463b343e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-util v0.1.9 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling memmap v0.5.2 [INFO] [stderr] Compiling nix v0.8.1 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling hdrsample v4.0.0 [INFO] [stderr] Compiling hornet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `nix` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(unix)] extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE: Regex = [INFO] [stdout] 94 | | Regex::new("(?-u)^(PCP_[[:alnum:]_]+)=([^\"\'].*[^\"\'])\n$") [INFO] [stdout] 95 | | .unwrap(); [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/metric/mod.rs:539:1 [INFO] [stdout] | [INFO] [stdout] 539 | / lazy_static! { [INFO] [stdout] 540 | | static ref SCRATCH_VIEW: MmapViewSync = { [INFO] [stdout] 541 | | Mmap::anonymous(STRING_BLOCK_LEN as usize, Protection::ReadWrite).unwrap() [INFO] [stdout] 542 | | .into_view_sync() [INFO] [stdout] 543 | | }; [INFO] [stdout] 544 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:226:46 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn export(&self, metrics: &mut [&mut MMVWriter]) -> io::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] 226 - pub fn export(&self, metrics: &mut [&mut MMVWriter]) -> io::Result<()> { [INFO] [stdout] 226 + pub fn export(&self, metrics: &mut [&mut dyn MMVWriter]) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.39s [INFO] running `Command { std: "docker" "inspect" "7fa789b10a0942ff411d335d92159317ec75e0e7461a4361b2e6fae9463b343e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fa789b10a0942ff411d335d92159317ec75e0e7461a4361b2e6fae9463b343e", kill_on_drop: false }` [INFO] [stdout] 7fa789b10a0942ff411d335d92159317ec75e0e7461a4361b2e6fae9463b343e [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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 784ab08197fde9f2fa72e811f87cad86415c9fdc0b2f9d50b02a5625e623073e [INFO] running `Command { std: "docker" "start" "-a" "784ab08197fde9f2fa72e811f87cad86415c9fdc0b2f9d50b02a5625e623073e", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stdout] warning: the item `nix` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(unix)] extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE: Regex = [INFO] [stdout] 94 | | Regex::new("(?-u)^(PCP_[[:alnum:]_]+)=([^\"\'].*[^\"\'])\n$") [INFO] [stdout] 95 | | .unwrap(); [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/metric/mod.rs:539:1 [INFO] [stdout] | [INFO] [stdout] 539 | / lazy_static! { [INFO] [stdout] 540 | | static ref SCRATCH_VIEW: MmapViewSync = { [INFO] [stdout] 541 | | Mmap::anonymous(STRING_BLOCK_LEN as usize, Protection::ReadWrite).unwrap() [INFO] [stdout] 542 | | .into_view_sync() [INFO] [stdout] 543 | | }; [INFO] [stdout] 544 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:226:46 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn export(&self, metrics: &mut [&mut MMVWriter]) -> io::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] 226 - pub fn export(&self, metrics: &mut [&mut MMVWriter]) -> io::Result<()> { [INFO] [stdout] 226 + pub fn export(&self, metrics: &mut [&mut dyn MMVWriter]) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hornet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `nix` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(unix)] extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / bitflags! { [INFO] [stdout] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stdout] 150 | | pub struct MMVFlags: u32 { [INFO] [stdout] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE: Regex = [INFO] [stdout] 94 | | Regex::new("(?-u)^(PCP_[[:alnum:]_]+)=([^\"\'].*[^\"\'])\n$") [INFO] [stdout] 95 | | .unwrap(); [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/client/metric/mod.rs:539:1 [INFO] [stdout] | [INFO] [stdout] 539 | / lazy_static! { [INFO] [stdout] 540 | | static ref SCRATCH_VIEW: MmapViewSync = { [INFO] [stdout] 541 | | Mmap::anonymous(STRING_BLOCK_LEN as usize, Protection::ReadWrite).unwrap() [INFO] [stdout] 542 | | .into_view_sync() [INFO] [stdout] 543 | | }; [INFO] [stdout] 544 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:226:46 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn export(&self, metrics: &mut [&mut MMVWriter]) -> io::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] 226 - pub fn export(&self, metrics: &mut [&mut MMVWriter]) -> io::Result<()> { [INFO] [stdout] 226 + pub fn export(&self, metrics: &mut [&mut dyn MMVWriter]) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/metric/mod.rs:1355:39 [INFO] [stdout] | [INFO] [stdout] 1355 | let mut mmv_writers: Vec<&mut MMVWriter> = metrics.iter_mut() [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] 1355 - let mut mmv_writers: Vec<&mut MMVWriter> = metrics.iter_mut() [INFO] [stdout] 1355 + let mut mmv_writers: Vec<&mut dyn MMVWriter> = metrics.iter_mut() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/metric/mod.rs:1356:32 [INFO] [stdout] | [INFO] [stdout] 1356 | .map(|m| m as &mut MMVWriter) [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] 1356 - .map(|m| m as &mut MMVWriter) [INFO] [stdout] 1356 + .map(|m| m as &mut dyn MMVWriter) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "784ab08197fde9f2fa72e811f87cad86415c9fdc0b2f9d50b02a5625e623073e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "784ab08197fde9f2fa72e811f87cad86415c9fdc0b2f9d50b02a5625e623073e", kill_on_drop: false }` [INFO] [stdout] 784ab08197fde9f2fa72e811f87cad86415c9fdc0b2f9d50b02a5625e623073e [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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3728f1ccab46a3b88c31bb67fa8aa506f9e40f61ce5669f59f96886303208958 [INFO] running `Command { std: "docker" "start" "-a" "3728f1ccab46a3b88c31bb67fa8aa506f9e40f61ce5669f59f96886303208958", kill_on_drop: false }` [INFO] [stderr] warning: the item `nix` is imported redundantly [INFO] [stderr] --> src/client/mod.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | use nix; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(unix)] extern crate nix; [INFO] [stderr] | ----------------- the item `nix` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/client/mod.rs:148:1 [INFO] [stderr] | [INFO] [stderr] 148 | / bitflags! { [INFO] [stderr] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stderr] 150 | | pub struct MMVFlags: u32 { [INFO] [stderr] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stderr] ... | [INFO] [stderr] 157 | | } [INFO] [stderr] 158 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/client/mod.rs:148:1 [INFO] [stderr] | [INFO] [stderr] 148 | / bitflags! { [INFO] [stderr] 149 | | /// Flags used to modify how a client exports metrics [INFO] [stderr] 150 | | pub struct MMVFlags: u32 { [INFO] [stderr] 151 | | /// Metric names aren't prefixed with MMV filename [INFO] [stderr] ... | [INFO] [stderr] 157 | | } [INFO] [stderr] 158 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/client/mod.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | / lazy_static! { [INFO] [stderr] 93 | | static ref RE: Regex = [INFO] [stderr] 94 | | Regex::new("(?-u)^(PCP_[[:alnum:]_]+)=([^\"\'].*[^\"\'])\n$") [INFO] [stderr] 95 | | .unwrap(); [INFO] [stderr] 96 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/client/metric/mod.rs:539:1 [INFO] [stderr] | [INFO] [stderr] 539 | / lazy_static! { [INFO] [stderr] 540 | | static ref SCRATCH_VIEW: MmapViewSync = { [INFO] [stderr] 541 | | Mmap::anonymous(STRING_BLOCK_LEN as usize, Protection::ReadWrite).unwrap() [INFO] [stderr] 542 | | .into_view_sync() [INFO] [stderr] 543 | | }; [INFO] [stderr] 544 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client/mod.rs:226:46 [INFO] [stderr] | [INFO] [stderr] 226 | pub fn export(&self, metrics: &mut [&mut MMVWriter]) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 226 - pub fn export(&self, metrics: &mut [&mut MMVWriter]) -> io::Result<()> { [INFO] [stderr] 226 + pub fn export(&self, metrics: &mut [&mut dyn MMVWriter]) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client/metric/mod.rs:1355:39 [INFO] [stderr] | [INFO] [stderr] 1355 | let mut mmv_writers: Vec<&mut MMVWriter> = metrics.iter_mut() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1355 - let mut mmv_writers: Vec<&mut MMVWriter> = metrics.iter_mut() [INFO] [stderr] 1355 + let mut mmv_writers: Vec<&mut dyn MMVWriter> = metrics.iter_mut() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client/metric/mod.rs:1356:32 [INFO] [stderr] | [INFO] [stderr] 1356 | .map(|m| m as &mut MMVWriter) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1356 - .map(|m| m as &mut MMVWriter) [INFO] [stderr] 1356 + .map(|m| m as &mut dyn MMVWriter) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hornet` (lib) generated 7 warnings (1 duplicate) [INFO] [stderr] warning: `hornet` (lib test) generated 9 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hornet-0251a354843ef82c) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test client::metric::counter::test ... ok [INFO] [stdout] test client::metric::gauge::test ... ok [INFO] [stdout] test client::metric::gaugevector::test ... ok [INFO] [stdout] test client::metric::countvector::test ... ok [INFO] [stdout] test client::metric::test_instance_metrics ... ok [INFO] [stdout] test client::metric::test_invalid_strings ... ok [INFO] [stdout] test client::metric::test_units ... ok [INFO] [stdout] test client::metric::test_mmv2_string_blocks ... ok [INFO] [stdout] test client::metric::test_mmv2_string_check ... ok [INFO] [stdout] test client::test_init_pcp_conf ... ok [INFO] [stdout] test client::test_mmv_dir ... ok [INFO] [stdout] test client::metric::test_simple_metrics ... ok [INFO] [stdout] test client::test_mmv_header ... ok [INFO] [stdout] test client::metric::test_random_numeric_metrics ... ok [INFO] [stdout] test client::metric::countvector::test_multiple_initvals ... ok [INFO] [stdout] test client::metric::histogram::test ... ok [INFO] [stdout] test client::metric::timer::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/mmvdump.rs (/opt/rustwide/target/debug/deps/mmvdump-5127051490338069) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/mmvfmt.rs (/opt/rustwide/target/debug/deps/mmvfmt-781ad017ae928109) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_mmvfmt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hornet [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3728f1ccab46a3b88c31bb67fa8aa506f9e40f61ce5669f59f96886303208958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3728f1ccab46a3b88c31bb67fa8aa506f9e40f61ce5669f59f96886303208958", kill_on_drop: false }` [INFO] [stdout] 3728f1ccab46a3b88c31bb67fa8aa506f9e40f61ce5669f59f96886303208958