[INFO] cloning repository https://github.com/JonTDean/RustRocketTest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonTDean/RustRocketTest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonTDean%2FRustRocketTest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonTDean%2FRustRocketTest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99db7aebb3d7df827d5461be9dac9a4ca30ddcbc [INFO] checking JonTDean/RustRocketTest against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonTDean%2FRustRocketTest" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JonTDean/RustRocketTest on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JonTDean/RustRocketTest [INFO] finished tweaking git repo https://github.com/JonTDean/RustRocketTest [INFO] tweaked toml for git repo https://github.com/JonTDean/RustRocketTest written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/JonTDean/RustRocketTest already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 719f8cea2eb6f5925b5323b03c02ae4be8de188b4da7fddb370afb040f6d2418 [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" "719f8cea2eb6f5925b5323b03c02ae4be8de188b4da7fddb370afb040f6d2418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "719f8cea2eb6f5925b5323b03c02ae4be8de188b4da7fddb370afb040f6d2418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "719f8cea2eb6f5925b5323b03c02ae4be8de188b4da7fddb370afb040f6d2418", kill_on_drop: false }` [INFO] [stdout] 719f8cea2eb6f5925b5323b03c02ae4be8de188b4da7fddb370afb040f6d2418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b5ef33fb37707cc9417bc84ea130e69c83f64ef0fa0486c4aba1b6795e56445e [INFO] running `Command { std: "docker" "start" "-a" "b5ef33fb37707cc9417bc84ea130e69c83f64ef0fa0486c4aba1b6795e56445e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.7 [INFO] [stderr] Compiling rocket v0.4.7 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.4 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.7 [INFO] [stderr] Checking RustRocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | .await(); [INFO] [stdout] | ^^ help: `await` is not a method call, remove the parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | .await(); [INFO] [stdout] | ^^ help: `await` is not a method call, remove the parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `rocket` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[rocket::main] [INFO] [stdout] | ^^^^ could not find `main` in `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `rocket` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[rocket::main] [INFO] [stdout] | ^^^^ could not find `main` in `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `LaunchError` is not a future [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let _ = rocket::ignite() [INFO] [stdout] | _____________^ [INFO] [stdout] 12 | | .mount("/", routes![hello]) [INFO] [stdout] 13 | | .launch() [INFO] [stdout] 14 | | .await(); [INFO] [stdout] | |______________^ `LaunchError` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `LaunchError` [INFO] [stdout] = note: required by `poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0658, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustRocket` [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[E0277]: `LaunchError` is not a future [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let _ = rocket::ignite() [INFO] [stdout] | _____________^ [INFO] [stdout] 12 | | .mount("/", routes![hello]) [INFO] [stdout] 13 | | .launch() [INFO] [stdout] 14 | | .await(); [INFO] [stdout] | |______________^ `LaunchError` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `LaunchError` [INFO] [stdout] = note: required by `poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b5ef33fb37707cc9417bc84ea130e69c83f64ef0fa0486c4aba1b6795e56445e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ef33fb37707cc9417bc84ea130e69c83f64ef0fa0486c4aba1b6795e56445e", kill_on_drop: false }` [INFO] [stdout] b5ef33fb37707cc9417bc84ea130e69c83f64ef0fa0486c4aba1b6795e56445e