[INFO] cloning repository https://github.com/lpotthast/tonic-keycloak-auth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lpotthast/tonic-keycloak-auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flpotthast%2Ftonic-keycloak-auth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flpotthast%2Ftonic-keycloak-auth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 32e4edc6a0724018994dfdfaec2c7bd6812b2723
[INFO] testing lpotthast/tonic-keycloak-auth against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flpotthast%2Ftonic-keycloak-auth" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lpotthast/tonic-keycloak-auth
[INFO] finished tweaking git repo https://github.com/lpotthast/tonic-keycloak-auth
[INFO] tweaked toml for git repo https://github.com/lpotthast/tonic-keycloak-auth written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lpotthast/tonic-keycloak-auth on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lpotthast/tonic-keycloak-auth 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tonic-middleware v0.3.0
[INFO] [stderr]   Downloaded snafu v0.8.6
[INFO] [stderr]   Downloaded indoc v2.0.6
[INFO] [stderr]   Downloaded atomic-time v0.1.5
[INFO] [stderr]   Downloaded assertr v0.3.1
[INFO] [stderr]   Downloaded educe v0.6.0
[INFO] [stderr]   Downloaded tonic v0.13.1
[INFO] [stderr]   Downloaded serde_with_macros v3.13.0
[INFO] [stderr]   Downloaded snafu-derive v0.8.6
[INFO] [stderr]   Downloaded hyper-timeout v0.5.2
[INFO] [stderr]   Downloaded prost v0.13.5
[INFO] [stderr]   Downloaded serde_with v3.13.0
[INFO] [stderr]   Downloaded typed-builder-macro v0.21.0
[INFO] [stderr]   Downloaded typed-builder v0.21.0
[INFO] [stderr]   Downloaded webpki-roots v1.0.1
[INFO] [stderr]   Downloaded nonempty v0.11.0
[INFO] [stderr]   Downloaded try-again v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7db673045443d732f034652445a404c65e54e7f2b183a9e7ec06f0c60365e4bd
[INFO] running `Command { std: "docker" "start" "-a" "7db673045443d732f034652445a404c65e54e7f2b183a9e7ec06f0c60365e4bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7db673045443d732f034652445a404c65e54e7f2b183a9e7ec06f0c60365e4bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7db673045443d732f034652445a404c65e54e7f2b183a9e7ec06f0c60365e4bd", kill_on_drop: false }`
[INFO] [stdout] 7db673045443d732f034652445a404c65e54e7f2b183a9e7ec06f0c60365e4bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11db33bbbabbdea07fc44dd6f580c732d21c9771409c16b686246c672976e513
[INFO] running `Command { std: "docker" "start" "-a" "11db33bbbabbdea07fc44dd6f580c732d21c9771409c16b686246c672976e513", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling nonempty v0.11.0
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling axum-core v0.5.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling atomic-time v0.1.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling futures-macro v0.3.31
[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 openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling enum-ordinalize-derive v4.3.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling snafu-derive v0.8.6
[INFO] [stderr]    Compiling typed-builder-macro v0.21.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling enum-ordinalize v4.3.0
[INFO] [stderr]    Compiling educe v0.6.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling typed-builder v0.21.0
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling snafu v0.8.6
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.13.0
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling try-again v0.2.2
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_with v3.13.0
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling axum v0.8.4
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.14
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.20
[INFO] [stderr]    Compiling tonic v0.13.1
[INFO] [stderr]    Compiling tonic-middleware v0.3.0
[INFO] [stderr]    Compiling tonic-keycloak-auth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s
[INFO] running `Command { std: "docker" "inspect" "11db33bbbabbdea07fc44dd6f580c732d21c9771409c16b686246c672976e513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11db33bbbabbdea07fc44dd6f580c732d21c9771409c16b686246c672976e513", kill_on_drop: false }`
[INFO] [stdout] 11db33bbbabbdea07fc44dd6f580c732d21c9771409c16b686246c672976e513
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b4b067ee54a4e4ed9780c3448ef9de6bf9c7b504c094a2185568558f61b7b80
[INFO] running `Command { std: "docker" "start" "-a" "7b4b067ee54a4e4ed9780c3448ef9de6bf9c7b504c094a2185568558f61b7b80", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling assertr v0.3.1
[INFO] [stderr]    Compiling tonic-keycloak-auth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.19s
[INFO] running `Command { std: "docker" "inspect" "7b4b067ee54a4e4ed9780c3448ef9de6bf9c7b504c094a2185568558f61b7b80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b4b067ee54a4e4ed9780c3448ef9de6bf9c7b504c094a2185568558f61b7b80", kill_on_drop: false }`
[INFO] [stdout] 7b4b067ee54a4e4ed9780c3448ef9de6bf9c7b504c094a2185568558f61b7b80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ee592a4550d915e8e4defdda5124c71fe83ea56f98f56db1d57eb234952d2dd2
[INFO] running `Command { std: "docker" "start" "-a" "ee592a4550d915e8e4defdda5124c71fe83ea56f98f56db1d57eb234952d2dd2", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tonic_keycloak_auth-c451b6487b95c7b5)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test action::test::test_action_dispatch ... ok
[INFO] [stdout] test interceptor::test::build_full_layer ... ok
[INFO] [stderr]    Doc-tests tonic_keycloak_auth
[INFO] [stdout] test interceptor::test::build_basic_layer ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 19) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 181) - compile ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - (line 126) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 19) stdout ----
[INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled.
[INFO] [stdout]    --> src/lib.rs:100:1
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[tokio::main]
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoResponse` in `response`
[INFO] [stdout]   --> src/lib.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     expect_role!(&token, "administrator");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `IntoResponse` in `response`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `expect_role` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Router` in this scope
[INFO] [stdout]   --> src/lib.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn public_router() -> Router {
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use tonic::transport::server::Router;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]   --> src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Router::new()
[INFO] [stdout]    |     ^^^^^^ use of undeclared type `Router`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use tonic::transport::server::Router;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get` in this scope
[INFO] [stdout]   --> src/lib.rs:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |         .route("/health", get(health))
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 21 + use reqwest::get;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Router` in this scope
[INFO] [stdout]   --> src/lib.rs:29:60
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn protected_router(instance: KeycloakAuthInstance) -> Router {
[INFO] [stdout]    |                                                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use tonic::transport::server::Router;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     Router::new()
[INFO] [stdout]    |     ^^^^^^ use of undeclared type `Router`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use tonic::transport::server::Router;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get` in this scope
[INFO] [stdout]   --> src/lib.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |         .route("/protected", get(protected))
[INFO] [stdout]    |                              ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 21 + use reqwest::get;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Router` in this scope
[INFO] [stdout]   --> src/lib.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn protect(router:Router, instance: Arc<KeycloakAuthInstance>) -> Router {
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use tonic::transport::server::Router;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Router` in this scope
[INFO] [stdout]   --> src/lib.rs:51:71
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn protect(router:Router, instance: Arc<KeycloakAuthInstance>) -> Router {
[INFO] [stdout]    |                                                                       ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use tonic::transport::server::Router;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope
[INFO] [stdout]   --> src/lib.rs:75:31
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub async fn health() -> impl IntoResponse {
[INFO] [stdout]    |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]   --> src/lib.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     StatusCode::OK
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 21 + use http::StatusCode;
[INFO] [stdout]    |
[INFO] [stdout] 21 + use reqwest::StatusCode;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Extension` in this scope
[INFO] [stdout]   --> src/lib.rs:79:24
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub async fn protected(Extension(token): Extension<KeycloakToken<String>>) -> Response {
[INFO] [stdout]    |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Extension` in this scope
[INFO] [stdout]   --> src/lib.rs:79:42
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub async fn protected(Extension(token): Extension<KeycloakToken<String>>) -> Response {
[INFO] [stdout]    |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/lib.rs:79:79
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub async fn protected(Extension(token): Extension<KeycloakToken<String>>) -> Response {
[INFO] [stdout]    |                                                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 21 + use http::Response;
[INFO] [stdout]    |
[INFO] [stdout] 21 + use reqwest::Response;
[INFO] [stdout]    |
[INFO] [stdout] 21 + use tonic::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]   --> src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         StatusCode::OK,
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 21 + use http::StatusCode;
[INFO] [stdout]    |
[INFO] [stdout] 21 + use reqwest::StatusCode;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `response` is private
[INFO] [stdout]    --> src/role.rs:96:27
[INFO] [stdout]     |
[INFO] [stdout]  96 |             return tonic::response::IntoResponse::into_response(err);
[INFO] [stdout]     |                           ^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:80:5
[INFO] [stdout]     |
[INFO] [stdout]  80 |     expect_role!(&token, "administrator");
[INFO] [stdout]     |     ------------------------------------- module `response` is not publicly re-exported
[INFO] [stdout]     |
[INFO] [stdout] note: the module `response` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tonic-0.13.1/src/lib.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | mod response;
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433, E0531, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 181) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tonic_keycloak_auth::extract::QueryParamTokenExtractor`
[INFO] [stdout]    --> src/lib.rs:188:41
[INFO] [stdout]     |
[INFO] [stdout] 188 |     extract::{AuthHeaderTokenExtractor, QueryParamTokenExtractor, TokenExtractor}
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         no `QueryParamTokenExtractor` in `extract`
[INFO] [stdout]     |                                         help: a similar name exists in the module: `AuthHeaderTokenExtractor`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 126) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `tonic::http`, `tonic::response::IntoResponse`, `tonic::Extension`
[INFO] [stdout]    --> src/lib.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | use tonic::{http::StatusCode, response::{Response, IntoResponse}, Extension};
[INFO] [stdout]     |             ^^^^                                   ^^^^^^^^^^^^   ^^^^^^^^^ no `Extension` in the root
[INFO] [stdout]     |             |                                      |
[INFO] [stdout]     |             could not find `http` in `tonic`       no `IntoResponse` in `response`
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 156 - use tonic::{http::StatusCode, response::{Response, IntoResponse}, Extension};
[INFO] [stdout] 156 + use tonic::{http::StatusCode, response::{Response, Response}, Extension};
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 156 | use tonic::{http::StatusCode, response::{Response, IntoResponse}, Extensions};
[INFO] [stdout]     |                                                                            +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `IntoResponse` in `response`
[INFO] [stdout]    --> src/lib.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 |     expect_role!(&token, Role::Administrator);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `IntoResponse` in `response`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `expect_role` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `response` is private
[INFO] [stdout]    --> src/lib.rs:156:31
[INFO] [stdout]     |
[INFO] [stdout] 156 | use tonic::{http::StatusCode, response::{Response, IntoResponse}, Extension};
[INFO] [stdout]     |                               ^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `response` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tonic-0.13.1/src/lib.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | mod response;
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `response` is private
[INFO] [stdout]    --> src/role.rs:96:27
[INFO] [stdout]     |
[INFO] [stdout]  96 |             return tonic::response::IntoResponse::into_response(err);
[INFO] [stdout]     |                           ^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 |     expect_role!(&token, Role::Administrator);
[INFO] [stdout]     |     ----------------------------------------- module `response` is not publicly re-exported
[INFO] [stdout]     |
[INFO] [stdout] note: the module `response` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tonic-0.13.1/src/lib.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | mod response;
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 126)
[INFO] [stdout]     src/lib.rs - (line 181)
[INFO] [stdout]     src/lib.rs - (line 19)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.75s; merged doctests compilation took 0.32s
[INFO] running `Command { std: "docker" "inspect" "ee592a4550d915e8e4defdda5124c71fe83ea56f98f56db1d57eb234952d2dd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee592a4550d915e8e4defdda5124c71fe83ea56f98f56db1d57eb234952d2dd2", kill_on_drop: false }`
[INFO] [stdout] ee592a4550d915e8e4defdda5124c71fe83ea56f98f56db1d57eb234952d2dd2
