[INFO] fetching crate actix-session 0.5.0-beta.1... [INFO] checking actix-session-0.5.0-beta.1 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate actix-session 0.5.0-beta.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate actix-session 0.5.0-beta.1 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-session 0.5.0-beta.1 [INFO] finished tweaking crates.io crate actix-session 0.5.0-beta.1 [INFO] tweaked toml for crates.io crate actix-session 0.5.0-beta.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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] 76020c94ccce3b4886cf1b817db356d806b8267da63bb8dae42e38c1d8491ac5 [INFO] running `Command { std: "docker" "start" "-a" "76020c94ccce3b4886cf1b817db356d806b8267da63bb8dae42e38c1d8491ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76020c94ccce3b4886cf1b817db356d806b8267da63bb8dae42e38c1d8491ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76020c94ccce3b4886cf1b817db356d806b8267da63bb8dae42e38c1d8491ac5", kill_on_drop: false }` [INFO] [stdout] 76020c94ccce3b4886cf1b817db356d806b8267da63bb8dae42e38c1d8491ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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] aa12c0872b597dd929e657cf296e5d840bd002a9dd52b82a5fc8f9f5471ac2c9 [INFO] running `Command { std: "docker" "start" "-a" "aa12c0872b597dd929e657cf296e5d840bd002a9dd52b82a5fc8f9f5471ac2c9", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking polyval v0.4.5 [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 rand v0.8.3 [INFO] [stderr] Checking actix-service v2.0.0 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking actix-server v2.0.0-beta.5 [INFO] [stderr] Checking actix-codec v0.4.0 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking actix-http v3.0.0-beta.6 [INFO] [stderr] Checking actix-web v4.0.0-beta.6 [INFO] [stderr] Checking actix-session v0.5.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/cookie.rs:385:7 [INFO] [stdout] | [INFO] [stdout] 385 | #[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:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | #[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:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | #[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:451:7 [INFO] [stdout] | [INFO] [stdout] 451 | #[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:471:7 [INFO] [stdout] | [INFO] [stdout] 471 | #[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:512:7 [INFO] [stdout] | [INFO] [stdout] 512 | #[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:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | actix_rt::time::sleep(std::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/cookie.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{Error, HttpMessage, ResponseError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/cookie.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{Error, HttpMessage, ResponseError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `Expiration` from `Expiration` [INFO] [stdout] --> src/cookie.rs:550:27 [INFO] [stdout] | [INFO] [stdout] 550 | assert!(expires_2 - expires_1 >= Duration::seconds(1)); [INFO] [stdout] | --------- ^ --------- Expiration [INFO] [stdout] | | [INFO] [stdout] | Expiration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serde_json::Error: ResponseError` is not satisfied [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | Ok(Some(serde_json::from_str(s)?)) [INFO] [stdout] | ^ the trait `ResponseError` is not implemented for `serde_json::Error` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `actix_web::Error` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serde_json::Error: ResponseError` is not satisfied [INFO] [stdout] --> src/lib.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 151 | Ok(Some(serde_json::from_str(s)?)) [INFO] [stdout] | ^ the trait `ResponseError` is not implemented for `serde_json::Error` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `actix_web::Error` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serde_json::Error: ResponseError` is not satisfied [INFO] [stdout] --> src/lib.rs:177:52 [INFO] [stdout] | [INFO] [stdout] 177 | let val = serde_json::to_string(&value)?; [INFO] [stdout] | ^ the trait `ResponseError` is not implemented for `serde_json::Error` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `actix_web::Error` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `serde_json::Error: ResponseError` is not satisfied [INFO] [stdout] --> src/lib.rs:177:52 [INFO] [stdout] | [INFO] [stdout] 177 | let val = serde_json::to_string(&value)?; [INFO] [stdout] | ^ the trait `ResponseError` is not implemented for `serde_json::Error` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `actix_web::Error` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `add` exists for struct `SignedJar<&CookieJar>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/cookie.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | CookieSecurity::Signed => jar.signed(&self.key).add(cookie), [INFO] [stdout] | ^^^ method cannot be called on `SignedJar<&CookieJar>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&CookieJar: BorrowMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `add` exists for struct `SignedJar<&CookieJar>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/cookie.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | CookieSecurity::Signed => jar.signed(&self.key).add(cookie), [INFO] [stdout] | ^^^ method cannot be called on `SignedJar<&CookieJar>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&CookieJar: BorrowMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `add` exists for struct `PrivateJar<&CookieJar>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/cookie.rs:110:63 [INFO] [stdout] | [INFO] [stdout] 110 | CookieSecurity::Private => jar.private(&self.key).add(cookie), [INFO] [stdout] | ^^^ method cannot be called on `PrivateJar<&CookieJar>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&CookieJar: BorrowMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `add` exists for struct `PrivateJar<&CookieJar>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/cookie.rs:110:63 [INFO] [stdout] | [INFO] [stdout] 110 | CookieSecurity::Private => jar.private(&self.key).add(cookie), [INFO] [stdout] | ^^^ method cannot be called on `PrivateJar<&CookieJar>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&CookieJar: BorrowMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookies` found for reference `&ServiceRequest` in the current scope [INFO] [stdout] --> src/cookie.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | if let Ok(cookies) = req.cookies() { [INFO] [stdout] | ^^^^^^^ method not found in `&ServiceRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookies` found for reference `&ServiceRequest` in the current scope [INFO] [stdout] --> src/cookie.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | if let Ok(cookies) = req.cookies() { [INFO] [stdout] | ^^^^^^^ method not found in `&ServiceRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-session` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aa12c0872b597dd929e657cf296e5d840bd002a9dd52b82a5fc8f9f5471ac2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa12c0872b597dd929e657cf296e5d840bd002a9dd52b82a5fc8f9f5471ac2c9", kill_on_drop: false }` [INFO] [stdout] aa12c0872b597dd929e657cf296e5d840bd002a9dd52b82a5fc8f9f5471ac2c9