[INFO] cloning repository https://github.com/ldq3/Rust_async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ldq3/Rust_async" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldq3%2FRust_async", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldq3%2FRust_async'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00ea12d21f976d23f5b34305ffa589a70ae15ad3 [INFO] testing ldq3/Rust_async against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldq3%2FRust_async" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ldq3/Rust_async [INFO] finished tweaking git repo https://github.com/ldq3/Rust_async [INFO] tweaked toml for git repo https://github.com/ldq3/Rust_async written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ldq3/Rust_async on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ldq3/Rust_async 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.5.0 [INFO] [stderr] Downloaded epoll v4.3.3 [INFO] [stderr] Downloaded libc v0.2.155 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9b2d825cb8036dbd00145b8ed158f399fd6c4faca1bf0acaa987ded3281f6d3 [INFO] running `Command { std: "docker" "start" "-a" "e9b2d825cb8036dbd00145b8ed158f399fd6c4faca1bf0acaa987ded3281f6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9b2d825cb8036dbd00145b8ed158f399fd6c4faca1bf0acaa987ded3281f6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b2d825cb8036dbd00145b8ed158f399fd6c4faca1bf0acaa987ded3281f6d3", kill_on_drop: false }` [INFO] [stdout] e9b2d825cb8036dbd00145b8ed158f399fd6c4faca1bf0acaa987ded3281f6d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 710d595391ecb779e748cb26481296658a30b37f4a7ca04ac7b845021e49f30e [INFO] running `Command { std: "docker" "start" "-a" "710d595391ecb779e748cb26481296658a30b37f4a7ca04ac7b845021e49f30e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling epoll v4.3.3 [INFO] [stderr] Compiling Rust_async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/future.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::runtime::executor::Context` exists but is inaccessible [INFO] [stdout] --> src/runtime/executor.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Socket` in this scope [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | socket: &'a Socket, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/main.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | fn poll(&mut self, wake: fn()) -> Poll { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: enum `crate::future::Poll` exists but is inaccessible [INFO] [stdout] --> src/future.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Poll { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Poll::Ready(self.socket.read_buf()) [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::future::Poll` exists but is inaccessible [INFO] [stdout] --> src/future.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Poll { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::future::Poll` exists but is inaccessible [INFO] [stdout] --> src/future.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Poll { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SimpleFuture` in this scope [INFO] [stdout] --> src/main.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | impl SimpleFuture for Join [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SimpleFuture` in this scope [INFO] [stdout] --> src/main.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | FutureA: SimpleFuture, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SimpleFuture` in this scope [INFO] [stdout] --> src/main.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | FutureB: SimpleFuture, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/main.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | fn poll(&mut self, wake: fn()) -> Poll { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: enum `crate::future::Poll` exists but is inaccessible [INFO] [stdout] --> src/future.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Poll { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/main.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | if let Poll::Ready(()) = a.poll(wake) { [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::future::Poll` exists but is inaccessible [INFO] [stdout] --> src/future.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Poll { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/main.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | if let Poll::Ready(()) = b.poll(wake) { [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::future::Poll` exists but is inaccessible [INFO] [stdout] --> src/future.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Poll { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Poll::Ready(()) [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::future::Poll` exists but is inaccessible [INFO] [stdout] --> src/future.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Poll { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::future::Poll` exists but is inaccessible [INFO] [stdout] --> src/future.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | enum Poll { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/future.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll; [INFO] [stdout] | ^^^----------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> src/future.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Pin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `future::Future` is not dyn compatible [INFO] [stdout] --> src/runtime/executor.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | all: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `future::Future` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] ::: src/future.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll; [INFO] [stdout] | -------------- help: consider changing method `poll`'s `self` parameter to be `&self`: `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/future.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Future { [INFO] [stdout] | ------ this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 4 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll; [INFO] [stdout] | ^^^^^^^^^^^^^^ ...because method `poll`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0107, E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust_async` (bin "Rust_async") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "710d595391ecb779e748cb26481296658a30b37f4a7ca04ac7b845021e49f30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710d595391ecb779e748cb26481296658a30b37f4a7ca04ac7b845021e49f30e", kill_on_drop: false }` [INFO] [stdout] 710d595391ecb779e748cb26481296658a30b37f4a7ca04ac7b845021e49f30e