[INFO] fetching crate tokio 0.2.22... [INFO] checking tokio-0.2.22 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate tokio 0.2.22 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate tokio 0.2.22 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 0.2.22 [INFO] finished tweaking crates.io crate tokio 0.2.22 [INFO] tweaked toml for crates.io crate tokio 0.2.22 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-test v0.3.6 [INFO] [stderr] Downloaded generator v0.6.22 [INFO] [stderr] Downloaded loom v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99eff2e031731121c045bc295862baf569902835cbde308f974a103f8690c13c [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" "99eff2e031731121c045bc295862baf569902835cbde308f974a103f8690c13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99eff2e031731121c045bc295862baf569902835cbde308f974a103f8690c13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99eff2e031731121c045bc295862baf569902835cbde308f974a103f8690c13c", kill_on_drop: false }` [INFO] [stdout] 99eff2e031731121c045bc295862baf569902835cbde308f974a103f8690c13c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2d0fbd1f3e7792a682e065003fbf0ec967f83e3ef1cc482d63cb7026351fabc [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" "e2d0fbd1f3e7792a682e065003fbf0ec967f83e3ef1cc482d63cb7026351fabc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tokio v0.2.22 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-test v0.2.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking futures-test v0.3.6 [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_merge.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `task_local` in `tokio` [INFO] [stdout] --> tests/task_local.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | tokio::task_local! { [INFO] [stdout] | ^^^^^^^^^^ could not find `task_local` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/task_local.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::test(threaded_scheduler)] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stdout] --> tests/stream_merge.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_merge.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] --> tests/stream_merge.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `stream` in `tokio` [INFO] [stdout] --> tests/stream_merge.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | impl tokio::stream::Stream for Monster { [INFO] [stdout] | ^^^^^^ could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/stream_merge.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` [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[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_pending.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_pending.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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] --> tests/macros_pin.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/task_local.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | tokio::time::delay_for(std::time::Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let j1 = tokio::spawn(REQ_ID.scope(1, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let j1 = tokio::spawn(REQ_ID.scope(1, async move { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(REQ_ID.get(), 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(REQ_ID.get(), 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let j2 = tokio::spawn(REQ_ID.scope(2, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let j2 = tokio::spawn(REQ_ID.scope(2, async move { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | REQ_ID.with(|v| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(REQ_ID.get(), 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(REQ_ID.get(), 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let j3 = tokio::spawn(FOO.scope(true, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOO` in this scope [INFO] [stdout] --> tests/task_local.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let j3 = tokio::spawn(FOO.scope(true, async move { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOO` in this scope [INFO] [stdout] --> tests/task_local.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(FOO.get()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e2d0fbd1f3e7792a682e065003fbf0ec967f83e3ef1cc482d63cb7026351fabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d0fbd1f3e7792a682e065003fbf0ec967f83e3ef1cc482d63cb7026351fabc", kill_on_drop: false }` [INFO] [stdout] e2d0fbd1f3e7792a682e065003fbf0ec967f83e3ef1cc482d63cb7026351fabc