[INFO] fetching crate lockedenv 0.3.0... [INFO] checking lockedenv-0.3.0 against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657-1 [INFO] extracting crate lockedenv 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate lockedenv 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lockedenv 0.3.0 [INFO] tweaked toml for crates.io crate lockedenv 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lockedenv 0.3.0 on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lockedenv 0.3.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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80446151bd8bfc8032e0a6a61f927123cef092feb4b6002db90ec08280732688 [INFO] running `Command { std: "docker" "start" "-a" "80446151bd8bfc8032e0a6a61f927123cef092feb4b6002db90ec08280732688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80446151bd8bfc8032e0a6a61f927123cef092feb4b6002db90ec08280732688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80446151bd8bfc8032e0a6a61f927123cef092feb4b6002db90ec08280732688", kill_on_drop: false }` [INFO] [stdout] 80446151bd8bfc8032e0a6a61f927123cef092feb4b6002db90ec08280732688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9266e1f8d85c76886ca42f227978069e33950f2a5f43c28652b8a0a8f20ef427 [INFO] running `Command { std: "docker" "start" "-a" "9266e1f8d85c76886ca42f227978069e33950f2a5f43c28652b8a0a8f20ef427", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking lockedenv v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | let config = lockedenv::from_map! { [INFO] [stdout] | __________________^ [INFO] [stdout] 270 | | map: m, [INFO] [stdout] 271 | | OPT_PORT: Option, [INFO] [stdout] 272 | | OPT_EXTRA: Option, [INFO] [stdout] 273 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | let config = lockedenv::from_map! { [INFO] [stdout] | __________________^ [INFO] [stdout] 270 | | map: m, [INFO] [stdout] 271 | | OPT_PORT: Option, [INFO] [stdout] 272 | | OPT_EXTRA: Option, [INFO] [stdout] 273 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | let config = lockedenv::from_map! { [INFO] [stdout] | __________________^ [INFO] [stdout] 395 | | map: m, [INFO] [stdout] 396 | | PASSWORD: Secret, [INFO] [stdout] 397 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | let config = lockedenv::from_map! { [INFO] [stdout] | __________________^ [INFO] [stdout] 395 | | map: m, [INFO] [stdout] 396 | | PASSWORD: Secret, [INFO] [stdout] 397 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:446:18 [INFO] [stdout] | [INFO] [stdout] 446 | let config = lockedenv::from_map! { [INFO] [stdout] | __________________^ [INFO] [stdout] 447 | | map: m, [INFO] [stdout] 448 | | prefix = "APP_", [INFO] [stdout] 449 | | PORT: u16, [INFO] [stdout] 450 | | HOST: String, [INFO] [stdout] 451 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:446:18 [INFO] [stdout] | [INFO] [stdout] 446 | let config = lockedenv::from_map! { [INFO] [stdout] | __________________^ [INFO] [stdout] 447 | | map: m, [INFO] [stdout] 448 | | prefix = "APP_", [INFO] [stdout] 449 | | PORT: u16, [INFO] [stdout] 450 | | HOST: String, [INFO] [stdout] 451 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let r = lockedenv::try_from_map! { map: m, TOKEN: Option> }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::try_from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let r = lockedenv::try_from_map! { map: m, TOKEN: Option> }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::try_from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:601:18 [INFO] [stdout] | [INFO] [stdout] 601 | let config = lockedenv::from_map! { [INFO] [stdout] | __________________^ [INFO] [stdout] 602 | | map: m, [INFO] [stdout] 603 | | A: u32 = 1, [INFO] [stdout] 604 | | B: String = "default".to_string(), [INFO] [stdout] 605 | | C: bool = false, [INFO] [stdout] 606 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:601:18 [INFO] [stdout] | [INFO] [stdout] 601 | let config = lockedenv::from_map! { [INFO] [stdout] | __________________^ [INFO] [stdout] 602 | | map: m, [INFO] [stdout] 603 | | A: u32 = 1, [INFO] [stdout] 604 | | B: String = "default".to_string(), [INFO] [stdout] 605 | | C: bool = false, [INFO] [stdout] 606 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | let r = lockedenv::try_from_map! { [INFO] [stdout] | _____________^ [INFO] [stdout] 616 | | map: m, [INFO] [stdout] 617 | | prefix = "SVC_", [INFO] [stdout] 618 | | PORT: u16, [INFO] [stdout] 619 | | HOST: String, [INFO] [stdout] 620 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::try_from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | let r = lockedenv::try_from_map! { [INFO] [stdout] | _____________^ [INFO] [stdout] 616 | | map: m, [INFO] [stdout] 617 | | prefix = "SVC_", [INFO] [stdout] 618 | | PORT: u16, [INFO] [stdout] 619 | | HOST: String, [INFO] [stdout] 620 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::try_from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:704:15 [INFO] [stdout] | [INFO] [stdout] 704 | let cfg = lockedenv::from_map! { map: m, U: String }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:704:15 [INFO] [stdout] | [INFO] [stdout] 704 | let cfg = lockedenv::from_map! { map: m, U: String }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:755:15 [INFO] [stdout] | [INFO] [stdout] 755 | let cfg = lockedenv::from_map! { map: m, TOK: Option> }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:755:15 [INFO] [stdout] | [INFO] [stdout] 755 | let cfg = lockedenv::from_map! { map: m, TOK: Option> }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/env_struct.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lockedenv::env_struct! { [INFO] [stdout] 13 | | pub struct BasicConfig { [INFO] [stdout] 14 | | HOST: String, [INFO] [stdout] 15 | | PORT: u16, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__env_struct_impl` which comes from the expansion of the macro `lockedenv::env_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:762:15 [INFO] [stdout] | [INFO] [stdout] 762 | let cfg = lockedenv::from_map! { map: m, TOK: Option> }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:762:15 [INFO] [stdout] | [INFO] [stdout] 762 | let cfg = lockedenv::from_map! { map: m, TOK: Option> }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:818:15 [INFO] [stdout] | [INFO] [stdout] 818 | let cfg = lockedenv::from_map! { map: m, REQ: String, OPT: Option, DEF: u32 = 42 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:818:15 [INFO] [stdout] | [INFO] [stdout] 818 | let cfg = lockedenv::from_map! { map: m, REQ: String, OPT: Option, DEF: u32 = 42 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:827:15 [INFO] [stdout] | [INFO] [stdout] 827 | let cfg = lockedenv::from_map! { map: m, API_KEY: lockedenv::Secret, DB_PASS: lockedenv::Secret }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:827:15 [INFO] [stdout] | [INFO] [stdout] 827 | let cfg = lockedenv::from_map! { map: m, API_KEY: lockedenv::Secret, DB_PASS: lockedenv::Secret }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/types.rs:837:15 [INFO] [stdout] | [INFO] [stdout] 837 | let cfg = lockedenv::from_map! { map: m, A: Option, B: Option, C: Option }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/types.rs:837:15 [INFO] [stdout] | [INFO] [stdout] 837 | let cfg = lockedenv::from_map! { map: m, A: Option, B: Option, C: Option }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::load_internal` which comes from the expansion of the macro `lockedenv::from_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/env_struct.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lockedenv::env_struct! { [INFO] [stdout] 13 | | pub struct BasicConfig { [INFO] [stdout] 14 | | HOST: String, [INFO] [stdout] 15 | | PORT: u16, [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::__env_struct_impl` which comes from the expansion of the macro `lockedenv::env_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/env_struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lockedenv::env_struct! { [INFO] [stdout] 22 | | pub struct PrefixedConfig { [INFO] [stdout] 23 | | prefix = "SVC_", [INFO] [stdout] 24 | | HOST: String, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__env_struct_impl` which comes from the expansion of the macro `lockedenv::env_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/env_struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lockedenv::env_struct! { [INFO] [stdout] 22 | | pub struct PrefixedConfig { [INFO] [stdout] 23 | | prefix = "SVC_", [INFO] [stdout] 24 | | HOST: String, [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::__env_struct_impl` which comes from the expansion of the macro `lockedenv::env_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/basic.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | let errors = lockedenv::try_check! { map: m, A: String, B: u16 }.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__check_internal` which comes from the expansion of the macro `lockedenv::try_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/env_struct.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | / lockedenv::env_struct! { [INFO] [stdout] 164 | | pub struct SecretConfig { [INFO] [stdout] 165 | | TOKEN: lockedenv::Secret, [INFO] [stdout] 166 | | PORT: u16 = 8080, [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__env_struct_impl` which comes from the expansion of the macro `lockedenv::env_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/env_struct.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | / lockedenv::env_struct! { [INFO] [stdout] 164 | | pub struct SecretConfig { [INFO] [stdout] 165 | | TOKEN: lockedenv::Secret, [INFO] [stdout] 166 | | PORT: u16 = 8080, [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::__env_struct_impl` which comes from the expansion of the macro `lockedenv::env_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/basic.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | let errors = lockedenv::try_check! { map: m, A: String, B: u16 }.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::__check_internal` which comes from the expansion of the macro `lockedenv::try_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> tests/basic.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | let cfg = lockedenv::try_check! { map: m, prefix = "SVC_", HOST: String, PORT: u16 }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__check_internal` which comes from the expansion of the macro `lockedenv::try_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/basic.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | let cfg = lockedenv::try_check! { map: m, prefix = "SVC_", HOST: String, PORT: u16 }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `EnvLockError::parse_error` [INFO] [stdout] --> src/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_error(variable: String, found: String, err: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `EnvLockError::parse_error` [INFO] [stdout] = note: this error originates in the macro `$crate::__check_internal` which comes from the expansion of the macro `lockedenv::try_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lockedenv` (test "types") due to 12 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lockedenv` (test "env_struct") due to 3 previous errors; 3 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lockedenv` (test "basic") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9266e1f8d85c76886ca42f227978069e33950f2a5f43c28652b8a0a8f20ef427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9266e1f8d85c76886ca42f227978069e33950f2a5f43c28652b8a0a8f20ef427", kill_on_drop: false }` [INFO] [stdout] 9266e1f8d85c76886ca42f227978069e33950f2a5f43c28652b8a0a8f20ef427