[INFO] fetching crate syncpool 0.1.6... [INFO] testing syncpool-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate syncpool 0.1.6 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate syncpool 0.1.6 [INFO] finished tweaking crates.io crate syncpool 0.1.6 [INFO] tweaked toml for crates.io crate syncpool 0.1.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate syncpool 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate syncpool 0.1.6 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d256450d69bb46091f8441ce8ea2457006818c269e2f964718ee64a617de424 [INFO] running `Command { std: "docker" "start" "-a" "6d256450d69bb46091f8441ce8ea2457006818c269e2f964718ee64a617de424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d256450d69bb46091f8441ce8ea2457006818c269e2f964718ee64a617de424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d256450d69bb46091f8441ce8ea2457006818c269e2f964718ee64a617de424", kill_on_drop: false }` [INFO] [stdout] 6d256450d69bb46091f8441ce8ea2457006818c269e2f964718ee64a617de424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cce06fd9a3647b5a3b279741b02ef49cabd63677b1c191433c4995f00f889c5 [INFO] running `Command { std: "docker" "start" "-a" "9cce06fd9a3647b5a3b279741b02ef49cabd63677b1c191433c4995f00f889c5", kill_on_drop: false }` [INFO] [stderr] Compiling syncpool v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/utils.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "9cce06fd9a3647b5a3b279741b02ef49cabd63677b1c191433c4995f00f889c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cce06fd9a3647b5a3b279741b02ef49cabd63677b1c191433c4995f00f889c5", kill_on_drop: false }` [INFO] [stdout] 9cce06fd9a3647b5a3b279741b02ef49cabd63677b1c191433c4995f00f889c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e39b66f25dbb8f9d86e9214433ceed710c78c0a0fda896b288b4d70b3e7759d1 [INFO] running `Command { std: "docker" "start" "-a" "e39b66f25dbb8f9d86e9214433ceed710c78c0a0fda896b288b4d70b3e7759d1", kill_on_drop: false }` [INFO] [stderr] Compiling syncpool v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/utils.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `body`, `flags`, `children`, `index`, and `rev_index` are never read [INFO] [stdout] --> examples/basic.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct ComplexStruct { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 21 | id: usize, [INFO] [stdout] 22 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | index: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | rev_index: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComplexStruct` 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] --> examples/basic.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | POOL.as_mut_ptr().write(SyncPool::with_size(COUNT / 2)); [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)]` (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] --> examples/basic.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | Pin::new(&mut *POOL.as_mut_ptr()), [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 [INFO] [stdout] --> examples/basic.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | Pin::new(&mut *POOL.as_mut_ptr()), [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: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/utils.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> examples/complex_bench.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | println!("Init len: {}", unsafe { POOL.as_ref().unwrap().len() }); [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] --> examples/complex_bench.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | println!("Remainder len: {}", unsafe { POOL.as_ref().unwrap().len() }); [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 mutable reference to mutable static [INFO] [stdout] --> examples/complex_bench.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | POOL.replace(pool); [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 [INFO] [stdout] --> examples/complex_bench.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { POOL.as_mut().unwrap().get() } [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 [INFO] [stdout] --> examples/complex_bench.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | unsafe { POOL.as_mut().unwrap().get() } [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 [INFO] [stdout] --> examples/complex_bench.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | POOL.as_mut().unwrap().put(arr); [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 [INFO] [stdout] --> examples/complex_bench.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe { POOL.as_mut().unwrap().get() } [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 [INFO] [stdout] --> examples/complex_bench.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | unsafe { POOL.as_mut().unwrap().put(data) }; [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 `test` profile [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "e39b66f25dbb8f9d86e9214433ceed710c78c0a0fda896b288b4d70b3e7759d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39b66f25dbb8f9d86e9214433ceed710c78c0a0fda896b288b4d70b3e7759d1", kill_on_drop: false }` [INFO] [stdout] e39b66f25dbb8f9d86e9214433ceed710c78c0a0fda896b288b4d70b3e7759d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7bd38f2ac221a55d8f5fc06ffa3b0e24712e9f88fbcec6618ae39614e05a33dd [INFO] running `Command { std: "docker" "start" "-a" "7bd38f2ac221a55d8f5fc06ffa3b0e24712e9f88fbcec6618ae39614e05a33dd", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/utils.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | atomic::spin_loop_hint() [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `syncpool` (lib) generated 1 warning [INFO] [stderr] warning: fields `name`, `body`, `flags`, `children`, `index`, and `rev_index` are never read [INFO] [stderr] --> examples/basic.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 20 | struct ComplexStruct { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 21 | id: usize, [INFO] [stderr] 22 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 23 | body: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 24 | flags: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 25 | children: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 26 | index: HashMap, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 27 | rev_index: HashMap, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ComplexStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/basic.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | POOL.as_mut_ptr().write(SyncPool::with_size(COUNT / 2)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/basic.rs:38:24 [INFO] [stderr] | [INFO] [stderr] 38 | Pin::new(&mut *POOL.as_mut_ptr()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/basic.rs:39:24 [INFO] [stderr] | [INFO] [stderr] 39 | Pin::new(&mut *POOL.as_mut_ptr()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `syncpool` (example "basic") generated 4 warnings [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> examples/complex_bench.rs:65:39 [INFO] [stderr] | [INFO] [stderr] 65 | println!("Init len: {}", unsafe { POOL.as_ref().unwrap().len() }); [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> examples/complex_bench.rs:89:44 [INFO] [stderr] | [INFO] [stderr] 89 | println!("Remainder len: {}", unsafe { POOL.as_ref().unwrap().len() }); [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/complex_bench.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | POOL.replace(pool); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/complex_bench.rs:140:26 [INFO] [stderr] | [INFO] [stderr] 140 | unsafe { POOL.as_mut().unwrap().get() } [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/complex_bench.rs:165:26 [INFO] [stderr] | [INFO] [stderr] 165 | unsafe { POOL.as_mut().unwrap().get() } [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/complex_bench.rs:189:21 [INFO] [stderr] | [INFO] [stderr] 189 | POOL.as_mut().unwrap().put(arr); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/complex_bench.rs:206:22 [INFO] [stderr] | [INFO] [stderr] 206 | unsafe { POOL.as_mut().unwrap().get() } [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> examples/complex_bench.rs:218:22 [INFO] [stderr] | [INFO] [stderr] 218 | unsafe { POOL.as_mut().unwrap().put(data) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `syncpool` (example "complex_bench") generated 8 warnings [INFO] [stderr] warning: `syncpool` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/syncpool-76003766708e9102) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test boxed::boxed_tests::pack ... ok [INFO] [stdout] test boxed::boxed_tests::raw_box_test ... ok [INFO] [stdout] test utils::utils_test::access_deny ... ok [INFO] [stdout] test boxed::boxed_tests::raw ... ok [INFO] [stdout] test tests::check ... ok [INFO] [stdout] test boxed::boxed_tests::defaulted ... ok [INFO] [stdout] test utils::utils_test::access_pass ... ok [INFO] [stdout] test boxed::boxed_tests::init ... ok [INFO] [stdout] test pool::pool_tests::use_builder ... ok [INFO] [stdout] test pool::pool_tests::use_packer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stderr] Doc-tests syncpool [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/boxed.rs - boxed::default_box (line 204) ... ok [INFO] [stdout] test src/boxed.rs - boxed::raw_box_zeroed (line 115) ... ok [INFO] [stdout] test src/pool.rs - pool::SyncPool::with_packer (line 166) ... ok [INFO] [stdout] test src/boxed.rs - boxed::make_box (line 148) ... ok [INFO] [stdout] test src/lib.rs - (line 115) ... ok [INFO] [stdout] test src/lib.rs - (line 157) ... ok [INFO] [stdout] test src/boxed.rs - boxed::raw_box (line 74) ... ok [INFO] [stdout] test src/pool.rs - pool::SyncPool::with_builder (line 112) ... ok [INFO] [stdout] test src/lib.rs - (line 32) ... ok [INFO] [stdout] test src/boxed.rs - boxed (line 19) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7bd38f2ac221a55d8f5fc06ffa3b0e24712e9f88fbcec6618ae39614e05a33dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd38f2ac221a55d8f5fc06ffa3b0e24712e9f88fbcec6618ae39614e05a33dd", kill_on_drop: false }` [INFO] [stdout] 7bd38f2ac221a55d8f5fc06ffa3b0e24712e9f88fbcec6618ae39614e05a33dd