[INFO] fetching crate reloaded-memory-buffers 4.1.0... [INFO] testing reloaded-memory-buffers-4.1.0 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate reloaded-memory-buffers 4.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate reloaded-memory-buffers 4.1.0 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 171 packages to latest compatible versions [INFO] [stderr] Adding pprof v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.23.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7bccb0a138163d37dc6799628965e91a912e54bfe0ca5dbeb66b66e56d26ee9 [INFO] running `Command { std: "docker" "start" "-a" "a7bccb0a138163d37dc6799628965e91a912e54bfe0ca5dbeb66b66e56d26ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7bccb0a138163d37dc6799628965e91a912e54bfe0ca5dbeb66b66e56d26ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7bccb0a138163d37dc6799628965e91a912e54bfe0ca5dbeb66b66e56d26ee9", kill_on_drop: false }` [INFO] [stdout] a7bccb0a138163d37dc6799628965e91a912e54bfe0ca5dbeb66b66e56d26ee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea826a014f1c2e20d2e8ecb7762f06f983c7f7855fa9567c25a934ac04ed3c2 [INFO] running `Command { std: "docker" "start" "-a" "aea826a014f1c2e20d2e8ecb7762f06f983c7f7855fa9567c25a934ac04ed3c2", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling clf v0.1.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling errno v0.3.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling combine v4.6.7 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 9.86s [INFO] running `Command { std: "docker" "inspect" "aea826a014f1c2e20d2e8ecb7762f06f983c7f7855fa9567c25a934ac04ed3c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea826a014f1c2e20d2e8ecb7762f06f983c7f7855fa9567c25a934ac04ed3c2", kill_on_drop: false }` [INFO] [stdout] aea826a014f1c2e20d2e8ecb7762f06f983c7f7855fa9567c25a934ac04ed3c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 054ac9125ceb1ccd70a6213b27a362e1afaac53906ec45c5387e4725c2de8850 [INFO] running `Command { std: "docker" "start" "-a" "054ac9125ceb1ccd70a6213b27a362e1afaac53906ec45c5387e4725c2de8850", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling symbolic-demangle v12.12.4 [INFO] [stderr] Compiling symbolic-common v12.12.4 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling serde_derive v1.0.216 [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 futures-util v0.3.31 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 futures v0.3.31 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling serde_json v1.0.133 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 35.86s [INFO] running `Command { std: "docker" "inspect" "054ac9125ceb1ccd70a6213b27a362e1afaac53906ec45c5387e4725c2de8850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "054ac9125ceb1ccd70a6213b27a362e1afaac53906ec45c5387e4725c2de8850", kill_on_drop: false }` [INFO] [stdout] 054ac9125ceb1ccd70a6213b27a362e1afaac53906ec45c5387e4725c2de8850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6a50722f7bc7b2b72057d7024bb446cb6179804f75a452e96075c2f0bdb7282 [INFO] running `Command { std: "docker" "start" "-a" "f6a50722f7bc7b2b72057d7024bb446cb6179804f75a452e96075c2f0bdb7282", 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reloaded_memory_buffers-142b238cc6fc7f0d) [INFO] [stdout] [INFO] [stdout] running 69 tests [INFO] [stdout] test buffers::tests::allocate_private_memory_in_2gib ... 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_page_max ... ok [INFO] [stdout] test internal::buffer_allocator::tests::round_up_from_page_min ... 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::can_allocate_up_to_max_address ... 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-142b238cc6fc7f0d` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "f6a50722f7bc7b2b72057d7024bb446cb6179804f75a452e96075c2f0bdb7282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a50722f7bc7b2b72057d7024bb446cb6179804f75a452e96075c2f0bdb7282", kill_on_drop: false }` [INFO] [stdout] f6a50722f7bc7b2b72057d7024bb446cb6179804f75a452e96075c2f0bdb7282