[INFO] fetching crate actix-web-middleware-keycloak-auth 0.2.0... [INFO] testing actix-web-middleware-keycloak-auth-0.2.0 against 1.49.0 for beta-1.50-1 [INFO] extracting crate actix-web-middleware-keycloak-auth 0.2.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate actix-web-middleware-keycloak-auth 0.2.0 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-middleware-keycloak-auth 0.2.0 [INFO] finished tweaking crates.io crate actix-web-middleware-keycloak-auth 0.2.0 [INFO] tweaked toml for crates.io crate actix-web-middleware-keycloak-auth 0.2.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate actix-web-middleware-keycloak-auth 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a4665fbd301dc8767bb00317398502ee0958ece89280a8beef5f321ba031ac6 [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" "2a4665fbd301dc8767bb00317398502ee0958ece89280a8beef5f321ba031ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a4665fbd301dc8767bb00317398502ee0958ece89280a8beef5f321ba031ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4665fbd301dc8767bb00317398502ee0958ece89280a8beef5f321ba031ac6", kill_on_drop: false }` [INFO] [stdout] 2a4665fbd301dc8767bb00317398502ee0958ece89280a8beef5f321ba031ac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de0448b4be4e900c28789c29bf219506076fac520cc75d1ec0f9b0f4e18003b7 [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" "de0448b4be4e900c28789c29bf219506076fac520cc75d1ec0f9b0f4e18003b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pem v0.8.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.18 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.2 [INFO] [stderr] Compiling actix-web v3.3.0 [INFO] [stderr] Compiling actix-web-middleware-keycloak-auth v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 16s [INFO] running `Command { std: "docker" "inspect" "de0448b4be4e900c28789c29bf219506076fac520cc75d1ec0f9b0f4e18003b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0448b4be4e900c28789c29bf219506076fac520cc75d1ec0f9b0f4e18003b7", kill_on_drop: false }` [INFO] [stdout] de0448b4be4e900c28789c29bf219506076fac520cc75d1ec0f9b0f4e18003b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6882bffdcb9dfca8a6c7790d62072ccce6a041577aca5bffede30aaf0ac962e7 [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" "6882bffdcb9dfca8a6c7790d62072ccce6a041577aca5bffede30aaf0ac962e7", kill_on_drop: false }` [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling actix-web-middleware-keycloak-auth v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.70s [INFO] running `Command { std: "docker" "inspect" "6882bffdcb9dfca8a6c7790d62072ccce6a041577aca5bffede30aaf0ac962e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6882bffdcb9dfca8a6c7790d62072ccce6a041577aca5bffede30aaf0ac962e7", kill_on_drop: false }` [INFO] [stdout] 6882bffdcb9dfca8a6c7790d62072ccce6a041577aca5bffede30aaf0ac962e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7619ac8379fd07dc5eb9dc46a6a98afe7abde911bd4630a7b26a272e0e1989b [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" "d7619ac8379fd07dc5eb9dc46a6a98afe7abde911bd4630a7b26a272e0e1989b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/actix_web_middleware_keycloak_auth-e329d5d667666078 [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test roles::tests::both_realm_and_client_roles ... ok [INFO] [stdout] test roles::tests::client_roles ... ok [INFO] [stdout] test roles::tests::some_required_no_provided ... ok [INFO] [stdout] test roles::tests::some_required_some_provided ... ok [INFO] [stdout] test roles::tests::no_required_some_provided ... ok [INFO] [stdout] test roles::tests::no_required_no_provided ... ok [INFO] [stdout] test roles::tests::some_required_all_provided ... ok [INFO] [stdout] test roles::tests::some_required_more_provided ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/middleware-c48dc3aeaaaffe59 [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test invalid_jwt ... ok [INFO] [stdout] test no_bearer_token_no_debug ... ok [INFO] [stdout] test valid_jwt ... ok [INFO] [stdout] test no_bearer_in_authorization_header ... ok [INFO] [stdout] test valid_jwt_roles ... ok [INFO] [stdout] test unprotected_route ... ok [INFO] [stdout] test no_bearer_token ... ok [INFO] [stdout] test invalid_jwt_signature ... ok [INFO] [stdout] test missing_jwt_roles ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests actix-web-middleware-keycloak-auth [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 104) ... ok [INFO] [stdout] test src/lib.rs - (line 45) ... ok [INFO] [stdout] test src/lib.rs - (line 65) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d7619ac8379fd07dc5eb9dc46a6a98afe7abde911bd4630a7b26a272e0e1989b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7619ac8379fd07dc5eb9dc46a6a98afe7abde911bd4630a7b26a272e0e1989b", kill_on_drop: false }` [INFO] [stdout] d7619ac8379fd07dc5eb9dc46a6a98afe7abde911bd4630a7b26a272e0e1989b