[INFO] cloning repository https://github.com/giallojoe/secrets-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giallojoe/secrets-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiallojoe%2Fsecrets-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiallojoe%2Fsecrets-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c060758494e5c59e2c8913da8b035b072115c04f [INFO] checking giallojoe/secrets-manager/c060758494e5c59e2c8913da8b035b072115c04f against master#3c9faa0d037b9eecda4a440cc482ff7f960fb8a5 for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiallojoe%2Fsecrets-manager" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/giallojoe/secrets-manager [INFO] finished tweaking git repo https://github.com/giallojoe/secrets-manager [INFO] tweaked toml for git repo https://github.com/giallojoe/secrets-manager written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/giallojoe/secrets-manager on toolchain 3c9faa0d037b9eecda4a440cc482ff7f960fb8a5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3c9faa0d037b9eecda4a440cc482ff7f960fb8a5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/giallojoe/secrets-manager 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" "+3c9faa0d037b9eecda4a440cc482ff7f960fb8a5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded securestore v0.100.0 [INFO] [stderr] Downloaded aws-credential-types v1.1.8 [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded aws-smithy-async v1.2.0 [INFO] [stderr] Downloaded aws-types v1.1.8 [INFO] [stderr] Downloaded platform-dirs v0.3.0 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.7 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.2.0 [INFO] [stderr] Downloaded aws-smithy-http v0.60.7 [INFO] [stderr] Downloaded aws-sigv4 v1.2.0 [INFO] [stderr] Downloaded aws-runtime v1.1.8 [INFO] [stderr] Downloaded aws-sdk-sso v1.18.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.18.0 [INFO] [stderr] Downloaded aws-smithy-runtime v1.1.8 [INFO] [stderr] Downloaded aws-sdk-sts v1.18.0 [INFO] [stderr] Downloaded h2 v0.3.25 [INFO] [stderr] Downloaded aws-sdk-secretsmanager v1.20.1 [INFO] [stderr] Downloaded aws-config v1.1.9 [INFO] [stderr] Downloaded openssl-src v300.2.3+3.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3c9faa0d037b9eecda4a440cc482ff7f960fb8a5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 481a661b7fb928c2f4a08ada1326cda3f07d559c084c045ed3dc36e5fea543de [INFO] running `Command { std: "docker" "start" "-a" "481a661b7fb928c2f4a08ada1326cda3f07d559c084c045ed3dc36e5fea543de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "481a661b7fb928c2f4a08ada1326cda3f07d559c084c045ed3dc36e5fea543de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481a661b7fb928c2f4a08ada1326cda3f07d559c084c045ed3dc36e5fea543de", kill_on_drop: false }` [INFO] [stdout] 481a661b7fb928c2f4a08ada1326cda3f07d559c084c045ed3dc36e5fea543de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3c9faa0d037b9eecda4a440cc482ff7f960fb8a5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 799c4f951fe28be39e81f93689204979f795e2d1ac23df71ca953de75e5a72c7 [INFO] running `Command { std: "docker" "start" "-a" "799c4f951fe28be39e81f93689204979f795e2d1ac23df71ca953de75e5a72c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling aws-types v1.1.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking aws-smithy-xml v0.60.7 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking platform-dirs v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking aws-smithy-async v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking aws-smithy-types v1.1.8 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking aws-smithy-runtime-api v1.2.0 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking aws-credential-types v1.1.8 [INFO] [stderr] Checking aws-smithy-http v0.60.7 [INFO] [stderr] Checking aws-sigv4 v1.2.0 [INFO] [stderr] Checking aws-runtime v1.1.8 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-runtime v1.1.8 [INFO] [stderr] Checking aws-sdk-sso v1.18.0 [INFO] [stderr] Checking aws-sdk-sts v1.18.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.18.0 [INFO] [stderr] Checking aws-sdk-secretsmanager v1.20.1 [INFO] [stderr] Checking aws-config v1.1.9 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking securestore v0.100.0 [INFO] [stderr] Checking secrets-manager v1.0.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0560]: struct `config::Configuration` has no field named `cwd` [INFO] [stdout] --> src/config.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | cwd: PathBuf::from(cwd.as_ref()), [INFO] [stdout] | ^^^ `config::Configuration<_>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_values_for_cwd` found for struct `config::Configuration` in the current scope [INFO] [stdout] --> src/config.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | --------------------------- method `get_values_for_cwd` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 255 | let all_values = config.get_values_for_cwd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `config::Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | config.set("uri", "foo"); [INFO] [stdout] | --- ^^^^^ expected `KeyRef`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn set(&mut self, key: KeyRef, value: impl Into) -> Option { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `config::Configuration` in the current scope [INFO] [stdout] --> src/config.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | --------------------------- method `get_value` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 269 | let result = config.get_value("uri").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 269 - let result = config.get_value("uri").unwrap(); [INFO] [stdout] 269 + let result = config.get_all("uri").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `config::Configuration` in the current scope [INFO] [stdout] --> src/config.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | --------------------------- method `get_value` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 276 | assert_eq!(config.get_value("foo"), Some(&String::from("bar3"))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 276 - assert_eq!(config.get_value("foo"), Some(&String::from("bar3"))); [INFO] [stdout] 276 + assert_eq!(config.get_all("foo"), Some(&String::from("bar3"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `config::Configuration` in the current scope [INFO] [stdout] --> src/config.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | --------------------------- method `get_value` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 277 | assert_eq!(config.get_value("fem"), Some(&String::from("is_great"))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 277 - assert_eq!(config.get_value("fem"), Some(&String::from("is_great"))); [INFO] [stdout] 277 + assert_eq!(config.get_all("fem"), Some(&String::from("is_great"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_path` found for struct `config::Configuration` in the current scope [INFO] [stdout] --> src/config.rs:279:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | --------------------------- method `with_path` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 279 | let config = config.with_path("/foo"); [INFO] [stdout] | ^^^^^^^^^ method not found in `config::Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_value` found for struct `config::Configuration` in the current scope [INFO] [stdout] --> src/config.rs:289:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | --------------------------- method `remove_value` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 289 | let res = config.remove_value("foo").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove` with a similar name [INFO] [stdout] | [INFO] [stdout] 289 - let res = config.remove_value("foo").unwrap(); [INFO] [stdout] 289 + let res = config.remove("foo").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_value` found for struct `config::Configuration` in the current scope [INFO] [stdout] --> src/config.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Configuration { [INFO] [stdout] | --------------------------- method `get_value` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 291 | assert_eq!(config.get_value("foo"), Some(&String::from("bar2"))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 291 - assert_eq!(config.get_value("foo"), Some(&String::from("bar2"))); [INFO] [stdout] 291 + assert_eq!(config.get_all("foo"), Some(&String::from("bar2"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secrets-manager` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "799c4f951fe28be39e81f93689204979f795e2d1ac23df71ca953de75e5a72c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "799c4f951fe28be39e81f93689204979f795e2d1ac23df71ca953de75e5a72c7", kill_on_drop: false }` [INFO] [stdout] 799c4f951fe28be39e81f93689204979f795e2d1ac23df71ca953de75e5a72c7