[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 master#9bfa31f632912180dc742809bcc51a97f2d7079d for pr-140151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsomas%2Fmosalloc-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psomas/mosalloc-rs on toolchain 9bfa31f632912180dc742809bcc51a97f2d7079d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "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-tc1/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" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "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] Downloading crates ... [INFO] [stderr] Downloaded libseccomp-sys v0.2.1 [INFO] [stderr] Downloaded libseccomp v0.2.3 [INFO] [stderr] Downloaded syscalls v0.6.14 [INFO] [stderr] Downloaded redhook v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c57c49c4a76ce3548deca89e15919f8fd7792cdc0d99f2f2398bf8d4cb45a12 [INFO] running `Command { std: "docker" "start" "-a" "7c57c49c4a76ce3548deca89e15919f8fd7792cdc0d99f2f2398bf8d4cb45a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c57c49c4a76ce3548deca89e15919f8fd7792cdc0d99f2f2398bf8d4cb45a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c57c49c4a76ce3548deca89e15919f8fd7792cdc0d99f2f2398bf8d4cb45a12", kill_on_drop: false }` [INFO] [stdout] 7c57c49c4a76ce3548deca89e15919f8fd7792cdc0d99f2f2398bf8d4cb45a12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9708a93820b7b7d3647c1e23e90a4e70c3d2162b023666188f38f8fdb26db86e [INFO] running `Command { std: "docker" "start" "-a" "9708a93820b7b7d3647c1e23e90a4e70c3d2162b023666188f38f8fdb26db86e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [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 regex-syntax v0.7.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling libseccomp-sys v0.2.1 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking epoll v4.3.3 [INFO] [stderr] Checking redhook v2.0.0 [INFO] [stderr] Compiling libseccomp v0.2.3 [INFO] [stderr] Compiling cc v1.0.83 [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 syscalls v0.6.14 [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: `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)]` 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: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: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: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: 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: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: 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: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: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: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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.87s [INFO] running `Command { std: "docker" "inspect" "9708a93820b7b7d3647c1e23e90a4e70c3d2162b023666188f38f8fdb26db86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9708a93820b7b7d3647c1e23e90a4e70c3d2162b023666188f38f8fdb26db86e", kill_on_drop: false }` [INFO] [stdout] 9708a93820b7b7d3647c1e23e90a4e70c3d2162b023666188f38f8fdb26db86e