[INFO] fetching crate tokio-threadpool 0.1.18... [INFO] checking tokio-threadpool-0.1.18 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate tokio-threadpool 0.1.18 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tokio-threadpool 0.1.18 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-threadpool 0.1.18 [INFO] finished tweaking crates.io crate tokio-threadpool 0.1.18 [INFO] tweaked toml for crates.io crate tokio-threadpool 0.1.18 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate tokio-threadpool 0.1.18 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-executor v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1136a40cc5ed165a2a91b8a7aa46e91613b7f32b0af5d7ac73da3c95ea9415bd [INFO] running `Command { std: "docker" "start" "-a" "1136a40cc5ed165a2a91b8a7aa46e91613b7f32b0af5d7ac73da3c95ea9415bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1136a40cc5ed165a2a91b8a7aa46e91613b7f32b0af5d7ac73da3c95ea9415bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1136a40cc5ed165a2a91b8a7aa46e91613b7f32b0af5d7ac73da3c95ea9415bd", kill_on_drop: false }` [INFO] [stdout] 1136a40cc5ed165a2a91b8a7aa46e91613b7f32b0af5d7ac73da3c95ea9415bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc5d9c260495093831f85f8d1239500cb3111c5f2aba260eab06998e652648c9 [INFO] running `Command { std: "docker" "start" "-a" "dc5d9c260495093831f85f8d1239500cb3111c5f2aba260eab06998e652648c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking tokio-executor v0.1.9 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/blocking/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/pool/backup_stack.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] 17 + const STACK_MASK: usize = (1 << 16) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/sender.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_executor::{self, SpawnError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/task/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{self, Async, Future}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | extern crate futures; [INFO] [stdout] | --------------------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/worker/stack.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] 41 + const STACK_MASK: usize = (1 << 16) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/worker/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/blocking/mod.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/blocking/mod.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | .field("reason", &self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/park/default_park.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | self.description().fmt(fmt) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | ... .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | .compare_and_swap(curr.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/mod.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sender.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/blocking.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | .compare_and_swap(curr.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/blocking.rs:332:34 [INFO] [stdout] | [INFO] [stdout] 332 | ... .compare_and_swap(curr.into(), after.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | .compare_and_swap(Scheduled.into(), Running.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | .compare_and_swap(Running.into(), Idle.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | .compare_and_swap(state.into(), Aborted.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | .compare_and_swap(Idle.into(), Scheduled.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | .compare_and_swap(Running.into(), Notified.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | if self.needs_drain.compare_and_swap(true, false, Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:492:26 [INFO] [stdout] | [INFO] [stdout] 492 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:613:18 [INFO] [stdout] | [INFO] [stdout] 613 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:675:30 [INFO] [stdout] | [INFO] [stdout] 675 | ... .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.7.3 [INFO] [stdout] warning: field `trigger` is never read [INFO] [stdout] --> src/worker/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | trigger: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> benches/basic.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] ... [INFO] [stdout] 15 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> benches/depth.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate test; [INFO] [stdout] | ------------------ the item `test` is already imported here [INFO] [stdout] ... [INFO] [stdout] 14 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> benches/basic.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate test; [INFO] [stdout] | ------------------ the item `test` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> benches/depth.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] ... [INFO] [stdout] 47 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> benches/basic.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] ... [INFO] [stdout] 95 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> benches/depth.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate test; [INFO] [stdout] | ------------------ the item `test` is already imported here [INFO] [stdout] ... [INFO] [stdout] 49 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> benches/basic.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate test; [INFO] [stdout] | ------------------ the item `test` is already imported here [INFO] [stdout] ... [INFO] [stdout] 99 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lazy` is imported redundantly [INFO] [stdout] --> tests/blocking.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::{lazy, poll_fn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | use futures::*; [INFO] [stdout] | ---------- the item `lazy` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/blocking/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/pool/backup_stack.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] 17 + const STACK_MASK: usize = (1 << 16) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/sender.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_executor::{self, SpawnError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/task/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{self, Async, Future}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | extern crate futures; [INFO] [stdout] | --------------------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/worker/stack.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] 41 + const STACK_MASK: usize = (1 << 16) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/worker/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/blocking/mod.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/blocking/mod.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | .field("reason", &self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/park/default_park.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | self.description().fmt(fmt) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | ... .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | .compare_and_swap(curr.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/mod.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sender.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/blocking.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | .compare_and_swap(curr.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/blocking.rs:332:34 [INFO] [stdout] | [INFO] [stdout] 332 | ... .compare_and_swap(curr.into(), after.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | .compare_and_swap(Scheduled.into(), Running.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | .compare_and_swap(Running.into(), Idle.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | .compare_and_swap(state.into(), Aborted.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | .compare_and_swap(Idle.into(), Scheduled.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | .compare_and_swap(Running.into(), Notified.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | if self.needs_drain.compare_and_swap(true, false, Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:492:26 [INFO] [stdout] | [INFO] [stdout] 492 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:613:18 [INFO] [stdout] | [INFO] [stdout] 613 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:675:30 [INFO] [stdout] | [INFO] [stdout] 675 | ... .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trigger` is never read [INFO] [stdout] --> src/worker/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | trigger: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "dc5d9c260495093831f85f8d1239500cb3111c5f2aba260eab06998e652648c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5d9c260495093831f85f8d1239500cb3111c5f2aba260eab06998e652648c9", kill_on_drop: false }` [INFO] [stdout] dc5d9c260495093831f85f8d1239500cb3111c5f2aba260eab06998e652648c9 [INFO] checking tokio-threadpool-0.1.18 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate tokio-threadpool 0.1.18 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tokio-threadpool 0.1.18 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-threadpool 0.1.18 [INFO] finished tweaking crates.io crate tokio-threadpool 0.1.18 [INFO] tweaked toml for crates.io crate tokio-threadpool 0.1.18 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate tokio-threadpool 0.1.18 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37208f496ba4af98bd06443b6f0eacb36623c0ec215550ae33196d183891d120 [INFO] running `Command { std: "docker" "start" "-a" "37208f496ba4af98bd06443b6f0eacb36623c0ec215550ae33196d183891d120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37208f496ba4af98bd06443b6f0eacb36623c0ec215550ae33196d183891d120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37208f496ba4af98bd06443b6f0eacb36623c0ec215550ae33196d183891d120", kill_on_drop: false }` [INFO] [stdout] 37208f496ba4af98bd06443b6f0eacb36623c0ec215550ae33196d183891d120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e4efd91c8370230e9431cb33e37046f23ce5e4472e127a5e81b8467f3bb20af [INFO] running `Command { std: "docker" "start" "-a" "5e4efd91c8370230e9431cb33e37046f23ce5e4472e127a5e81b8467f3bb20af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-executor v0.1.9 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/blocking/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/pool/backup_stack.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] 17 + const STACK_MASK: usize = (1 << 16) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/sender.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_executor::{self, SpawnError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/task/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{self, Async, Future}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | extern crate futures; [INFO] [stdout] | --------------------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/worker/stack.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] 41 + const STACK_MASK: usize = (1 << 16) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/worker/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/blocking/mod.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/blocking/mod.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | .field("reason", &self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/park/default_park.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | self.description().fmt(fmt) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | ... .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | .compare_and_swap(curr.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/mod.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sender.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/blocking.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | .compare_and_swap(curr.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/blocking.rs:332:34 [INFO] [stdout] | [INFO] [stdout] 332 | ... .compare_and_swap(curr.into(), after.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | .compare_and_swap(Scheduled.into(), Running.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | .compare_and_swap(Running.into(), Idle.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | .compare_and_swap(state.into(), Aborted.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | .compare_and_swap(Idle.into(), Scheduled.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | .compare_and_swap(Running.into(), Notified.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | if self.needs_drain.compare_and_swap(true, false, Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:492:26 [INFO] [stdout] | [INFO] [stdout] 492 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:613:18 [INFO] [stdout] | [INFO] [stdout] 613 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:675:30 [INFO] [stdout] | [INFO] [stdout] 675 | ... .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trigger` is never read [INFO] [stdout] --> src/worker/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | trigger: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> benches/basic.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] ... [INFO] [stdout] 15 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> benches/depth.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate test; [INFO] [stdout] | ------------------ the item `test` is already imported here [INFO] [stdout] ... [INFO] [stdout] 14 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> benches/basic.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate test; [INFO] [stdout] | ------------------ the item `test` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> benches/depth.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] ... [INFO] [stdout] 47 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> benches/basic.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] ... [INFO] [stdout] 95 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> benches/depth.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate test; [INFO] [stdout] | ------------------ the item `test` is already imported here [INFO] [stdout] ... [INFO] [stdout] 49 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `test` is imported redundantly [INFO] [stdout] --> benches/basic.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate test; [INFO] [stdout] | ------------------ the item `test` is already imported here [INFO] [stdout] ... [INFO] [stdout] 99 | use test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lazy` is imported redundantly [INFO] [stdout] --> tests/blocking.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::{lazy, poll_fn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | use futures::*; [INFO] [stdout] | ---------- the item `lazy` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/blocking/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | extern crate num_cpus; [INFO] [stdout] | ---------------------- the item `num_cpus` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/pool/backup_stack.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] 17 + const STACK_MASK: usize = (1 << 16) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/sender.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_executor::{self, SpawnError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/task/mod.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{self, Async, Future}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | extern crate futures; [INFO] [stdout] | --------------------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/worker/stack.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - const STACK_MASK: usize = ((1 << 16) - 1); [INFO] [stdout] 41 + const STACK_MASK: usize = (1 << 16) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio_executor` is imported redundantly [INFO] [stdout] --> src/worker/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_executor; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern crate tokio_executor; [INFO] [stdout] | ---------------------------- the item `tokio_executor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result, _>` [INFO] [stdout] --> tests/blocking.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | let res = blocking(|| unreachable!()).map_err(|_| panic!()); [INFO] [stdout] | ^^^ --------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 155 | let res: Result, _> = blocking(|| unreachable!()).map_err(|_| panic!()); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/threadpool.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | panic!(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-threadpool` (test "threadpool") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-threadpool` (test "blocking") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/blocking/mod.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/blocking/mod.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | .field("reason", &self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/park/default_park.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | self.description().fmt(fmt) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | ... .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | .compare_and_swap(curr.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/backup_stack.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pool/mod.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sender.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/blocking.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | .compare_and_swap(curr.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/blocking.rs:332:34 [INFO] [stdout] | [INFO] [stdout] 332 | ... .compare_and_swap(curr.into(), after.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | .compare_and_swap(Scheduled.into(), Running.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | .compare_and_swap(Running.into(), Idle.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | .compare_and_swap(state.into(), Aborted.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | .compare_and_swap(Idle.into(), Scheduled.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/task/mod.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | .compare_and_swap(Running.into(), Notified.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/entry.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | if self.needs_drain.compare_and_swap(true, false, Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/stack.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:492:26 [INFO] [stdout] | [INFO] [stdout] 492 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:613:18 [INFO] [stdout] | [INFO] [stdout] 613 | .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/worker/mod.rs:675:30 [INFO] [stdout] | [INFO] [stdout] 675 | ... .compare_and_swap(state.into(), next.into(), AcqRel) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trigger` is never read [INFO] [stdout] --> src/worker/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | trigger: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e4efd91c8370230e9431cb33e37046f23ce5e4472e127a5e81b8467f3bb20af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4efd91c8370230e9431cb33e37046f23ce5e4472e127a5e81b8467f3bb20af", kill_on_drop: false }` [INFO] [stdout] 5e4efd91c8370230e9431cb33e37046f23ce5e4472e127a5e81b8467f3bb20af