[INFO] fetching crate smart-config-commands 0.3.0-pre... [INFO] testing smart-config-commands-0.3.0-pre against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate smart-config-commands 0.3.0-pre into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate smart-config-commands 0.3.0-pre [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate smart-config-commands 0.3.0-pre [INFO] tweaked toml for crates.io crate smart-config-commands 0.3.0-pre written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate smart-config-commands 0.3.0-pre on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate smart-config-commands 0.3.0-pre 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1b41d304ce1a790b2a878c12927d5cd60cecb297a7c5a0e763d1fa8559eb058 [INFO] running `Command { std: "docker" "start" "-a" "e1b41d304ce1a790b2a878c12927d5cd60cecb297a7c5a0e763d1fa8559eb058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1b41d304ce1a790b2a878c12927d5cd60cecb297a7c5a0e763d1fa8559eb058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b41d304ce1a790b2a878c12927d5cd60cecb297a7c5a0e763d1fa8559eb058", kill_on_drop: false }` [INFO] [stdout] e1b41d304ce1a790b2a878c12927d5cd60cecb297a7c5a0e763d1fa8559eb058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bd1981af2af1d752beb462550c1786321014685759b9d54344c6f32e765ddd7 [INFO] running `Command { std: "docker" "start" "-a" "0bd1981af2af1d752beb462550c1786321014685759b9d54344c6f32e765ddd7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling compile-fmt v0.1.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling smart-config-derive v0.3.0-pre [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling smart-config v0.3.0-pre [INFO] [stderr] Compiling smart-config-commands v0.3.0-pre (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.55s [INFO] running `Command { std: "docker" "inspect" "0bd1981af2af1d752beb462550c1786321014685759b9d54344c6f32e765ddd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd1981af2af1d752beb462550c1786321014685759b9d54344c6f32e765ddd7", kill_on_drop: false }` [INFO] [stdout] 0bd1981af2af1d752beb462550c1786321014685759b9d54344c6f32e765ddd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66453651fd39fa9397fe580e9078c494773611c9a5f419bcc6c68a60a7a6fc90 [INFO] running `Command { std: "docker" "start" "-a" "66453651fd39fa9397fe580e9078c494773611c9a5f419bcc6c68a60a7a6fc90", kill_on_drop: false }` [INFO] [stderr] Compiling smart-config-commands v0.3.0-pre (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `version_sync` [INFO] [stdout] --> tests/version_match.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use version_sync::{assert_html_root_url_updated, assert_markdown_deps_updated}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `version_sync` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `version_sync`, use `cargo add version_sync` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> tests/integration/main.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / fn printing_config_example_yaml(format: Format, diff: bool) { [INFO] [stdout] 127 | | let example_config = TestConfig::example_config(); [INFO] [stdout] 128 | | let options = if diff { [INFO] [stdout] 129 | | SerializerOptions::diff_with_default() [INFO] [stdout] ... | [INFO] [stdout] 158 | | insta::assert_snapshot!(snapshot_name, buffer); [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smart-config-commands` (test "version_match") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `test_casing` [INFO] [stdout] --> tests/integration/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use test_casing::{test_casing, Product}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_casing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_casing`, use `cargo add test_casing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> tests/integration/configs.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use primitive_types::{H160 as Address, H256, U256}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `primitive_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `primitive_types`, use `cargo add primitive_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/integration/configs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `insta` [INFO] [stdout] --> tests/integration/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | insta::assert_snapshot!("help_full", buffer); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `insta` [INFO] [stdout] --> tests/integration/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | insta::assert_snapshot!("help_filtered", buffer); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `insta` [INFO] [stdout] --> tests/integration/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | insta::assert_snapshot!("help_embedded_enum", buffer); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `insta` [INFO] [stdout] --> tests/integration/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | insta::assert_snapshot!("debug_full", buffer); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `insta` [INFO] [stdout] --> tests/integration/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | insta::assert_snapshot!("debug_errors", buffer); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `insta` [INFO] [stdout] --> tests/integration/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | insta::assert_snapshot!(snapshot_name, buffer); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `insta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/integration/configs.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/integration/configs.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/integration/configs.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | #[serde(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 108 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 109 | pub(crate) struct SecretKey(pub H256); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexParam: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/integration/configs.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | type Deserializer = de::Serde![object]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `ComplexParam` [INFO] [stdout] --> tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `smart_config::de::WellKnown::Deserializer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/param.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | type Deserializer: DeserializeParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `WellKnown::Deserializer` [INFO] [stdout] = note: this error originates in the macro `de::Serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/cli/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{Parser, ValueEnum}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use primitive_types::{H160 as Address, H256, U256}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `primitive_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `primitive_types`, use `cargo add primitive_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> ComplexParam: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/integration/configs.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | type Deserializer = de::Serde![object]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `ComplexParam` [INFO] [stdout] --> tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 146 others [INFO] [stdout] = note: required for `ComplexParam` to implement `serde::de::DeserializeOwned` [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `smart_config::de::WellKnown::Deserializer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/param.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | type Deserializer: DeserializeParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `WellKnown::Deserializer` [INFO] [stdout] = note: this error originates in the macro `de::Serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | #[serde(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 108 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 109 | pub(crate) struct SecretKey(pub H256); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/cli/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[arg(long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/cli/main.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[arg(long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/cli/main.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[arg(long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> examples/cli/main.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[arg(long, value_enum, default_value_t = SerializationFormat::Yaml)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexParam: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | type Deserializer = de::Serde![object]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `ComplexParam` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `smart_config::de::WellKnown::Deserializer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/param.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | type Deserializer: DeserializeParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `WellKnown::Deserializer` [INFO] [stdout] = note: this error originates in the macro `de::Serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> ComplexParam: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | type Deserializer = de::Serde![object]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `ComplexParam` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 146 others [INFO] [stdout] = note: required for `ComplexParam` to implement `serde::de::DeserializeOwned` [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `smart_config::de::WellKnown::Deserializer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/param.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | type Deserializer: DeserializeParam; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `WellKnown::Deserializer` [INFO] [stdout] = note: this error originates in the macro `de::Serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexParam: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/integration/configs.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub complex: ComplexParam, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `ComplexParam` [INFO] [stdout] --> tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `WithDefault>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `extract_expected_types` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/_private.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn extract_expected_types>(_: &De) -> BasicTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `extract_expected_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> ComplexParam: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/integration/configs.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub complex: ComplexParam, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `ComplexParam` [INFO] [stdout] --> tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 146 others [INFO] [stdout] = note: required for `ComplexParam` to implement `serde::de::DeserializeOwned` [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `WithDefault>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `extract_expected_types` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/_private.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn extract_expected_types>(_: &De) -> BasicTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `extract_expected_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexParam: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/integration/configs.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, PartialEq, DescribeConfig, DeserializeConfig, ExampleConfig)] [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 71 | pub complex: ComplexParam, [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `ComplexParam` [INFO] [stdout] --> tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `WithDefault::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/param.rs:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | impl> WithDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `WithDefault::::new` [INFO] [stdout] 438 | /// Creates a new instance. [INFO] [stdout] 439 | pub const fn new(inner: De, default: fn() -> T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> ComplexParam: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/integration/configs.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, PartialEq, DescribeConfig, DeserializeConfig, ExampleConfig)] [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 71 | pub complex: ComplexParam, [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `ComplexParam` [INFO] [stdout] --> tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 146 others [INFO] [stdout] = note: required for `ComplexParam` to implement `serde::de::DeserializeOwned` [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `WithDefault::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/param.rs:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | impl> WithDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `WithDefault::::new` [INFO] [stdout] 438 | /// Creates a new instance. [INFO] [stdout] 439 | pub const fn new(inner: De, default: fn() -> T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexParam: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub complex: ComplexParam, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `ComplexParam` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `WithDefault>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `extract_expected_types` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/_private.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn extract_expected_types>(_: &De) -> BasicTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `extract_expected_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> ComplexParam: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub complex: ComplexParam, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `ComplexParam` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 146 others [INFO] [stdout] = note: required for `ComplexParam` to implement `serde::de::DeserializeOwned` [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `WithDefault>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `extract_expected_types` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/_private.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn extract_expected_types>(_: &De) -> BasicTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `extract_expected_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SecretKey: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/integration/configs.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub secret_key: Option, [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `SecretKey` [INFO] [stdout] --> tests/integration/configs.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) struct SecretKey(pub H256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `SecretKey` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `Serde<8>` to implement `DeserializeParam` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `smart_config::de::Secret>>` to implement `DeserializeParam>` [INFO] [stdout] note: required by a bound in `extract_expected_types` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/_private.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn extract_expected_types>(_: &De) -> BasicTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `extract_expected_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexParam: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, PartialEq, DescribeConfig, DeserializeConfig, ExampleConfig)] [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 71 | pub complex: ComplexParam, [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `ComplexParam` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `WithDefault::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/param.rs:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | impl> WithDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `WithDefault::::new` [INFO] [stdout] 438 | /// Creates a new instance. [INFO] [stdout] 439 | pub const fn new(inner: De, default: fn() -> T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> SecretKey: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/integration/configs.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub secret_key: Option, [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `SecretKey` [INFO] [stdout] --> tests/integration/configs.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) struct SecretKey(pub H256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `SecretKey` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 146 others [INFO] [stdout] = note: required for `SecretKey` to implement `serde::de::DeserializeOwned` [INFO] [stdout] = note: required for `Serde<8>` to implement `DeserializeParam` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `smart_config::de::Secret>>` to implement `DeserializeParam>` [INFO] [stdout] note: required by a bound in `extract_expected_types` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/_private.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn extract_expected_types>(_: &De) -> BasicTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `extract_expected_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> ComplexParam: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, PartialEq, DescribeConfig, DeserializeConfig, ExampleConfig)] [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 71 | pub complex: ComplexParam, [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `ComplexParam` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) struct ComplexParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `ComplexParam` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 146 others [INFO] [stdout] = note: required for `ComplexParam` to implement `serde::de::DeserializeOwned` [INFO] [stdout] = note: required for `Serde<32>` to implement `DeserializeParam` [INFO] [stdout] note: required by a bound in `WithDefault::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/param.rs:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | impl> WithDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `WithDefault::::new` [INFO] [stdout] 438 | /// Creates a new instance. [INFO] [stdout] 439 | pub const fn new(inner: De, default: fn() -> T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SecretKey: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub secret_key: Option, [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `SecretKey` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) struct SecretKey(pub H256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `SecretKey` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `Serde<8>` to implement `DeserializeParam` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `smart_config::de::Secret>>` to implement `DeserializeParam>` [INFO] [stdout] note: required by a bound in `extract_expected_types` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/_private.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn extract_expected_types>(_: &De) -> BasicTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `extract_expected_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> SecretKey: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub secret_key: Option, [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `SecretKey` [INFO] [stdout] --> examples/cli/../../tests/integration/configs.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) struct SecretKey(pub H256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `SecretKey` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 146 others [INFO] [stdout] = note: required for `SecretKey` to implement `serde::de::DeserializeOwned` [INFO] [stdout] = note: required for `Serde<8>` to implement `DeserializeParam` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `smart_config::de::Secret>>` to implement `DeserializeParam>` [INFO] [stdout] note: required by a bound in `extract_expected_types` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-config-0.3.0-pre/src/de/_private.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn extract_expected_types>(_: &De) -> BasicTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `extract_expected_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `parse` found for enum `Cli` in the current scope [INFO] [stdout] --> examples/cli/main.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 18 | enum Cli { [INFO] [stdout] | -------- variant or associated item `parse` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | let cli = Cli::parse(); [INFO] [stdout] | ^^^^^ variant or associated item not found in `Cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> examples/cli/main.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smart-config-commands` (example "cli") due to 20 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smart-config-commands` (test "integration") due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "66453651fd39fa9397fe580e9078c494773611c9a5f419bcc6c68a60a7a6fc90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66453651fd39fa9397fe580e9078c494773611c9a5f419bcc6c68a60a7a6fc90", kill_on_drop: false }` [INFO] [stdout] 66453651fd39fa9397fe580e9078c494773611c9a5f419bcc6c68a60a7a6fc90