[INFO] fetching crate gcp-sa 0.1.2... [INFO] testing gcp-sa-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate gcp-sa 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate gcp-sa 0.1.2 [INFO] finished tweaking crates.io crate gcp-sa 0.1.2 [INFO] tweaked toml for crates.io crate gcp-sa 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gcp-sa 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 159 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dd1702c740b948407a96e09cd626f22a29a1d420217ee366f1041ca27189b36 [INFO] running `Command { std: "docker" "start" "-a" "4dd1702c740b948407a96e09cd626f22a29a1d420217ee366f1041ca27189b36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dd1702c740b948407a96e09cd626f22a29a1d420217ee366f1041ca27189b36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dd1702c740b948407a96e09cd626f22a29a1d420217ee366f1041ca27189b36", kill_on_drop: false }` [INFO] [stdout] 4dd1702c740b948407a96e09cd626f22a29a1d420217ee366f1041ca27189b36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae2455c91aadb48d2544fb65d12c99165534c1cc7eef454b0267ac2d5c599cac [INFO] running `Command { std: "docker" "start" "-a" "ae2455c91aadb48d2544fb65d12c99165534c1cc7eef454b0267ac2d5c599cac", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling frank_jwt v3.1.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling gcp-sa v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct ServiceAccountKey { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 42 | r#type: ServiceAccountKeyType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | private_key_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | auth_uri: Url, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | token_uri: Url, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | auth_provider_x509_cert_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | client_x509_cert_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceAccountKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/error.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct GoogleJWTError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 29 | error: GoogleJWTErrorType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleJWTError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "ae2455c91aadb48d2544fb65d12c99165534c1cc7eef454b0267ac2d5c599cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae2455c91aadb48d2544fb65d12c99165534c1cc7eef454b0267ac2d5c599cac", kill_on_drop: false }` [INFO] [stdout] ae2455c91aadb48d2544fb65d12c99165534c1cc7eef454b0267ac2d5c599cac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2950e8205b52e92fc1c2365ace5972269b216aee5988f548ab51a005451ab441 [INFO] running `Command { std: "docker" "start" "-a" "2950e8205b52e92fc1c2365ace5972269b216aee5988f548ab51a005451ab441", kill_on_drop: false }` [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct ServiceAccountKey { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 42 | r#type: ServiceAccountKeyType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | private_key_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | auth_uri: Url, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | token_uri: Url, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | auth_provider_x509_cert_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | client_x509_cert_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceAccountKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/error.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct GoogleJWTError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 29 | error: GoogleJWTErrorType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleJWTError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gcp-sa v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct ServiceAccountKey { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 42 | r#type: ServiceAccountKeyType, [INFO] [stdout] 43 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | private_key_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | auth_uri: Url, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | token_uri: Url, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | auth_provider_x509_cert_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | client_x509_cert_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceAccountKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "2950e8205b52e92fc1c2365ace5972269b216aee5988f548ab51a005451ab441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2950e8205b52e92fc1c2365ace5972269b216aee5988f548ab51a005451ab441", kill_on_drop: false }` [INFO] [stdout] 2950e8205b52e92fc1c2365ace5972269b216aee5988f548ab51a005451ab441 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21271f900a312b62a86035c02a7b43be0ab86ec7a01e769e12fbcefc04cf8ee1 [INFO] running `Command { std: "docker" "start" "-a" "21271f900a312b62a86035c02a7b43be0ab86ec7a01e769e12fbcefc04cf8ee1", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/lib.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 41 | struct ServiceAccountKey { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 42 | r#type: ServiceAccountKeyType, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 43 | project_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 44 | private_key_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | client_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 48 | auth_uri: Url, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 49 | token_uri: Url, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 50 | auth_provider_x509_cert_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 51 | client_x509_cert_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceAccountKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `error` is never read [INFO] [stderr] --> src/error.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct GoogleJWTError { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 29 | error: GoogleJWTErrorType, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GoogleJWTError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/lib.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 41 | struct ServiceAccountKey { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 42 | r#type: ServiceAccountKeyType, [INFO] [stderr] 43 | project_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 44 | private_key_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | client_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 48 | auth_uri: Url, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 49 | token_uri: Url, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 50 | auth_provider_x509_cert_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 51 | client_x509_cert_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceAccountKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gcp-sa` (lib) generated 2 warnings [INFO] [stderr] warning: `gcp-sa` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gcp_sa-84040b4c1cb0c042) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test error::tests::test_accessdenied_from_json ... ok [INFO] [stdout] test tests::new_service_account_from_key ... ok [INFO] [stdout] test error::tests::test_accessdenied ... ok [INFO] [stdout] test tests::create_token ... ok [INFO] [stderr] Doc-tests gcp_sa [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GoogleServiceAccountAuthenticator` [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 3 | let authenticator = GoogleServiceAccountAuthenticator::new_from_service_account_key_file(std::path::Path("key.json".to_string())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `GoogleServiceAccountAuthenticator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gcp_sa::GoogleServiceAccountAuthenticator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `std::path::Path` [INFO] [stdout] --> src/lib.rs:13:90 [INFO] [stdout] | [INFO] [stdout] 3 | let authenticator = GoogleServiceAccountAuthenticator::new_from_service_account_key_file(std::path::Path("key.json".to_string())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/path.rs:2180:1 [INFO] [stdout] | [INFO] [stdout] = note: `std::path::Path` defined here [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:14:87 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 3 | let authenticator = GoogleServiceAccountAuthenticator::new_from_service_account_key_file(std::path::Path("key.json".to_string())).unwrap(); [INFO] [stdout] 4 | let id_token = authenticator.request_id_token("http://some.url.tld/scope-definition").await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21271f900a312b62a86035c02a7b43be0ab86ec7a01e769e12fbcefc04cf8ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21271f900a312b62a86035c02a7b43be0ab86ec7a01e769e12fbcefc04cf8ee1", kill_on_drop: false }` [INFO] [stdout] 21271f900a312b62a86035c02a7b43be0ab86ec7a01e769e12fbcefc04cf8ee1