[INFO] fetching crate actix-web-middleware-keycloak-auth 0.2.0... [INFO] testing actix-web-middleware-keycloak-auth-0.2.0 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate actix-web-middleware-keycloak-auth 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate actix-web-middleware-keycloak-auth 0.2.0 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-2/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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b9ece13718df51bda24a84441010ee79163105aa1943445a177cc61768a6da7 [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" "6b9ece13718df51bda24a84441010ee79163105aa1943445a177cc61768a6da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b9ece13718df51bda24a84441010ee79163105aa1943445a177cc61768a6da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9ece13718df51bda24a84441010ee79163105aa1943445a177cc61768a6da7", kill_on_drop: false }` [INFO] [stdout] 6b9ece13718df51bda24a84441010ee79163105aa1943445a177cc61768a6da7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6927bee610fbe0b1d5bee0dbaaf8a20d14b081c81528f76dd61b840f879b661a [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" "6927bee610fbe0b1d5bee0dbaaf8a20d14b081c81528f76dd61b840f879b661a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling log v0.4.11 [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 getrandom v0.1.15 [INFO] [stderr] Compiling serde v1.0.117 [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 spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pem v0.8.2 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.18 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [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 time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.23 [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 thiserror v1.0.22 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [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 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 trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [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 02s [INFO] running `Command { std: "docker" "inspect" "6927bee610fbe0b1d5bee0dbaaf8a20d14b081c81528f76dd61b840f879b661a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6927bee610fbe0b1d5bee0dbaaf8a20d14b081c81528f76dd61b840f879b661a", kill_on_drop: false }` [INFO] [stdout] 6927bee610fbe0b1d5bee0dbaaf8a20d14b081c81528f76dd61b840f879b661a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 209cb724c3a2ce7c18a0b98e731bf928a4a32337972cb80e70b27e631c4d3002 [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" "209cb724c3a2ce7c18a0b98e731bf928a4a32337972cb80e70b27e631c4d3002", 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 26.79s [INFO] running `Command { std: "docker" "inspect" "209cb724c3a2ce7c18a0b98e731bf928a4a32337972cb80e70b27e631c4d3002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "209cb724c3a2ce7c18a0b98e731bf928a4a32337972cb80e70b27e631c4d3002", kill_on_drop: false }` [INFO] [stdout] 209cb724c3a2ce7c18a0b98e731bf928a4a32337972cb80e70b27e631c4d3002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] be1f252876f5821f905c12073625a8224e2caadfb61c71287dc446880428dcd2 [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" "be1f252876f5821f905c12073625a8224e2caadfb61c71287dc446880428dcd2", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/actix_web_middleware_keycloak_auth-a49acb3a97b19550 [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test roles::tests::both_realm_and_client_roles ... ok [INFO] [stdout] test roles::tests::some_required_more_provided ... 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::some_required_all_provided ... ok [INFO] [stdout] test roles::tests::no_required_some_provided ... ok [INFO] [stdout] test roles::tests::no_required_no_provided ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/middleware-8d0d13c4f473d0e4 [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test unprotected_route ... ok [INFO] [stdout] test no_bearer_token ... ok [INFO] [stdout] test no_bearer_in_authorization_header ... ok [INFO] [stdout] test no_bearer_token_no_debug ... ok [INFO] [stdout] test invalid_jwt ... ok [INFO] [stdout] test invalid_jwt_signature ... ok [INFO] [stdout] test valid_jwt_roles ... ok [INFO] [stdout] test missing_jwt_roles ... ok [INFO] [stdout] test valid_jwt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [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 15) ... ok [INFO] [stdout] test src/lib.rs - (line 65) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.42s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be1f252876f5821f905c12073625a8224e2caadfb61c71287dc446880428dcd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1f252876f5821f905c12073625a8224e2caadfb61c71287dc446880428dcd2", kill_on_drop: false }` [INFO] [stdout] be1f252876f5821f905c12073625a8224e2caadfb61c71287dc446880428dcd2