[INFO] fetching crate actix-web-httpauth 0.6.0-beta.8... [INFO] testing actix-web-httpauth-0.6.0-beta.8 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate actix-web-httpauth 0.6.0-beta.8 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate actix-web-httpauth 0.6.0-beta.8 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-httpauth 0.6.0-beta.8 [INFO] finished tweaking crates.io crate actix-web-httpauth 0.6.0-beta.8 [INFO] tweaked toml for crates.io crate actix-web-httpauth 0.6.0-beta.8 written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate crates.io crate actix-web-httpauth 0.6.0-beta.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-http v3.0.0-rc.3 [INFO] [stderr] Downloaded semver v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a33b4822da6abd7b2af16a823828ccc751d3b1f638dfb6a0feb3655aa2c09a06 [INFO] running `Command { std: "docker" "start" "-a" "a33b4822da6abd7b2af16a823828ccc751d3b1f638dfb6a0feb3655aa2c09a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a33b4822da6abd7b2af16a823828ccc751d3b1f638dfb6a0feb3655aa2c09a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33b4822da6abd7b2af16a823828ccc751d3b1f638dfb6a0feb3655aa2c09a06", kill_on_drop: false }` [INFO] [stdout] a33b4822da6abd7b2af16a823828ccc751d3b1f638dfb6a0feb3655aa2c09a06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d98de22792267c6b34b9740d28ed4cd6da87ba80b474101532e024b90ecdefe [INFO] running `Command { std: "docker" "start" "-a" "7d98de22792267c6b34b9740d28ed4cd6da87ba80b474101532e024b90ecdefe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [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 futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling mime v0.3.16 [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 firestorm v0.5.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling lock_api v0.4.6 [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 tracing v0.1.31 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling actix-service v2.0.2 [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.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling actix-router v0.5.0-rc.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling actix-codec v0.4.2 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-http v3.0.0-rc.3 [INFO] [stderr] Compiling actix-web v4.0.0-rc.3 [INFO] [stderr] Compiling actix-web-httpauth v0.6.0-beta.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "7d98de22792267c6b34b9740d28ed4cd6da87ba80b474101532e024b90ecdefe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d98de22792267c6b34b9740d28ed4cd6da87ba80b474101532e024b90ecdefe", kill_on_drop: false }` [INFO] [stdout] 7d98de22792267c6b34b9740d28ed4cd6da87ba80b474101532e024b90ecdefe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30217387ed87df9d36754442e8c8083ab16c62dbd87705ea2d27ad430882390a [INFO] running `Command { std: "docker" "start" "-a" "30217387ed87df9d36754442e8c8083ab16c62dbd87705ea2d27ad430882390a", kill_on_drop: false }` [INFO] [stderr] Compiling actix-web-httpauth v0.6.0-beta.8 (/opt/rustwide/workdir) [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 `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[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/middleware.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | #[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:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | #[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:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | #[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:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [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] 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] 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.0-rc.3/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] [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 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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "30217387ed87df9d36754442e8c8083ab16c62dbd87705ea2d27ad430882390a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30217387ed87df9d36754442e8c8083ab16c62dbd87705ea2d27ad430882390a", kill_on_drop: false }` [INFO] [stdout] 30217387ed87df9d36754442e8c8083ab16c62dbd87705ea2d27ad430882390a