[INFO] fetching crate syncbox 0.2.4... [INFO] checking syncbox-0.2.4 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate syncbox 0.2.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate syncbox 0.2.4 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68ba78e5ad79a79684b1e87b244ece68248d2ddd87526d74c6aceda0ec04562b [INFO] running `Command { std: "docker" "start" "-a" "68ba78e5ad79a79684b1e87b244ece68248d2ddd87526d74c6aceda0ec04562b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68ba78e5ad79a79684b1e87b244ece68248d2ddd87526d74c6aceda0ec04562b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ba78e5ad79a79684b1e87b244ece68248d2ddd87526d74c6aceda0ec04562b", kill_on_drop: false }` [INFO] [stdout] 68ba78e5ad79a79684b1e87b244ece68248d2ddd87526d74c6aceda0ec04562b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e83a43275db9a688ade8b079412f5a93905a0e85c06b6a6c9f1c5c39fa362c13 [INFO] running `Command { std: "docker" "start" "-a" "e83a43275db9a688ade8b079412f5a93905a0e85c06b6a6c9f1c5c39fa362c13", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking syncbox v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking thread-id v2.0.0 [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, Duration), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn BoxedTask` [INFO] [stdout] | [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] = 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 issue #80165 [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{ [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn TaskBox` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stdout] error: use of deprecated associated function `std::sync::atomic::AtomicUsize::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: 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(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::sync::atomic::AtomicUsize::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 associated function `std::sync::atomic::AtomicIsize::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 associated function `std::sync::atomic::AtomicUsize::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 associated function `std::sync::atomic::AtomicUsize::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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `std::sync::atomic::AtomicUsize::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 associated function `std::sync::atomic::AtomicUsize::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 associated function `std::sync::atomic::AtomicUsize::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: 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(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syncbox` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e83a43275db9a688ade8b079412f5a93905a0e85c06b6a6c9f1c5c39fa362c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e83a43275db9a688ade8b079412f5a93905a0e85c06b6a6c9f1c5c39fa362c13", kill_on_drop: false }` [INFO] [stdout] e83a43275db9a688ade8b079412f5a93905a0e85c06b6a6c9f1c5c39fa362c13