[INFO] fetching crate reloaded-memory-buffers 4.1.0... [INFO] testing reloaded-memory-buffers-4.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate reloaded-memory-buffers 4.1.0 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reloaded-memory-buffers 4.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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 187 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [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.60.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2b173fbb06db48ed8757462c551dae8ae6399f723122d79ff70755762add4fe [INFO] running `Command { std: "docker" "start" "-a" "e2b173fbb06db48ed8757462c551dae8ae6399f723122d79ff70755762add4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2b173fbb06db48ed8757462c551dae8ae6399f723122d79ff70755762add4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b173fbb06db48ed8757462c551dae8ae6399f723122d79ff70755762add4fe", kill_on_drop: false }` [INFO] [stdout] e2b173fbb06db48ed8757462c551dae8ae6399f723122d79ff70755762add4fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24956c9df9fe521dad9daca305a28c2acde524aeb57b6935fdd5b320722882fd [INFO] running `Command { std: "docker" "start" "-a" "24956c9df9fe521dad9daca305a28c2acde524aeb57b6935fdd5b320722882fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling clf v0.1.9 [INFO] [stderr] Compiling sysctl v0.5.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling errno v0.3.13 [INFO] [stderr] Compiling dirs v5.0.1 [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: for more information, see [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: `#[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: for more information, see [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] [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: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.12s [INFO] running `Command { std: "docker" "inspect" "24956c9df9fe521dad9daca305a28c2acde524aeb57b6935fdd5b320722882fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24956c9df9fe521dad9daca305a28c2acde524aeb57b6935fdd5b320722882fd", kill_on_drop: false }` [INFO] [stdout] 24956c9df9fe521dad9daca305a28c2acde524aeb57b6935fdd5b320722882fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9619d82f8eadea3dc52a058c5f549d04bbd7866815ebd0b451b56521d5d1405 [INFO] running `Command { std: "docker" "start" "-a" "d9619d82f8eadea3dc52a058c5f549d04bbd7866815ebd0b451b56521d5d1405", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling symbolic-demangle v12.16.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling symbolic-common v12.16.2 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sysctl v0.5.5 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling mmap-rs-with-map-from-existing v0.6.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling reloaded-memory-buffers v4.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rstest v0.18.2 [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: for more information, see [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: `#[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: for more information, see [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] [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: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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: for more information, see [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: `#[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: for more information, see [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] [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: for more information, see [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] [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: for more information, see [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] [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: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "d9619d82f8eadea3dc52a058c5f549d04bbd7866815ebd0b451b56521d5d1405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9619d82f8eadea3dc52a058c5f549d04bbd7866815ebd0b451b56521d5d1405", kill_on_drop: false }` [INFO] [stdout] d9619d82f8eadea3dc52a058c5f549d04bbd7866815ebd0b451b56521d5d1405 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 030eb978a05826bcda2cb10add7f6610d5c6e6683d4374664bb7fa693e52a9ef [INFO] running `Command { std: "docker" "start" "-a" "030eb978a05826bcda2cb10add7f6610d5c6e6683d4374664bb7fa693e52a9ef", 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: for more information, see [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: `#[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: for more information, see [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] [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: for more information, see [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] [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: for more information, see [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: `#[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: for more information, see [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] [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: for more information, see [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] [INFO] [stderr] warning: `reloaded-memory-buffers` (lib test) generated 6 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reloaded_memory_buffers-13c1aeed376e68c8) [INFO] [stdout] [INFO] [stdout] running 69 tests [INFO] [stdout] test buffers::tests::allocate_private_memory_in_2gib ... ok [INFO] [stdout] test buffers::tests::allocate_private_memory_up_to_max_address ... ok [INFO] [stdout] test buffers::tests::get_buffer_aligned_test::case_1 ... ok [INFO] [stdout] test internal::buffer_allocator::tests::buffer_size_greater_than_page ... ok [INFO] [stdout] test buffers::tests::memory_is_executable_x64 ... ok [INFO] [stdout] test internal::buffer_allocator::tests::can_allocate_up_to_max_address ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_down_from_page_max ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_down_from_ptr_max ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_up_from_page_min ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_up_from_ptr_min ... ok [INFO] [stdout] test internal::buffer_allocator::tests::page_does_not_overlap_with_min_max ... ok [INFO] [stdout] test buffers::tests::test_append_unaligned ... ok [INFO] [stdout] test internal::locator_header_finder::tests::find_should_return_address_when_created ... 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-13c1aeed376e68c8` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "030eb978a05826bcda2cb10add7f6610d5c6e6683d4374664bb7fa693e52a9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030eb978a05826bcda2cb10add7f6610d5c6e6683d4374664bb7fa693e52a9ef", kill_on_drop: false }` [INFO] [stdout] 030eb978a05826bcda2cb10add7f6610d5c6e6683d4374664bb7fa693e52a9ef