[INFO] fetching crate reloaded-memory-buffers 4.1.0... [INFO] testing reloaded-memory-buffers-4.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate reloaded-memory-buffers 4.1.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate reloaded-memory-buffers 4.1.0 [INFO] finished tweaking crates.io crate reloaded-memory-buffers 4.1.0 [INFO] tweaked toml for crates.io crate reloaded-memory-buffers 4.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reloaded-memory-buffers 4.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 197 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.8.2) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding pprof v0.13.0 (available: v0.15.0) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.26.1) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.61.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57a7c0147f8a17c72a904f31f8e2f0c72c993c9a90cc5ba6212df198cfe09da6 [INFO] running `Command { std: "docker" "start" "-a" "57a7c0147f8a17c72a904f31f8e2f0c72c993c9a90cc5ba6212df198cfe09da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57a7c0147f8a17c72a904f31f8e2f0c72c993c9a90cc5ba6212df198cfe09da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a7c0147f8a17c72a904f31f8e2f0c72c993c9a90cc5ba6212df198cfe09da6", kill_on_drop: false }` [INFO] [stdout] 57a7c0147f8a17c72a904f31f8e2f0c72c993c9a90cc5ba6212df198cfe09da6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4795cd043dea902b4961c014c47dfcb8b84c063d8dc1d2a807f797d5180906e9 [INFO] running `Command { std: "docker" "start" "-a" "4795cd043dea902b4961c014c47dfcb8b84c063d8dc1d2a807f797d5180906e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling clf v0.1.9 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sysctl v0.5.5 [INFO] [stderr] Compiling mmap-rs-with-map-from-existing v0.6.0 [INFO] [stderr] Compiling reloaded-memory-buffers v4.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/structs/private_allocation.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::{self, NonNull}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | if CACHED.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | return CACHED.as_ref().unwrap_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | return CACHED.as_ref().unwrap_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.19s [INFO] running `Command { std: "docker" "inspect" "4795cd043dea902b4961c014c47dfcb8b84c063d8dc1d2a807f797d5180906e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4795cd043dea902b4961c014c47dfcb8b84c063d8dc1d2a807f797d5180906e9", kill_on_drop: false }` [INFO] [stdout] 4795cd043dea902b4961c014c47dfcb8b84c063d8dc1d2a807f797d5180906e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ace2e4f27ae73d47deb4071fffb84b406e1d8650a2e356bbe9d0aad2af1237b [INFO] running `Command { std: "docker" "start" "-a" "7ace2e4f27ae73d47deb4071fffb84b406e1d8650a2e356bbe9d0aad2af1237b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling cpp_demangle v0.5.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling symbolic-demangle v12.18.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling symbolic-common v12.18.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sysctl v0.5.5 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling mmap-rs-with-map-from-existing v0.6.0 [INFO] [stderr] Compiling reloaded-memory-buffers v4.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/structs/private_allocation.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::{self, NonNull}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | if CACHED.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | return CACHED.as_ref().unwrap_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | return CACHED.as_ref().unwrap_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/structs/private_allocation.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::{self, NonNull}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/internal/locator_header_finder.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(LAST_FIND_REASON, FindReason::PreviouslyExisted); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/internal/locator_header_finder.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(LAST_FIND_REASON, FindReason::Created); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | if CACHED.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | return CACHED.as_ref().unwrap_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/utilities/cached.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | return CACHED.as_ref().unwrap_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.67s [INFO] running `Command { std: "docker" "inspect" "7ace2e4f27ae73d47deb4071fffb84b406e1d8650a2e356bbe9d0aad2af1237b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ace2e4f27ae73d47deb4071fffb84b406e1d8650a2e356bbe9d0aad2af1237b", kill_on_drop: false }` [INFO] [stdout] 7ace2e4f27ae73d47deb4071fffb84b406e1d8650a2e356bbe9d0aad2af1237b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16f947679ff2bf642d025939a4be1e82a56a3bd3416da0b924b194e54392c624 [INFO] running `Command { std: "docker" "start" "-a" "16f947679ff2bf642d025939a4be1e82a56a3bd3416da0b924b194e54392c624", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/structs/private_allocation.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use core::ptr::{self, NonNull}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/utilities/cached.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | if CACHED.is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/utilities/cached.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | return CACHED.as_ref().unwrap_unchecked(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/utilities/cached.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | return CACHED.as_ref().unwrap_unchecked(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `reloaded-memory-buffers` (lib) generated 4 warnings (run `cargo fix --lib -p reloaded-memory-buffers` to apply 1 suggestion) [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/internal/locator_header_finder.rs:236:24 [INFO] [stderr] | [INFO] [stderr] 236 | assert_eq!(LAST_FIND_REASON, FindReason::PreviouslyExisted); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/internal/locator_header_finder.rs:248:24 [INFO] [stderr] | [INFO] [stderr] 248 | assert_eq!(LAST_FIND_REASON, FindReason::Created); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/utilities/cached.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | if CACHED.is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `reloaded-memory-buffers` (lib test) generated 6 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reloaded_memory_buffers-5faf7e6119142cc9) [INFO] [stdout] [INFO] [stdout] running 69 tests [INFO] [stdout] test buffers::tests::allocate_private_memory_up_to_max_address ... ok [INFO] [stdout] test buffers::tests::allocate_private_memory_in_2gib ... ok [INFO] [stdout] test buffers::tests::get_buffer_aligned_test::case_2 ... ok [INFO] [stdout] test buffers::tests::get_buffer_aligned_test::case_1 ... ok [INFO] [stdout] test buffers::tests::memory_is_executable_x64 ... ok [INFO] [stdout] test buffers::tests::get_buffer_aligned_test::case_3 ... ok [INFO] [stdout] test buffers::tests::get_buffer_baseline ... ok [INFO] [stdout] test buffers::tests::test_append_unaligned ... ok [INFO] [stdout] test internal::buffer_allocator::tests::buffer_size_greater_than_page ... ok [INFO] [stdout] test buffers::tests::get_buffer_with_proximity ... ok [INFO] [stdout] test internal::buffer_allocator::tests::can_allocate_in_2gib ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_down_from_ptr_max ... 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/reloaded_memory_buffers-5faf7e6119142cc9` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "16f947679ff2bf642d025939a4be1e82a56a3bd3416da0b924b194e54392c624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f947679ff2bf642d025939a4be1e82a56a3bd3416da0b924b194e54392c624", kill_on_drop: false }` [INFO] [stdout] 16f947679ff2bf642d025939a4be1e82a56a3bd3416da0b924b194e54392c624