[INFO] cloning repository https://github.com/jimblandy/mock-executor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimblandy/mock-executor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fmock-executor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fmock-executor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d9f55d79e9783c047bec32e49e2a068ac94b58c [INFO] checking jimblandy/mock-executor against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fmock-executor" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimblandy/mock-executor on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jimblandy/mock-executor [INFO] finished tweaking git repo https://github.com/jimblandy/mock-executor [INFO] tweaked toml for git repo https://github.com/jimblandy/mock-executor written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jimblandy/mock-executor 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feb2810e395d669cae3376af6cdb776e7faee169ea372be81d7cb56b1a65410f [INFO] running `Command { std: "docker" "start" "-a" "feb2810e395d669cae3376af6cdb776e7faee169ea372be81d7cb56b1a65410f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feb2810e395d669cae3376af6cdb776e7faee169ea372be81d7cb56b1a65410f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb2810e395d669cae3376af6cdb776e7faee169ea372be81d7cb56b1a65410f", kill_on_drop: false }` [INFO] [stdout] feb2810e395d669cae3376af6cdb776e7faee169ea372be81d7cb56b1a65410f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 010aa9cdd74c0980cd62dc87190b6a5a94f928b480cbcb792c0e46cda6d60124 [INFO] running `Command { std: "docker" "start" "-a" "010aa9cdd74c0980cd62dc87190b6a5a94f928b480cbcb792c0e46cda6d60124", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking async2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0670]: `async fn` is not permitted in Rust 2015 [INFO] [stdout] --> src/main.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | async fn print(label: &'static str, future: F) [INFO] [stdout] | ^^^^^ to use `async fn`, switch to Rust 2018 or later [INFO] [stdout] | [INFO] [stdout] = help: set `edition = "2024"` in `Cargo.toml` [INFO] [stdout] = note: for more on editions, read https://doc.rust-lang.org/edition-guide [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0670]: `async fn` is not permitted in Rust 2015 [INFO] [stdout] --> src/main.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | async fn print(label: &'static str, future: F) [INFO] [stdout] | ^^^^^ to use `async fn`, switch to Rust 2018 or later [INFO] [stdout] | [INFO] [stdout] = help: set `edition = "2024"` in `Cargo.toml` [INFO] [stdout] = note: for more on editions, read https://doc.rust-lang.org/edition-guide [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::task::local_waker_from_nonlocal` [INFO] [stdout] --> src/main.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::{self, LocalWaker, local_waker_from_nonlocal, Poll}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `local_waker_from_nonlocal` in `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `await` in this scope [INFO] [stdout] --> src/main.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | println!("{}: {:?}", label, await!(future)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `local_waker` [INFO] [stdout] --> src/main.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::{self, LocalWaker, local_waker_from_nonlocal, Poll}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #118959 for more information [INFO] [stdout] = help: add `#![feature(local_waker)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-10; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::task::local_waker_from_nonlocal` [INFO] [stdout] --> src/main.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::{self, LocalWaker, local_waker_from_nonlocal, Poll}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `local_waker_from_nonlocal` in `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `local_waker` [INFO] [stdout] --> src/main.rs:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | fn poll(self: Pin<&mut Self>, lw: &LocalWaker) -> Poll { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #118959 for more information [INFO] [stdout] = help: add `#![feature(local_waker)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-10; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `await` in this scope [INFO] [stdout] --> src/main.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | println!("{}: {:?}", label, await!(future)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `futures_api` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pin` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:80 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `fnbox` [INFO] [stdout] --> src/main.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0186]: method `wake` has a `self: Arc` declaration in the trait, but not in the impl [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | fn wake(arc_self: &Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `self: Arc` in impl [INFO] [stdout] | [INFO] [stdout] = note: `wake` from trait: `fn(Arc)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `local_waker` [INFO] [stdout] --> src/main.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::{self, LocalWaker, local_waker_from_nonlocal, Poll}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #118959 for more information [INFO] [stdout] = help: add `#![feature(local_waker)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-10; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `local_waker` [INFO] [stdout] --> src/main.rs:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | fn poll(self: Pin<&mut Self>, lw: &LocalWaker) -> Poll { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #118959 for more information [INFO] [stdout] = help: add `#![feature(local_waker)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-10; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `futures_api` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pin` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:80 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `fnbox` [INFO] [stdout] --> src/main.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arbitrary_self_types, async_await, await_macro, fnbox, futures_api, pin)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0186]: method `wake` has a `self: Arc` declaration in the trait, but not in the impl [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | fn wake(arc_self: &Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `self: Arc` in impl [INFO] [stdout] | [INFO] [stdout] = note: `wake` from trait: `fn(Arc)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `poll` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:212:39 [INFO] [stdout] | [INFO] [stdout] 212 | fn poll(self: Pin<&mut Self>, lw: &LocalWaker) -> Poll { [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Pin<&mut MockFuture<_>>, &mut Context<'_>) -> Poll<_>` [INFO] [stdout] found signature `fn(Pin<&mut MockFuture<_>>, &LocalWaker) -> Poll<_>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 212 - fn poll(self: Pin<&mut Self>, lw: &LocalWaker) -> Poll { [INFO] [stdout] 212 + fn poll(self: Pin<&mut Self>, lw: &mut Context<'_>) -> Poll { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `poll` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:212:39 [INFO] [stdout] | [INFO] [stdout] 212 | fn poll(self: Pin<&mut Self>, lw: &LocalWaker) -> Poll { [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(Pin<&mut MockFuture<_>>, &mut Context<'_>) -> Poll<_>` [INFO] [stdout] found signature `fn(Pin<&mut MockFuture<_>>, &LocalWaker) -> Poll<_>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 212 - fn poll(self: Pin<&mut Self>, lw: &LocalWaker) -> Poll { [INFO] [stdout] 212 + fn poll(self: Pin<&mut Self>, lw: &mut Context<'_>) -> Poll { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_waker` found for struct `LocalWaker` in the current scope [INFO] [stdout] --> src/main.rs:214:38 [INFO] [stdout] | [INFO] [stdout] 214 | guard.wakers.push(lw.clone().into_waker()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `LocalWaker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_waker` found for struct `LocalWaker` in the current scope [INFO] [stdout] --> src/main.rs:214:38 [INFO] [stdout] | [INFO] [stdout] 214 | guard.wakers.push(lw.clone().into_waker()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `LocalWaker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/main.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | guard.wakers[len - index].wake(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------ value moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because value has type `std::task::Waker`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `std::task::Waker::wake` takes ownership of the receiver `self`, which moves value [INFO] [stdout] --> /rustc/40daf23eeb711dadf140b2536e67e3ff4c999196/library/core/src/task/wake.rs:437:17 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 198 | ::clone(&guard.wakers[len - index]).wake(); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0186, E0432, E0507, E0557, E0599, E0635, E0658, E0670. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/main.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | guard.wakers[len - index].wake(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------ value moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because value has type `std::task::Waker`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `std::task::Waker::wake` takes ownership of the receiver `self`, which moves value [INFO] [stdout] --> /rustc/40daf23eeb711dadf140b2536e67e3ff4c999196/library/core/src/task/wake.rs:437:17 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 198 | ::clone(&guard.wakers[len - index]).wake(); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async2` (bin "async2" test) due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0053, E0186, E0432, E0507, E0557, E0599, E0635, E0658, E0670. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async2` (bin "async2") due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "010aa9cdd74c0980cd62dc87190b6a5a94f928b480cbcb792c0e46cda6d60124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010aa9cdd74c0980cd62dc87190b6a5a94f928b480cbcb792c0e46cda6d60124", kill_on_drop: false }` [INFO] [stdout] 010aa9cdd74c0980cd62dc87190b6a5a94f928b480cbcb792c0e46cda6d60124