[INFO] fetching crate actix-csrf 0.3.0... [INFO] testing actix-csrf-0.3.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate actix-csrf 0.3.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate actix-csrf 0.3.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-1/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 819303b0a8dd78a88f372614ac7867f892f8adf655bf265094ab95898ae06de2 [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" "819303b0a8dd78a88f372614ac7867f892f8adf655bf265094ab95898ae06de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "819303b0a8dd78a88f372614ac7867f892f8adf655bf265094ab95898ae06de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "819303b0a8dd78a88f372614ac7867f892f8adf655bf265094ab95898ae06de2", kill_on_drop: false }` [INFO] [stdout] 819303b0a8dd78a88f372614ac7867f892f8adf655bf265094ab95898ae06de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] e5d6b51c6dad7a6ee01b462e4c44ec70e74e10c59770ddfddca4e49c2b359911 [INFO] running `Command { std: "docker" "start" "-a" "e5d6b51c6dad7a6ee01b462e4c44ec70e74e10c59770ddfddca4e49c2b359911", 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 memchr v2.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [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 smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [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 tinyvec v1.3.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.0.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 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 actix-service v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.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 block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.8.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 actix-macros v0.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [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 serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-http v3.0.0-beta.9 [INFO] [stderr] Compiling actix-router v0.2.7 [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 41s [INFO] running `Command { std: "docker" "inspect" "e5d6b51c6dad7a6ee01b462e4c44ec70e74e10c59770ddfddca4e49c2b359911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5d6b51c6dad7a6ee01b462e4c44ec70e74e10c59770ddfddca4e49c2b359911", kill_on_drop: false }` [INFO] [stdout] e5d6b51c6dad7a6ee01b462e4c44ec70e74e10c59770ddfddca4e49c2b359911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b92360ce91b95288e519c71b7f4b85a35d85d7c4ce713d9ac3a7805956e4c74e [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" "b92360ce91b95288e519c71b7f4b85a35d85d7c4ce713d9ac3a7805956e4c74e", kill_on_drop: false }` [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] 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 test [unoptimized + debuginfo] target(s) in 8.08s [INFO] running `Command { std: "docker" "inspect" "b92360ce91b95288e519c71b7f4b85a35d85d7c4ce713d9ac3a7805956e4c74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92360ce91b95288e519c71b7f4b85a35d85d7c4ce713d9ac3a7805956e4c74e", kill_on_drop: false }` [INFO] [stdout] b92360ce91b95288e519c71b7f4b85a35d85d7c4ce713d9ac3a7805956e4c74e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 529a7e39e0d26a348c824a07c2a5950aca163cceb81f726b07abc8bd1d1a3609 [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" "529a7e39e0d26a348c824a07c2a5950aca163cceb81f726b07abc8bd1d1a3609", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused import: `HttpResponse` [INFO] [stdout] running 7 tests [INFO] [stderr] --> src/extractor.rs:11:43 [INFO] [stdout] test extractor::tests::extract_from_header ... ok [INFO] [stderr] | [INFO] [stdout] test extractor::tests::not_found_cookie ... ok [INFO] [stderr] 11 | use actix_web::{FromRequest, HttpRequest, HttpResponse}; [INFO] [stdout] test tests::attaches_token ... ok [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] test tests::double_submit_correct_token ... ok [INFO] [stderr] | [INFO] [stdout] test extractor::tests::not_found_header ... ok [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] test extractor::tests::extract_from_cookie ... ok [INFO] [stderr] [INFO] [stdout] test tests::post_request_rejected_without_header ... ok [INFO] [stderr] warning: `actix-csrf` (lib) generated 1 warning [INFO] [stdout] [INFO] [stderr] warning: `actix-csrf` (lib test) generated 1 warning (1 duplicate) [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_csrf-b6785919804e2336) [INFO] [stderr] Doc-tests actix-csrf [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 56) ... ok [INFO] [stdout] test src/extractor.rs - extractor::Csrf (line 208) ... ok [INFO] [stdout] test src/lib.rs - (line 75) ... 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 6.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "529a7e39e0d26a348c824a07c2a5950aca163cceb81f726b07abc8bd1d1a3609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529a7e39e0d26a348c824a07c2a5950aca163cceb81f726b07abc8bd1d1a3609", kill_on_drop: false }` [INFO] [stdout] 529a7e39e0d26a348c824a07c2a5950aca163cceb81f726b07abc8bd1d1a3609