[INFO] fetching crate agnostic_async_executor 0.2.2... [INFO] testing agnostic_async_executor-0.2.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate agnostic_async_executor 0.2.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate agnostic_async_executor 0.2.2 [INFO] finished tweaking crates.io crate agnostic_async_executor 0.2.2 [INFO] tweaked toml for crates.io crate agnostic_async_executor 0.2.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate agnostic_async_executor 0.2.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.5.0) [INFO] [stderr] Adding async-io v1.13.0 (available: v2.6.0) [INFO] [stderr] Adding concurrent-queue v1.2.4 (available: v2.5.0) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.6.1) [INFO] [stderr] Adding send_wrapper v0.5.0 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e0ea06b44a1c417570692cd3ddbbd2b7a2b2f5bc3b9cb3d7c525b83499c103f [INFO] running `Command { std: "docker" "start" "-a" "0e0ea06b44a1c417570692cd3ddbbd2b7a2b2f5bc3b9cb3d7c525b83499c103f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e0ea06b44a1c417570692cd3ddbbd2b7a2b2f5bc3b9cb3d7c525b83499c103f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0ea06b44a1c417570692cd3ddbbd2b7a2b2f5bc3b9cb3d7c525b83499c103f", kill_on_drop: false }` [INFO] [stdout] 0e0ea06b44a1c417570692cd3ddbbd2b7a2b2f5bc3b9cb3d7c525b83499c103f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a445fa31e4029be90556f0d26eb6aaa41f8c74ac186c531f5cf56268a5e1e2bb [INFO] running `Command { std: "docker" "start" "-a" "a445fa31e4029be90556f0d26eb6aaa41f8c74ac186c531f5cf56268a5e1e2bb", kill_on_drop: false }` [INFO] [stderr] Compiling agnostic_async_executor v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/executors/local_agnostic_executor.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use futures::task::LocalSpawnExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/executors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutorInnerHandle::*` [INFO] [stdout] --> src/executors/agnostic_executor.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use ExecutorInnerHandle::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutorInner::*` [INFO] [stdout] --> src/executors.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ExecutorInner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutorInnerHandle::*` [INFO] [stdout] --> src/executors.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ExecutorInnerHandle::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/executors/local_agnostic_executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LocalExecutorInnerHandle::*` [INFO] [stdout] --> src/executors/local_agnostic_executor.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use LocalExecutorInnerHandle::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/executors/join_handle.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum JoinHandleInner { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/executors/join_handle.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct JoinHandle { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] 20 | pub(crate) inner: JoinHandleInner [INFO] [stdout] | - `T` is named here, but is likely unused in the containing type [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executors/agnostic_executor.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 50 | let inner = match &self.inner { [INFO] [stdout] | _____________________- [INFO] [stdout] 51 | | #[cfg(feature = "tokio_executor")] [INFO] [stdout] 52 | | TokioHandle(handle) => { [INFO] [stdout] 53 | | JoinHandleInner::::Tokio(handle.spawn(future)) [INFO] [stdout] ... | [INFO] [stdout] 77 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 78 | [INFO] [stdout] 79 | JoinHandle{inner} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `JoinHandleInner<_>` [INFO] [stdout] --> src/executors/agnostic_executor.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let inner = match &self.inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider giving `inner` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 50 | let inner: JoinHandleInner = match &self.inner { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executors/agnostic_executor.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 88 | let inner = match &self.inner { [INFO] [stdout] | _____________________- [INFO] [stdout] 89 | | #[cfg(feature = "tokio_executor")] [INFO] [stdout] 90 | | TokioHandle(handle) => { [INFO] [stdout] 91 | | JoinHandleInner::::Tokio(handle.spawn_blocking(task)) [INFO] [stdout] ... | [INFO] [stdout] 115 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 116 | [INFO] [stdout] 117 | JoinHandle{inner} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `JoinHandleInner<_>` [INFO] [stdout] --> src/executors/agnostic_executor.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let inner = match &self.inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider giving `inner` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 88 | let inner: JoinHandleInner = match &self.inner { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executors/local_agnostic_executor.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 54 | let inner = match &self.inner { [INFO] [stdout] | _____________________- [INFO] [stdout] 55 | | #[cfg(feature = "tokio_executor")] [INFO] [stdout] 56 | | TokioHandle => { [INFO] [stdout] 57 | | JoinHandleInner::::Tokio(tokio::task::spawn_local(future)) [INFO] [stdout] ... | [INFO] [stdout] 81 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 82 | [INFO] [stdout] 83 | JoinHandle{inner} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `JoinHandleInner<_>` [INFO] [stdout] --> src/executors/local_agnostic_executor.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let inner = match &self.inner { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider giving `inner` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 54 | let inner: JoinHandleInner = match &self.inner { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&mut &mut JoinHandleInner` is non-empty [INFO] [stdout] --> src/executors/join_handle.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | match &mut inner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `JoinHandleInner` defined here [INFO] [stdout] --> src/executors/join_handle.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum JoinHandleInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&mut &mut JoinHandleInner` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 28 ~ match &mut inner { [INFO] [stdout] 29 + _ => todo!(), [INFO] [stdout] 30 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executors.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | AgnosticExecutor { inner: self.inner_handle.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `agnostic_executor::ExecutorInnerHandle`, which is uninhabited [INFO] [stdout] --> src/executors.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 130 | AgnosticExecutor { inner: self.inner_handle.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executors.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | LocalAgnosticExecutor { inner: self.local_inner_handle.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `local_agnostic_executor::LocalExecutorInnerHandle`, which is uninhabited [INFO] [stdout] --> src/executors.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | LocalAgnosticExecutor { inner: self.local_inner_handle.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executors.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | GLOBAL_EXECUTOR.set(self.get_executor()).expect("Global executor already set"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `agnostic_executor::AgnosticExecutor`, which is uninhabited [INFO] [stdout] --> src/executors.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | GLOBAL_EXECUTOR.set(self.get_executor()).expect("Global executor already set"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/executors.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn start(mut self, future: F) where F: Future + 'static { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finish_cb` [INFO] [stdout] --> src/executors.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let finish_cb = || { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finish_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executors.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 231 | get_global_executor().spawn(future) [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 232 | } [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `join_handle::JoinHandle`, which is uninhabited [INFO] [stdout] --> src/executors.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | get_global_executor().spawn(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executors.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 240 | get_global_executor().spawn_blocking(task) [INFO] [stdout] | ------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 241 | } [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `join_handle::JoinHandle`, which is uninhabited [INFO] [stdout] --> src/executors.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | get_global_executor().spawn_blocking(task) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0282, E0392, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `agnostic_async_executor` (lib) due to 7 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a445fa31e4029be90556f0d26eb6aaa41f8c74ac186c531f5cf56268a5e1e2bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a445fa31e4029be90556f0d26eb6aaa41f8c74ac186c531f5cf56268a5e1e2bb", kill_on_drop: false }` [INFO] [stdout] a445fa31e4029be90556f0d26eb6aaa41f8c74ac186c531f5cf56268a5e1e2bb