[INFO] fetching crate actix-identity 0.4.0-beta.3... [INFO] checking actix-identity-0.4.0-beta.3 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate actix-identity 0.4.0-beta.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate actix-identity 0.4.0-beta.3 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-identity 0.4.0-beta.3 [INFO] finished tweaking crates.io crate actix-identity 0.4.0-beta.3 [INFO] tweaked toml for crates.io crate actix-identity 0.4.0-beta.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", 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] 7991266dcf8ffcfc66e6b36b86755234c7f35806c3d7937e6cdfad10f5b0f24a [INFO] running `Command { std: "docker" "start" "-a" "7991266dcf8ffcfc66e6b36b86755234c7f35806c3d7937e6cdfad10f5b0f24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7991266dcf8ffcfc66e6b36b86755234c7f35806c3d7937e6cdfad10f5b0f24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7991266dcf8ffcfc66e6b36b86755234c7f35806c3d7937e6cdfad10f5b0f24a", kill_on_drop: false }` [INFO] [stdout] 7991266dcf8ffcfc66e6b36b86755234c7f35806c3d7937e6cdfad10f5b0f24a [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=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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--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] 64f2469cfb70e5e20e1303ceba3bbbb9e8b88f3f5b83245b58d8421eed16c41c [INFO] running `Command { std: "docker" "start" "-a" "64f2469cfb70e5e20e1303ceba3bbbb9e8b88f3f5b83245b58d8421eed16c41c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling firestorm v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking encoding_rs v0.8.29 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking actix-service v2.0.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Compiling actix-router v0.5.0-beta.2 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking actix-codec v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking actix-rt v2.5.0 [INFO] [stderr] Checking actix-server v2.0.0-beta.9 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking actix-http v3.0.0-beta.13 [INFO] [stderr] Checking serde_json v1.0.72 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-web v4.0.0-beta.12 [INFO] [stderr] Checking actix-identity v0.4.0-beta.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/cookie.rs:457:7 [INFO] [stdout] | [INFO] [stdout] 457 | #[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/cookie.rs:516:7 [INFO] [stdout] | [INFO] [stdout] 516 | #[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/cookie.rs:544:7 [INFO] [stdout] | [INFO] [stdout] 544 | #[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/cookie.rs:606:7 [INFO] [stdout] | [INFO] [stdout] 606 | #[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/cookie.rs:632:7 [INFO] [stdout] | [INFO] [stdout] 632 | #[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/cookie.rs:640:7 [INFO] [stdout] | [INFO] [stdout] 640 | #[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/cookie.rs:655:7 [INFO] [stdout] | [INFO] [stdout] 655 | #[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/cookie.rs:675:7 [INFO] [stdout] | [INFO] [stdout] 675 | #[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/cookie.rs:695:7 [INFO] [stdout] | [INFO] [stdout] 695 | #[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/cookie.rs:715:7 [INFO] [stdout] | [INFO] [stdout] 715 | #[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/cookie.rs:735:7 [INFO] [stdout] | [INFO] [stdout] 735 | #[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/cookie.rs:759:7 [INFO] [stdout] | [INFO] [stdout] 759 | #[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/cookie.rs:783:7 [INFO] [stdout] | [INFO] [stdout] 783 | #[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/cookie.rs:798:7 [INFO] [stdout] | [INFO] [stdout] 798 | #[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:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | #[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:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | actix_rt::time::sleep(Duration::from_secs(100)).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:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | actix_rt::spawn(async move { [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:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | actix_rt::time::sleep(Duration::from_millis(50)).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_http` [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | actix_http::Request, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `actix_web::dev::Body`: Renamed to `AnyBody`. [INFO] [stdout] --> src/lib.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | Response = ServiceResponse, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_message` found for enum `AnyBody` in the current scope [INFO] [stdout] --> src/middleware.rs:106:73 [INFO] [stdout] | [INFO] [stdout] 106 | ... Ok(_) => Ok(res.map_body(|_, body| AnyBody::from_message(body))), [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `AnyBody<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_message` found for enum `AnyBody` in the current scope [INFO] [stdout] --> src/middleware.rs:110:60 [INFO] [stdout] | [INFO] [stdout] 110 | Ok(res.map_body(|_, body| AnyBody::from_message(body))) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `AnyBody<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_message` found for enum `AnyBody` in the current scope [INFO] [stdout] --> src/middleware.rs:116:55 [INFO] [stdout] | [INFO] [stdout] 116 | .map_ok(|res| res.map_body(|_, body| AnyBody::from_message(body))) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `AnyBody<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-identity` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no variant or associated item named `from_message` found for enum `AnyBody` in the current scope [INFO] [stdout] --> src/middleware.rs:106:73 [INFO] [stdout] | [INFO] [stdout] 106 | ... Ok(_) => Ok(res.map_body(|_, body| AnyBody::from_message(body))), [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `AnyBody<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_message` found for enum `AnyBody` in the current scope [INFO] [stdout] --> src/middleware.rs:110:60 [INFO] [stdout] | [INFO] [stdout] 110 | Ok(res.map_body(|_, body| AnyBody::from_message(body))) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `AnyBody<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_message` found for enum `AnyBody` in the current scope [INFO] [stdout] --> src/middleware.rs:116:55 [INFO] [stdout] | [INFO] [stdout] 116 | .map_ok(|res| res.map_body(|_, body| AnyBody::from_message(body))) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `AnyBody<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "64f2469cfb70e5e20e1303ceba3bbbb9e8b88f3f5b83245b58d8421eed16c41c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f2469cfb70e5e20e1303ceba3bbbb9e8b88f3f5b83245b58d8421eed16c41c", kill_on_drop: false }` [INFO] [stdout] 64f2469cfb70e5e20e1303ceba3bbbb9e8b88f3f5b83245b58d8421eed16c41c