[INFO] fetching crate channel-async 0.3.0-deprecated... [INFO] checking channel-async-0.3.0-deprecated against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [INFO] extracting crate channel-async 0.3.0-deprecated into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate channel-async 0.3.0-deprecated on toolchain 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate channel-async 0.3.0-deprecated [INFO] finished tweaking crates.io crate channel-async 0.3.0-deprecated [INFO] tweaked toml for crates.io crate channel-async 0.3.0-deprecated written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3f5a786aa70335ff4f4a19fb64dcabb56b7d1b44f07f6b90a700f069f990c013 [INFO] running `Command { std: "docker" "start" "-a" "3f5a786aa70335ff4f4a19fb64dcabb56b7d1b44f07f6b90a700f069f990c013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f5a786aa70335ff4f4a19fb64dcabb56b7d1b44f07f6b90a700f069f990c013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f5a786aa70335ff4f4a19fb64dcabb56b7d1b44f07f6b90a700f069f990c013", kill_on_drop: false }` [INFO] [stdout] 3f5a786aa70335ff4f4a19fb64dcabb56b7d1b44f07f6b90a700f069f990c013 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acf9bf26cc846cf13a95b153d539820acf9c88953aea1c3d69bd41e622d2743e [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" "acf9bf26cc846cf13a95b153d539820acf9c88953aea1c3d69bd41e622d2743e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking channel-async v0.3.0-deprecated (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tokio::timer` [INFO] [stdout] --> src/receiver.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::timer::Delay; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> src/receiver.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | *pending = Some(tokio::timer::delay_for(*delay)); [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> src/sender.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | tokio::timer::delay_for(self.delay).await; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::timer` [INFO] [stdout] --> src/receiver.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::timer::Delay; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/lib.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/lib.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> src/receiver.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | *pending = Some(tokio::timer::delay_for(*delay)); [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> src/sender.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | tokio::timer::delay_for(self.delay).await; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/receiver.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | pending: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> src/lib.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | tokio::timer::delay_for(Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> src/lib.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | tokio::timer::delay_for(Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/lib.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | tokio::spawn(send_fut); [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 51 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/lib.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | tokio::spawn(send_fut); [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 51 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/lib.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | tokio::spawn(send_fut); [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 51 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [INFO] [stdout] --> src/receiver.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | futures::ready!(pin_pending.poll(cx)); [INFO] [stdout] | ^^^^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] = note: `pin_pending` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/receiver.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `channel-async` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/receiver.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | pending: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope [INFO] [stdout] --> src/receiver.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | futures::ready!(pin_pending.poll(cx)); [INFO] [stdout] | ^^^^ method not found in `Pin<_>` [INFO] [stdout] | [INFO] [stdout] = note: `pin_pending` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/receiver.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "acf9bf26cc846cf13a95b153d539820acf9c88953aea1c3d69bd41e622d2743e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf9bf26cc846cf13a95b153d539820acf9c88953aea1c3d69bd41e622d2743e", kill_on_drop: false }` [INFO] [stdout] acf9bf26cc846cf13a95b153d539820acf9c88953aea1c3d69bd41e622d2743e