[INFO] fetching crate hornet 0.1.0... [INFO] testing hornet-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate hornet 0.1.0 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate hornet 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1096374d2b2bdc265ba92e7910532e4c805210e287a6de2df92353a29ed96596 [INFO] running `Command { std: "docker" "start" "-a" "1096374d2b2bdc265ba92e7910532e4c805210e287a6de2df92353a29ed96596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1096374d2b2bdc265ba92e7910532e4c805210e287a6de2df92353a29ed96596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1096374d2b2bdc265ba92e7910532e4c805210e287a6de2df92353a29ed96596", kill_on_drop: false }` [INFO] [stdout] 1096374d2b2bdc265ba92e7910532e4c805210e287a6de2df92353a29ed96596 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1115594abe3bfdab3dc1702ed42b4eb73dcf287a64c0aad76dc2a7df87f8f56 [INFO] running `Command { std: "docker" "start" "-a" "e1115594abe3bfdab3dc1702ed42b4eb73dcf287a64c0aad76dc2a7df87f8f56", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling memmap v0.5.2 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling nix v0.8.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [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 5.05s [INFO] running `Command { std: "docker" "inspect" "e1115594abe3bfdab3dc1702ed42b4eb73dcf287a64c0aad76dc2a7df87f8f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1115594abe3bfdab3dc1702ed42b4eb73dcf287a64c0aad76dc2a7df87f8f56", kill_on_drop: false }` [INFO] [stdout] e1115594abe3bfdab3dc1702ed42b4eb73dcf287a64c0aad76dc2a7df87f8f56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85297da6cb91fee1bac2aad245bb680df6de70a04da66d55b99ff145631493e2 [INFO] running `Command { std: "docker" "start" "-a" "85297da6cb91fee1bac2aad245bb680df6de70a04da66d55b99ff145631493e2", kill_on_drop: false }` [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] [stderr] Compiling hornet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 1.68s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hornet-7de342472ac6dfce) [INFO] [stderr] Executable unittests src/bin/mmvdump.rs (/opt/rustwide/target/debug/deps/mmvdump-89c1db751509515d) [INFO] [stderr] Executable tests/mmvfmt.rs (/opt/rustwide/target/debug/deps/mmvfmt-956b2540b81baeb8) [INFO] running `Command { std: "docker" "inspect" "85297da6cb91fee1bac2aad245bb680df6de70a04da66d55b99ff145631493e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85297da6cb91fee1bac2aad245bb680df6de70a04da66d55b99ff145631493e2", kill_on_drop: false }` [INFO] [stdout] 85297da6cb91fee1bac2aad245bb680df6de70a04da66d55b99ff145631493e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd2b3a194cbb24736935983c306d3226488257da4143f95617ddc5b685203f0c [INFO] running `Command { std: "docker" "start" "-a" "dd2b3a194cbb24736935983c306d3226488257da4143f95617ddc5b685203f0c", 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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hornet-7de342472ac6dfce) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test client::metric::gauge::test ... ok [INFO] [stdout] test client::metric::counter::test ... ok [INFO] [stdout] test client::metric::countvector::test_multiple_initvals ... ok [INFO] [stdout] test client::metric::countvector::test ... ok [INFO] [stdout] test client::metric::gaugevector::test ... ok [INFO] [stdout] test client::metric::test_units ... ok [INFO] [stdout] test client::metric::test_instance_metrics ... ok [INFO] [stdout] test client::metric::test_mmv2_string_blocks ... ok [INFO] [stdout] test client::metric::test_invalid_strings ... ok [INFO] [stdout] test client::test_init_pcp_conf ... ok [INFO] [stdout] test client::metric::test_simple_metrics ... ok [INFO] [stdout] test client::metric::test_mmv2_string_check ... ok [INFO] [stdout] test client::test_mmv_dir ... ok [INFO] [stdout] test client::test_mmv_header ... ok [INFO] [stdout] test client::metric::test_random_numeric_metrics ... ok [INFO] [stdout] test client::metric::histogram::test ... ok [INFO] [stdout] test client::metric::timer::test ... ok [INFO] [stderr] Running unittests src/bin/mmvdump.rs (/opt/rustwide/target/debug/deps/mmvdump-89c1db751509515d) [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] [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] [stdout] [INFO] [stderr] Running tests/mmvfmt.rs (/opt/rustwide/target/debug/deps/mmvfmt-956b2540b81baeb8) [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests hornet [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] [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" "dd2b3a194cbb24736935983c306d3226488257da4143f95617ddc5b685203f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2b3a194cbb24736935983c306d3226488257da4143f95617ddc5b685203f0c", kill_on_drop: false }` [INFO] [stdout] dd2b3a194cbb24736935983c306d3226488257da4143f95617ddc5b685203f0c