[INFO] fetching crate hornet 0.1.0... [INFO] testing hornet-0.1.0 against master#8c0ec05f7dc9ef185eea9f36c5638e74e43935bf for pr-130285 [INFO] extracting crate hornet 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate hornet 0.1.0 on toolchain 8c0ec05f7dc9ef185eea9f36c5638e74e43935bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "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 aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding bitflags v0.7.0 (latest: v2.6.0) [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding flate2 v0.2.20 (latest: v1.0.33) [INFO] [stderr] Adding hdrsample v4.0.0 (latest: v6.0.4) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding memmap v0.5.2 (latest: v0.7.0) [INFO] [stderr] Adding nix v0.8.1 (latest: v0.29.0) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.6) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.2) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.4) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest compatible: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.8.1 [INFO] [stderr] Downloaded memmap v0.5.2 [INFO] [stderr] Downloaded hdrsample v4.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85f1fd83a909a5b6891b1ea53f6e0a838878b441550aa53248130398e875efa3 [INFO] running `Command { std: "docker" "start" "-a" "85f1fd83a909a5b6891b1ea53f6e0a838878b441550aa53248130398e875efa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85f1fd83a909a5b6891b1ea53f6e0a838878b441550aa53248130398e875efa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85f1fd83a909a5b6891b1ea53f6e0a838878b441550aa53248130398e875efa3", kill_on_drop: false }` [INFO] [stdout] 85f1fd83a909a5b6891b1ea53f6e0a838878b441550aa53248130398e875efa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba2b2cc35e8332576c7eec2e9b346a63a41eec93c79a4f1de2b110a4ae7aa651 [INFO] running `Command { std: "docker" "start" "-a" "ba2b2cc35e8332576c7eec2e9b346a63a41eec93c79a4f1de2b110a4ae7aa651", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling void v1.0.2 [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 rand v0.4.6 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling memmap v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling nix v0.8.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.45 [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] 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` 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] 157 | | } [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] 157 | | } [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 an object-safe 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.80s [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" "ba2b2cc35e8332576c7eec2e9b346a63a41eec93c79a4f1de2b110a4ae7aa651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2b2cc35e8332576c7eec2e9b346a63a41eec93c79a4f1de2b110a4ae7aa651", kill_on_drop: false }` [INFO] [stdout] ba2b2cc35e8332576c7eec2e9b346a63a41eec93c79a4f1de2b110a4ae7aa651 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa47799700be837734819f9d8cc6731727ae42039f0c2d973464563160df155f [INFO] running `Command { std: "docker" "start" "-a" "aa47799700be837734819f9d8cc6731727ae42039f0c2d973464563160df155f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 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` 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] 157 | | } [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] 157 | | } [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 an object-safe 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: 6 warnings emitted [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] 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` 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] 157 | | } [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] 157 | | } [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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1356 | .map(|m| m as &mut dyn MMVWriter) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [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" "aa47799700be837734819f9d8cc6731727ae42039f0c2d973464563160df155f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa47799700be837734819f9d8cc6731727ae42039f0c2d973464563160df155f", kill_on_drop: false }` [INFO] [stdout] aa47799700be837734819f9d8cc6731727ae42039f0c2d973464563160df155f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e3e843bb81823d0b1b96026cb32c42201336d156dec685e600b7e3358c89b9d [INFO] running `Command { std: "docker" "start" "-a" "6e3e843bb81823d0b1b96026cb32c42201336d156dec685e600b7e3358c89b9d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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` 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] 157 | | } [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 an object-safe 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 an object-safe 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 an object-safe 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.03s [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-fb0981ca60457006) [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] [stdout] test client::metric::test_units ... 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-fb0981ca60457006` (signal: 7, SIGBUS: access to undefined memory) [INFO] running `Command { std: "docker" "inspect" "6e3e843bb81823d0b1b96026cb32c42201336d156dec685e600b7e3358c89b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3e843bb81823d0b1b96026cb32c42201336d156dec685e600b7e3358c89b9d", kill_on_drop: false }` [INFO] [stdout] 6e3e843bb81823d0b1b96026cb32c42201336d156dec685e600b7e3358c89b9d