[INFO] fetching crate syncbox 0.2.4...
[INFO] testing syncbox-0.2.4 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate syncbox 0.2.4 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate syncbox 0.2.4
[INFO] removed 1 missing tests
[INFO] finished tweaking crates.io crate syncbox 0.2.4
[INFO] tweaked toml for crates.io crate syncbox 0.2.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate syncbox 0.2.4 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 19 packages to latest compatible versions
[INFO] [stderr]       Adding env_logger v0.3.5 (available: v0.11.10)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.29)
[INFO] [stderr]       Adding time v0.1.45 (available: v0.3.47)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa433b421a3bb9fb4296b3e5a362ec5420f67b5f9fdfa4a83d16dd5ab532d9d3
[INFO] running `Command { std: "docker" "start" "-a" "aa433b421a3bb9fb4296b3e5a362ec5420f67b5f9fdfa4a83d16dd5ab532d9d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa433b421a3bb9fb4296b3e5a362ec5420f67b5f9fdfa4a83d16dd5ab532d9d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa433b421a3bb9fb4296b3e5a362ec5420f67b5f9fdfa4a83d16dd5ab532d9d3", kill_on_drop: false }`
[INFO] [stdout] aa433b421a3bb9fb4296b3e5a362ec5420f67b5f9fdfa4a83d16dd5ab532d9d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b3e6a761c9bf1497f5616698560a1b736c053c9b837a278bde2ab55a74bf330
[INFO] running `Command { std: "docker" "start" "-a" "3b3e6a761c9bf1497f5616698560a1b736c053c9b837a278bde2ab55a74bf330", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling syncbox v0.2.4 (/opt/rustwide/workdir)
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/thread_pool.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |     Delayed(Box<BoxedTask>, Duration),
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:4:9
[INFO] [stdout]     |
[INFO] [stdout]   4 | #![deny(warnings)]
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     Delayed(Box<dyn BoxedTask>, Duration),
[INFO] [stdout]     |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/run.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Task for Box<TaskBox>{
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Task for Box<dyn TaskBox>{
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/atomic.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |         AtomicUsize::compare_and_swap(self, old, new, order)
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/atomic.rs:156:20
[INFO] [stdout]     |
[INFO] [stdout] 156 |             self.v.compare_and_swap(old as usize, new as usize, order) as u64
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<isize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/atomic.rs:212:20
[INFO] [stdout]     |
[INFO] [stdout] 212 |             self.v.compare_and_swap(old as isize, new as isize, order) as i64
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/array_queue.rs:118:52
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let enqueue_pos = self.enqueue_pos.compare_and_swap(pos, pos+1, Relaxed);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/array_queue.rs:145:52
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 let dequeue_pos = self.dequeue_pos.compare_and_swap(pos, pos+1, Relaxed);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout`
[INFO] [stdout]   --> src/delay_queue.rs:99:40
[INFO] [stdout]    |
[INFO] [stdout] 99 |             queue = self.inner.condvar.wait_timeout_ms(queue, timeout).unwrap().0;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout`
[INFO] [stdout]    --> src/delay_queue.rs:184:40
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     self.inner.condvar.wait_timeout_ms(queue, timeout).unwrap().0
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout`
[INFO] [stdout]    --> src/linked_queue.rs:188:38
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 last = self.not_full.wait_timeout_ms(last, dur)
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout`
[INFO] [stdout]    --> src/linked_queue.rs:251:39
[INFO] [stdout]     |
[INFO] [stdout] 251 |                 head = self.not_empty.wait_timeout_ms(head, dur)
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/thread_pool.rs:676:34
[INFO] [stdout]     |
[INFO] [stdout] 676 |         let actual = self.atomic.compare_and_swap(expect.as_usize(), val.as_usize(), order);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/thread_pool.rs:682:21
[INFO] [stdout]     |
[INFO] [stdout] 682 |         self.atomic.compare_and_swap(num, num + (1 << LIFECYCLE_BITS), order) == num
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/thread_pool.rs:691:21
[INFO] [stdout]     |
[INFO] [stdout] 691 |         self.atomic.compare_and_swap(num, num - (1 << LIFECYCLE_BITS), order) == num
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `Queue`
[INFO] [stdout]  --> src/thread_pool.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use {LinkedQueue, Queue, SyncQueue, Run, Task, Delayed, DelayQueue};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: variable does not need to be mutable
[INFO] [stdout]    --> src/linked_queue.rs:315:21
[INFO] [stdout]     |
[INFO] [stdout] 315 | fn dequeue<T: Send>(mut head: &mut MutexGuard<NodePtr<T>>) -> T {
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: variable does not need to be mutable
[INFO] [stdout]    --> src/linked_queue.rs:323:36
[INFO] [stdout]     |
[INFO] [stdout] 323 | fn enqueue<T: Send>(node: Node<T>, mut last: &mut MutexGuard<NodePtr<T>>) {
[INFO] [stdout]     |                                    ----^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `syncbox` (lib) due to 17 previous errors
[INFO] running `Command { std: "docker" "inspect" "3b3e6a761c9bf1497f5616698560a1b736c053c9b837a278bde2ab55a74bf330", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b3e6a761c9bf1497f5616698560a1b736c053c9b837a278bde2ab55a74bf330", kill_on_drop: false }`
[INFO] [stdout] 3b3e6a761c9bf1497f5616698560a1b736c053c9b837a278bde2ab55a74bf330
