[INFO] crate tokio 0.2.21 is already in cache [INFO] testing tokio-0.2.21 against 1.44.0 for beta-1.45-1 [INFO] extracting crate tokio 0.2.21 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate tokio 0.2.21 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio 0.2.21 [INFO] finished tweaking crates.io crate tokio 0.2.21 [INFO] tweaked toml for crates.io crate tokio 0.2.21 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 035b6e15d23e9bb906aca1cd5d4d3dee1f9d1370b3fe7e08603853bbd5c0f183 [INFO] running `"docker" "start" "-a" "035b6e15d23e9bb906aca1cd5d4d3dee1f9d1370b3fe7e08603853bbd5c0f183"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling tokio v0.2.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `"docker" "inspect" "035b6e15d23e9bb906aca1cd5d4d3dee1f9d1370b3fe7e08603853bbd5c0f183"` [INFO] running `"docker" "rm" "-f" "035b6e15d23e9bb906aca1cd5d4d3dee1f9d1370b3fe7e08603853bbd5c0f183"` [INFO] [stdout] 035b6e15d23e9bb906aca1cd5d4d3dee1f9d1370b3fe7e08603853bbd5c0f183 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stdout] c78c7ed6bb86153ef46810a4eb6040d9a7cd83d01f4414e019c115ef68eb5954 [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" "c78c7ed6bb86153ef46810a4eb6040d9a7cd83d01f4414e019c115ef68eb5954"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio-test v0.2.1 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures-test v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio v0.2.21 (/opt/rustwide/workdir) [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[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[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stderr] --> tests/macros_join.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | let foo = tokio::join!(async { 1 },); [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | let foo = tokio::join!(async { 1 }); [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | let foo = tokio::join!(async { 1 }, async { 2 },); [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:27:22 [INFO] [stderr] | [INFO] [stderr] 27 | let foo = tokio::join!(async { 1 }, async { 2 }); [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | tokio::join!(async { rx1.await.unwrap() }, async { rx2.await.unwrap() }) [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | tokio::join!(ready) [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | tokio::join!(ready1, ready2) [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/macros_join.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:383:5 [INFO] [stderr] | [INFO] [stderr] 383 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [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 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 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 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 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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: 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stderr] --> tests/stream_once.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `stream` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_once.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_once.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_once.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_once.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_once.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_once.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_once.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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: build failed [INFO] running `"docker" "inspect" "c78c7ed6bb86153ef46810a4eb6040d9a7cd83d01f4414e019c115ef68eb5954"` [INFO] running `"docker" "rm" "-f" "c78c7ed6bb86153ef46810a4eb6040d9a7cd83d01f4414e019c115ef68eb5954"` [INFO] [stdout] c78c7ed6bb86153ef46810a4eb6040d9a7cd83d01f4414e019c115ef68eb5954