[INFO] fetching crate futures-cpupool 0.1.8... [INFO] checking futures-cpupool-0.1.8 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate futures-cpupool 0.1.8 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate futures-cpupool 0.1.8 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-cpupool 0.1.8 [INFO] finished tweaking crates.io crate futures-cpupool 0.1.8 [INFO] tweaked toml for crates.io crate futures-cpupool 0.1.8 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fdb57a4a4370433ba039286c796f6f24eaa25f902217f408755cb889dca4cae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0fdb57a4a4370433ba039286c796f6f24eaa25f902217f408755cb889dca4cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fdb57a4a4370433ba039286c796f6f24eaa25f902217f408755cb889dca4cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fdb57a4a4370433ba039286c796f6f24eaa25f902217f408755cb889dca4cae", kill_on_drop: false }` [INFO] [stdout] 0fdb57a4a4370433ba039286c796f6f24eaa25f902217f408755cb889dca4cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4b448eacf421ffc14f20709e7e8507deab3cc0ab76b49869351f19d207df61f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a4b448eacf421ffc14f20709e7e8507deab3cc0ab76b49869351f19d207df61f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | after_start: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | before_stop: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:252:44 [INFO] [stdout] | [INFO] [stdout] 252 | fn work(&self, after_start: Option>, before_stop: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:252:90 [INFO] [stdout] | [INFO] [stdout] 252 | fn work(&self, after_start: Option>, before_stop: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | after_start: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | before_stop: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:252:44 [INFO] [stdout] | [INFO] [stdout] 252 | fn work(&self, after_start: Option>, before_stop: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:252:90 [INFO] [stdout] | [INFO] [stdout] 252 | fn work(&self, after_start: Option>, before_stop: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `futures::task::Run` [INFO] [stdout] --> src/lib.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | use futures::executor::{self, Run, Executor as OldExecutor}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `futures::task::Run` [INFO] [stdout] --> src/lib.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | use futures::executor::{self, Run, Executor as OldExecutor}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `futures::task::Executor` [INFO] [stdout] --> src/lib.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | use futures::executor::{self, Run, Executor as OldExecutor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `futures::task::Run` [INFO] [stdout] --> src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Run(Run), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `futures::task::Executor` [INFO] [stdout] --> src/lib.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 282 | impl OldExecutor for Inner { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `futures::task::Run` [INFO] [stdout] --> src/lib.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | fn execute(&self, run: Run) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `futures::task::Executor` [INFO] [stdout] --> src/lib.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | use futures::executor::{self, Run, Executor as OldExecutor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `futures::task::Run` [INFO] [stdout] --> src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | Run(Run), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `futures::task::Executor` [INFO] [stdout] --> src/lib.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 282 | impl OldExecutor for Inner { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `futures::task::Run` [INFO] [stdout] --> src/lib.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | fn execute(&self, run: Run) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task_impl::std::>::execute` [INFO] [stdout] --> src/lib.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | executor::spawn(sender).execute(self.inner.clone()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task_impl::std::>::execute` [INFO] [stdout] --> src/lib.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | executor::spawn(future).execute(self.inner.clone()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task_impl::std::>::execute` [INFO] [stdout] --> src/lib.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | executor::spawn(sender).execute(self.inner.clone()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task_impl::std::>::execute` [INFO] [stdout] --> src/lib.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | executor::spawn(future).execute(self.inner.clone()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/smoke.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | fn done(t: T) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/smoke.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/smoke.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | static CNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/smoke.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | static NUM_STARTS: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/smoke.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | static NUM_STOPS: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.17s [INFO] running `Command { std: "docker" "inspect" "a4b448eacf421ffc14f20709e7e8507deab3cc0ab76b49869351f19d207df61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b448eacf421ffc14f20709e7e8507deab3cc0ab76b49869351f19d207df61f", kill_on_drop: false }` [INFO] [stdout] a4b448eacf421ffc14f20709e7e8507deab3cc0ab76b49869351f19d207df61f