[INFO] fetching crate vultur-sso-api-client 0.3.0... [INFO] testing vultur-sso-api-client-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate vultur-sso-api-client 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate vultur-sso-api-client 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate vultur-sso-api-client 0.3.0 [INFO] tweaked toml for crates.io crate vultur-sso-api-client 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vultur-sso-api-client 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vultur-sso-api-client 0.3.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4502eee45562bccf0ea50b9e97cd6b9dd0f5d9f6488e87da0d91220dab12828 [INFO] running `Command { std: "docker" "start" "-a" "a4502eee45562bccf0ea50b9e97cd6b9dd0f5d9f6488e87da0d91220dab12828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4502eee45562bccf0ea50b9e97cd6b9dd0f5d9f6488e87da0d91220dab12828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4502eee45562bccf0ea50b9e97cd6b9dd0f5d9f6488e87da0d91220dab12828", kill_on_drop: false }` [INFO] [stdout] a4502eee45562bccf0ea50b9e97cd6b9dd0f5d9f6488e87da0d91220dab12828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 428caa1fe11690245af4695edaa28446a3173b2c88f54b207bd3b3d798516088 [INFO] running `Command { std: "docker" "start" "-a" "428caa1fe11690245af4695edaa28446a3173b2c88f54b207bd3b3d798516088", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling vultur-sso-api-client v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "428caa1fe11690245af4695edaa28446a3173b2c88f54b207bd3b3d798516088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428caa1fe11690245af4695edaa28446a3173b2c88f54b207bd3b3d798516088", kill_on_drop: false }` [INFO] [stdout] 428caa1fe11690245af4695edaa28446a3173b2c88f54b207bd3b3d798516088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 594567b4e1029bd0296b1ba6c9f665eb8aca74363fe02ebcb9cd1f34b4db6ecd [INFO] running `Command { std: "docker" "start" "-a" "594567b4e1029bd0296b1ba6c9f665eb8aca74363fe02ebcb9cd1f34b4db6ecd", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tower-test v0.4.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling vultur-sso-api-client v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `other_data` is never read [INFO] [stdout] --> src/middleware/generic.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 118 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 119 | sso_client: Arc, [INFO] [stdout] 120 | other_data: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_auth_handler` is never used [INFO] [stdout] --> src/middleware/legacy.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | async fn test_auth_handler(RequireAuth(user): RequireAuth) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "594567b4e1029bd0296b1ba6c9f665eb8aca74363fe02ebcb9cd1f34b4db6ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594567b4e1029bd0296b1ba6c9f665eb8aca74363fe02ebcb9cd1f34b4db6ecd", kill_on_drop: false }` [INFO] [stdout] 594567b4e1029bd0296b1ba6c9f665eb8aca74363fe02ebcb9cd1f34b4db6ecd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97df3f63442e6fc2cdcea9896b3bf2b7fe3807b8091d31bacb7b32537bf11be0 [INFO] running `Command { std: "docker" "start" "-a" "97df3f63442e6fc2cdcea9896b3bf2b7fe3807b8091d31bacb7b32537bf11be0", kill_on_drop: false }` [INFO] [stderr] warning: field `other_data` is never read [INFO] [stderr] --> src/middleware/generic.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 118 | struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 119 | sso_client: Arc, [INFO] [stderr] 120 | other_data: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_auth_handler` is never used [INFO] [stderr] --> src/middleware/legacy.rs:154:14 [INFO] [stderr] | [INFO] [stderr] 154 | async fn test_auth_handler(RequireAuth(user): RequireAuth) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `vultur-sso-api-client` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vultur_sso_api_client-dc74e00715098e34) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test config::tests::test_config_builder ... ok [INFO] [stdout] test config::tests::test_config_validation ... ok [INFO] [stdout] test config::tests::test_well_known_url ... ok [INFO] [stdout] test permissions::tests::test_permission_checker_admin ... ok [INFO] [stdout] test permissions::tests::test_permission_config_builder ... ok [INFO] [stdout] test permissions::tests::test_permission_patterns_admin ... ok [INFO] [stdout] test middleware::legacy::tests::test_auth_middleware_invalid_header ... ok [INFO] [stdout] test permissions::tests::test_permission_scope_builder ... ok [INFO] [stdout] test well_known::tests::test_get_well_known_url ... ok [INFO] [stdout] test permissions::tests::test_permission_patterns_crud ... ok [INFO] [stdout] test middleware::generic::tests::test_generic_auth_middleware_no_header ... ok [INFO] [stdout] test well_known::tests::test_well_known_permissions_not_found ... ok [INFO] [stdout] test well_known::tests::test_well_known_permissions_success ... ok [INFO] [stdout] test well_known::tests::test_validate_well_known_path ... ok [INFO] [stdout] test permissions::tests::test_permission_checker_has_role ... ok [INFO] [stdout] test client::tests::test_extract_jwt_from_header ... ok [INFO] [stdout] test middleware::legacy::tests::test_auth_middleware_no_header ... ok [INFO] [stdout] test middleware::generic::tests::test_generic_auth_middleware_invalid_header ... ok [INFO] [stdout] test client::tests::test_cache_operations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stderr] Doc-tests vultur_sso_api_client [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/well_known.rs - well_known::serve_well_known (line 60) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 49) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 16) - compile ... ok [INFO] [stdout] test src/middleware/generic.rs - middleware::generic::auth_middleware_generic (line 28) - compile ... ok [INFO] [stdout] test src/lib.rs - require_permission (line 120) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97df3f63442e6fc2cdcea9896b3bf2b7fe3807b8091d31bacb7b32537bf11be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97df3f63442e6fc2cdcea9896b3bf2b7fe3807b8091d31bacb7b32537bf11be0", kill_on_drop: false }` [INFO] [stdout] 97df3f63442e6fc2cdcea9896b3bf2b7fe3807b8091d31bacb7b32537bf11be0