[INFO] cloning repository https://github.com/sidrashakeel19/hello-actix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sidrashakeel19/hello-actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidrashakeel19%2Fhello-actix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidrashakeel19%2Fhello-actix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3aef9863256be2373bd352e37aee7f3932adfc9 [INFO] checking sidrashakeel19/hello-actix against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidrashakeel19%2Fhello-actix" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sidrashakeel19/hello-actix on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sidrashakeel19/hello-actix [INFO] finished tweaking git repo https://github.com/sidrashakeel19/hello-actix [INFO] tweaked toml for git repo https://github.com/sidrashakeel19/hello-actix written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/sidrashakeel19/hello-actix already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a526d936fa46c70e3007fbe2730f87fb218aee646592d7b04b5e5ae0d1cd549 [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" "6a526d936fa46c70e3007fbe2730f87fb218aee646592d7b04b5e5ae0d1cd549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a526d936fa46c70e3007fbe2730f87fb218aee646592d7b04b5e5ae0d1cd549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a526d936fa46c70e3007fbe2730f87fb218aee646592d7b04b5e5ae0d1cd549", kill_on_drop: false }` [INFO] [stdout] 6a526d936fa46c70e3007fbe2730f87fb218aee646592d7b04b5e5ae0d1cd549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68cfd2f39b9f75b86ab956b167cdc5dc63c2ede2ea357c6316877eb3719c5a4e [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" "68cfd2f39b9f75b86ab956b167cdc5dc63c2ede2ea357c6316877eb3719c5a4e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking threadpool v1.8.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.10 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking pin-project v0.4.10 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking actix-service v1.0.5 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking actix-threadpool v0.3.1 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.2 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking actix-testing v1.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Checking hello-actic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HttpServer`, `web` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::get` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::get; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpServer`, `web` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::get` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::get; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl std::future::Future {index3}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> src/main.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | .service(index3) [INFO] [stdout] | ^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl std::future::Future {index3}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl std::future::Future {index3}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> src/main.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | .service(index3) [INFO] [stdout] | ^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl std::future::Future {index3}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[actix_rt::main] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found struct `App` [INFO] [stdout] 19 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ------------------- expected `std::result::Result<(), std::io::Error>` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), std::io::Error>` [INFO] [stdout] found struct `App` [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: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[actix_rt::main] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found struct `App` [INFO] [stdout] 19 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ------------------- expected `std::result::Result<(), std::io::Error>` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), std::io::Error>` [INFO] [stdout] found struct `App` [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: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-actic` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "68cfd2f39b9f75b86ab956b167cdc5dc63c2ede2ea357c6316877eb3719c5a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68cfd2f39b9f75b86ab956b167cdc5dc63c2ede2ea357c6316877eb3719c5a4e", kill_on_drop: false }` [INFO] [stdout] 68cfd2f39b9f75b86ab956b167cdc5dc63c2ede2ea357c6316877eb3719c5a4e