[INFO] crate tokio 0.2.22 is already in cache [INFO] testing tokio-0.2.22 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate tokio 0.2.22 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate tokio 0.2.22 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5e11e3e606ed6a9c3fe684fc66810f75f2f3ef4664062d0af8218eddd3f71d1 [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" "a5e11e3e606ed6a9c3fe684fc66810f75f2f3ef4664062d0af8218eddd3f71d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5e11e3e606ed6a9c3fe684fc66810f75f2f3ef4664062d0af8218eddd3f71d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5e11e3e606ed6a9c3fe684fc66810f75f2f3ef4664062d0af8218eddd3f71d1", kill_on_drop: false }` [INFO] [stdout] a5e11e3e606ed6a9c3fe684fc66810f75f2f3ef4664062d0af8218eddd3f71d1 [INFO] running `Command { std: "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf5534992bc844e7faebbe35ea5e425cfcb0e355bc1b20319610c30fe5a54fd8 [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" "bf5534992bc844e7faebbe35ea5e425cfcb0e355bc1b20319610c30fe5a54fd8", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v0.2.22 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "bf5534992bc844e7faebbe35ea5e425cfcb0e355bc1b20319610c30fe5a54fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5534992bc844e7faebbe35ea5e425cfcb0e355bc1b20319610c30fe5a54fd8", kill_on_drop: false }` [INFO] [stdout] bf5534992bc844e7faebbe35ea5e425cfcb0e355bc1b20319610c30fe5a54fd8 [INFO] running `Command { std: "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9457161d08a96589ecb10ed294d9ce5b935711676fd979813a3279e372f48490 [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" "9457161d08a96589ecb10ed294d9ce5b935711676fd979813a3279e372f48490", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-test v0.2.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling futures-test v0.3.5 [INFO] [stderr] Compiling tokio v0.2.22 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/net_lookup_host.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[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/net_lookup_host.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[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/net_lookup_host.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stdout] --> tests/macros_join.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let foo = tokio::join!(async { 1 },); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let foo = tokio::join!(async { 1 }); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.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 `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let foo = tokio::join!(async { 1 }, async { 2 },); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let foo = tokio::join!(async { 1 }, async { 2 }); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::join!(async { rx1.await.unwrap() }, async { rx2.await.unwrap() }) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | tokio::join!(ready) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | tokio::join!(ready1, ready2) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/macros_join.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot; [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 14 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[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let actual = assert_ok!(net::lookup_host(addr).await).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let actual = assert_ok!(net::lookup_host("127.0.0.1:8000").await).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let mut hosts = net::lookup_host("localhost:3000").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_once.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_once.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_once.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/stream_once.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_once.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/stream_once.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_once.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/stream_once.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9457161d08a96589ecb10ed294d9ce5b935711676fd979813a3279e372f48490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9457161d08a96589ecb10ed294d9ce5b935711676fd979813a3279e372f48490", kill_on_drop: false }` [INFO] [stdout] 9457161d08a96589ecb10ed294d9ce5b935711676fd979813a3279e372f48490