[INFO] fetching crate reloaded-memory-buffers 4.1.0... [INFO] testing reloaded-memory-buffers-4.1.0 against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] extracting crate reloaded-memory-buffers 4.1.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reloaded-memory-buffers 4.1.0 on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 178 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.8.1) [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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c247ce42c74c4130b3227e1c1faf0e844b97a143381b724997c9e4f5e470337 [INFO] running `Command { std: "docker" "start" "-a" "1c247ce42c74c4130b3227e1c1faf0e844b97a143381b724997c9e4f5e470337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c247ce42c74c4130b3227e1c1faf0e844b97a143381b724997c9e4f5e470337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c247ce42c74c4130b3227e1c1faf0e844b97a143381b724997c9e4f5e470337", kill_on_drop: false }` [INFO] [stdout] 1c247ce42c74c4130b3227e1c1faf0e844b97a143381b724997c9e4f5e470337 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae9ed57126d2fb462e0c69440fa53ebcaa479038f97b7e9c8dde9f68834067cc [INFO] running `Command { std: "docker" "start" "-a" "ae9ed57126d2fb462e0c69440fa53ebcaa479038f97b7e9c8dde9f68834067cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling clf v0.1.9 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.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: 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 13.96s [INFO] running `Command { std: "docker" "inspect" "ae9ed57126d2fb462e0c69440fa53ebcaa479038f97b7e9c8dde9f68834067cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae9ed57126d2fb462e0c69440fa53ebcaa479038f97b7e9c8dde9f68834067cc", kill_on_drop: false }` [INFO] [stdout] ae9ed57126d2fb462e0c69440fa53ebcaa479038f97b7e9c8dde9f68834067cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4ae1612641028be5a14c5f05b1b9e64c74778b4a69cf0b2887e231a0d68a18b [INFO] running `Command { std: "docker" "start" "-a" "c4ae1612641028be5a14c5f05b1b9e64c74778b4a69cf0b2887e231a0d68a18b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling cpp_demangle v0.4.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling symbolic-demangle v12.17.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling symbolic-common v12.17.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.34 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [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 backtrace v0.3.76 [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] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [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: 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 44.64s [INFO] running `Command { std: "docker" "inspect" "c4ae1612641028be5a14c5f05b1b9e64c74778b4a69cf0b2887e231a0d68a18b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ae1612641028be5a14c5f05b1b9e64c74778b4a69cf0b2887e231a0d68a18b", kill_on_drop: false }` [INFO] [stdout] c4ae1612641028be5a14c5f05b1b9e64c74778b4a69cf0b2887e231a0d68a18b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b0c62744d510c27dd5dfe0ff4ce9b485bd6bddc2cb6183ea9dde3ca73a94868 [INFO] running `Command { std: "docker" "start" "-a" "1b0c62744d510c27dd5dfe0ff4ce9b485bd6bddc2cb6183ea9dde3ca73a94868", 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.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reloaded_memory_buffers-9fcdeda4d6afab8b) [INFO] [stdout] [INFO] [stdout] running 69 tests [INFO] [stdout] test internal::buffer_allocator::tests::page_does_not_overlap_with_min_max ... ok [INFO] [stdout] test internal::buffer_allocator::tests::buffer_size_greater_than_page ... ok [INFO] [stdout] test buffers::tests::allocate_private_memory_in_2gib ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_down_from_page_max ... ok [INFO] [stderr] [INFO] [stderr] thread 'buffers::tests::get_buffer_aligned_test::case_2' (27) panicked at src/buffers.rs:190:20: [INFO] [stderr] null pointer dereference occurred [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5a53504cde22 - std[b14e17aa63033746]::backtrace_rs::backtrace::libunwind::trace [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5a53504cde22 - std[b14e17aa63033746]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5a53504cde22 - std[b14e17aa63033746]::sys::backtrace::_print_fmt [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:74:9 [INFO] [stderr] 3: 0x5a53504cde22 - <::print::DisplayBacktrace as core[7ebf52c056bd56a4]::fmt::Display>::fmt [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:44:26 [INFO] [stderr] 4: 0x5a53504e2a7a - ::fmt [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/fmt/rt.rs:152:76 [INFO] [stderr] 5: 0x5a53504e2a7a - core[7ebf52c056bd56a4]::fmt::write [INFO] [stderr] 6: 0x5a53504d39b6 - std[b14e17aa63033746]::io::default_write_fmt:: [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5a53504d39b6 - ::write_fmt [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:1994:13 [INFO] [stderr] 8: 0x5a53504ac2ef - ::print [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:47:9 [INFO] [stderr] 9: 0x5a53504ac2ef - std[b14e17aa63033746]::panicking::default_hook::{closure#0} [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:292:27 [INFO] [stderr] 10: 0x5a53504c60d1 - std[b14e17aa63033746]::panicking::default_hook [INFO] [stderr] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:319:9 [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-9fcdeda4d6afab8b` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "1b0c62744d510c27dd5dfe0ff4ce9b485bd6bddc2cb6183ea9dde3ca73a94868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b0c62744d510c27dd5dfe0ff4ce9b485bd6bddc2cb6183ea9dde3ca73a94868", kill_on_drop: false }` [INFO] [stdout] 1b0c62744d510c27dd5dfe0ff4ce9b485bd6bddc2cb6183ea9dde3ca73a94868