[INFO] fetching crate elif-security 0.2.2... [INFO] testing elif-security-0.2.2 against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] extracting crate elif-security 0.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate elif-security 0.2.2 [INFO] finished tweaking crates.io crate elif-security 0.2.2 [INFO] tweaked toml for crates.io crate elif-security 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elif-security 0.2.2 on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elif-security 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded service-builder-macro v0.2.2 [INFO] [stderr] Downloaded service-builder v0.2.2 [INFO] [stderr] Downloaded elif-orm v0.2.0 [INFO] [stderr] Downloaded elif-core v0.1.0 [INFO] [stderr] Downloaded elif-core v0.2.0 [INFO] [stderr] Downloaded elif-http v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef1109b024aae511b70383762cdc9c31f8a314a2d47914d3ceb3234f34fc665 [INFO] running `Command { std: "docker" "start" "-a" "4ef1109b024aae511b70383762cdc9c31f8a314a2d47914d3ceb3234f34fc665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef1109b024aae511b70383762cdc9c31f8a314a2d47914d3ceb3234f34fc665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef1109b024aae511b70383762cdc9c31f8a314a2d47914d3ceb3234f34fc665", kill_on_drop: false }` [INFO] [stdout] 4ef1109b024aae511b70383762cdc9c31f8a314a2d47914d3ceb3234f34fc665 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 659d01c6e843a688e28885bec4ef3a0b30afd1f1d86e42327406d0ada4333627 [INFO] running `Command { std: "docker" "start" "-a" "659d01c6e843a688e28885bec4ef3a0b30afd1f1d86e42327406d0ada4333627", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling service-builder-macro v0.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling service-builder v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling elif-core v0.1.0 [INFO] [stderr] Compiling elif-core v0.2.0 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling elif-orm v0.2.0 [INFO] [stderr] Compiling elif-http v0.3.0 [INFO] [stderr] Compiling elif-security v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middleware/cors.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | struct CorsOrigin(Option); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CorsOrigin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "659d01c6e843a688e28885bec4ef3a0b30afd1f1d86e42327406d0ada4333627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659d01c6e843a688e28885bec4ef3a0b30afd1f1d86e42327406d0ada4333627", kill_on_drop: false }` [INFO] [stdout] 659d01c6e843a688e28885bec4ef3a0b30afd1f1d86e42327406d0ada4333627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a80fb718d774cbbcd68685ab802a14046054e708d430fb7ba132aec08b7a38b [INFO] running `Command { std: "docker" "start" "-a" "3a80fb718d774cbbcd68685ab802a14046054e708d430fb7ba132aec08b7a38b", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling elif-core v0.1.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling elif-core v0.2.0 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling elif-orm v0.2.0 [INFO] [stderr] Compiling elif-http v0.3.0 [INFO] [stderr] Compiling elif-security v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middleware/cors.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | struct CorsOrigin(Option); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CorsOrigin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/middleware/cors.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | struct CorsOrigin(Option); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CorsOrigin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3a80fb718d774cbbcd68685ab802a14046054e708d430fb7ba132aec08b7a38b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a80fb718d774cbbcd68685ab802a14046054e708d430fb7ba132aec08b7a38b", kill_on_drop: false }` [INFO] [stdout] 3a80fb718d774cbbcd68685ab802a14046054e708d430fb7ba132aec08b7a38b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e41cdb1dab639d968e346424d26db4e2e123e95b5eb95d01b6aefd124be316e [INFO] running `Command { std: "docker" "start" "-a" "8e41cdb1dab639d968e346424d26db4e2e123e95b5eb95d01b6aefd124be316e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/config.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/middleware/cors.rs:277:19 [INFO] [stderr] | [INFO] [stderr] 277 | struct CorsOrigin(Option); [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `CorsOrigin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `elif-security` (lib) generated 2 warnings (run `cargo fix --lib -p elif-security` to apply 1 suggestion) [INFO] [stderr] warning: `elif-security` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/elif_security-d4c0eed09a39d90a) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test integration::tests::test_cors_only_pipeline ... ok [INFO] [stdout] test integration::tests::test_basic_security_pipeline ... ok [INFO] [stdout] test integration::tests::test_csrf_only_pipeline ... ok [INFO] [stdout] test integration::tests::test_development_security_pipeline ... ok [INFO] [stdout] test integration::tests::test_security_pipeline_processing ... ok [INFO] [stdout] test integration::tests::test_strict_security_pipeline ... ok [INFO] [stdout] test middleware::cors::tests::test_cors_method_not_allowed ... ok [INFO] [stdout] test integration::tests::test_security_middleware_builder ... ok [INFO] [stdout] test middleware::cors::tests::test_cors_builder_methods ... ok [INFO] [stdout] test middleware::cors::tests::test_cors_preflight_in_pipeline ... ok [INFO] [stdout] test middleware::cors::tests::test_cors_middleware_pipeline ... ok [INFO] [stdout] test middleware::cors::tests::test_cors_origin_not_allowed ... ok [INFO] [stdout] test middleware::cors::tests::test_cors_preflight_request ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_cookie_extraction ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_middleware_exempt_paths ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_middleware_get_requests ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_builder_pattern ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_exempt_paths ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_middleware_post_with_valid_token ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_token_generation ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_middleware_post_without_token ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_token_validation ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_user_agent_binding ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_token_expiration ... ok [INFO] [stdout] test middleware::csrf::tests::test_csrf_token_cleanup ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.03s [INFO] [stdout] [INFO] [stderr] Doc-tests elif_security [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" "8e41cdb1dab639d968e346424d26db4e2e123e95b5eb95d01b6aefd124be316e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e41cdb1dab639d968e346424d26db4e2e123e95b5eb95d01b6aefd124be316e", kill_on_drop: false }` [INFO] [stdout] 8e41cdb1dab639d968e346424d26db4e2e123e95b5eb95d01b6aefd124be316e