[INFO] cloning repository https://github.com/psomas/mosalloc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psomas/mosalloc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsomas%2Fmosalloc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsomas%2Fmosalloc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5633d3ef4b9427dd97e10080070eed9db797a694 [INFO] checking psomas/mosalloc-rs against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsomas%2Fmosalloc-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/psomas/mosalloc-rs [INFO] finished tweaking git repo https://github.com/psomas/mosalloc-rs [INFO] tweaked toml for git repo https://github.com/psomas/mosalloc-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/psomas/mosalloc-rs on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/psomas/mosalloc-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libseccomp-sys v0.2.1 [INFO] [stderr] Downloaded serde_repr v0.1.16 [INFO] [stderr] Downloaded syscalls v0.6.14 [INFO] [stderr] Downloaded libseccomp v0.2.3 [INFO] [stderr] Downloaded epoll v4.3.3 [INFO] [stderr] Downloaded redhook v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a [INFO] running `Command { std: "docker" "start" "c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling libseccomp-sys v0.2.1 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libseccomp v0.2.3 [INFO] [stderr] Checking redhook v2.0.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking epoll v4.3.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling syscalls v0.6.14 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking mosalloc-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/rangelist.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> RangeListIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> RangeListIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/rangelist.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> RangeListIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&self) -> RangeListIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mosalloc v0.1.0 (/opt/rustwide/workdir/src/libmosalloc) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | .fetch_update(Ordering::AcqRel, Ordering::Acquire, |mut idx| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 88 - .fetch_update(Ordering::AcqRel, Ordering::Acquire, |mut idx| { [INFO] [stdout] 88 + .try_update(Ordering::AcqRel, Ordering::Acquire, |mut idx| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | .fetch_update(Ordering::AcqRel, Ordering::Acquire, |mut idx| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 88 - .fetch_update(Ordering::AcqRel, Ordering::Acquire, |mut idx| { [INFO] [stdout] 88 + .try_update(Ordering::AcqRel, Ordering::Acquire, |mut idx| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | .fetch_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 126 - .fetch_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] 126 + .try_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | .fetch_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 166 - .fetch_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] 166 + .try_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | .fetch_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 126 - .fetch_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] 126 + .try_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | .fetch_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 166 - .fetch_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] 166 + .try_update(Ordering::AcqRel, Ordering::Acquire, |idx| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena_rem` [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let arena_rem = ARENA_SIZE - arena_total; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arena_rem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_total` [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mmap_total = INTERNAL_ALLOCATOR.mmap_total.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_overhead` [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mmap_overhead = INTERNAL_ALLOCATOR.mmap_overhead.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_overhead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena_rem` [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let arena_rem = ARENA_SIZE - arena_total; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arena_rem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_total` [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mmap_total = INTERNAL_ALLOCATOR.mmap_total.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap_overhead` [INFO] [stdout] --> src/libmosalloc/src/internal_allocator.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mmap_overhead = INTERNAL_ALLOCATOR.mmap_overhead.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mmap_overhead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/libmosalloc/src/region.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | for r in self.free_map.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/libmosalloc/src/region.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | for r in self.free_map.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/libmosalloc/src/region.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | for r in self.free_map.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/libmosalloc/src/region.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | for r in self.free_map.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/libmosalloc/src/region.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | for r in self.free_map.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/libmosalloc/src/region.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | for r in self.free_map.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `analyze` and `hook` are never read [INFO] [stdout] --> src/libmosalloc/src/allocator.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Allocator { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | analyze: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | dryrun: bool, [INFO] [stdout] 28 | hook: HookType, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Allocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | PRELOAD_ALLOC.as_mut().unwrap().drain(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/seccomp_hooks.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let mosalloc = SECCOMP_MOSALLOC.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/seccomp_hooks.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | SECCOMP_MOSALLOC.as_mut().unwrap().drain(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `analyze` and `hook` are never read [INFO] [stdout] --> src/libmosalloc/src/allocator.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Allocator { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | analyze: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | dryrun: bool, [INFO] [stdout] 28 | hook: HookType, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Allocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 81 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | if let Some(mosalloc) = PRELOAD_ALLOC.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/preload_hooks.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | PRELOAD_ALLOC.as_mut().unwrap().drain(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/seccomp_hooks.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let mosalloc = SECCOMP_MOSALLOC.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/libmosalloc/src/seccomp_hooks.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | SECCOMP_MOSALLOC.as_mut().unwrap().drain(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.88s [INFO] running `Command { std: "docker" "inspect" "c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a", kill_on_drop: false }` [INFO] [stdout] c8b654b85f7cd06a56ab013f97382c89d7b0abcda35975add0e0b71b6d05e75a