[INFO] fetching crate actix-web-httpauth 0.6.0... [INFO] testing actix-web-httpauth-0.6.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate actix-web-httpauth 0.6.0 into /workspace/builds/worker-50/source [INFO] validating manifest of crates.io crate actix-web-httpauth 0.6.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-httpauth 0.6.0 [INFO] finished tweaking crates.io crate actix-web-httpauth 0.6.0 [INFO] tweaked toml for crates.io crate actix-web-httpauth 0.6.0 written to /workspace/builds/worker-50/source/Cargo.toml [INFO] crate crates.io crate actix-web-httpauth 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2263ac8680418d8c3983dadd4dd008174899cbae1fdad64b3d7a4d01194a0db [INFO] running `Command { std: "docker" "start" "-a" "c2263ac8680418d8c3983dadd4dd008174899cbae1fdad64b3d7a4d01194a0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2263ac8680418d8c3983dadd4dd008174899cbae1fdad64b3d7a4d01194a0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2263ac8680418d8c3983dadd4dd008174899cbae1fdad64b3d7a4d01194a0db", kill_on_drop: false }` [INFO] [stdout] c2263ac8680418d8c3983dadd4dd008174899cbae1fdad64b3d7a4d01194a0db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be06e5f42810f727203bced86e68729cf6ec71362ecb6177dc13793bd5d4837c [INFO] running `Command { std: "docker" "start" "-a" "be06e5f42810f727203bced86e68729cf6ec71362ecb6177dc13793bd5d4837c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-http v3.0.0 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling actix-web-httpauth v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "be06e5f42810f727203bced86e68729cf6ec71362ecb6177dc13793bd5d4837c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be06e5f42810f727203bced86e68729cf6ec71362ecb6177dc13793bd5d4837c", kill_on_drop: false }` [INFO] [stdout] be06e5f42810f727203bced86e68729cf6ec71362ecb6177dc13793bd5d4837c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f68f4938e738593933420de9b770db51113bc869cad53c022045623cc647499 [INFO] running `Command { std: "docker" "start" "-a" "6f68f4938e738593933420de9b770db51113bc869cad53c022045623cc647499", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling actix-web-httpauth v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/middleware.rs:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/middleware.rs:275:18 [INFO] [stdout] | [INFO] [stdout] 275 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/middleware.rs:311:18 [INFO] [stdout] | [INFO] [stdout] 311 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/middleware.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 335 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/middleware.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/middleware.rs:386:7 [INFO] [stdout] | [INFO] [stdout] 386 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/middleware-closure.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web::get` [INFO] [stdout] --> examples/with-cors.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{dev::ServiceRequest, get, App, Error, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^ no `get` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_cors` [INFO] [stdout] --> examples/with-cors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_cors::Cors; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/with-cors.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> examples/with-cors.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HttpResponse` in `web` [INFO] [stdout] --> src/middleware.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | .route("/", web::get().to(|| web::HttpResponse::Ok())), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 242 | use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] 242 | use crate::middleware::tests::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HttpResponse` in `web` [INFO] [stdout] --> src/middleware.rs:400:55 [INFO] [stdout] | [INFO] [stdout] 400 | .route("/", web::get().to(|| web::HttpResponse::Ok())), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 242 | use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] 242 | use crate::middleware::tests::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/middleware.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/middleware-closure.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl std::future::Future {index}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/with-cors.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | .service(index) [INFO] [stdout] | ------- ^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl std::future::Future {index}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-httpauth` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/with-cors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | async fn main() -> std::io::Result<()> { [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, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/middleware.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-httpauth` due to 7 previous errors [INFO] [stderr] error: could not compile `actix-web-httpauth` due to 3 previous errors [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-httpauth` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "6f68f4938e738593933420de9b770db51113bc869cad53c022045623cc647499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f68f4938e738593933420de9b770db51113bc869cad53c022045623cc647499", kill_on_drop: false }` [INFO] [stdout] 6f68f4938e738593933420de9b770db51113bc869cad53c022045623cc647499