[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fmock-executor" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimblandy/mock-executor on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01e86f418a82f3b4c702b48f48499405556ec0821119412f8af93cd64366fb8e [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" "01e86f418a82f3b4c702b48f48499405556ec0821119412f8af93cd64366fb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e86f418a82f3b4c702b48f48499405556ec0821119412f8af93cd64366fb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e86f418a82f3b4c702b48f48499405556ec0821119412f8af93cd64366fb8e", kill_on_drop: false }` [INFO] [stdout] 01e86f418a82f3b4c702b48f48499405556ec0821119412f8af93cd64366fb8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dbb8f283d42bdc2eb5493850b6cc6d95a1b17cc1b8c5c96761b433fc9656ca6 [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" "4dbb8f283d42bdc2eb5493850b6cc6d95a1b17cc1b8c5c96761b433fc9656ca6", 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: 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[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[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] [stderr] error: could not compile `async2` [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0186, E0308, E0432, E0557, E0670. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0186`. [INFO] [stdout] [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" "4dbb8f283d42bdc2eb5493850b6cc6d95a1b17cc1b8c5c96761b433fc9656ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dbb8f283d42bdc2eb5493850b6cc6d95a1b17cc1b8c5c96761b433fc9656ca6", kill_on_drop: false }` [INFO] [stdout] 4dbb8f283d42bdc2eb5493850b6cc6d95a1b17cc1b8c5c96761b433fc9656ca6