[INFO] fetching crate hornet 0.1.0... [INFO] testing hornet-0.1.0 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate hornet 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate hornet 0.1.0 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.9.1 (available: v2.6.0) [INFO] [stderr] Adding hdrsample v4.0.0 (available: v6.0.4) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding memmap v0.5.2 (available: v0.7.0) [INFO] [stderr] Adding nix v0.8.1 (available: v0.29.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.37) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43f6aaf90447d1668876c474cde3a132f5aa1622500124fc7a430c7d34062780 [INFO] running `Command { std: "docker" "start" "-a" "43f6aaf90447d1668876c474cde3a132f5aa1622500124fc7a430c7d34062780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43f6aaf90447d1668876c474cde3a132f5aa1622500124fc7a430c7d34062780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f6aaf90447d1668876c474cde3a132f5aa1622500124fc7a430c7d34062780", kill_on_drop: false }` [INFO] [stdout] 43f6aaf90447d1668876c474cde3a132f5aa1622500124fc7a430c7d34062780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 596f93f001c6d4872e3d2f5ec66004117d87aac826e2843d8c3ad8fdbfa4ef08 [INFO] running `Command { std: "docker" "start" "-a" "596f93f001c6d4872e3d2f5ec66004117d87aac826e2843d8c3ad8fdbfa4ef08", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling memmap v0.5.2 [INFO] [stderr] Compiling nix v0.8.1 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [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: 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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 | pub fn export(&self, metrics: &mut [&mut dyn MMVWriter]) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "596f93f001c6d4872e3d2f5ec66004117d87aac826e2843d8c3ad8fdbfa4ef08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596f93f001c6d4872e3d2f5ec66004117d87aac826e2843d8c3ad8fdbfa4ef08", kill_on_drop: false }` [INFO] [stdout] 596f93f001c6d4872e3d2f5ec66004117d87aac826e2843d8c3ad8fdbfa4ef08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13e11fab1ba5780e5aa14d73c649132dba4bf0f5ae745e028d16b9e332c0845c [INFO] running `Command { std: "docker" "start" "-a" "13e11fab1ba5780e5aa14d73c649132dba4bf0f5ae745e028d16b9e332c0845c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand v0.3.23 [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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: 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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1356 | .map(|m| m as &mut dyn MMVWriter) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "13e11fab1ba5780e5aa14d73c649132dba4bf0f5ae745e028d16b9e332c0845c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e11fab1ba5780e5aa14d73c649132dba4bf0f5ae745e028d16b9e332c0845c", kill_on_drop: false }` [INFO] [stdout] 13e11fab1ba5780e5aa14d73c649132dba4bf0f5ae745e028d16b9e332c0845c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 43ae5b961f726e4c671a0f8cede7c18ab0a06826bd16fb2de6b8b744a97dcfea [INFO] running `Command { std: "docker" "start" "-a" "43ae5b961f726e4c671a0f8cede7c18ab0a06826bd16fb2de6b8b744a97dcfea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] 158 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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] 158 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 1356 | .map(|m| m as &mut dyn MMVWriter) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `hornet` (lib) generated 6 warnings (1 duplicate) (run `cargo fix --lib -p hornet` to apply 1 suggestion) [INFO] [stderr] warning: `hornet` (lib test) generated 8 warnings (6 duplicates) (run `cargo fix --lib -p hornet --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hornet-247167485fa17984) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test client::metric::test_invalid_strings ... ok [INFO] [stdout] test client::metric::test_mmv2_string_check ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/hornet-247167485fa17984` (signal: 7, SIGBUS: access to undefined memory) [INFO] running `Command { std: "docker" "inspect" "43ae5b961f726e4c671a0f8cede7c18ab0a06826bd16fb2de6b8b744a97dcfea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ae5b961f726e4c671a0f8cede7c18ab0a06826bd16fb2de6b8b744a97dcfea", kill_on_drop: false }` [INFO] [stdout] 43ae5b961f726e4c671a0f8cede7c18ab0a06826bd16fb2de6b8b744a97dcfea