[INFO] fetching crate actix-csrf 0.3.0... [INFO] testing actix-csrf-0.3.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate actix-csrf 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate actix-csrf 0.3.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-csrf 0.3.0 [INFO] finished tweaking crates.io crate actix-csrf 0.3.0 [INFO] tweaked toml for crates.io crate actix-csrf 0.3.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate actix-csrf 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ae7e6c182701246beeedfffe2c230693a432199f60b4b57e81c998ed80afe0f [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" "4ae7e6c182701246beeedfffe2c230693a432199f60b4b57e81c998ed80afe0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ae7e6c182701246beeedfffe2c230693a432199f60b4b57e81c998ed80afe0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae7e6c182701246beeedfffe2c230693a432199f60b4b57e81c998ed80afe0f", kill_on_drop: false }` [INFO] [stdout] 4ae7e6c182701246beeedfffe2c230693a432199f60b4b57e81c998ed80afe0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+722e1797249a965b6335aebd65d777f917e498f1" "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] 498dca902bff73241242fe1019825cc2a90a2ed6fdfeae224da93317e76a7486 [INFO] running `Command { std: "docker" "start" "-a" "498dca902bff73241242fe1019825cc2a90a2ed6fdfeae224da93317e76a7486", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling actix-service v2.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling actix-macros v0.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.8 [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-router v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-http v3.0.0-beta.9 [INFO] [stderr] Compiling actix-web v4.0.0-beta.8 [INFO] [stderr] Compiling actix-csrf v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/extractor.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{FromRequest, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 48s [INFO] running `Command { std: "docker" "inspect" "498dca902bff73241242fe1019825cc2a90a2ed6fdfeae224da93317e76a7486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498dca902bff73241242fe1019825cc2a90a2ed6fdfeae224da93317e76a7486", kill_on_drop: false }` [INFO] [stdout] 498dca902bff73241242fe1019825cc2a90a2ed6fdfeae224da93317e76a7486 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13067e44b949cd01dec73a977987fa957b9d7b4179811bda16d13a37473f5a4a [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" "13067e44b949cd01dec73a977987fa957b9d7b4179811bda16d13a37473f5a4a", kill_on_drop: false }` [INFO] [stderr] Compiling actix-csrf v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/extractor.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{FromRequest, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/extractor.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{FromRequest, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.26s [INFO] running `Command { std: "docker" "inspect" "13067e44b949cd01dec73a977987fa957b9d7b4179811bda16d13a37473f5a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13067e44b949cd01dec73a977987fa957b9d7b4179811bda16d13a37473f5a4a", kill_on_drop: false }` [INFO] [stdout] 13067e44b949cd01dec73a977987fa957b9d7b4179811bda16d13a37473f5a4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 93db342233f001658b058fa378e538aef60b2b24a058d897189dfc5b4ac9e286 [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" "93db342233f001658b058fa378e538aef60b2b24a058d897189dfc5b4ac9e286", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HttpResponse` [INFO] [stderr] --> src/extractor.rs:11:43 [INFO] [stderr] | [INFO] [stderr] 11 | use actix_web::{FromRequest, HttpRequest, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `actix-csrf` (lib) generated 1 warning [INFO] [stderr] warning: `actix-csrf` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_csrf-b6785919804e2336) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test extractor::tests::not_found_cookie ... ok [INFO] [stdout] test extractor::tests::extract_from_cookie ... ok [INFO] [stdout] test extractor::tests::not_found_header ... ok [INFO] [stdout] test tests::attaches_token ... ok [INFO] [stdout] test extractor::tests::extract_from_header ... ok [INFO] [stderr] Doc-tests actix-csrf [INFO] [stdout] test tests::post_request_rejected_without_header ... ok [INFO] [stdout] test tests::double_submit_correct_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 56) ... ok [INFO] [stdout] test src/lib.rs - (line 75) ... ok [INFO] [stdout] test src/extractor.rs - extractor::Csrf (line 208) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.86s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "93db342233f001658b058fa378e538aef60b2b24a058d897189dfc5b4ac9e286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93db342233f001658b058fa378e538aef60b2b24a058d897189dfc5b4ac9e286", kill_on_drop: false }` [INFO] [stdout] 93db342233f001658b058fa378e538aef60b2b24a058d897189dfc5b4ac9e286