[INFO] fetching crate syncpool 0.1.6...
[INFO] checking syncpool-0.1.6 against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] extracting crate syncpool 0.1.6 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate syncpool 0.1.6 on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9
[INFO] running `Command { std: "docker" "start" "081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking 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: 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<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     flags: Vec<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     children: Vec<usize>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 26 |     index: HashMap<usize, String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 27 |     rev_index: HashMap<String, usize>,
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 19 - static mut POOL: Option<SyncPool<TestStruct>> = None;
[INFO] [stdout] 19 + static POOL: Option<SyncPool<TestStruct>> = None;
[INFO] [stdout]    |
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 19 - static mut POOL: Option<SyncPool<TestStruct>> = None;
[INFO] [stdout] 19 + static POOL: Option<SyncPool<TestStruct>> = None;
[INFO] [stdout]    |
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9", kill_on_drop: false }`
[INFO] [stdout] 081e2f1236c66ea043ba50402833753acf065006b50846529c104827558664d9
