[INFO] crate channel-async 0.3.0-deprecated is already in cache [INFO] checking channel-async-0.3.0-deprecated against master#fdc0011561c6365c596dfd8fa1ef388162bc89c7 for pr-66504-1 [INFO] extracting crate channel-async 0.3.0-deprecated into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate channel-async 0.3.0-deprecated on toolchain fdc0011561c6365c596dfd8fa1ef388162bc89c7 [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+fdc0011561c6365c596dfd8fa1ef388162bc89c7" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c4f0dbfba043123b2c5df91a6ddbd357b940377ec8bf692f12dcd4311fe0f2a3 [INFO] running `"docker" "start" "-a" "c4f0dbfba043123b2c5df91a6ddbd357b940377ec8bf692f12dcd4311fe0f2a3"` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking channel-async v0.3.0-deprecated (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `tokio::timer` [INFO] [stderr] --> src/receiver.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::timer::Delay; [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stderr] --> src/receiver.rs:42:48 [INFO] [stderr] | [INFO] [stderr] 42 | *pending = Some(tokio::timer::delay_for(*delay)); [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stderr] --> src/sender.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | tokio::timer::delay_for(self.delay).await; [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/receiver.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | pending: None, [INFO] [stderr] | ^^^^ cannot infer type for `T` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `std::pin::Pin<_>` in the current scope [INFO] [stderr] --> src/receiver.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | futures::ready!(pin_pending.poll(cx)); [INFO] [stderr] | ^^^^ method not found in `std::pin::Pin<_>` [INFO] [stderr] | [INFO] [stderr] = note: pin_pending is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::future::Future` [INFO] [stderr] --> src/receiver.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `channel-async`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio::timer` [INFO] [stderr] --> src/receiver.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::timer::Delay; [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> src/lib.rs:54:14 [INFO] [stderr] | [INFO] [stderr] 54 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> src/lib.rs:76:14 [INFO] [stderr] | [INFO] [stderr] 76 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> src/lib.rs:101:14 [INFO] [stderr] | [INFO] [stderr] 101 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stderr] --> src/receiver.rs:42:48 [INFO] [stderr] | [INFO] [stderr] 42 | *pending = Some(tokio::timer::delay_for(*delay)); [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stderr] --> src/sender.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | tokio::timer::delay_for(self.delay).await; [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stderr] --> src/lib.rs:83:28 [INFO] [stderr] | [INFO] [stderr] 83 | tokio::timer::delay_for(Duration::from_millis(100)).await; [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stderr] --> src/lib.rs:108:28 [INFO] [stderr] | [INFO] [stderr] 108 | tokio::timer::delay_for(Duration::from_millis(100)).await; [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> src/lib.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | tokio::spawn(send_fut); [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 51 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> src/lib.rs:94:16 [INFO] [stderr] | [INFO] [stderr] 94 | tokio::spawn(send_fut); [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 51 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> src/lib.rs:119:16 [INFO] [stderr] | [INFO] [stderr] 119 | tokio::spawn(send_fut); [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 51 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/receiver.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | pending: None, [INFO] [stderr] | ^^^^ cannot infer type for `T` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for type `std::pin::Pin<_>` in the current scope [INFO] [stderr] --> src/receiver.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | futures::ready!(pin_pending.poll(cx)); [INFO] [stderr] | ^^^^ method not found in `std::pin::Pin<_>` [INFO] [stderr] | [INFO] [stderr] = note: pin_pending is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::future::Future` [INFO] [stderr] --> src/receiver.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `channel-async`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c4f0dbfba043123b2c5df91a6ddbd357b940377ec8bf692f12dcd4311fe0f2a3"` [INFO] running `"docker" "rm" "-f" "c4f0dbfba043123b2c5df91a6ddbd357b940377ec8bf692f12dcd4311fe0f2a3"` [INFO] [stdout] c4f0dbfba043123b2c5df91a6ddbd357b940377ec8bf692f12dcd4311fe0f2a3