[INFO] fetching crate actix-web-middleware-keycloak-auth 0.5.0... [INFO] testing actix-web-middleware-keycloak-auth-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate actix-web-middleware-keycloak-auth 0.5.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate actix-web-middleware-keycloak-auth 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-web-middleware-keycloak-auth 0.5.0 [INFO] tweaked toml for crates.io crate actix-web-middleware-keycloak-auth 0.5.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate actix-web-middleware-keycloak-auth 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate actix-web-middleware-keycloak-auth 0.5.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.24.3 [INFO] [stderr] Downloaded paperclip-macros v0.6.5 [INFO] [stderr] Downloaded strum v0.24.1 [INFO] [stderr] Downloaded paperclip-core v0.7.1 [INFO] [stderr] Downloaded redox_syscall v0.5.6 [INFO] [stderr] Downloaded cc v1.1.22 [INFO] [stderr] Downloaded syn v2.0.79 [INFO] [stderr] Downloaded paperclip-actix v0.7.1 [INFO] [stderr] Downloaded paperclip v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c281d0e933b30dad96451a175eef4c4663cde4fd0c9143e8e76fada39f2c4dc [INFO] running `Command { std: "docker" "start" "-a" "8c281d0e933b30dad96451a175eef4c4663cde4fd0c9143e8e76fada39f2c4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c281d0e933b30dad96451a175eef4c4663cde4fd0c9143e8e76fada39f2c4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c281d0e933b30dad96451a175eef4c4663cde4fd0c9143e8e76fada39f2c4dc", kill_on_drop: false }` [INFO] [stdout] 8c281d0e933b30dad96451a175eef4c4663cde4fd0c9143e8e76fada39f2c4dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca4445abb4e43bbc4541a2fac5680d16e785876334a8dda5beb6c7a43cd0379b [INFO] running `Command { std: "docker" "start" "-a" "ca4445abb4e43bbc4541a2fac5680d16e785876334a8dda5beb6c7a43cd0379b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-web-middleware-keycloak-auth v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "ca4445abb4e43bbc4541a2fac5680d16e785876334a8dda5beb6c7a43cd0379b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4445abb4e43bbc4541a2fac5680d16e785876334a8dda5beb6c7a43cd0379b", kill_on_drop: false }` [INFO] [stdout] ca4445abb4e43bbc4541a2fac5680d16e785876334a8dda5beb6c7a43cd0379b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a40549fa1a5849ca2cf264b905faaeb0bf946fc38e4db94f98b9ddb85955598 [INFO] running `Command { std: "docker" "start" "-a" "1a40549fa1a5849ca2cf264b905faaeb0bf946fc38e4db94f98b9ddb85955598", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling actix-web-middleware-keycloak-auth v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "1a40549fa1a5849ca2cf264b905faaeb0bf946fc38e4db94f98b9ddb85955598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a40549fa1a5849ca2cf264b905faaeb0bf946fc38e4db94f98b9ddb85955598", kill_on_drop: false }` [INFO] [stdout] 1a40549fa1a5849ca2cf264b905faaeb0bf946fc38e4db94f98b9ddb85955598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fbb0dfecb886b1d6b7ed539472441ddae9663eb60615340f297b2f52f14b7f08 [INFO] running `Command { std: "docker" "start" "-a" "fbb0dfecb886b1d6b7ed539472441ddae9663eb60615340f297b2f52f14b7f08", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_web_middleware_keycloak_auth-db2c19f093d3545c) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test roles::tests::client_roles ... ok [INFO] [stdout] test roles::tests::no_required_no_provided ... ok [INFO] [stdout] test roles::tests::no_required_some_provided ... ok [INFO] [stdout] test roles::tests::some_required_more_provided ... ok [INFO] [stdout] test roles::tests::some_required_no_provided ... ok [INFO] [stdout] test roles::tests::some_required_all_provided ... ok [INFO] [stdout] test tests::deserialize_string_or_vec_when_none ... ok [INFO] [stdout] test tests::deserialize_string_or_vec_when_null ... ok [INFO] [stdout] test tests::deserialize_string_or_vec_when_string ... ok [INFO] [stdout] test tests::deserialize_string_or_vec_when_vec ... ok [INFO] [stdout] test roles::tests::some_required_some_provided ... ok [INFO] [stdout] test roles::tests::both_realm_and_client_roles ... ok [INFO] [stdout] [INFO] [stderr] Running tests/middleware.rs (/opt/rustwide/target/debug/deps/middleware-25672c604de25346) [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test compat_with_non_boxed_middleware ... ok [INFO] [stdout] test always_return_policy ... ok [INFO] [stdout] test always_pass_policy ... ok [INFO] [stdout] test no_bearer_token ... ok [INFO] [stdout] test no_bearer_token_no_debug ... ok [INFO] [stdout] test no_bearer_in_authorization_header ... ok [INFO] [stdout] test invalid_jwt ... ok [INFO] [stdout] test from_raw_claims_single_aud_as_string ... ok [INFO] [stdout] test valid_jwt ... ok [INFO] [stdout] test missing_jwt_roles ... ok [INFO] [stdout] test invalid_jwt_signature ... ok [INFO] [stdout] test unprotected_route ... ok [INFO] [stdout] test roles_extractor ... ok [INFO] [stdout] test valid_jwt_roles ... ok [INFO] [stdout] test with_unstructured_claims ... ok [INFO] [stdout] test with_custom_claims ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests actix_web_middleware_keycloak_auth [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 168) ... ok [INFO] [stdout] test src/lib.rs - (line 153) ... ok [INFO] [stdout] test src/lib.rs - (line 139) ... ok [INFO] [stdout] test src/lib.rs - (line 211) ... ok [INFO] [stdout] test src/lib.rs - (line 191) ... ok [INFO] [stdout] test src/lib.rs - (line 62) ... ok [INFO] [stdout] test src/lib.rs - (line 116) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] test src/lib.rs - (line 76) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbb0dfecb886b1d6b7ed539472441ddae9663eb60615340f297b2f52f14b7f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb0dfecb886b1d6b7ed539472441ddae9663eb60615340f297b2f52f14b7f08", kill_on_drop: false }` [INFO] [stdout] fbb0dfecb886b1d6b7ed539472441ddae9663eb60615340f297b2f52f14b7f08