[INFO] fetching crate futures 0.3.7... [INFO] checking futures-0.3.7 against try#1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73 for pr-78461 [INFO] extracting crate futures 0.3.7 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate futures 0.3.7 on toolchain 1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures 0.3.7 [INFO] finished tweaking crates.io crate futures 0.3.7 [INFO] tweaked toml for crates.io crate futures 0.3.7 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b81d72a4d70cd76836e4b14444b223ff056e7dabb6108e914f1ef5d04ba6458 [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" "4b81d72a4d70cd76836e4b14444b223ff056e7dabb6108e914f1ef5d04ba6458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b81d72a4d70cd76836e4b14444b223ff056e7dabb6108e914f1ef5d04ba6458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b81d72a4d70cd76836e4b14444b223ff056e7dabb6108e914f1ef5d04ba6458", kill_on_drop: false }` [INFO] [stdout] 4b81d72a4d70cd76836e4b14444b223ff056e7dabb6108e914f1ef5d04ba6458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1b5ce95284bc3170a1f4a55c6ec8a06b3e85ff73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 361aea63bbc5d3e3b7d40459488d5aaf180e3bea8f192b0311759ab914959019 [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" "361aea63bbc5d3e3b7d40459488d5aaf180e3bea8f192b0311759ab914959019", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `futures::executor::ThreadPool` [INFO] [stdout] --> tests/eventual.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPool` in `executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `futures` tests must have all stable features activated: use `--all-features` or `--features default,thread-pool,io-compat` [INFO] [stdout] --> tests/_require_features.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / compile_error!("`futures` tests must have all stable features activated: \ [INFO] [stdout] 7 | | use `--all-features` or `--features default,thread-pool,io-compat`" [INFO] [stdout] 8 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_line.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_line.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_line.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures` [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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/eager_drop.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/eager_drop.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/eager_drop.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/eager_drop.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/eager_drop.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pin_project` [INFO] [stdout] --> tests/eager_drop.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use pin_project::pin_project; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `pin_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pin_project` [INFO] [stdout] --> tests/eager_drop.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 136 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 138 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 140 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 183 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 185 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 351 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 353 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 355 | 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[E0433]: failed to resolve: use of undeclared crate 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 crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pin` in this scope [INFO] [stdout] --> tests/eager_drop.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[pin] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnExt` [INFO] [stdout] --> tests/eventual.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/mutex.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/mutex.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use futures_test::task::{new_count_waker, panic_context}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/mutex.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [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_line.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let mut buf = b"12".interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&'static [u8; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 136 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 138 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 140 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 183 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 185 | 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[E0433]: failed to resolve: could not find `ThreadPool` in `executor` [INFO] [stdout] --> tests/mutex.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | let pool = futures::executor::ThreadPool::builder() [INFO] [stdout] | ^^^^^^^^^^ could not find `ThreadPool` in `executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/mutex.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | 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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 351 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 353 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 355 | 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[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]>, [closure@tests/basic_combinators.rs:16:16: 20:10]>, [closure@tests/basic_combinators.rs:20:16: 22:10]>` 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]>, [closure@tests/basic_combinators.rs:16:16: 20:10]>, [closure@tests/basic_combinators.rs:20:16: 22:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `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_line.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncBufReadExt` [INFO] [stdout] --> tests/io_read_line.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use futures::io::AsyncBufReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [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>, [closure@tests/eager_drop.rs:13:17: 13:71]>, [closure@tests/eager_drop.rs:14:14: 17:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, [closure@tests/eager_drop.rs:13:17: 13:71]>, [closure@tests/eager_drop.rs:14:14: 17:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, [closure@tests/eager_drop.rs:35:18: 35:72]>, [closure@tests/eager_drop.rs:36:14: 39:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, [closure@tests/eager_drop.rs:35:18: 35:72]>, [closure@tests/eager_drop.rs:36:14: 39:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `project` found for struct `Pin<&mut FutureData>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | self.project().future.poll(cx) [INFO] [stdout] | ^^^^^^^ method not found in `Pin<&mut FutureData>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Then, [closure@tests/eager_drop.rs:77:61: 77:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready<()>, [closure@tests/eager_drop.rs:78:19: 82:14]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Then, [closure@tests/eager_drop.rs:77:61: 77:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready<()>, [closure@tests/eager_drop.rs:78:19: 82:14]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::AndThen>, [closure@tests/eager_drop.rs:101:61: 101:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:102:23: 106:14]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::AndThen>, [closure@tests/eager_drop.rs:101:61: 101:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:102:23: 106:14]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::OrElse>, [closure@tests/eager_drop.rs:125:61: 125:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:126:22: 130:14]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::OrElse>, [closure@tests/eager_drop.rs:125:61: 125:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:126:22: 130:14]>` [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, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10]>, [closure@tests/basic_combinators.rs:54:17: 58:10]>, [closure@tests/basic_combinators.rs:59:18: 63:10]>, [closure@tests/basic_combinators.rs:64:14: 68:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10]>, [closure@tests/basic_combinators.rs:79:17: 83:10]>, [closure@tests/basic_combinators.rs:84:18: 88:10]>, [closure@tests/basic_combinators.rs:89:14: 92:10]>` 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]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10]>, [closure@tests/basic_combinators.rs:54:17: 58:10]>, [closure@tests/basic_combinators.rs:59:18: 63:10]>, [closure@tests/basic_combinators.rs:64:14: 68:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10]>, [closure@tests/basic_combinators.rs:79:17: 83:10]>, [closure@tests/basic_combinators.rs:84:18: 88:10]>, [closure@tests/basic_combinators.rs:89:14: 92:10]>` [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] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready<()>` in the current scope [INFO] [stdout] --> tests/mutex.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | ready(()).pending_once().await; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | 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:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | 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:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | 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:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnExt` [INFO] [stdout] --> tests/mutex.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "361aea63bbc5d3e3b7d40459488d5aaf180e3bea8f192b0311759ab914959019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361aea63bbc5d3e3b7d40459488d5aaf180e3bea8f192b0311759ab914959019", kill_on_drop: false }` [INFO] [stdout] 361aea63bbc5d3e3b7d40459488d5aaf180e3bea8f192b0311759ab914959019