[INFO] cloning repository https://github.com/fearlessfara/envie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fearlessfara/envie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffearlessfara%2Fenvie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffearlessfara%2Fenvie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07e9312649d87296d49a80113c64c2f98f492220 [INFO] checking fearlessfara/envie against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffearlessfara%2Fenvie" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fearlessfara/envie [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/fearlessfara/envie [INFO] tweaked toml for git repo https://github.com/fearlessfara/envie written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fearlessfara/envie on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fearlessfara/envie 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking fearlessfara/envie against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffearlessfara%2Fenvie" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fearlessfara/envie [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/fearlessfara/envie [INFO] tweaked toml for git repo https://github.com/fearlessfara/envie written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fearlessfara/envie on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fearlessfara/envie 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v4.5.47 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded terraform v0.1.0 [INFO] [stderr] Downloaded mockito v1.7.0 [INFO] [stderr] Downloaded serde_repr v0.1.20 [INFO] [stderr] Downloaded clap-num v1.2.0 [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded humantime v2.3.0 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded clap v4.5.48 [INFO] [stderr] Downloaded cc v1.2.40 [INFO] [stderr] Downloaded clap_builder v4.5.48 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded find-msvc-tools v0.1.3 [INFO] [stderr] Downloaded h2 v0.4.12 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded is-terminal v0.4.16 [INFO] [stderr] Downloaded unicode-width v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8c39a7b6816f7279d03ceb3bea51bacc40d377f0b4838207d7043ae7ffd8b7f [INFO] running `Command { std: "docker" "start" "-a" "a8c39a7b6816f7279d03ceb3bea51bacc40d377f0b4838207d7043ae7ffd8b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8c39a7b6816f7279d03ceb3bea51bacc40d377f0b4838207d7043ae7ffd8b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c39a7b6816f7279d03ceb3bea51bacc40d377f0b4838207d7043ae7ffd8b7f", kill_on_drop: false }` [INFO] [stdout] a8c39a7b6816f7279d03ceb3bea51bacc40d377f0b4838207d7043ae7ffd8b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9778d1860fe1ff98952fbdc27c83c539b74fb037a2cef7491c003eb207aaa634 [INFO] running `Command { std: "docker" "start" "-a" "9778d1860fe1ff98952fbdc27c83c539b74fb037a2cef7491c003eb207aaa634", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap-num v1.2.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking terraform v0.1.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking mockito v1.7.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking envie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use terraform::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `TerraformOutput` in the type namespace is first re-exported here [INFO] [stdout] 17 | pub use envie_terraform_manager::*; [INFO] [stdout] | -------------------------- but the name `TerraformOutput` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use terraform::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `TerraformState` in the type namespace is first re-exported here [INFO] [stdout] 17 | pub use envie_terraform_manager::*; [INFO] [stdout] | -------------------------- but the name `TerraformState` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use service_config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `StateManagement` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use unit_config::*; [INFO] [stdout] | -------------- but the name `StateManagement` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use service_config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `DependencyReference` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use unit_config::*; [INFO] [stdout] | -------------- but the name `DependencyReference` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use terraform_generator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the name `BackendConfig` in the type namespace is first re-exported here [INFO] [stdout] 21 | pub use terraform_scanner::*; [INFO] [stdout] 22 | pub use environment::*; [INFO] [stdout] | -------------- but the name `BackendConfig` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RemoteStateReference` in this scope [INFO] [stdout] --> src/common/terraform_generator.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | RemoteStateReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServiceRegistry` in this scope [INFO] [stdout] --> src/common/terraform_generator.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | ServiceRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `BackendConfig` is ambiguous [INFO] [stdout] --> src/common/environment.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | backend: BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `BackendConfig` could refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] note: `BackendConfig` could also refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `BackendConfig` is ambiguous [INFO] [stdout] --> src/common/environment.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | backend: BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `BackendConfig` could refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] note: `BackendConfig` could also refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `BackendConfig` is ambiguous [INFO] [stdout] --> src/common/environment.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | backend: BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `BackendConfig` could refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] note: `BackendConfig` could also refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `BackendConfig` is ambiguous [INFO] [stdout] --> src/common/environment.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | backend: BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `BackendConfig` could refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] note: `BackendConfig` could also refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/common/terraform_generator.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use terraform::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `TerraformOutput` in the type namespace is first re-exported here [INFO] [stdout] 17 | pub use envie_terraform_manager::*; [INFO] [stdout] | -------------------------- but the name `TerraformOutput` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use terraform::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `TerraformState` in the type namespace is first re-exported here [INFO] [stdout] 17 | pub use envie_terraform_manager::*; [INFO] [stdout] | -------------------------- but the name `TerraformState` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use service_config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `StateManagement` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use unit_config::*; [INFO] [stdout] | -------------- but the name `StateManagement` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use service_config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `DependencyReference` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use unit_config::*; [INFO] [stdout] | -------------- but the name `DependencyReference` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/common/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use terraform_generator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the name `BackendConfig` in the type namespace is first re-exported here [INFO] [stdout] 21 | pub use terraform_scanner::*; [INFO] [stdout] 22 | pub use environment::*; [INFO] [stdout] | -------------- but the name `BackendConfig` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge_outputs` found for struct `commands::output::OutputCommand` in the current scope [INFO] [stdout] --> src/commands/output.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct OutputCommand { [INFO] [stdout] | ------------------------ method `merge_outputs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 246 | output.merge_outputs(&mut combined, new); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `commands::output::OutputCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_stable_envs` [INFO] [stdout] --> src/commands/deploy.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let available_stable_envs: Vec = environment_config.stable.keys().cloned().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_stable_envs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorkspaceResolver` [INFO] [stdout] --> src/common/terraform_generator.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 371 | let workspace_resolver = WorkspaceResolver::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `WorkspaceResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/common/terraform_generator.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | let generated = generator.generate_remote_state_data_sources( [INFO] [stdout] | ___________________________________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 380 | | module_path, [INFO] [stdout] 381 | | &remote_states, [INFO] [stdout] 382 | | &workspace_resolver, [INFO] [stdout] 383 | | ).unwrap(); [INFO] [stdout] | |_________- three arguments of type `&std::collections::HashMap`, `&str`, and `&str` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/common/terraform_generator.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn generate_remote_state_data_sources( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | environment_overrides: &std::collections::HashMap, [INFO] [stdout] | ----------------------------------------------------------------- [INFO] [stdout] 48 | _service_name: &str, [INFO] [stdout] | ------------------- [INFO] [stdout] 49 | _module_name: &str, [INFO] [stdout] | ------------------ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 379 | let generated = generator.generate_remote_state_data_sources( [INFO] [stdout] ... [INFO] [stdout] 382 | &workspace_resolver, [INFO] [stdout] 383 ~ /* &std::collections::HashMap */, [INFO] [stdout] 384 + /* &str */, [INFO] [stdout] 385 + /* &str */, [INFO] [stdout] 386 ~ ).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `service_config::ModuleConfig` has no field named `remote_states` [INFO] [stdout] --> src/common/terraform_generator.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | remote_states: vec![], [INFO] [stdout] | ^^^^^^^^^^^^^ `service_config::ModuleConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `state_management` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `service_config::ModuleConfig` has no field named `variables` [INFO] [stdout] --> src/common/terraform_generator.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | variables, [INFO] [stdout] | ^^^^^^^^^ `service_config::ModuleConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `state_management` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_module_variables` found for struct `terraform_generator::TerraformGenerator` in the current scope [INFO] [stdout] --> src/common/terraform_generator.rs:408:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TerraformGenerator { [INFO] [stdout] | ----------------------------- method `generate_module_variables` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 408 | let generated = generator.generate_module_variables(&module_config).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `generate_locals_file` with a similar name, but with different arguments [INFO] [stdout] --> src/common/terraform_generator.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / pub fn generate_locals_file( [INFO] [stdout] 227 | | &self, [INFO] [stdout] 228 | | project_name: &str, [INFO] [stdout] 229 | | environment_id: &str, [INFO] [stdout] 230 | | unit_name: &str, [INFO] [stdout] 231 | | ) -> String { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/environment.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | backend: BackendConfig { [INFO] [stdout] | ______________________^ [INFO] [stdout] 238 | | backend_type: "s3".to_string(), [INFO] [stdout] 239 | | config: { [INFO] [stdout] 240 | | let mut config = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 244 | | }, [INFO] [stdout] 245 | | }, [INFO] [stdout] | |_____________^ expected `environment::BackendConfig`, found `terraform_generator::BackendConfig` [INFO] [stdout] | [INFO] [stdout] = note: `terraform_generator::BackendConfig` and `environment::BackendConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `terraform_generator::BackendConfig` is defined in module `crate::common::terraform_generator` of the current crate [INFO] [stdout] --> src/common/terraform_generator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `environment::BackendConfig` is defined in module `crate::common::environment` of the current crate [INFO] [stdout] --> src/common/environment.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/environment.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | backend: BackendConfig { [INFO] [stdout] | __________________________^ [INFO] [stdout] 253 | | backend_type: "s3".to_string(), [INFO] [stdout] 254 | | config: { [INFO] [stdout] 255 | | let mut config = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 259 | | }, [INFO] [stdout] 260 | | }, [INFO] [stdout] | |_________________^ expected `environment::BackendConfig`, found `terraform_generator::BackendConfig` [INFO] [stdout] | [INFO] [stdout] = note: `terraform_generator::BackendConfig` and `environment::BackendConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `terraform_generator::BackendConfig` is defined in module `crate::common::terraform_generator` of the current crate [INFO] [stdout] --> src/common/terraform_generator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `environment::BackendConfig` is defined in module `crate::common::environment` of the current crate [INFO] [stdout] --> src/common/environment.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `project` in initializer of `environment::EnvironmentConfig` [INFO] [stdout] --> src/common/environment.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | let environment_config = EnvironmentConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/environment.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | backend: BackendConfig { [INFO] [stdout] | __________________________^ [INFO] [stdout] 293 | | backend_type: "s3".to_string(), [INFO] [stdout] 294 | | config: HashMap::new(), [INFO] [stdout] 295 | | }, [INFO] [stdout] | |_________________^ expected `environment::BackendConfig`, found `terraform_generator::BackendConfig` [INFO] [stdout] | [INFO] [stdout] = note: `terraform_generator::BackendConfig` and `environment::BackendConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `terraform_generator::BackendConfig` is defined in module `crate::common::terraform_generator` of the current crate [INFO] [stdout] --> src/common/terraform_generator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `environment::BackendConfig` is defined in module `crate::common::environment` of the current crate [INFO] [stdout] --> src/common/environment.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `project` in initializer of `environment::EnvironmentConfig` [INFO] [stdout] --> src/common/environment.rs:289:34 [INFO] [stdout] | [INFO] [stdout] 289 | let environment_config = EnvironmentConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/environment.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | backend: BackendConfig { [INFO] [stdout] | ______________________^ [INFO] [stdout] 310 | | backend_type: "s3".to_string(), [INFO] [stdout] 311 | | config: HashMap::new(), [INFO] [stdout] 312 | | }, [INFO] [stdout] | |_____________^ expected `environment::BackendConfig`, found `terraform_generator::BackendConfig` [INFO] [stdout] | [INFO] [stdout] = note: `terraform_generator::BackendConfig` and `environment::BackendConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `terraform_generator::BackendConfig` is defined in module `crate::common::terraform_generator` of the current crate [INFO] [stdout] --> src/common/terraform_generator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `environment::BackendConfig` is defined in module `crate::common::environment` of the current crate [INFO] [stdout] --> src/common/environment.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/common/envie_terraform_manager.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | pub async fn apply_async(&self, vars: &[(&str, &str)], plan_file: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UnitConfig` has no field named `depends` [INFO] [stdout] --> src/common/disambiguation.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | depends: vec![], [INFO] [stdout] | ^^^^^^^ `UnitConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UnitConfig` has no field named `depends` [INFO] [stdout] --> src/common/disambiguation.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | depends: vec![], [INFO] [stdout] | ^^^^^^^ `UnitConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UnitConfig` has no field named `depends` [INFO] [stdout] --> src/common/disambiguation.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | depends: vec![], [INFO] [stdout] | ^^^^^^^ `UnitConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_path` [INFO] [stdout] --> src/common/terraform_generator.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | module_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_stable_envs` [INFO] [stdout] --> src/commands/deploy.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let available_stable_envs: Vec = environment_config.stable.keys().cloned().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_stable_envs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_state_key` is never used [INFO] [stdout] --> src/common/terraform_generator.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl TerraformGenerator { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | fn generate_state_key(&self, source: &str, _workspace: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/common/envie_terraform_manager.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | pub async fn apply_async(&self, vars: &[(&str, &str)], plan_file: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_path` [INFO] [stdout] --> src/common/terraform_generator.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | module_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `envie_terraform_manager::*` [INFO] [stdout] --> src/common/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use envie_terraform_manager::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terraform_scanner::*` [INFO] [stdout] --> src/common/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use terraform_scanner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/cli/handler.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/cli/handler.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RemoteStateReference` in this scope [INFO] [stdout] --> src/common/terraform_generator.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | RemoteStateReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServiceRegistry` in this scope [INFO] [stdout] --> src/common/terraform_generator.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | ServiceRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `BackendConfig` is ambiguous [INFO] [stdout] --> src/common/environment.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | backend: BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `BackendConfig` could refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] note: `BackendConfig` could also refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `BackendConfig` is ambiguous [INFO] [stdout] --> src/common/environment.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | backend: BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `BackendConfig` could refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] note: `BackendConfig` could also refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `BackendConfig` is ambiguous [INFO] [stdout] --> src/common/environment.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | backend: BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `BackendConfig` could refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] note: `BackendConfig` could also refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `BackendConfig` is ambiguous [INFO] [stdout] --> src/common/environment.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | backend: BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `BackendConfig` could refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] note: `BackendConfig` could also refer to the struct imported here [INFO] [stdout] --> src/common/environment.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `BackendConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/common/terraform_generator.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `envie_terraform_manager::*` [INFO] [stdout] --> src/common/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use envie_terraform_manager::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terraform_scanner::*` [INFO] [stdout] --> src/common/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use terraform_scanner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0422, E0433, E0560, E0599, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `envie` (lib test) due to 21 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `merge_outputs` found for struct `commands::output::OutputCommand` in the current scope [INFO] [stdout] --> src/commands/output.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct OutputCommand { [INFO] [stdout] | ------------------------ method `merge_outputs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 246 | output.merge_outputs(&mut combined, new); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `commands::output::OutputCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorkspaceResolver` [INFO] [stdout] --> src/common/terraform_generator.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 371 | let workspace_resolver = WorkspaceResolver::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `WorkspaceResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_stable_envs` [INFO] [stdout] --> src/commands/deploy.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let available_stable_envs: Vec = environment_config.stable.keys().cloned().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_stable_envs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/common/terraform_generator.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | let generated = generator.generate_remote_state_data_sources( [INFO] [stdout] | ___________________________________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 380 | | module_path, [INFO] [stdout] 381 | | &remote_states, [INFO] [stdout] 382 | | &workspace_resolver, [INFO] [stdout] 383 | | ).unwrap(); [INFO] [stdout] | |_________- three arguments of type `&std::collections::HashMap`, `&str`, and `&str` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/common/terraform_generator.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn generate_remote_state_data_sources( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | environment_overrides: &std::collections::HashMap, [INFO] [stdout] | ----------------------------------------------------------------- [INFO] [stdout] 48 | _service_name: &str, [INFO] [stdout] | ------------------- [INFO] [stdout] 49 | _module_name: &str, [INFO] [stdout] | ------------------ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 379 | let generated = generator.generate_remote_state_data_sources( [INFO] [stdout] ... [INFO] [stdout] 382 | &workspace_resolver, [INFO] [stdout] 383 ~ /* &std::collections::HashMap */, [INFO] [stdout] 384 + /* &str */, [INFO] [stdout] 385 + /* &str */, [INFO] [stdout] 386 ~ ).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `service_config::ModuleConfig` has no field named `remote_states` [INFO] [stdout] --> src/common/terraform_generator.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | remote_states: vec![], [INFO] [stdout] | ^^^^^^^^^^^^^ `service_config::ModuleConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `state_management` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `service_config::ModuleConfig` has no field named `variables` [INFO] [stdout] --> src/common/terraform_generator.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | variables, [INFO] [stdout] | ^^^^^^^^^ `service_config::ModuleConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `state_management` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_module_variables` found for struct `terraform_generator::TerraformGenerator` in the current scope [INFO] [stdout] --> src/common/terraform_generator.rs:408:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TerraformGenerator { [INFO] [stdout] | ----------------------------- method `generate_module_variables` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 408 | let generated = generator.generate_module_variables(&module_config).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `generate_locals_file` with a similar name, but with different arguments [INFO] [stdout] --> src/common/terraform_generator.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / pub fn generate_locals_file( [INFO] [stdout] 227 | | &self, [INFO] [stdout] 228 | | project_name: &str, [INFO] [stdout] 229 | | environment_id: &str, [INFO] [stdout] 230 | | unit_name: &str, [INFO] [stdout] 231 | | ) -> String { [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/environment.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | backend: BackendConfig { [INFO] [stdout] | ______________________^ [INFO] [stdout] 238 | | backend_type: "s3".to_string(), [INFO] [stdout] 239 | | config: { [INFO] [stdout] 240 | | let mut config = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 244 | | }, [INFO] [stdout] 245 | | }, [INFO] [stdout] | |_____________^ expected `environment::BackendConfig`, found `terraform_generator::BackendConfig` [INFO] [stdout] | [INFO] [stdout] = note: `terraform_generator::BackendConfig` and `environment::BackendConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `terraform_generator::BackendConfig` is defined in module `crate::common::terraform_generator` of the current crate [INFO] [stdout] --> src/common/terraform_generator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `environment::BackendConfig` is defined in module `crate::common::environment` of the current crate [INFO] [stdout] --> src/common/environment.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/environment.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | backend: BackendConfig { [INFO] [stdout] | __________________________^ [INFO] [stdout] 253 | | backend_type: "s3".to_string(), [INFO] [stdout] 254 | | config: { [INFO] [stdout] 255 | | let mut config = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 259 | | }, [INFO] [stdout] 260 | | }, [INFO] [stdout] | |_________________^ expected `environment::BackendConfig`, found `terraform_generator::BackendConfig` [INFO] [stdout] | [INFO] [stdout] = note: `terraform_generator::BackendConfig` and `environment::BackendConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `terraform_generator::BackendConfig` is defined in module `crate::common::terraform_generator` of the current crate [INFO] [stdout] --> src/common/terraform_generator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `environment::BackendConfig` is defined in module `crate::common::environment` of the current crate [INFO] [stdout] --> src/common/environment.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `project` in initializer of `environment::EnvironmentConfig` [INFO] [stdout] --> src/common/environment.rs:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | let environment_config = EnvironmentConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/environment.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | backend: BackendConfig { [INFO] [stdout] | __________________________^ [INFO] [stdout] 293 | | backend_type: "s3".to_string(), [INFO] [stdout] 294 | | config: HashMap::new(), [INFO] [stdout] 295 | | }, [INFO] [stdout] | |_________________^ expected `environment::BackendConfig`, found `terraform_generator::BackendConfig` [INFO] [stdout] | [INFO] [stdout] = note: `terraform_generator::BackendConfig` and `environment::BackendConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `terraform_generator::BackendConfig` is defined in module `crate::common::terraform_generator` of the current crate [INFO] [stdout] --> src/common/terraform_generator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `environment::BackendConfig` is defined in module `crate::common::environment` of the current crate [INFO] [stdout] --> src/common/environment.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `project` in initializer of `environment::EnvironmentConfig` [INFO] [stdout] --> src/common/environment.rs:289:34 [INFO] [stdout] | [INFO] [stdout] 289 | let environment_config = EnvironmentConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common/environment.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | backend: BackendConfig { [INFO] [stdout] | ______________________^ [INFO] [stdout] 310 | | backend_type: "s3".to_string(), [INFO] [stdout] 311 | | config: HashMap::new(), [INFO] [stdout] 312 | | }, [INFO] [stdout] | |_____________^ expected `environment::BackendConfig`, found `terraform_generator::BackendConfig` [INFO] [stdout] | [INFO] [stdout] = note: `terraform_generator::BackendConfig` and `environment::BackendConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `terraform_generator::BackendConfig` is defined in module `crate::common::terraform_generator` of the current crate [INFO] [stdout] --> src/common/terraform_generator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `environment::BackendConfig` is defined in module `crate::common::environment` of the current crate [INFO] [stdout] --> src/common/environment.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct BackendConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UnitConfig` has no field named `depends` [INFO] [stdout] --> src/common/disambiguation.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | depends: vec![], [INFO] [stdout] | ^^^^^^^ `UnitConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UnitConfig` has no field named `depends` [INFO] [stdout] --> src/common/disambiguation.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | depends: vec![], [INFO] [stdout] | ^^^^^^^ `UnitConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UnitConfig` has no field named `depends` [INFO] [stdout] --> src/common/disambiguation.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | depends: vec![], [INFO] [stdout] | ^^^^^^^ `UnitConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/common/envie_terraform_manager.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | pub async fn apply_async(&self, vars: &[(&str, &str)], plan_file: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_stable_envs` [INFO] [stdout] --> src/commands/deploy.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let available_stable_envs: Vec = environment_config.stable.keys().cloned().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_stable_envs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_path` [INFO] [stdout] --> src/common/terraform_generator.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | module_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/common/envie_terraform_manager.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | pub async fn apply_async(&self, vars: &[(&str, &str)], plan_file: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bucket_name` and `dynamodb_table` are never read [INFO] [stdout] --> src/common/backend_bootstrap.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 271 | pub struct BackendStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 274 | pub bucket_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 275 | pub dynamodb_table: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ConfigError` is never constructed [INFO] [stdout] --> src/common/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum EnvieError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | ConfigError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvieError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TerraformState` is never constructed [INFO] [stdout] --> src/common/terraform.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TerraformState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `output_value` is never used [INFO] [stdout] --> src/common/terraform.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl TerraformManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn output_value(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TerraformOutput` is never constructed [INFO] [stdout] --> src/common/envie_terraform_manager.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TerraformOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TerraformState` is never constructed [INFO] [stdout] --> src/common/envie_terraform_manager.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TerraformState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvieTerraformManager` is never constructed [INFO] [stdout] --> src/common/envie_terraform_manager.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct EnvieTerraformManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/common/envie_terraform_manager.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl EnvieTerraformManager { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 32 | pub fn new>(working_directory: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn with_verbose(mut self, verbose: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_binary>(mut self, binary_path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn init(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn init_with_upgrade(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn workspace_list(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn workspace_show(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn workspace_select(&self, workspace: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn workspace_new(&self, workspace: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn workspace_delete(&self, workspace: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn apply(&self, vars: &[(&str, &str)]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn apply_with_output(&self, vars: &[(&str, &str)], output_file: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn destroy(&self, vars: &[(&str, &str)]) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn output_json(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn output_value(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn run_command(&self, command: &str, args: &[&str], _quiet: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn run_command_capture(&self, command: &str, args: &[&str], _quiet: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub async fn init_async(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub async fn apply_async(&self, vars: &[(&str, &str)], plan_file: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub async fn destroy_async(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backend_config` is never read [INFO] [stdout] --> src/common/terraform_generator.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TerraformGenerator { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 7 | pub backend_config: BackendConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TerraformGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `backend_type` and `config` are never read [INFO] [stdout] --> src/common/terraform_generator.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BackendConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | pub backend_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | pub config: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_backend` and `generate_state_key` are never used [INFO] [stdout] --> src/common/terraform_generator.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl TerraformGenerator { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn with_backend(mut self, backend: BackendConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn generate_state_key(&self, source: &str, _workspace: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TerraformDependency` is never constructed [INFO] [stdout] --> src/common/terraform_scanner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TerraformDependency { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TerraformScanner` is never constructed [INFO] [stdout] --> src/common/terraform_scanner.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TerraformScanner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `scan_file`, `scan_content`, `scan_directory`, `parse_config_line`, and `extract_used_outputs` are never used [INFO] [stdout] --> src/common/terraform_scanner.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TerraformScanner { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn scan_file>(&self, file_path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn scan_content(&self, content: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn scan_directory>(&self, dir_path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn parse_config_line(&self, line: &str) -> Option<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn extract_used_outputs(&self, content: &str, data_source_name: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_backend_config` is never used [INFO] [stdout] --> src/common/environment.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl EnvironmentResolver { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn generate_backend_config(&self, resolved_env: &ResolvedEnvironment, service: &str, module: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_file` and `from_str` are never used [INFO] [stdout] --> src/common/environment.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl EnvironmentConfig { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 213 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn from_str(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alias` is never used [INFO] [stdout] --> src/common/unit_config.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl DependencyReference { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn alias(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_dedicated`, `is_parent`, `is_shared`, `is_group`, `shared_id`, and `group_id` are never used [INFO] [stdout] --> src/common/unit_config.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl StateManagement { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 161 | pub fn is_dedicated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn is_parent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn is_shared(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn is_group(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn shared_id(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn group_id(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_relative_path_to` is never used [INFO] [stdout] --> src/common/unit_config.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 207 | impl DiscoveredUnit { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_relative_path_to(&self, other: &DiscoveredUnit) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_units_by_pattern`, `is_ambiguous`, and `get_duplicate_names` are never used [INFO] [stdout] --> src/common/unit_config.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl UnitRegistry { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn find_units_by_pattern(&self, pattern: &str) -> Vec<&DiscoveredUnit> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn is_ambiguous(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn get_duplicate_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_units_by_name` and `get_dependency_graph` are never used [INFO] [stdout] --> src/common/unit_discovery.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl UnitDiscovery { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn find_units_by_name(&self, pattern: &str) -> Vec<&DiscoveredUnit> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_dependency_graph(&self, unit_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discover_units` is never used [INFO] [stdout] --> src/common/unit_discovery.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn discover_units(root_path: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_unit_with_prompt` is never used [INFO] [stdout] --> src/common/disambiguation.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn resolve_unit_with_prompt<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_path` [INFO] [stdout] --> src/common/terraform_generator.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | module_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/cli/handler.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/cli/handler.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0422, E0433, E0560, E0599, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `envie` (bin "envie" test) due to 21 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9778d1860fe1ff98952fbdc27c83c539b74fb037a2cef7491c003eb207aaa634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9778d1860fe1ff98952fbdc27c83c539b74fb037a2cef7491c003eb207aaa634", kill_on_drop: false }` [INFO] [stdout] 9778d1860fe1ff98952fbdc27c83c539b74fb037a2cef7491c003eb207aaa634