[INFO] fetching crate tokio-io 0.2.0-alpha.4... [INFO] checking tokio-io-0.2.0-alpha.4 against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] extracting crate tokio-io 0.2.0-alpha.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate tokio-io 0.2.0-alpha.4 on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio-io 0.2.0-alpha.4 [INFO] finished tweaking crates.io crate tokio-io 0.2.0-alpha.4 [INFO] tweaked toml for crates.io crate tokio-io 0.2.0-alpha.4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 0278994b2f09b80d334e4be6791c621eb46e3a5d7e7ac1c0cd352ccf1b181de3 [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" "0278994b2f09b80d334e4be6791c621eb46e3a5d7e7ac1c0cd352ccf1b181de3"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking tokio-io v0.2.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncWriteExt` [INFO] [stderr] --> tests/write_all.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::{AsyncWrite, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `AsyncWriteExt` in the root [INFO] [stderr] | help: a similar name exists in the module: `AsyncWrite` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/write_all.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/write_all.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/write_all.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | assert_ok!(wr.write_all(b"hello world").await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio_test` [INFO] [stderr] --> tests/async_read.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_test::task::MockTask; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/async_read.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_test::{assert_ready_err, assert_ready_ok}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures_util` [INFO] [stderr] --> tests/async_read.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures_util::pin_mut; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_util` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `pin_mut` [INFO] [stderr] --> tests/async_read.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | pin_mut!(rd); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/async_read.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | let n = assert_ready_ok!(rd.poll_read_buf(cx, &mut buf)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `pin_mut` [INFO] [stderr] --> tests/async_read.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | pin_mut!(rd); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_err` [INFO] [stderr] --> tests/async_read.rs:68:19 [INFO] [stderr] | [INFO] [stderr] 68 | let err = assert_ready_err!(rd.poll_read_buf(cx, &mut buf)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `pin_mut` [INFO] [stderr] --> tests/async_read.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | pin_mut!(rd); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/async_read.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | let n = assert_ready_ok!(rd.poll_read_buf(cx, &mut buf)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `pin_mut` [INFO] [stderr] --> tests/async_read.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | pin_mut!(rd); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/async_read.rs:127:17 [INFO] [stderr] | [INFO] [stderr] 127 | let n = assert_ready_ok!(rd.poll_read_buf(cx, &mut buf)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `pin_mut` [INFO] [stderr] --> tests/async_read.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | pin_mut!(rd); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stderr] --> tests/async_read.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | let n = assert_ready_ok!(rd.poll_read_buf(cx, &mut buf)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/async_read.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | let mut task = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/async_read.rs:62:20 [INFO] [stderr] | [INFO] [stderr] 62 | let mut task = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/async_read.rs:89:20 [INFO] [stderr] | [INFO] [stderr] 89 | let mut task = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/async_read.rs:121:20 [INFO] [stderr] | [INFO] [stderr] 121 | let mut task = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MockTask` [INFO] [stderr] --> tests/async_read.rs:153:20 [INFO] [stderr] | [INFO] [stderr] 153 | let mut task = MockTask::new(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `MockTask` [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncReadExt` [INFO] [stderr] --> tests/read.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::{AsyncRead, AsyncReadExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `AsyncReadExt` in the root [INFO] [stderr] | help: a similar name exists in the module: `AsyncRead` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/read.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/read.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let n = assert_ok!(rd.read(&mut buf[..]).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncReadExt` [INFO] [stderr] --> tests/read_to_end.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsyncRead` [INFO] [stderr] | no `AsyncReadExt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/read_to_end.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/read_to_end.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_to_end.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let n = assert_ok!(rd.read_to_end(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncReadExt` [INFO] [stderr] --> tests/read_to_string.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsyncRead` [INFO] [stderr] | no `AsyncReadExt` in the root [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/read_to_string.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/read_to_string.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_to_string.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let n = assert_ok!(rd.read_to_string(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncReadExt` [INFO] [stderr] --> tests/take.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsyncRead` [INFO] [stderr] | no `AsyncReadExt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/take.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/take.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/take.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | let n = assert_ok!(rd.read(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error[E0599]: no method named `take` found for type `&[u8]` in the current scope [INFO] [stderr] --> tests/take.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | let mut rd = rd.take(4); [INFO] [stderr] | ^^^^ method not found in `&[u8]` [INFO] [stderr] | [INFO] [stderr] = note: the method `take` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut &[u8] : std::iter::Iterator` [INFO] [stderr] `&mut [u8] : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncBufReadExt` [INFO] [stderr] --> tests/lines.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_io::AsyncBufReadExt; [INFO] [stderr] | ^^^^^^^^^^--------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsyncBufRead` [INFO] [stderr] | no `AsyncBufReadExt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures_util` [INFO] [stderr] --> tests/lines.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures_util::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_util` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/lines.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/lines.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/lines.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | let b = assert_ok!(st.next().await.unwrap()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/lines.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let b = assert_ok!(st.next().await.unwrap()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/lines.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | let b = assert_ok!(st.next().await.unwrap()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lines` found for type `&[u8]` in the current scope [INFO] [stderr] --> tests/lines.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | let mut st = rd.lines(); [INFO] [stderr] | ^^^^^ method not found in `&[u8]` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::BufRead; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncReadExt` [INFO] [stderr] --> tests/read_exact.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsyncRead` [INFO] [stderr] | no `AsyncReadExt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/read_exact.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/read_exact.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_exact.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let n = assert_ok!(rd.read_exact(&mut buf[..]).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncBufReadExt` [INFO] [stderr] --> tests/read_line.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_io::AsyncBufReadExt; [INFO] [stderr] | ^^^^^^^^^^--------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsyncBufRead` [INFO] [stderr] | no `AsyncBufReadExt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/read_line.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/read_line.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_line.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | let n = assert_ok!(rd.read_line(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_line.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | let n = assert_ok!(rd.read_line(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_line.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let n = assert_ok!(rd.read_line(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_line.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let n = assert_ok!(rd.read_line(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncBufReadExt` [INFO] [stderr] --> tests/read_until.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::AsyncBufReadExt; [INFO] [stderr] | ^^^^^^^^^^--------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsyncBufRead` [INFO] [stderr] | no `AsyncBufReadExt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/read_until.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/read_until.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_until.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let n = assert_ok!(rd.read_until(b' ', &mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_until.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | let n = assert_ok!(rd.read_until(b' ', &mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/read_until.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | let n = assert_ok!(rd.read_until(b' ', &mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncWriteExt` [INFO] [stderr] --> tests/write.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::{AsyncWrite, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `AsyncWriteExt` in the root [INFO] [stderr] | help: a similar name exists in the module: `AsyncWrite` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/write.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/write.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/write.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let n = assert_ok!(wr.write(b"hello world").await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncReadExt` [INFO] [stderr] --> tests/copy.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::{AsyncRead, AsyncReadExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `AsyncReadExt` in the root [INFO] [stderr] | help: a similar name exists in the module: `AsyncRead` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/copy.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/copy.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/copy.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | let n = assert_ok!(rd.copy(&mut wr).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tokio_io::AsyncReadExt` [INFO] [stderr] --> tests/chain.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::AsyncReadExt; [INFO] [stderr] | ^^^^^^^^^^------------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsyncRead` [INFO] [stderr] | no `AsyncReadExt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/chain.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio_test::assert_ok; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> tests/chain.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/chain.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | assert_ok!(rd.read_to_end(&mut buf).await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chain` found for type `&[u8]` in the current scope [INFO] [stderr] --> tests/chain.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | let mut rd = rd1.chain(rd2); [INFO] [stderr] | ^^^^^ method not found in `&[u8]` [INFO] [stderr] | [INFO] [stderr] = note: the method `chain` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut &[u8] : std::iter::Iterator` [INFO] [stderr] `&mut [u8] : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-io`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0278994b2f09b80d334e4be6791c621eb46e3a5d7e7ac1c0cd352ccf1b181de3"` [INFO] running `"docker" "rm" "-f" "0278994b2f09b80d334e4be6791c621eb46e3a5d7e7ac1c0cd352ccf1b181de3"` [INFO] [stdout] 0278994b2f09b80d334e4be6791c621eb46e3a5d7e7ac1c0cd352ccf1b181de3