[INFO] fetching crate actix-session 0.5.0-beta.1... [INFO] testing actix-session-0.5.0-beta.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate actix-session 0.5.0-beta.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate actix-session 0.5.0-beta.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1428b1a08afff5dbfbc892ee61a0d5c6c71387c56de669c480b9cbf3267e282 [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" "f1428b1a08afff5dbfbc892ee61a0d5c6c71387c56de669c480b9cbf3267e282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1428b1a08afff5dbfbc892ee61a0d5c6c71387c56de669c480b9cbf3267e282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1428b1a08afff5dbfbc892ee61a0d5c6c71387c56de669c480b9cbf3267e282", kill_on_drop: false }` [INFO] [stdout] f1428b1a08afff5dbfbc892ee61a0d5c6c71387c56de669c480b9cbf3267e282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1877f8bb284fc9dd93a277023767b0c0170a008933f8fe3508bbc57e42bd487b [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" "1877f8bb284fc9dd93a277023767b0c0170a008933f8fe3508bbc57e42bd487b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling actix-service v2.0.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling actix-server v2.0.0-beta.5 [INFO] [stderr] Compiling actix-codec v0.4.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling actix-tls v3.0.0-beta.5 [INFO] [stderr] Compiling actix-http v3.0.0-beta.6 [INFO] [stderr] Compiling actix-web v4.0.0-beta.6 [INFO] [stderr] Compiling actix-session v0.5.0-beta.1 (/opt/rustwide/workdir) [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[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 because of the requirements on the impl of `FromResidual>` for `Result, actix_web::Error>` [INFO] [stdout] = note: required by `from_residual` [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 because of the requirements on the impl of `FromResidual>` for `Result<(), actix_web::Error>` [INFO] [stdout] = note: required by `from_residual` [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]: 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] [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" "1877f8bb284fc9dd93a277023767b0c0170a008933f8fe3508bbc57e42bd487b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1877f8bb284fc9dd93a277023767b0c0170a008933f8fe3508bbc57e42bd487b", kill_on_drop: false }` [INFO] [stdout] 1877f8bb284fc9dd93a277023767b0c0170a008933f8fe3508bbc57e42bd487b