[INFO] fetching crate env-schema 0.1.0... [INFO] testing env-schema-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate env-schema 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate env-schema 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate env-schema 0.1.0 [INFO] tweaked toml for crates.io crate env-schema 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate env-schema 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate env-schema 0.1.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfbd581ace73ec5641c866c39eabc672cb90ac4606309cd3293c601d6a08607c [INFO] running `Command { std: "docker" "start" "-a" "dfbd581ace73ec5641c866c39eabc672cb90ac4606309cd3293c601d6a08607c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfbd581ace73ec5641c866c39eabc672cb90ac4606309cd3293c601d6a08607c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfbd581ace73ec5641c866c39eabc672cb90ac4606309cd3293c601d6a08607c", kill_on_drop: false }` [INFO] [stdout] dfbd581ace73ec5641c866c39eabc672cb90ac4606309cd3293c601d6a08607c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5fb9d2220198846ba21c8138fe1cf0b150fe9c4b8d4b0413b05c0bbb7815ced [INFO] running `Command { std: "docker" "start" "-a" "a5fb9d2220198846ba21c8138fe1cf0b150fe9c4b8d4b0413b05c0bbb7815ced", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling env-schema v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.42s [INFO] running `Command { std: "docker" "inspect" "a5fb9d2220198846ba21c8138fe1cf0b150fe9c4b8d4b0413b05c0bbb7815ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5fb9d2220198846ba21c8138fe1cf0b150fe9c4b8d4b0413b05c0bbb7815ced", kill_on_drop: false }` [INFO] [stdout] a5fb9d2220198846ba21c8138fe1cf0b150fe9c4b8d4b0413b05c0bbb7815ced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17035f29e088efa243207d631a308ebd589a436a49b899dcffa622960a80f932 [INFO] running `Command { std: "docker" "start" "-a" "17035f29e088efa243207d631a308ebd589a436a49b899dcffa622960a80f932", kill_on_drop: false }` [INFO] [stderr] Compiling env-schema v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `env_schema_derive` [INFO] [stdout] --> examples/web_service.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use env_schema_derive::EnvSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `env_schema_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_schema_derive`, use `cargo add env_schema_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> examples/web_service.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use url::Url; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `env_schema_derive` [INFO] [stdout] --> tests/derive_load.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use env_schema_derive::EnvSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `env_schema_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_schema_derive`, use `cargo add env_schema_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> examples/manual.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use url::Url; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[env(required)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[env(default = "8080")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Issue` [INFO] [stdout] --> src/schema.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | use crate::error::Issue; [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: `crate::error::Issue` [INFO] [stdout] --> src/schema.rs:819:13 [INFO] [stdout] | [INFO] [stdout] 819 | use crate::error::Issue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[env(default = "true")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_required_url` found for reference `&BTreeMap` in the current scope [INFO] [stdout] --> examples/manual.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | let database_url = match map.get_required_url("DATABASE_URL") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_required` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 - let database_url = match map.get_required_url("DATABASE_URL") { [INFO] [stdout] 40 + let database_url = match map.get_required("DATABASE_URL") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[env(required)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_optional_duration` found for reference `&BTreeMap` in the current scope [INFO] [stdout] --> examples/manual.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | let timeout = match map.get_optional_duration("TIMEOUT") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_optional` with a similar name [INFO] [stdout] | [INFO] [stdout] 67 - let timeout = match map.get_optional_duration("TIMEOUT") { [INFO] [stdout] 67 + let timeout = match map.get_optional("TIMEOUT") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[env(default = "42")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | #[env(required, secret)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_optional_url` found for reference `&BTreeMap` in the current scope [INFO] [stdout] --> examples/manual.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | let api_url = match map.get_optional_url("API_URL") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_optional` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 - let api_url = match map.get_optional_url("API_URL") { [INFO] [stdout] 91 + let api_url = match map.get_optional("API_URL") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | #[env(secret)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | #[env(default = "default-secret", secret)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:240:7 [INFO] [stdout] | [INFO] [stdout] 240 | #[env(required)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 245 | #[env(default = "100")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:296:7 [INFO] [stdout] | [INFO] [stdout] 296 | #[env(required)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:299:7 [INFO] [stdout] | [INFO] [stdout] 299 | #[env(required)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:304:7 [INFO] [stdout] | [INFO] [stdout] 304 | #[env(secret)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:307:7 [INFO] [stdout] | [INFO] [stdout] 307 | #[env(default = "localhost")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:381:7 [INFO] [stdout] | [INFO] [stdout] 381 | #[env(key = "DB_URL", required)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `env_schema_derive` [INFO] [stdout] --> examples/generate_docs_derive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_schema_derive::EnvSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `env_schema_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_schema_derive`, use `cargo add env_schema_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:384:7 [INFO] [stdout] | [INFO] [stdout] 384 | #[env(key = "APP_PORT", default = "3000")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:404:7 [INFO] [stdout] | [INFO] [stdout] 404 | #[env(default = "true")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:409:7 [INFO] [stdout] | [INFO] [stdout] 409 | #[env(required)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `env-schema` (example "manual") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:453:7 [INFO] [stdout] | [INFO] [stdout] 453 | #[env(default = "default")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> tests/derive_load.rs:509:7 [INFO] [stdout] | [INFO] [stdout] 509 | #[env(required)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `BasicConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 9 | struct BasicConfig { [INFO] [stdout] | ------------------ function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | let config = BasicConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `BasicConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `BasicConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 9 | struct BasicConfig { [INFO] [stdout] | ------------------ function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | let config = BasicConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `BasicConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `BasicConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 9 | struct BasicConfig { [INFO] [stdout] | ------------------ function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | let result = BasicConfig::load(LoadMode::Lenient); [INFO] [stdout] | ^^^^ function or associated item not found in `BasicConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `OptionConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 75 | struct OptionConfig { [INFO] [stdout] | ------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | let config = OptionConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `OptionConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `OptionConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 75 | struct OptionConfig { [INFO] [stdout] | ------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 122 | let config = OptionConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `OptionConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `SecretConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 136 | struct SecretConfig { [INFO] [stdout] | ------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 152 | let config = SecretConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SecretConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `SecretConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 136 | struct SecretConfig { [INFO] [stdout] | ------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 173 | let config = SecretConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SecretConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `SecretConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 136 | struct SecretConfig { [INFO] [stdout] | ------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 188 | let config = SecretConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SecretConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `SecretConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 136 | struct SecretConfig { [INFO] [stdout] | ------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 208 | let result = SecretConfig::load(LoadMode::Lenient); [INFO] [stdout] | ^^^^ function or associated item not found in `SecretConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `SecretConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 136 | struct SecretConfig { [INFO] [stdout] | ------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 227 | let config = SecretConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `SecretConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `NumericConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:257:33 [INFO] [stdout] | [INFO] [stdout] 239 | struct NumericConfig { [INFO] [stdout] | -------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 257 | let config = NumericConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `NumericConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `NumericConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 239 | struct NumericConfig { [INFO] [stdout] | -------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 279 | let result = NumericConfig::load(LoadMode::Lenient); [INFO] [stdout] | ^^^^ function or associated item not found in `NumericConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `ComplexConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 295 | struct ComplexConfig { [INFO] [stdout] | -------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 319 | let config = ComplexConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `ComplexConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/generate_docs_derive.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `ComplexConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:346:33 [INFO] [stdout] | [INFO] [stdout] 295 | struct ComplexConfig { [INFO] [stdout] | -------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 346 | let result = ComplexConfig::load(LoadMode::Lenient); [INFO] [stdout] | ^^^^ function or associated item not found in `ComplexConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/web_service.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[env( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `CustomKeyConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:393:35 [INFO] [stdout] | [INFO] [stdout] 380 | struct CustomKeyConfig { [INFO] [stdout] | ---------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 393 | let config = CustomKeyConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `CustomKeyConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/generate_docs_derive.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[env(default = "3000", range(min = 1.0, max = 65535.0))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `BoolConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:418:30 [INFO] [stdout] | [INFO] [stdout] 403 | struct BoolConfig { [INFO] [stdout] | ----------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 418 | let config = BoolConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `BoolConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/generate_docs_derive.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[env(secret)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `BoolConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:437:30 [INFO] [stdout] | [INFO] [stdout] 403 | struct BoolConfig { [INFO] [stdout] | ----------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 437 | let result = BoolConfig::load(LoadMode::Lenient); [INFO] [stdout] | ^^^^ function or associated item not found in `BoolConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `EmptyConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:459:31 [INFO] [stdout] | [INFO] [stdout] 452 | struct EmptyConfig { [INFO] [stdout] | ------------------ function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 459 | let config = EmptyConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `EmptyConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/generate_docs_derive.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[env(default = "development", values = ["development", "staging", "production"])] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `AllOptionalConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:478:37 [INFO] [stdout] | [INFO] [stdout] 465 | struct AllOptionalConfig { [INFO] [stdout] | ------------------------ function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 478 | let config = AllOptionalConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `AllOptionalConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `AllOptionalConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:496:37 [INFO] [stdout] | [INFO] [stdout] 465 | struct AllOptionalConfig { [INFO] [stdout] | ------------------------ function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 496 | let config = AllOptionalConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `AllOptionalConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/generate_docs_derive.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[env(default = "info", values = ["trace", "debug", "info", "warn", "error"])] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `StrictModeConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:518:36 [INFO] [stdout] | [INFO] [stdout] 508 | struct StrictModeConfig { [INFO] [stdout] | ----------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 518 | let result = StrictModeConfig::load(LoadMode::Strict); [INFO] [stdout] | ^^^^ function or associated item not found in `StrictModeConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/generate_docs_derive.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[env(default = "30s", example = "30s")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `StrictModeConfig` in the current scope [INFO] [stdout] --> tests/derive_load.rs:536:36 [INFO] [stdout] | [INFO] [stdout] 508 | struct StrictModeConfig { [INFO] [stdout] | ----------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 536 | let config = StrictModeConfig::load(LoadMode::Lenient).unwrap(); [INFO] [stdout] | ^^^^ function or associated item not found in `StrictModeConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/generate_docs_derive.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[env(default = "*", example = "https://example.com,https://app.example.com")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `env` in this scope [INFO] [stdout] --> examples/generate_docs_derive.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[env(regex = r"^\d{4}-\d{2}-\d{2}$", example = "2024-01-01")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `env` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `humantime` in this scope [INFO] [stdout] --> examples/web_service.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | humantime::parse_duration(timeout_str).unwrap_or_else(|_| Duration::from_secs(30)) [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `humantime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `humantime`, use `cargo add humantime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `AppConfig` in the current scope [INFO] [stdout] --> examples/generate_docs_derive.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 16 | struct AppConfig { [INFO] [stdout] | ---------------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 56 | let schema = AppConfig::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `WebServiceConfig` in the current scope [INFO] [stdout] --> examples/web_service.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 24 | struct WebServiceConfig { [INFO] [stdout] | ----------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 163 | match WebServiceConfig::load(LoadMode::Lenient) { [INFO] [stdout] | ^^^^ function or associated item not found in `WebServiceConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `env-schema` (test "derive_load") due to 43 previous errors [INFO] [stderr] error: could not compile `env-schema` (example "generate_docs_derive") due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `WebServiceConfig` in the current scope [INFO] [stdout] --> examples/web_service.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 24 | struct WebServiceConfig { [INFO] [stdout] | ----------------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 235 | match WebServiceConfig::load(LoadMode::Lenient) { [INFO] [stdout] | ^^^^ function or associated item not found in `WebServiceConfig` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `icu_provider::DataProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `WebServiceConfig` in the current scope [INFO] [stdout] --> examples/web_service.rs:271:36 [INFO] [stdout] | [INFO] [stdout] 24 | struct WebServiceConfig { [INFO] [stdout] | ----------------------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 271 | let schema = WebServiceConfig::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `WebServiceConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `env-schema` (example "web_service") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "17035f29e088efa243207d631a308ebd589a436a49b899dcffa622960a80f932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17035f29e088efa243207d631a308ebd589a436a49b899dcffa622960a80f932", kill_on_drop: false }` [INFO] [stdout] 17035f29e088efa243207d631a308ebd589a436a49b899dcffa622960a80f932