[INFO] fetching crate reloaded-memory-buffers 4.1.0... [INFO] testing reloaded-memory-buffers-4.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate reloaded-memory-buffers 4.1.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reloaded-memory-buffers 4.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mmap-rs-with-map-from-existing v0.6.0 [INFO] [stderr] Downloaded clf v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcc372c63733eb3e92f8c246fb76fe344e65cbf6f12c734ea29befbbb96188c2 [INFO] running `Command { std: "docker" "start" "-a" "fcc372c63733eb3e92f8c246fb76fe344e65cbf6f12c734ea29befbbb96188c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcc372c63733eb3e92f8c246fb76fe344e65cbf6f12c734ea29befbbb96188c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc372c63733eb3e92f8c246fb76fe344e65cbf6f12c734ea29befbbb96188c2", kill_on_drop: false }` [INFO] [stdout] fcc372c63733eb3e92f8c246fb76fe344e65cbf6f12c734ea29befbbb96188c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73857370baba05b3d7ec449244bf239c6a09328d2bb10bdf55fb974929bcf6ad [INFO] running `Command { std: "docker" "start" "-a" "73857370baba05b3d7ec449244bf239c6a09328d2bb10bdf55fb974929bcf6ad", 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 cc v1.2.34 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling clf v0.1.9 [INFO] [stderr] Compiling sysctl v0.5.5 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [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.09s [INFO] running `Command { std: "docker" "inspect" "73857370baba05b3d7ec449244bf239c6a09328d2bb10bdf55fb974929bcf6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73857370baba05b3d7ec449244bf239c6a09328d2bb10bdf55fb974929bcf6ad", kill_on_drop: false }` [INFO] [stdout] 73857370baba05b3d7ec449244bf239c6a09328d2bb10bdf55fb974929bcf6ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87543a9663e397a553f58f5d862e643100476c4e557a5dcea42c8f39524f65bc [INFO] running `Command { std: "docker" "start" "-a" "87543a9663e397a553f58f5d862e643100476c4e557a5dcea42c8f39524f65bc", 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 bitflags v2.9.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling itertools v0.10.5 [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 bytemuck v1.23.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling symbolic-demangle v12.16.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling indexmap v2.11.0 [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 rgb v0.8.52 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling addr2line v0.24.2 [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 quick-xml v0.26.0 [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 anes v0.1.6 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling mmap-rs-with-map-from-existing v0.6.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling backtrace v0.3.75 [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 rstest v0.18.2 [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 11s [INFO] running `Command { std: "docker" "inspect" "87543a9663e397a553f58f5d862e643100476c4e557a5dcea42c8f39524f65bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87543a9663e397a553f58f5d862e643100476c4e557a5dcea42c8f39524f65bc", kill_on_drop: false }` [INFO] [stdout] 87543a9663e397a553f58f5d862e643100476c4e557a5dcea42c8f39524f65bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 210dd6e8601834747d3b027e350e60d02c760d5fbe8a004375402c0fcec99545 [INFO] running `Command { std: "docker" "start" "-a" "210dd6e8601834747d3b027e350e60d02c760d5fbe8a004375402c0fcec99545", 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.22s [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_up_to_max_address ... ok [INFO] [stdout] test buffers::tests::get_buffer_aligned_test::case_2 ... ok [INFO] [stdout] test buffers::tests::get_buffer_aligned_test::case_3 ... 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 buffers::tests::allocate_private_memory_in_2gib ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_down_from_page_max ... ok [INFO] [stdout] test internal::buffer_allocator::tests::page_does_not_overlap_with_min_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_ptr_min ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_up_from_page_min ... ok [INFO] [stdout] test buffers::tests::get_buffer_aligned_test::case_1 ... ok [INFO] [stdout] test internal::locator_header_finder::tests::find_should_return_address_when_created ... ok [INFO] [stdout] test internal::locator_header_finder::tests::find_should_return_address_when_previously_exists ... ok [INFO] [stdout] test internal::buffer_allocator::tests::can_allocate_in_2gib ... ok [INFO] [stdout] test buffers::tests::get_buffer_with_proximity ... ok [INFO] [stdout] test buffers::tests::test_append_unaligned ... ok [INFO] [stdout] test internal::locator_header_finder::tests::find_should_initialize_correctly_when_created ... ok [INFO] [stdout] test internal::buffer_allocator::tests::can_allocate_up_to_max_address ... ok [INFO] [stdout] test internal::memory_mapped_file_unix::tests::test_memory_mapped_file_creation ... ok [INFO] [stdout] test structs::internal::locator_header::tests::get_first_available_item_locked_should_return_null_if_no_available_item_because_size_is_insufficient ... ok [INFO] [stdout] test structs::internal::locator_header::tests::get_first_available_item_locked_should_return_expected_result ... ok [INFO] [stdout] test structs::internal::locator_header::tests::get_first_available_item_locked_should_return_null_if_no_available_item_because_no_buffer_fits_range ... ok [INFO] [stdout] test internal::memory_mapped_file_unix::tests::test_memory_mapped_file_data ... ok [INFO] [stdout] test structs::internal::locator_header::tests::get_next_locator_should_allocate_when_newly_created ... ok [INFO] [stdout] test structs::internal::locator_header::tests::has_correct_max_item_count ... ok [INFO] [stdout] test structs::internal::locator_header::tests::lock_should_acquire_lock_when_lock_is_available ... ok [INFO] [stdout] test structs::internal::locator_header::tests::is_correct_size ... ok [INFO] [stdout] test structs::internal::locator_header::tests::try_lock_should_not_lock_header_when_lock_is_already_acquired ... ok [INFO] [stdout] test structs::internal::locator_header::tests::unlock_should_release_lock_when_header_is_locked ... ok [INFO] [stdout] test structs::internal::locator_header::tests::try_allocate_item_should_not_allocate_item_when_header_is_full ... ok [INFO] [stdout] test structs::internal::locator_header::tests::try_lock_should_lock_header_when_lock_is_available ... ok [INFO] [stdout] test internal::locator_header_finder::tests::find_should_return_cached_address_when_called_twice ... ok [INFO] [stdout] test structs::internal::locator_header::tests::version_should_be_3_bits ... ok [INFO] [stdout] test structs::internal::locator_item::tests::append_bytes_should_append_data_to_buffer ... ok [INFO] [stdout] test structs::internal::locator_item::tests::lock_should_acquire_lock_when_lock_is_available ... ok [INFO] [stdout] test structs::internal::locator_item::tests::append_copy_should_append_data_to_buffer ... ok [INFO] [stdout] test structs::internal::locator_item::tests::can_use_should_return_expected_result ... ok [INFO] [stdout] test structs::internal::locator_item::tests::is_correct_size ... ok [INFO] [stdout] test structs::internal::locator_item::tests::max_address_should_return_sum_of_base_address_and_size_when_called ... ok [INFO] [stdout] test structs::internal::locator_header::tests::try_allocate_item_should_not_allocate_item_when_outside_address_limits ... ok [INFO] [stdout] test structs::internal::locator_header::tests::try_allocate_item_should_allocate_item_when_header_is_not_full_and_within_address_limits ... ok [INFO] [stdout] test structs::params::buffer_allocator_settings::tests::test_from_proximity ... ok [INFO] [stdout] test structs::params::buffer_allocator_settings::tests::test_sanitize ... ok [INFO] [stdout] test structs::params::buffer_search_settings::tests::test_default_settings ... ok [INFO] [stdout] test structs::params::buffer_search_settings::tests::test_from_proximity ... ok [INFO] [stdout] test structs::internal::locator_item::tests::unlock_should_release_lock_when_item_is_locked ... ok [INFO] [stdout] test structs::internal::locator_item::tests::try_lock_should_lock_item_when_lock_is_available ... ok [INFO] [stdout] test structs::private_allocation::tests::test_private_allocation ... ok [INFO] [stdout] test utilities::address_range::tests::contains_should_be_false_when_other_range_is_not_inside ... ok [INFO] [stdout] test utilities::address_range::tests::contains_should_be_true_when_other_range_is_inside ... ok [INFO] [stdout] test utilities::address_range::tests::overlaps_should_be_false_when_other_range_does_not_overlap ... ok [INFO] [stdout] test utilities::address_range::tests::overlaps_should_be_true_when_one_range_is_fully_inside_other ... ok [INFO] [stdout] test utilities::address_range::tests::overlaps_should_be_true_when_other_range_ends_inside_range ... ok [INFO] [stdout] test utilities::address_range::tests::overlaps_should_be_true_when_other_range_overlaps ... ok [INFO] [stdout] test utilities::address_range::tests::overlaps_should_be_true_when_other_range_starts_inside_range ... ok [INFO] [stdout] test utilities::address_range::tests::overlaps_should_be_true_when_ranges_are_adjacent ... ok [INFO] [stdout] test utilities::address_range::tests::overlaps_should_be_true_when_ranges_are_same ... ok [INFO] [stdout] test utilities::linux_map_parser::tests::parse_memory_map_entry_valid_line ... ok [INFO] [stdout] test utilities::linux_map_parser::tests::parse_memory_map_valid_lines ... ok [INFO] [stdout] test utilities::map_parser_utilities::tests::get_free_regions_multiple_gaps ... ok [INFO] [stdout] test utilities::map_parser_utilities::tests::get_free_regions_single_gap ... ok [INFO] [stdout] test utilities::map_parser_utilities::tests::get_free_regions_with_no_gap ... ok [INFO] [stdout] test structs::internal::locator_item::tests::min_address_should_return_base_address_when_called ... ok [INFO] [stdout] test structs::params::buffer_allocator_settings::tests::test_default_settings ... 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" "210dd6e8601834747d3b027e350e60d02c760d5fbe8a004375402c0fcec99545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210dd6e8601834747d3b027e350e60d02c760d5fbe8a004375402c0fcec99545", kill_on_drop: false }` [INFO] [stdout] 210dd6e8601834747d3b027e350e60d02c760d5fbe8a004375402c0fcec99545