[INFO] fetching crate ark-api 0.17.0-pre.43... [INFO] testing ark-api-0.17.0-pre.43 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate ark-api 0.17.0-pre.43 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ark-api 0.17.0-pre.43 [INFO] finished tweaking crates.io crate ark-api 0.17.0-pre.43 [INFO] tweaked toml for crates.io crate ark-api 0.17.0-pre.43 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ark-api 0.17.0-pre.43 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.10.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding macaw v0.19.1 (available: v0.30.0) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded speedy-derive v0.8.7 [INFO] [stderr] Downloaded memoffset v0.9.1 [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded num_enum v0.7.5 [INFO] [stderr] Downloaded toml_datetime v0.7.3 [INFO] [stderr] Downloaded toml_parser v1.0.4 [INFO] [stderr] Downloaded toml_edit v0.23.7 [INFO] [stderr] Downloaded bytemuck v1.24.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.15 [INFO] [stderr] Downloaded winnow v0.7.13 [INFO] [stderr] Downloaded tower v0.4.13 [INFO] [stderr] Downloaded futures v0.3.31 [INFO] [stderr] Downloaded ark-api-macros v0.13.0 [INFO] [stderr] Downloaded ark-api-ffi v0.17.0-pre.43 [INFO] [stderr] Downloaded bytemuck_derive v1.10.2 [INFO] [stderr] Downloaded macaw v0.19.1 [INFO] [stderr] Downloaded speedy v0.8.7 [INFO] [stderr] Downloaded proc-macro-crate v3.4.0 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded num_enum_derive v0.7.5 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded glam v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b77f65fba1a1025ae8296240a94f62fd8db4c7137b2ec0316ae63a303a5df019 [INFO] running `Command { std: "docker" "start" "-a" "b77f65fba1a1025ae8296240a94f62fd8db4c7137b2ec0316ae63a303a5df019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b77f65fba1a1025ae8296240a94f62fd8db4c7137b2ec0316ae63a303a5df019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b77f65fba1a1025ae8296240a94f62fd8db4c7137b2ec0316ae63a303a5df019", kill_on_drop: false }` [INFO] [stdout] b77f65fba1a1025ae8296240a94f62fd8db4c7137b2ec0316ae63a303a5df019 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ca07ad249861006c227608f29211591f5395628a78b441234622cdb4e12491 [INFO] running `Command { std: "docker" "start" "-a" "70ca07ad249861006c227608f29211591f5395628a78b441234622cdb4e12491", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling glam v0.25.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling macaw v0.19.1 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling ark-api-macros v0.13.0 [INFO] [stderr] Compiling ark-api-ffi v0.17.0-pre.43 [INFO] [stderr] Compiling ark-api v0.17.0-pre.43 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MeshBounds` is never constructed [INFO] [stdout] --> src/types/mesh.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MeshBounds { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | cumul_alloc_count: GLOBAL_ALLOCATOR.cumul_alloc_count.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | cumul_alloc_size: GLOBAL_ALLOCATOR.cumul_alloc_size.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | cumul_free_count: GLOBAL_ALLOCATOR.cumul_free_count.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | cumul_free_size: GLOBAL_ALLOCATOR.cumul_free_size.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | unsafe { &GLOBAL_ALLOCATOR.stats as *const AllocStats }.cast::() as usize as u32 [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 116 | unsafe { &raw const GLOBAL_ALLOCATOR.stats as *const AllocStats }.cast::() as usize as u32 [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.62s [INFO] running `Command { std: "docker" "inspect" "70ca07ad249861006c227608f29211591f5395628a78b441234622cdb4e12491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ca07ad249861006c227608f29211591f5395628a78b441234622cdb4e12491", kill_on_drop: false }` [INFO] [stdout] 70ca07ad249861006c227608f29211591f5395628a78b441234622cdb4e12491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d917c1894f7eaecb47b87229a83812e9b945bb4e32690fc3dec90c079a7db2c [INFO] running `Command { std: "docker" "start" "-a" "2d917c1894f7eaecb47b87229a83812e9b945bb4e32690fc3dec90c079a7db2c", kill_on_drop: false }` [INFO] [stderr] Compiling ark-api v0.17.0-pre.43 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MeshBounds` is never constructed [INFO] [stdout] --> src/types/mesh.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MeshBounds { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | cumul_alloc_count: GLOBAL_ALLOCATOR.cumul_alloc_count.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | cumul_alloc_size: GLOBAL_ALLOCATOR.cumul_alloc_size.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | cumul_free_count: GLOBAL_ALLOCATOR.cumul_free_count.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | cumul_free_size: GLOBAL_ALLOCATOR.cumul_free_size.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | unsafe { &GLOBAL_ALLOCATOR.stats as *const AllocStats }.cast::() as usize as u32 [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 116 | unsafe { &raw const GLOBAL_ALLOCATOR.stats as *const AllocStats }.cast::() as usize as u32 [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ark_public_api_test` [INFO] [stdout] --> tests/public-api.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | ark_public_api_test::public_api_test!("wasm32-unknown-unknown"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ark_public_api_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ark-api` (test "public-api") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `MeshBounds` is never constructed [INFO] [stdout] --> src/types/mesh.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MeshBounds { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | cumul_alloc_count: GLOBAL_ALLOCATOR.cumul_alloc_count.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | cumul_alloc_size: GLOBAL_ALLOCATOR.cumul_alloc_size.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | cumul_free_count: GLOBAL_ALLOCATOR.cumul_free_count.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | cumul_free_size: GLOBAL_ALLOCATOR.cumul_free_size.load(Ordering::SeqCst) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | unsafe { &GLOBAL_ALLOCATOR.stats as *const AllocStats }.cast::() as usize as u32 [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 116 | unsafe { &raw const GLOBAL_ALLOCATOR.stats as *const AllocStats }.cast::() as usize as u32 [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d917c1894f7eaecb47b87229a83812e9b945bb4e32690fc3dec90c079a7db2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d917c1894f7eaecb47b87229a83812e9b945bb4e32690fc3dec90c079a7db2c", kill_on_drop: false }` [INFO] [stdout] 2d917c1894f7eaecb47b87229a83812e9b945bb4e32690fc3dec90c079a7db2c