[INFO] fetching crate secrets-manager-macro 0.1.0... [INFO] testing secrets-manager-macro-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate secrets-manager-macro 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate secrets-manager-macro 0.1.0 [INFO] finished tweaking crates.io crate secrets-manager-macro 0.1.0 [INFO] tweaked toml for crates.io crate secrets-manager-macro 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secrets-manager-macro 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 168 packages to latest compatible versions [INFO] [stderr] Adding aws-config v0.54.1 (available: v1.8.0) [INFO] [stderr] Adding aws-sdk-secretsmanager v0.24.0 (available: v1.77.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-smithy-http-tower v0.54.4 [INFO] [stderr] Downloaded aws-smithy-async v0.54.4 [INFO] [stderr] Downloaded aws-smithy-http v0.54.4 [INFO] [stderr] Downloaded aws-types v0.54.1 [INFO] [stderr] Downloaded aws-smithy-query v0.54.4 [INFO] [stderr] Downloaded aws-endpoint v0.54.1 [INFO] [stderr] Downloaded aws-smithy-types v0.54.4 [INFO] [stderr] Downloaded aws-credential-types v0.54.1 [INFO] [stderr] Downloaded aws-smithy-json v0.54.4 [INFO] [stderr] Downloaded aws-sdk-sso v0.24.0 [INFO] [stderr] Downloaded aws-http v0.54.1 [INFO] [stderr] Downloaded aws-smithy-client v0.54.4 [INFO] [stderr] Downloaded aws-sdk-sts v0.24.0 [INFO] [stderr] Downloaded aws-config v0.54.1 [INFO] [stderr] Downloaded aws-sdk-secretsmanager v0.24.0 [INFO] [stderr] Downloaded aws-smithy-xml v0.54.4 [INFO] [stderr] Downloaded aws-sigv4 v0.54.2 [INFO] [stderr] Downloaded aws-sig-auth v0.54.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b72fe75ca4f43f4fcbd50f078f051312843883b3bf1948e9403013be9cda3e57 [INFO] running `Command { std: "docker" "start" "-a" "b72fe75ca4f43f4fcbd50f078f051312843883b3bf1948e9403013be9cda3e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b72fe75ca4f43f4fcbd50f078f051312843883b3bf1948e9403013be9cda3e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72fe75ca4f43f4fcbd50f078f051312843883b3bf1948e9403013be9cda3e57", kill_on_drop: false }` [INFO] [stdout] b72fe75ca4f43f4fcbd50f078f051312843883b3bf1948e9403013be9cda3e57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 30cc9a10a1a07af2b940a8c28e9f60117fee8a856ade20a644c2d41fbc5793ac [INFO] running `Command { std: "docker" "start" "-a" "30cc9a10a1a07af2b940a8c28e9f60117fee8a856ade20a644c2d41fbc5793ac", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling aws-smithy-xml v0.54.4 [INFO] [stderr] Compiling aws-types v0.54.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aws-smithy-types v0.54.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling aws-smithy-json v0.54.4 [INFO] [stderr] Compiling aws-smithy-query v0.54.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling aws-smithy-async v0.54.4 [INFO] [stderr] Compiling aws-credential-types v0.54.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling aws-smithy-http v0.54.4 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling aws-smithy-http-tower v0.54.4 [INFO] [stderr] Compiling aws-sigv4 v0.54.2 [INFO] [stderr] Compiling aws-smithy-client v0.54.4 [INFO] [stderr] Compiling aws-sig-auth v0.54.1 [INFO] [stderr] Compiling aws-endpoint v0.54.1 [INFO] [stderr] Compiling aws-http v0.54.1 [INFO] [stderr] Compiling aws-sdk-sso v0.24.0 [INFO] [stderr] Compiling aws-sdk-sts v0.24.0 [INFO] [stderr] Compiling aws-sdk-secretsmanager v0.24.0 [INFO] [stderr] Compiling aws-config v0.54.1 [INFO] [stderr] Compiling secrets-manager-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.07s [INFO] running `Command { std: "docker" "inspect" "30cc9a10a1a07af2b940a8c28e9f60117fee8a856ade20a644c2d41fbc5793ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30cc9a10a1a07af2b940a8c28e9f60117fee8a856ade20a644c2d41fbc5793ac", kill_on_drop: false }` [INFO] [stdout] 30cc9a10a1a07af2b940a8c28e9f60117fee8a856ade20a644c2d41fbc5793ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e7f703b8d36d7f34ca2ac346eb34e611297b141d1c7206af1ea5044a1db0fd37 [INFO] running `Command { std: "docker" "start" "-a" "e7f703b8d36d7f34ca2ac346eb34e611297b141d1c7206af1ea5044a1db0fd37", kill_on_drop: false }` [INFO] [stderr] Compiling secrets-manager-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "e7f703b8d36d7f34ca2ac346eb34e611297b141d1c7206af1ea5044a1db0fd37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f703b8d36d7f34ca2ac346eb34e611297b141d1c7206af1ea5044a1db0fd37", kill_on_drop: false }` [INFO] [stdout] e7f703b8d36d7f34ca2ac346eb34e611297b141d1c7206af1ea5044a1db0fd37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 078fca9ec286b1c6b9f276176d6fa328d12adf178249fc8324a0623040b165e0 [INFO] running `Command { std: "docker" "start" "-a" "078fca9ec286b1c6b9f276176d6fa328d12adf178249fc8324a0623040b165e0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/secrets_manager_macro-d19caa087e1eb02f) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test implementation::aws::tests::filter_secrets_list_should_find_secret_with_exact_name_when_no_envs ... ok [INFO] [stdout] test implementation::aws::tests::filter_secrets_list_should_find_secret_ignoring_prefixed_secret_that_looks_similar ... ok [INFO] [stdout] test implementation::aws::tests::filter_secrets_list_should_return_error_for_unknown_secret ... ok [INFO] [stdout] test implementation::aws::tests::filter_secrets_list_should_find_secret_with_given_prefixed_name ... ok [INFO] [stdout] test implementation::aws::tests::get_secret_value_should_return_empty_hashmap_when_no_secret_is_present ... ok [INFO] [stdout] test implementation::aws::tests::filter_secrets_list_should_return_error_when_there_are_no_secrets ... ok [INFO] [stdout] test implementation::output::tests::should_generate_ident_with_secret_string_suffix ... ok [INFO] [stdout] test implementation::transformations::tests::get_full_and_base_secret_should_by_fallback_to_first_secret ... ok [INFO] [stdout] test implementation::transformations::tests::validate_should_fail_when_no_envs_are_present_and_multiple_secrets ... ok [INFO] [stdout] test implementation::transformations::tests::lowercase_and_add_should_just_lowercase_name_when_addition_adds_nothing ... ok [INFO] [stdout] test implementation::transformations::tests::validate_should_fail_when_not_all_envs_are_present ... ok [INFO] [stdout] test implementation::transformations::tests::possible_base_names_should_create_alternative_secret_struct_names_and_add_to_the_original ... ok [INFO] [stdout] test implementation::aws::tests::get_secret_value_should_return_error_if_parsing_fails ... ok [INFO] [stdout] test implementation::transformations::tests::get_full_and_base_secret_should_get_an_env_when_dev_is_not_available ... ok [INFO] [stdout] test implementation::input::tests::get_environments_should_return_all_present_envs ... ok [INFO] [stdout] test implementation::transformations::tests::keys_as_ident_list_should_create_idents_from_keys_and_ignore_values ... ok [INFO] [stdout] test implementation::transformations::tests::get_full_and_base_secret_should_get_exact_match_and_identical_base_and_full ... ok [INFO] [stdout] test implementation::aws::tests::get_secret_value_should_return_secrets_as_hashmap ... ok [INFO] [stdout] test implementation::input::tests::get_environments_should_return_empty_when_for_empty_input ... ok [INFO] [stdout] test implementation::transformations::tests::lowercase_and_add_should_lowercase_and_add_given_value_before_capital_letter_except_first ... ok [INFO] [stdout] test implementation::transformations::tests::possible_base_names_should_create_alternative_secret_struct_names_and_filter_out_duplicates ... ok [INFO] [stdout] test implementation::transformations::tests::get_full_and_base_secret_should_fail_when_no_multiple_matches_for_none_env ... ok [INFO] [stdout] test implementation::transformations::tests::validate_should_fail_when_too_many_envs_are_present ... ok [INFO] [stdout] test implementation::transformations::tests::validate_should_work_when_all_envs_are_present_filtering_out_unknowns ... ok [INFO] [stderr] Doc-tests secrets_manager_macro [INFO] [stdout] test implementation::transformations::tests::validate_should_work_when_no_envs_are_present_and_one_secret ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] error: could not list secrets: failed to construct request [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 11 | struct SecretsManagerTestSecret {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretsManagerTestSecret` [INFO] [stdout] --> src/lib.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 13 | let secrets = SecretsManagerTestSecret::new().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SecretsManagerTestSecret` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lib.rs - (line 19) stdout ---- [INFO] [stdout] error: could not list secrets: failed to construct request [INFO] [stdout] --> src/lib.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 10 | struct NoPrefixSecret {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoPrefixSecret` in this scope [INFO] [stdout] --> src/lib.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] // (you can have other annotations in addition to build_secrets_struct) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoPrefixSecret` [INFO] [stdout] --> src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 12 | let secrets = NoPrefixSecret::new().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NoPrefixSecret` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "078fca9ec286b1c6b9f276176d6fa328d12adf178249fc8324a0623040b165e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "078fca9ec286b1c6b9f276176d6fa328d12adf178249fc8324a0623040b165e0", kill_on_drop: false }` [INFO] [stdout] 078fca9ec286b1c6b9f276176d6fa328d12adf178249fc8324a0623040b165e0