[INFO] cloning repository https://github.com/sevenshi/async_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sevenshi/async_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsevenshi%2Fasync_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsevenshi%2Fasync_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99c0f864073b318d50378b943551d6982d628043 [INFO] checking sevenshi/async_examples against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsevenshi%2Fasync_examples" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sevenshi/async_examples [INFO] finished tweaking git repo https://github.com/sevenshi/async_examples [INFO] tweaked toml for git repo https://github.com/sevenshi/async_examples written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sevenshi/async_examples on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sevenshi/async_examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking sevenshi/async_examples against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsevenshi%2Fasync_examples" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sevenshi/async_examples [INFO] finished tweaking git repo https://github.com/sevenshi/async_examples [INFO] tweaked toml for git repo https://github.com/sevenshi/async_examples written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sevenshi/async_examples on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sevenshi/async_examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a437d6ecf0c6ef38a169aa7cf12325230406d3d831fcaa3a368378794987597 [INFO] running `Command { std: "docker" "start" "-a" "5a437d6ecf0c6ef38a169aa7cf12325230406d3d831fcaa3a368378794987597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a437d6ecf0c6ef38a169aa7cf12325230406d3d831fcaa3a368378794987597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a437d6ecf0c6ef38a169aa7cf12325230406d3d831fcaa3a368378794987597", kill_on_drop: false }` [INFO] [stdout] 5a437d6ecf0c6ef38a169aa7cf12325230406d3d831fcaa3a368378794987597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa8955e9c0832b5c6b423759f8af6362ce80d47a0c5c07d1c6ad45bb82051ac0 [INFO] running `Command { std: "docker" "start" "-a" "fa8955e9c0832b5c6b423759f8af6362ce80d47a0c5c07d1c6ad45bb82051ac0", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking _02_02_future_trait v0.1.0 (/opt/rustwide/workdir/_02_02_future_trait) [INFO] [stderr] Checking _01_02_why_async v0.1.0 (/opt/rustwide/workdir/_01_02_why_async) [INFO] [stderr] Checking slab v0.4.7 [INFO] [stdout] error: associated type in `impl` without body [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | type Vec; [INFO] [stdout] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the type: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | impl SimpleFuture for SocketRead<'a> { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> SimpleFuture for SocketRead<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Vec` is not a member of trait `SimpleFuture` [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | type Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ not a member of trait `SimpleFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::PoisonError` [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::PoisonError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `u8` should have an upper camel case name [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | type Vec; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | impl Future for RealFuture { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 128 | impl Future for dyn RealFuture { [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `Future` for all types that also implement `RealFuture` [INFO] [stdout] | [INFO] [stdout] 128 - impl Future for RealFuture { [INFO] [stdout] 128 + impl> Future for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated type in `impl` without body [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | type Vec; [INFO] [stdout] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the type: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | impl SimpleFuture for SocketRead<'a> { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> SimpleFuture for SocketRead<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Vec` is not a member of trait `SimpleFuture` [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | type Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ not a member of trait `SimpleFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::PoisonError` [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::PoisonError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `u8` should have an upper camel case name [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | type Vec; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | impl Future for RealFuture { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 128 | impl Future for dyn RealFuture { [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `Future` for all types that also implement `RealFuture` [INFO] [stdout] | [INFO] [stdout] 128 - impl Future for RealFuture { [INFO] [stdout] 128 + impl> Future for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 95 | / if let Some(first) = &mut self.first { [INFO] [stdout] 96 | | match first.poll(wake){ [INFO] [stdout] ... | [INFO] [stdout] 99 | | Poll::Ready(()) => self.first.take(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ expected `()`, found `Option` [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 102 | }; [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 103 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `_02_02_future_trait` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> _02_02_future_trait/src/lib.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 95 | / if let Some(first) = &mut self.first { [INFO] [stdout] 96 | | match first.poll(wake){ [INFO] [stdout] ... | [INFO] [stdout] 99 | | Poll::Ready(()) => self.first.take(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ expected `()`, found `Option` [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 102 | }; [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 103 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0261, E0308, E0437, E0782. [INFO] [stdout] [INFO] [stderr] error: could not compile `_02_02_future_trait` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0308, E0437, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fa8955e9c0832b5c6b423759f8af6362ce80d47a0c5c07d1c6ad45bb82051ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8955e9c0832b5c6b423759f8af6362ce80d47a0c5c07d1c6ad45bb82051ac0", kill_on_drop: false }` [INFO] [stdout] fa8955e9c0832b5c6b423759f8af6362ce80d47a0c5c07d1c6ad45bb82051ac0