[INFO] fetching crate tiny_google_oidc 0.6.0... [INFO] testing tiny_google_oidc-0.6.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tiny_google_oidc 0.6.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate tiny_google_oidc 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tiny_google_oidc 0.6.0 [INFO] tweaked toml for crates.io crate tiny_google_oidc 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tiny_google_oidc 0.6.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tiny_google_oidc 0.6.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded matchit v0.8.4 [INFO] [stderr] Downloaded tempfile v3.19.0 [INFO] [stderr] Downloaded axum v0.8.3 [INFO] [stderr] Downloaded axum-extra v0.10.0 [INFO] [stderr] Downloaded backon v1.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fffe97ba7f1bff67e812d678ef0e4690efe888d8884381f98fe160856aba3d8b [INFO] running `Command { std: "docker" "start" "-a" "fffe97ba7f1bff67e812d678ef0e4690efe888d8884381f98fe160856aba3d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fffe97ba7f1bff67e812d678ef0e4690efe888d8884381f98fe160856aba3d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fffe97ba7f1bff67e812d678ef0e4690efe888d8884381f98fe160856aba3d8b", kill_on_drop: false }` [INFO] [stdout] fffe97ba7f1bff67e812d678ef0e4690efe888d8884381f98fe160856aba3d8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02801a25e5591c54b1cd5c29df180c24d1fa017fc84d6a6783705a6dbd5dc0a5 [INFO] running `Command { std: "docker" "start" "-a" "02801a25e5591c54b1cd5c29df180c24d1fa017fc84d6a6783705a6dbd5dc0a5", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling tiny_google_oidc v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.87s [INFO] running `Command { std: "docker" "inspect" "02801a25e5591c54b1cd5c29df180c24d1fa017fc84d6a6783705a6dbd5dc0a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02801a25e5591c54b1cd5c29df180c24d1fa017fc84d6a6783705a6dbd5dc0a5", kill_on_drop: false }` [INFO] [stdout] 02801a25e5591c54b1cd5c29df180c24d1fa017fc84d6a6783705a6dbd5dc0a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e9df4049db6ed40a832920370eb92dbc4ce3be2e96ffa34f4363950fb8e9c27 [INFO] running `Command { std: "docker" "start" "-a" "8e9df4049db6ed40a832920370eb92dbc4ce3be2e96ffa34f4363950fb8e9c27", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling backon v1.4.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling redis v0.29.5 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling tiny_google_oidc v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling axum-extra v0.10.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 44.62s [INFO] running `Command { std: "docker" "inspect" "8e9df4049db6ed40a832920370eb92dbc4ce3be2e96ffa34f4363950fb8e9c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9df4049db6ed40a832920370eb92dbc4ce3be2e96ffa34f4363950fb8e9c27", kill_on_drop: false }` [INFO] [stdout] 8e9df4049db6ed40a832920370eb92dbc4ce3be2e96ffa34f4363950fb8e9c27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 186ddc9a6d1af3bdbd5e22986564d0427d853da0ae4692847a6ef1f1ee07bd0b [INFO] running `Command { std: "docker" "start" "-a" "186ddc9a6d1af3bdbd5e22986564d0427d853da0ae4692847a6ef1f1ee07bd0b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tiny_google_oidc-84ad5712b8a89a9f) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test code::tests::test_code_req_into_url_scope_one ... ok [INFO] [stdout] test code::tests::test_code_req_into_url ... ok [INFO] [stdout] test code::tests::test_code_req_into_url_scope_none ... ok [INFO] [stdout] test code::tests::test_code_req_new_none_scope ... ok [INFO] [stdout] test code::tests::test_code_req_new_some_scope ... ok [INFO] [stdout] test code::tests::test_construct_uncheck_code_res_none_params ... ok [INFO] [stdout] test code::tests::test_construct_uncheck_code_res ... ok [INFO] [stdout] test id_token::tests::test_id_token_decode_invalid_base64 ... ok [INFO] [stdout] test config::tests::test_config_builder ... ok [INFO] [stdout] test config::tests::test_config_builder_default ... ok [INFO] [stdout] test config::tests::test_config_builder_method_chain ... ok [INFO] [stdout] test code::tests::test_code_req_offline ... ok [INFO] [stdout] test revoke_token::tests::test_revoke_req_new ... ok [INFO] [stdout] test id_token::tests::test_id_token_decode_invalid_json ... ok [INFO] [stdout] test refresh_token::tests::test_refresh_token_methods ... ok [INFO] [stdout] test refresh_token::tests::test_refresh_token_req_into_url ... ok [INFO] [stdout] test revoke_token::tests::test_revoke_req ... ok [INFO] [stdout] test csrf_token::tests::test_csrf_new ... ok [INFO] [stdout] test id_token::tests::test_id_token_response_getters ... ok [INFO] [stdout] test id_token::tests::test_access_token_value ... ok [INFO] [stdout] test id_token::tests::test_id_token_decode_success ... ok [INFO] [stdout] test id_token::tests::test_id_token_request_new ... ok [INFO] [stdout] test nonce::test::test_nonce_new ... ok [INFO] [stdout] test refresh_token::tests::test_refresh_token_res ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests tiny_google_oidc [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/config.rs - config (line 11) ... FAILED [INFO] [stdout] test src/code.rs - code (line 24) - compile ... FAILED [INFO] [stdout] test src/code.rs - code (line 40) - compile ... FAILED [INFO] [stdout] test src/config.rs - config::AuthEndPoint (line 171) ... FAILED [INFO] [stdout] test src/config.rs - config::RedirectURI (line 341) ... FAILED [INFO] [stdout] test src/code.rs - code::RawCodeResponse (line 207) - compile ... FAILED [INFO] [stdout] test src/code.rs - code::Code (line 73) - compile ... FAILED [INFO] [stdout] test src/code.rs - code::Code (line 83) - compile ... FAILED [INFO] [stdout] test src/code.rs - code::AdditionalScope (line 310) - compile ... FAILED [INFO] [stdout] test src/config.rs - config::ClientID (line 213) ... FAILED [INFO] [stdout] test src/config.rs - config::ClientSecret (line 256) ... FAILED [INFO] [stdout] test src/config.rs - config::TokenEndPoint (line 298) ... FAILED [INFO] [stdout] test src/easy.rs - easy::create_id_token_request (line 91) - compile ... FAILED [INFO] [stdout] test src/code.rs - code::CodeRequest (line 110) - compile ... FAILED [INFO] [stdout] test src/easy.rs - easy::generate_auth_redirect (line 50) - compile ... FAILED [INFO] [stdout] test src/nonce.rs - nonce::Nonce (line 28) - compile ... FAILED [INFO] [stdout] test src/config.rs - config::Config (line 39) ... ok [INFO] [stdout] test src/csrf_token.rs - csrf_token::CSRFToken (line 12) ... ok [INFO] [stdout] test src/config.rs - config::ConfigBuilder (line 92) ... ok [INFO] [stdout] test src/csrf_token.rs - csrf_token::CSRFToken::new (line 26) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tny_google_oidc` [INFO] [stdout] --> src/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tny_google_oidc::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tny_google_oidc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use tiny_google_oidc::config::Config; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code.rs - code (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/code.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use base64::engine::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CSRFToken` [INFO] [stdout] --> src/code.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 8 | let csrf_token = CSRFToken::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CSRFToken` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::csrf_token::CSRFToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nonce` [INFO] [stdout] --> src/code.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 9 | let nonce = Nonce::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Nonce` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::nonce::Nonce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdditionalScope` [INFO] [stdout] --> src/code.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 10 | let scope = AdditionalScope::Email; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AdditionalScope` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::AdditionalScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CodeRequest` [INFO] [stdout] --> src/code.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 12 | let request = CodeRequest::new(true, &config, scope, &csrf_token, &nonce); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CodeRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::CodeRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code.rs - code (line 40) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawCodeResponse` [INFO] [stdout] --> src/code.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 3 | let response = RawCodeResponse::new(req).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RawCodeResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::RawCodeResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `req` in this scope [INFO] [stdout] --> src/code.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 3 | let response = RawCodeResponse::new(req).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `store` in this scope [INFO] [stdout] --> src/code.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 5 | let csrf_token = store.get("csrf_token_key")?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::AuthEndPoint (line 171) stdout ---- [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/config.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(auth_endpoint, AuthEndPoint(endpoint_str.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct AuthEndPoint(pub(crate) String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use the `new` associated function [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(auth_endpoint, AuthEndPoint::new(endpoint_str.to_string())) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider using the `Default` trait [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(auth_endpoint, AuthEndPoint(endpoint_str.to_string())) [INFO] [stdout] 8 + assert_eq!(auth_endpoint, ::default()) [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(auth_endpoint, AuthEndPoint(endpoint_str.to_string())) [INFO] [stdout] 8 + assert_eq!(auth_endpoint, auth_endpoint(endpoint_str.to_string())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::RedirectURI (line 341) stdout ---- [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/config.rs:347:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(redirect_uri, RedirectURI(redirect_uri_str.to_string())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:349:24 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct RedirectURI(pub(crate) String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use the `new` associated function [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(redirect_uri, RedirectURI::new(redirect_uri_str.to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider using the `Default` trait [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(redirect_uri, RedirectURI(redirect_uri_str.to_string())); [INFO] [stdout] 9 + assert_eq!(redirect_uri, ::default()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code.rs - code::RawCodeResponse (line 207) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawCodeResponse` [INFO] [stdout] --> src/code.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 3 | let response = RawCodeResponse::new(req).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RawCodeResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::RawCodeResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `req` in this scope [INFO] [stdout] --> src/code.rs:208:37 [INFO] [stdout] | [INFO] [stdout] 3 | let response = RawCodeResponse::new(req).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `store` in this scope [INFO] [stdout] --> src/code.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 4 | let csrf_token = store.get("csrf_token_key")?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code.rs - code::Code (line 73) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Code` in this scope [INFO] [stdout] --> src/code.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 3 | let code: Code = Code::new_with_verify_csrf(res, stored_csrf_token)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::Code; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Code` [INFO] [stdout] --> src/code.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 3 | let code: Code = Code::new_with_verify_csrf(res, stored_csrf_token)?; [INFO] [stdout] | ^^^^ use of undeclared type `Code` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::Code; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `res` in this scope [INFO] [stdout] --> src/code.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 3 | let code: Code = Code::new_with_verify_csrf(res, stored_csrf_token)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stored_csrf_token` in this scope [INFO] [stdout] --> src/code.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 3 | let code: Code = Code::new_with_verify_csrf(res, stored_csrf_token)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDTokenRequest` [INFO] [stdout] --> src/code.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 4 | let id_token_req = IDTokenRequest::new(&config, code); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IDTokenRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::id_token::IDTokenRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/code.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 4 | let id_token_req = IDTokenRequest::new(&config, code); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code.rs - code::Code (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawCodeResponse` [INFO] [stdout] --> src/code.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 3 | let response = RawCodeResponse::new(req).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RawCodeResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::RawCodeResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `req` in this scope [INFO] [stdout] --> src/code.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 3 | let response = RawCodeResponse::new(req).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `store` in this scope [INFO] [stdout] --> src/code.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 4 | let csrf_token = store.get("csrf_token_key")?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code.rs - code::AdditionalScope (line 310) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::code` [INFO] [stdout] --> src/code.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::code::AdditionalScope; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `tiny_google_oidc::code` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CodeRequest` [INFO] [stdout] --> src/code.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 6 | let request = CodeRequest::new(true, &config, additional_scopes, &csrf_token, &nonce); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CodeRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::CodeRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/code.rs:314:39 [INFO] [stdout] | [INFO] [stdout] 6 | let request = CodeRequest::new(true, &config, additional_scopes, &csrf_token, &nonce); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `csrf_token` in this scope [INFO] [stdout] --> src/code.rs:314:67 [INFO] [stdout] | [INFO] [stdout] 6 | let request = CodeRequest::new(true, &config, additional_scopes, &csrf_token, &nonce); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope [INFO] [stdout] --> src/code.rs:314:80 [INFO] [stdout] | [INFO] [stdout] 6 | let request = CodeRequest::new(true, &config, additional_scopes, &csrf_token, &nonce); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::ClientID (line 213) stdout ---- [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/config.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(client_id, ClientID(client_id_str.to_string())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct ClientID(pub(crate) String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use the `new` associated function [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(client_id, ClientID::new(client_id_str.to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider using the `Default` trait [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(client_id, ClientID(client_id_str.to_string())); [INFO] [stdout] 9 + assert_eq!(client_id, ::default()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::ClientSecret (line 256) stdout ---- [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/config.rs:262:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(client_secret, ClientSecret(secret_str.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct ClientSecret(pub(crate) String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use the `new` associated function [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(client_secret, ClientSecret::new(secret_str.to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider using the `Default` trait [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(client_secret, ClientSecret(secret_str.to_string())); [INFO] [stdout] 9 + assert_eq!(client_secret, ::default()); [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(client_secret, ClientSecret(secret_str.to_string())); [INFO] [stdout] 9 + assert_eq!(client_secret, client_secret(secret_str.to_string())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::TokenEndPoint (line 298) stdout ---- [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/config.rs:304:28 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(token_endpoint, TokenEndPoint(token_endpoint_str.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:306:26 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct TokenEndPoint(pub(crate) String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] help: you might have meant to use the `new` associated function [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(token_endpoint, TokenEndPoint::new(token_endpoint_str.to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider using the `Default` trait [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(token_endpoint, TokenEndPoint(token_endpoint_str.to_string())); [INFO] [stdout] 9 + assert_eq!(token_endpoint, ::default()); [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(token_endpoint, TokenEndPoint(token_endpoint_str.to_string())); [INFO] [stdout] 9 + assert_eq!(token_endpoint, token_endpoint(token_endpoint_str.to_string())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/easy.rs - easy::create_id_token_request (line 91) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Config` in this scope [INFO] [stdout] --> src/easy.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 3 | fn callback_handler(config: &Config, stored_csrf_token: &str, req: Request) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use base64::engine::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/easy.rs:92:68 [INFO] [stdout] | [INFO] [stdout] 3 | fn callback_handler(config: &Config, stored_csrf_token: &str, req: Request) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use axum::extract::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use http::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::Request; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/easy.rs:92:91 [INFO] [stdout] | [INFO] [stdout] 3 | fn callback_handler(config: &Config, stored_csrf_token: &str, req: Request) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 19 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_id_token_request` in this scope [INFO] [stdout] --> src/easy.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 5 | let id_token_req = create_id_token_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::create_id_token_request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/code.rs - code::CodeRequest (line 110) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/code.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use base64::engine::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CSRFToken` [INFO] [stdout] --> src/code.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 8 | let csrf_token = CSRFToken::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CSRFToken` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::csrf_token::CSRFToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nonce` [INFO] [stdout] --> src/code.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 9 | let nonce = Nonce::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Nonce` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::nonce::Nonce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdditionalScope` [INFO] [stdout] --> src/code.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 10 | let scope = AdditionalScope::Email; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AdditionalScope` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::AdditionalScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CodeRequest` [INFO] [stdout] --> src/code.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 12 | let request = CodeRequest::new(AccessType::Online, &config, scope, &csrf_token, &nonce); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CodeRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::CodeRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccessType` [INFO] [stdout] --> src/code.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 12 | let request = CodeRequest::new(AccessType::Online, &config, scope, &csrf_token, &nonce); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AccessType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::AccessType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/easy.rs - easy::generate_auth_redirect (line 50) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `generate_auth_redirect` in this scope [INFO] [stdout] --> src/easy.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 3 | let (csrf_token, nonce, uri) = generate_auth_redirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::generate_auth_redirect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/easy.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 4 | &config, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccessType` [INFO] [stdout] --> src/easy.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 5 | AccessType::Offline, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AccessType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::AccessType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdditionalScope` [INFO] [stdout] --> src/easy.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 6 | AdditionalScope::Both [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AdditionalScope` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tiny_google_oidc::code::AdditionalScope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/nonce.rs - nonce::Nonce (line 28) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::nonce` [INFO] [stdout] --> src/nonce.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::nonce::Nonce; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `tiny_google_oidc::nonce` [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] [INFO] [stdout] failures: [INFO] [stdout] src/code.rs - code (line 24) [INFO] [stdout] src/code.rs - code (line 40) [INFO] [stdout] src/code.rs - code::AdditionalScope (line 310) [INFO] [stdout] src/code.rs - code::Code (line 73) [INFO] [stdout] src/code.rs - code::Code (line 83) [INFO] [stdout] src/code.rs - code::CodeRequest (line 110) [INFO] [stdout] src/code.rs - code::RawCodeResponse (line 207) [INFO] [stdout] src/config.rs - config (line 11) [INFO] [stdout] src/config.rs - config::AuthEndPoint (line 171) [INFO] [stdout] src/config.rs - config::ClientID (line 213) [INFO] [stdout] src/config.rs - config::ClientSecret (line 256) [INFO] [stdout] src/config.rs - config::RedirectURI (line 341) [INFO] [stdout] src/config.rs - config::TokenEndPoint (line 298) [INFO] [stdout] src/easy.rs - easy::create_id_token_request (line 91) [INFO] [stdout] src/easy.rs - easy::generate_auth_redirect (line 50) [INFO] [stdout] src/nonce.rs - nonce::Nonce (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.37s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.82s; merged doctests compilation took 0.44s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "186ddc9a6d1af3bdbd5e22986564d0427d853da0ae4692847a6ef1f1ee07bd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "186ddc9a6d1af3bdbd5e22986564d0427d853da0ae4692847a6ef1f1ee07bd0b", kill_on_drop: false }` [INFO] [stdout] 186ddc9a6d1af3bdbd5e22986564d0427d853da0ae4692847a6ef1f1ee07bd0b