[INFO] fetching crate salvo-csrf 0.71.1... [INFO] testing salvo-csrf-0.71.1 against beta-2024-09-05 for beta-1.82-1 [INFO] extracting crate salvo-csrf 0.71.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate salvo-csrf 0.71.1 on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate salvo-csrf 0.71.1 [INFO] finished tweaking crates.io crate salvo-csrf 0.71.1 [INFO] tweaked toml for crates.io crate salvo-csrf 0.71.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 212 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding async-lock v2.8.0 (latest: v3.4.0) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding blake3 v0.3.8 (latest: v1.5.4) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.1) [INFO] [stderr] Adding crypto-mac v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding hmac v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding subtle v2.4.1 (latest: v2.6.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8593141b2c1cf8c222b7492cfa20fc48862210f763b01ae9a330128c9f9daa1c [INFO] running `Command { std: "docker" "start" "-a" "8593141b2c1cf8c222b7492cfa20fc48862210f763b01ae9a330128c9f9daa1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8593141b2c1cf8c222b7492cfa20fc48862210f763b01ae9a330128c9f9daa1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8593141b2c1cf8c222b7492cfa20fc48862210f763b01ae9a330128c9f9daa1c", kill_on_drop: false }` [INFO] [stdout] 8593141b2c1cf8c222b7492cfa20fc48862210f763b01ae9a330128c9f9daa1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4caccc53bd45232364d7c410a02a421d39eafd89aae21c607100dcddceaa54a5 [INFO] running `Command { std: "docker" "start" "-a" "4caccc53bd45232364d7c410a02a421d39eafd89aae21c607100dcddceaa54a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling salvo-serde-util v0.71.1 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling salvo_macros v0.71.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling salvo_core v0.71.1 [INFO] [stderr] Compiling salvo-csrf v0.71.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.22s [INFO] running `Command { std: "docker" "inspect" "4caccc53bd45232364d7c410a02a421d39eafd89aae21c607100dcddceaa54a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4caccc53bd45232364d7c410a02a421d39eafd89aae21c607100dcddceaa54a5", kill_on_drop: false }` [INFO] [stdout] 4caccc53bd45232364d7c410a02a421d39eafd89aae21c607100dcddceaa54a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3e9334f1debf84362cbd462cbbc5b1ba4b87ba3db036b04cf8644c27862feab [INFO] running `Command { std: "docker" "start" "-a" "b3e9334f1debf84362cbd462cbbc5b1ba4b87ba3db036b04cf8644c27862feab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling salvo_core v0.71.1 [INFO] [stderr] Compiling salvo-csrf v0.71.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.65s [INFO] running `Command { std: "docker" "inspect" "b3e9334f1debf84362cbd462cbbc5b1ba4b87ba3db036b04cf8644c27862feab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e9334f1debf84362cbd462cbbc5b1ba4b87ba3db036b04cf8644c27862feab", kill_on_drop: false }` [INFO] [stdout] b3e9334f1debf84362cbd462cbbc5b1ba4b87ba3db036b04cf8644c27862feab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf546c2366f5fc70a85d40f7f5839176148cbf7679736d5741d77552107fc777 [INFO] running `Command { std: "docker" "start" "-a" "cf546c2366f5fc70a85d40f7f5839176148cbf7679736d5741d77552107fc777", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/salvo_csrf-635a58670f0ce216) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test bcrypt_cipher::tests::test_bcrypt_cipher_new ... ok [INFO] [stdout] test bcrypt_cipher::tests::test_bcrypt_cipher_with_cost ... ok [INFO] [stdout] test bcrypt_cipher::tests::test_bcrypt_cipher_with_token_size ... ok [INFO] [stdout] test finder::tests::test_header_finder ... ok [INFO] [stdout] test finder::tests::test_json_finder ... ok [INFO] [stdout] test finder::tests::test_form_finder ... ok [INFO] [stdout] test bcrypt_cipher::tests::test_bcrypt_cipher_with_invalid_cost - should panic ... ok [INFO] [stdout] test bcrypt_cipher::tests::test_bcrypt_cipher_with_invalid_token_size - should panic ... ok [INFO] [stdout] test tests::test_exposes_csrf_request_extensions ... ok [INFO] [stdout] test tests::test_rejects_invalid_base64_token ... ok [INFO] [stdout] test tests::test_rejects_short_token ... ok [INFO] [stdout] test tests::test_adds_csrf_cookie_sets_request_token ... ok [INFO] [stdout] test tests::test_rejects_mismatched_token ... ok [INFO] [stdout] test bcrypt_cipher::tests::test_bcrypt_cipher_verify_invalid_token ... ok [INFO] [stdout] test bcrypt_cipher::tests::test_bcrypt_cipher_verify_and_generate ... ok [INFO] [stdout] test tests::test_validates_token_in_custom_header ... ok [INFO] [stdout] test tests::test_validates_token_in_query ... ok [INFO] [stdout] test tests::test_validates_token_in_header ... ok [INFO] [stdout] test tests::test_validates_token_in_alternate_form ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] Doc-tests salvo_csrf [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf546c2366f5fc70a85d40f7f5839176148cbf7679736d5741d77552107fc777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf546c2366f5fc70a85d40f7f5839176148cbf7679736d5741d77552107fc777", kill_on_drop: false }` [INFO] [stdout] cf546c2366f5fc70a85d40f7f5839176148cbf7679736d5741d77552107fc777