[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 try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [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] validating manifest of git repo https://github.com/psomas/mosalloc-rs on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking psomas/mosalloc-rs against try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [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] validating manifest of git repo https://github.com/psomas/mosalloc-rs on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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 redhook v2.0.0 [INFO] [stderr] Downloaded syscalls v0.6.14 [INFO] [stderr] Downloaded libseccomp v0.2.3 [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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf721ad1cedacf83dfdef4f2913c8f77c98d4ed00dea7fb767272e1ab42d3b0b [INFO] running `Command { std: "docker" "start" "-a" "bf721ad1cedacf83dfdef4f2913c8f77c98d4ed00dea7fb767272e1ab42d3b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf721ad1cedacf83dfdef4f2913c8f77c98d4ed00dea7fb767272e1ab42d3b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf721ad1cedacf83dfdef4f2913c8f77c98d4ed00dea7fb767272e1ab42d3b0b", kill_on_drop: false }` [INFO] [stdout] bf721ad1cedacf83dfdef4f2913c8f77c98d4ed00dea7fb767272e1ab42d3b0b [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 -Dreturn-local-variable-ptr" "-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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9961b71440a9deaf2290ef0b3300d6f6bf840a828ef25f3c9ccceea4f06a2a3 [INFO] running `Command { std: "docker" "start" "-a" "a9961b71440a9deaf2290ef0b3300d6f6bf840a828ef25f3c9ccceea4f06a2a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling libseccomp-sys v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling libseccomp v0.2.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking redhook v2.0.0 [INFO] [stderr] Checking epoll v4.3.3 [INFO] [stderr] Compiling syscalls v0.6.14 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling serde_repr v0.1.16 [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 csv v1.2.2 [INFO] [stderr] Checking mosalloc-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking mosalloc v0.1.0 (/opt/rustwide/workdir/src/libmosalloc) [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)]` 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)]` 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: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: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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s [INFO] running `Command { std: "docker" "inspect" "a9961b71440a9deaf2290ef0b3300d6f6bf840a828ef25f3c9ccceea4f06a2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9961b71440a9deaf2290ef0b3300d6f6bf840a828ef25f3c9ccceea4f06a2a3", kill_on_drop: false }` [INFO] [stdout] a9961b71440a9deaf2290ef0b3300d6f6bf840a828ef25f3c9ccceea4f06a2a3