[INFO] fetching crate actix-web-httpauth 0.5.0... [INFO] testing actix-web-httpauth-0.5.0 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate actix-web-httpauth 0.5.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate actix-web-httpauth 0.5.0 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-httpauth 0.5.0 [INFO] finished tweaking crates.io crate actix-web-httpauth 0.5.0 [INFO] tweaked toml for crates.io crate actix-web-httpauth 0.5.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate actix-web-httpauth 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.2.18 [INFO] [stderr] Downloaded actix-web v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4012d592f9450058097527409b44beeb461b3d7a6a06a702d270379797d5770d [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" "4012d592f9450058097527409b44beeb461b3d7a6a06a702d270379797d5770d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4012d592f9450058097527409b44beeb461b3d7a6a06a702d270379797d5770d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4012d592f9450058097527409b44beeb461b3d7a6a06a702d270379797d5770d", kill_on_drop: false }` [INFO] [stdout] 4012d592f9450058097527409b44beeb461b3d7a6a06a702d270379797d5770d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--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] 2af117694456d2268e015cec9eac09985e9d9cd8f0a7b4395caca7c65eeeb14d [INFO] running `Command { std: "docker" "start" "-a" "2af117694456d2268e015cec9eac09985e9d9cd8f0a7b4395caca7c65eeeb14d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling time v0.2.18 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.10 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.0.0 [INFO] [stderr] Compiling awc v2.0.0 [INFO] [stderr] Compiling actix-web v3.0.0 [INFO] [stderr] Compiling actix-web-httpauth v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 32s [INFO] running `Command { std: "docker" "inspect" "2af117694456d2268e015cec9eac09985e9d9cd8f0a7b4395caca7c65eeeb14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af117694456d2268e015cec9eac09985e9d9cd8f0a7b4395caca7c65eeeb14d", kill_on_drop: false }` [INFO] [stdout] 2af117694456d2268e015cec9eac09985e9d9cd8f0a7b4395caca7c65eeeb14d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7c32e49b70ac1119db68dab9df919637e1c2ce495cbbf1352ea76f1836293bb [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" "b7c32e49b70ac1119db68dab9df919637e1c2ce495cbbf1352ea76f1836293bb", kill_on_drop: false }` [INFO] [stderr] Compiling actix-web-httpauth v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> examples/middleware.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[actix_rt::main] [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:247:7 [INFO] [stdout] | [INFO] [stdout] 247 | #[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:270:7 [INFO] [stdout] | [INFO] [stdout] 270 | #[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] --> examples/middleware-closure.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[actix_rt::main] [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:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | actix_rt::time::delay_for(std::time::Duration::from_secs(1)).await; [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:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | actix_rt::time::delay_for(std::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> examples/middleware-closure.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> std::io::Result<()> { [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] --> 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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-httpauth` [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: 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] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> examples/middleware.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main() -> std::io::Result<()> { [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] --> examples/middleware.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | 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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [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" "b7c32e49b70ac1119db68dab9df919637e1c2ce495cbbf1352ea76f1836293bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c32e49b70ac1119db68dab9df919637e1c2ce495cbbf1352ea76f1836293bb", kill_on_drop: false }` [INFO] [stdout] b7c32e49b70ac1119db68dab9df919637e1c2ce495cbbf1352ea76f1836293bb