[INFO] crate tokio 0.2.18 is already in cache [INFO] checking tokio-0.2.18 against try#1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 for pr-69530 [INFO] extracting crate tokio 0.2.18 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tokio 0.2.18 on toolchain 1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio 0.2.18 [INFO] finished tweaking crates.io crate tokio 0.2.18 [INFO] tweaked toml for crates.io crate tokio 0.2.18 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d3065bd2a0777f0e3bf4ac8e1ad25acc8dbdde54941c7f3bf758d7f0527d2e4d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "d3065bd2a0777f0e3bf4ac8e1ad25acc8dbdde54941c7f3bf758d7f0527d2e4d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking tokio v0.2.18 (/opt/rustwide/workdir) [INFO] [stderr] Compiling generator v0.6.20 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking loom v0.3.4 [INFO] [stderr] error: run main Tokio tests with `--features full` [INFO] [stderr] --> tests/_require_full.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | compile_error!("run main Tokio tests with `--features full`"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `task_local` in `tokio` [INFO] [stderr] --> tests/task_local.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | tokio::task_local! { [INFO] [stderr] | ^^^^^^^^^^ could not find `task_local` in `tokio` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/task_local.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[tokio::test(threaded_scheduler)] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [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] [stderr] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stderr] --> tests/task_local.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | tokio::time::delay_for(std::time::Duration::from_millis(10)).await; [INFO] [stderr] | ^^^^ could not find `time` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> tests/task_local.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | let j1 = tokio::spawn(REQ_ID.scope(1, async move { [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use loom::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 6 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::task::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stderr] --> tests/task_local.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | let j1 = tokio::spawn(REQ_ID.scope(1, async move { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stderr] --> tests/task_local.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | assert_eq!(REQ_ID.get(), 1); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stderr] --> tests/task_local.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | assert_eq!(REQ_ID.get(), 1); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> tests/task_local.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | let j2 = tokio::spawn(REQ_ID.scope(2, async move { [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use loom::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 6 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::task::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stderr] --> tests/task_local.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | let j2 = tokio::spawn(REQ_ID.scope(2, async move { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stderr] --> tests/task_local.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | REQ_ID.with(|v| { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stderr] --> tests/task_local.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | assert_eq!(REQ_ID.get(), 2); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stderr] --> tests/task_local.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | assert_eq!(REQ_ID.get(), 2); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> tests/task_local.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | let j3 = tokio::spawn(FOO.scope(true, async move { [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use loom::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 6 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::task::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FOO` in this scope [INFO] [stderr] --> tests/task_local.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | let j3 = tokio::spawn(FOO.scope(true, async move { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FOO` in this scope [INFO] [stderr] --> tests/task_local.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | assert!(FOO.get()); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d3065bd2a0777f0e3bf4ac8e1ad25acc8dbdde54941c7f3bf758d7f0527d2e4d"` [INFO] running `"docker" "rm" "-f" "d3065bd2a0777f0e3bf4ac8e1ad25acc8dbdde54941c7f3bf758d7f0527d2e4d"` [INFO] [stdout] d3065bd2a0777f0e3bf4ac8e1ad25acc8dbdde54941c7f3bf758d7f0527d2e4d