[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#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fmock-executor" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimblandy/mock-executor on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-3/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1f4a7474e32b2e7864f2f89f3dceb1720a8fbead422756e0d80de2ec0018725 [INFO] running `Command { std: "docker" "start" "-a" "f1f4a7474e32b2e7864f2f89f3dceb1720a8fbead422756e0d80de2ec0018725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1f4a7474e32b2e7864f2f89f3dceb1720a8fbead422756e0d80de2ec0018725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f4a7474e32b2e7864f2f89f3dceb1720a8fbead422756e0d80de2ec0018725", kill_on_drop: false }` [INFO] [stdout] f1f4a7474e32b2e7864f2f89f3dceb1720a8fbead422756e0d80de2ec0018725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6a55735b481036d59bc9089418b7f0fe4d0ce3b5badd2744c0724e3e2203a1b [INFO] running `Command { std: "docker" "start" "-a" "d6a55735b481036d59bc9089418b7f0fe4d0ce3b5badd2744c0724e3e2203a1b", kill_on_drop: false }` [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 = "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 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 = "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[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: 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[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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0186, E0308, E0432, E0557, E0670. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0186`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async2` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0186, E0308, E0432, E0557, 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" "d6a55735b481036d59bc9089418b7f0fe4d0ce3b5badd2744c0724e3e2203a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a55735b481036d59bc9089418b7f0fe4d0ce3b5badd2744c0724e3e2203a1b", kill_on_drop: false }` [INFO] [stdout] d6a55735b481036d59bc9089418b7f0fe4d0ce3b5badd2744c0724e3e2203a1b