[INFO] cloning repository https://github.com/AJIeKceuD/rust-actix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AJIeKceuD/rust-actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJIeKceuD%2Frust-actix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJIeKceuD%2Frust-actix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20daa3e1c643adb15e76ad9d139866eeefc9859d [INFO] testing AJIeKceuD/rust-actix against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJIeKceuD%2Frust-actix" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AJIeKceuD/rust-actix on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AJIeKceuD/rust-actix [INFO] finished tweaking git repo https://github.com/AJIeKceuD/rust-actix [INFO] tweaked toml for git repo https://github.com/AJIeKceuD/rust-actix written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/AJIeKceuD/rust-actix already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-server v2.0.0-beta.9 [INFO] [stderr] Downloaded actix-codec v0.4.1 [INFO] [stderr] Downloaded actix-rt v2.4.0 [INFO] [stderr] Downloaded whoami v1.2.0 [INFO] [stderr] Downloaded actix-http v3.0.0-beta.12 [INFO] [stderr] Downloaded actix-web v4.0.0-beta.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ab4abc39b5af0578ee1aa089c4d467517b98a3faee68dd7341d0da694870d65 [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" "7ab4abc39b5af0578ee1aa089c4d467517b98a3faee68dd7341d0da694870d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ab4abc39b5af0578ee1aa089c4d467517b98a3faee68dd7341d0da694870d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ab4abc39b5af0578ee1aa089c4d467517b98a3faee68dd7341d0da694870d65", kill_on_drop: false }` [INFO] [stdout] 7ab4abc39b5af0578ee1aa089c4d467517b98a3faee68dd7341d0da694870d65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba971024e8e255eb81220d6e612997d7ae668364768be125b5f703610dca6781 [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" "ba971024e8e255eb81220d6e612997d7ae668364768be125b5f703610dca6781", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling zstd-safe v3.1.0+zstd.1.4.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling whoami v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling firestorm v0.4.6 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling actix-service v2.0.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.5.0+zstd.1.4.9 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-rt v2.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling actix-server v2.0.0-beta.9 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling actix-codec v0.4.1 [INFO] [stderr] Compiling actix-router v0.5.0-beta.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.5 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling zstd v0.7.0+zstd.1.4.9 [INFO] [stderr] Compiling actix-http v3.0.0-beta.12 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Compiling actix-web v4.0.0-beta.11 [INFO] [stderr] Compiling sqlx v0.5.9 [INFO] [stderr] Compiling rust-actix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ServiceRequest`, `ServiceResponse` [INFO] [stdout] --> src/middleware/sayhi.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::dev::{Service, ServiceRequest, ServiceResponse, Transform}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::Error` [INFO] [stdout] --> src/middleware/sayhi.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the associated type `>::Future` may not live long enough [INFO] [stdout] --> src/middleware/sayhi.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / Box::pin(async move { [INFO] [stdout] 58 | | let res = fut.await?; [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | println!("Hi from response"); [INFO] [stdout] 61 | | Ok(res) [INFO] [stdout] 62 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `>::Future: 'static`... [INFO] [stdout] = note: ...so that the type `impl futures::Future` will meet its required lifetime bounds [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `>::InitError == ()` [INFO] [stdout] --> src/main.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | .wrap(middleware::sayhi::SayHi) [INFO] [stdout] | ^^^^ type mismatch resolving `>::InitError == ()` [INFO] [stdout] | [INFO] [stdout] note: expected this to be `()` [INFO] [stdout] --> src/middleware/sayhi.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | type InitError = S::Error; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required by a bound in `App::::wrap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.0-beta.11/src/app.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `App::::wrap` [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: E0271, E0310. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-actix` due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba971024e8e255eb81220d6e612997d7ae668364768be125b5f703610dca6781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba971024e8e255eb81220d6e612997d7ae668364768be125b5f703610dca6781", kill_on_drop: false }` [INFO] [stdout] ba971024e8e255eb81220d6e612997d7ae668364768be125b5f703610dca6781