[INFO] fetching crate futures-preview 0.3.0-alpha.19... [INFO] checking futures-preview-0.3.0-alpha.19 against try#ffa4a0215752773248fb0f0a8092f1c3e7907e9e for pr-75585 [INFO] extracting crate futures-preview 0.3.0-alpha.19 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate futures-preview 0.3.0-alpha.19 on toolchain ffa4a0215752773248fb0f0a8092f1c3e7907e9e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-preview 0.3.0-alpha.19 [INFO] finished tweaking crates.io crate futures-preview 0.3.0-alpha.19 [INFO] tweaked toml for crates.io crate futures-preview 0.3.0-alpha.19 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2785792e21ce1eb29c49b53f4cbd9f2274609e9d627528968c6058a03e11a89 [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" "f2785792e21ce1eb29c49b53f4cbd9f2274609e9d627528968c6058a03e11a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2785792e21ce1eb29c49b53f4cbd9f2274609e9d627528968c6058a03e11a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2785792e21ce1eb29c49b53f4cbd9f2274609e9d627528968c6058a03e11a89", kill_on_drop: false }` [INFO] [stdout] f2785792e21ce1eb29c49b53f4cbd9f2274609e9d627528968c6058a03e11a89 [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" "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" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6232ee46fee4f88c7f9b7f0b82751fd592af4942466bea342a71e4454ac2e379 [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" "6232ee46fee4f88c7f9b7f0b82751fd592af4942466bea342a71e4454ac2e379", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/basic_combinators.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_read_to_string.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_read_to_string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_read_until.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_read_until.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_until.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for reference `&'static [u8; 2]` in the current scope [INFO] [stdout] --> tests/io_read_until.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let mut buf = b"12".interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&'static [u8; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_until.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map, futures::future::Ready<{integer}>, [closure@tests/basic_combinators.rs:12:15: 16:10 tx1:_]>, [closure@tests/basic_combinators.rs:16:16: 20:10 tx2:_]>, [closure@tests/basic_combinators.rs:20:16: 22:10 tx3:_]>` in the current scope [INFO] [stdout] --> tests/basic_combinators.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | fut.run_in_background(); // Start it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map, futures::future::Ready<{integer}>, [closure@tests/basic_combinators.rs:12:15: 16:10 tx1:_]>, [closure@tests/basic_combinators.rs:16:16: 20:10 tx2:_]>, [closure@tests/basic_combinators.rs:20:16: 22:10 tx3:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_to_string.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-preview`. [INFO] [stdout] error[E0432]: unresolved imports `futures::pending`, `futures::poll`, `futures::join`, `futures::try_join`, `futures::select` [INFO] [stdout] --> tests/async_await_macros.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Poll, pending, pin_mut, poll, join, try_join, select}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^ no `select` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `try_join` in the root [INFO] [stdout] | | | no `join` in the root [INFO] [stdout] | | no `poll` in the root [INFO] [stdout] | | help: a similar name exists in the module: `Poll` [INFO] [stdout] | no `pending` in the root [INFO] [stdout] [INFO] [stdout] [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: cannot determine resolution for the macro `pending` [INFO] [stdout] --> tests/async_await_macros.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let pending_once = async { pending!() }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `poll` [INFO] [stdout] --> tests/async_await_macros.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Poll::Pending, poll!(&mut pending_once)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `poll` [INFO] [stdout] --> tests/async_await_macros.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(Poll::Ready(()), poll!(&mut pending_once)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> tests/async_await_macros.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let res = join!(rx1, rx2); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `poll` [INFO] [stdout] --> tests/async_await_macros.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(Poll::Pending, poll!(&mut fut)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `poll` [INFO] [stdout] --> tests/async_await_macros.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(Poll::Pending, poll!(&mut fut)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `poll` [INFO] [stdout] --> tests/async_await_macros.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(Poll::Ready(()), poll!(&mut fut)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> tests/async_await_macros.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> tests/async_await_macros.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> tests/async_await_macros.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> tests/async_await_macros.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> tests/async_await_macros.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> tests/async_await_macros.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> tests/async_await_macros.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> tests/async_await_macros.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | join!(ready) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> tests/async_await_macros.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | join!(ready1, ready2) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `try_join` [INFO] [stdout] --> tests/async_await_macros.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try_join!(ready) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `try_join` [INFO] [stdout] --> tests/async_await_macros.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try_join!(ready1, ready2) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> tests/async_await_macros.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | join!(async {}, async {}) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `try_join` [INFO] [stdout] --> tests/async_await_macros.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | try_join!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `poll` in this scope [INFO] [stdout] --> tests/macro_comma_support.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let _ = poll!(async {}.boxed(),); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `join` in this scope [INFO] [stdout] --> tests/macro_comma_support.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | join!(future1, future2,); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `try_join` in this scope [INFO] [stdout] --> tests/macro_comma_support.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try_join!(future1, future2,) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_buf_writer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/mutex.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/unfold.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/mutex.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::{panic_context, new_count_waker}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_writer.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/ready_queue.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_to_string.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/fuse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::panic_waker; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, futures::future::Ready>, [closure@tests/basic_combinators.rs:44:19: 48:10 tx1:_]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10 tx2:_]>, [closure@tests/basic_combinators.rs:54:17: 58:10 tx3:_]>, [closure@tests/basic_combinators.rs:59:18: 63:10 tx4:_]>, [closure@tests/basic_combinators.rs:64:14: 68:10 tx5:_]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10 tx6:_]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10 tx7:_]>, [closure@tests/basic_combinators.rs:79:17: 83:10 tx8:_]>, [closure@tests/basic_combinators.rs:84:18: 88:10 tx9:_]>, [closure@tests/basic_combinators.rs:89:14: 92:10 tx10:_]>` in the current scope [INFO] [stdout] --> tests/basic_combinators.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | fut.run_in_background(); // Start it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, futures::future::Ready>, [closure@tests/basic_combinators.rs:44:19: 48:10 tx1:_]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10 tx2:_]>, [closure@tests/basic_combinators.rs:54:17: 58:10 tx3:_]>, [closure@tests/basic_combinators.rs:59:18: 63:10 tx4:_]>, [closure@tests/basic_combinators.rs:64:14: 68:10 tx5:_]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10 tx6:_]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10 tx7:_]>, [closure@tests/basic_combinators.rs:79:17: 83:10 tx8:_]>, [closure@tests/basic_combinators.rs:84:18: 88:10 tx9:_]>, [closure@tests/basic_combinators.rs:89:14: 92:10 tx10:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/mutex.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(mutex.lock().poll_unpin(&mut panic_context()).is_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/mutex.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/mutex.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let lock = mutex.lock().poll_unpin(&mut panic_context()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/mutex.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(waiter.poll_unpin(&mut panic_context()).is_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_waker` in this scope [INFO] [stdout] --> tests/fuse.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let waker = panic_waker(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_test` [INFO] [stdout] --> tests/unfold.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::sink::SinkExt` [INFO] [stdout] --> tests/async_await_macros.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/unfold.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/unfold.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | assert_stream_next!(stream, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/unfold.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/unfold.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | assert_stream_next!(stream, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/unfold.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/unfold.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | assert_stream_next!(stream, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/unfold.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_done` [INFO] [stdout] --> tests/unfold.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | assert_stream_done!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/ready_queue.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | let cx = &mut noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 95 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 97 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 107 | assert!(run_seek_relative!(reader, 3).is_ok()); [INFO] [stdout] | ----------------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 108 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 109 | assert!(run_seek_relative!(reader, 0).is_ok()); [INFO] [stdout] | ----------------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 110 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 111 | assert!(run_seek_relative!(reader, 1).is_ok()); [INFO] [stdout] | ----------------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 112 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 113 | assert!(run_seek_relative!(reader, -1).is_ok()); [INFO] [stdout] | ------------------------------ in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 114 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 115 | assert!(run_seek_relative!(reader, 2).is_ok()); [INFO] [stdout] | ----------------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 116 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[2, 3][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 124 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[5, 6, 7][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 131 | assert!(run_seek_relative!(reader, -2).is_ok()); [INFO] [stdout] | ------------------------------ in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 142 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[5, 6, 7][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 147 | assert!(run_seek_relative!(reader, -2).is_ok()); [INFO] [stdout] | ------------------------------ in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 187 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1, 2, 3, 4][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 189 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 193 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:260:18 [INFO] [stdout] | [INFO] [stdout] 260 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 376 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 378 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 380 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [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 2 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[E0599]: no method named `pending_once` found for struct `futures::future::Ready>` in the current scope [INFO] [stdout] --> tests/unfold.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | future::ready(Some((state * 2, state + 1))).pending_once() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready>` in the current scope [INFO] [stdout] --> tests/unfold.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | future::ready(None).pending_once() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready<()>` in the current scope [INFO] [stdout] --> tests/mutex.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | ready(()).pending_once().await; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ready(()).pending_once().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | for _ in 0..num_tasks { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let () = rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let () = rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let () = rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let () = rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [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] running `Command { std: "docker" "inspect" "6232ee46fee4f88c7f9b7f0b82751fd592af4942466bea342a71e4454ac2e379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6232ee46fee4f88c7f9b7f0b82751fd592af4942466bea342a71e4454ac2e379", kill_on_drop: false }` [INFO] [stdout] 6232ee46fee4f88c7f9b7f0b82751fd592af4942466bea342a71e4454ac2e379