[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fmock-executor" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimblandy/mock-executor on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8457d32ee3e1efa78e318db03422e7b8633b764c6409a2fb00e7dc2d6a7f6265 [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" "8457d32ee3e1efa78e318db03422e7b8633b764c6409a2fb00e7dc2d6a7f6265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8457d32ee3e1efa78e318db03422e7b8633b764c6409a2fb00e7dc2d6a7f6265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8457d32ee3e1efa78e318db03422e7b8633b764c6409a2fb00e7dc2d6a7f6265", kill_on_drop: false }` [INFO] [stdout] 8457d32ee3e1efa78e318db03422e7b8633b764c6409a2fb00e7dc2d6a7f6265 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afe7a0576d81a712a30657d81b73c5e7c68795ad367fe66b4707aadc99893394 [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" "afe7a0576d81a712a30657d81b73c5e7c68795ad367fe66b4707aadc99893394", kill_on_drop: false }` [INFO] [stderr] Checking async2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0670]: `async fn` is not permitted in the 2015 edition [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 [INFO] [stdout] | [INFO] [stdout] = help: set `edition = "2018"` 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 the 2015 edition [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 [INFO] [stdout] | [INFO] [stdout] = help: set `edition = "2018"` 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 imports `std::task::LocalWaker`, `std::task::local_waker_from_nonlocal` [INFO] [stdout] --> src/main.rs:8:23 [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] | no `LocalWaker` 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 'wake_trait' [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / fn wake(arc_self: &Arc) { [INFO] [stdout] 131 | | // If the executor is gone, this has no effect. [INFO] [stdout] 132 | | let queue = if let Some(queue) = arc_self.queue.upgrade() { queue } else { return; }; [INFO] [stdout] 133 | | [INFO] [stdout] 134 | | queue.push_back(arc_self.task.clone()); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #69912 for more information [INFO] [stdout] = help: add `#![feature(wake_trait)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'wake_trait' [INFO] [stdout] --> src/main.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | impl task::Wake for Waker { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #69912 for more information [INFO] [stdout] = help: add `#![feature(wake_trait)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::task::LocalWaker`, `std::task::local_waker_from_nonlocal` [INFO] [stdout] --> src/main.rs:8:23 [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] | no `LocalWaker` 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 'wake_trait' [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / fn wake(arc_self: &Arc) { [INFO] [stdout] 131 | | // If the executor is gone, this has no effect. [INFO] [stdout] 132 | | let queue = if let Some(queue) = arc_self.queue.upgrade() { queue } else { return; }; [INFO] [stdout] 133 | | [INFO] [stdout] 134 | | queue.push_back(arc_self.task.clone()); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #69912 for more information [INFO] [stdout] = help: add `#![feature(wake_trait)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'wake_trait' [INFO] [stdout] --> src/main.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | impl task::Wake for Waker { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #69912 for more information [INFO] [stdout] = help: add `#![feature(wake_trait)]` to the crate attributes to enable [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[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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | match pinned_task.as_mut().poll(&local_waker) { [INFO] [stdout] | ^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0186, E0308, E0432, E0557, E0658, E0670. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0186`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | match pinned_task.as_mut().poll(&local_waker) { [INFO] [stdout] | ^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Context<'_>` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async2` [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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0186, E0308, E0432, E0557, E0658, E0670. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0186`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "afe7a0576d81a712a30657d81b73c5e7c68795ad367fe66b4707aadc99893394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe7a0576d81a712a30657d81b73c5e7c68795ad367fe66b4707aadc99893394", kill_on_drop: false }` [INFO] [stdout] afe7a0576d81a712a30657d81b73c5e7c68795ad367fe66b4707aadc99893394