[INFO] fetching crate rs_envflag 0.4.1... [INFO] checking rs_envflag-0.4.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rs_envflag 0.4.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rs_envflag 0.4.1 [INFO] finished tweaking crates.io crate rs_envflag 0.4.1 [INFO] tweaked toml for crates.io crate rs_envflag 0.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rs_envflag 0.4.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rs_envflag 0.4.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85265ee195d44ca81c03b59ddc48c0e9d0ea0e33f6bfbdd9d339e1e0e0bbf6a7 [INFO] running `Command { std: "docker" "start" "-a" "85265ee195d44ca81c03b59ddc48c0e9d0ea0e33f6bfbdd9d339e1e0e0bbf6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85265ee195d44ca81c03b59ddc48c0e9d0ea0e33f6bfbdd9d339e1e0e0bbf6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85265ee195d44ca81c03b59ddc48c0e9d0ea0e33f6bfbdd9d339e1e0e0bbf6a7", kill_on_drop: false }` [INFO] [stdout] 85265ee195d44ca81c03b59ddc48c0e9d0ea0e33f6bfbdd9d339e1e0e0bbf6a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f1e03cae1ae5afb8f435fd0841bc7aebab1dbf154cbc8704fcabffe49a991c5 [INFO] running `Command { std: "docker" "start" "-a" "6f1e03cae1ae5afb8f435fd0841bc7aebab1dbf154cbc8704fcabffe49a991c5", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking rs_envflag v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/bool.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const BOOL_FLAG: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/bool.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const BOOL_FLAG_W_DEFAULT: bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rs_envflag_macros` [INFO] [stdout] --> examples/bool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_envflag_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rs_envflag_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rs_envflag_macros`, use `cargo add rs_envflag_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/bool.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/bool.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[envflag(default = true)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/env_rename.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const ABC: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rs_envflag_macros` [INFO] [stdout] --> examples/env_rename.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_envflag_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rs_envflag_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rs_envflag_macros`, use `cargo add rs_envflag_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> examples/bool.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | if let Some(x) = BOOL_FLAG.fetch().unwrap() { [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/env_rename.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[envflag(env_name = "XYZ")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `bool` in the current scope [INFO] [stdout] --> examples/bool.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{}", BOOL_FLAG_W_DEFAULT.fetch().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `bool` [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: free constant item without body [INFO] [stdout] --> examples/float.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const F64_FLAG: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/float.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const F64_FLAG_W_DEFAULT: f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_envflag` (example "bool") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | const STRFLAG_UNSET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | const STRFLAG_SET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | const STRFLAGWD_UNSET: String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | const STRFLAGWD_SET: String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | const CRATE_RENAME: String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | const ABC: String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | const I64FLAG_UNSET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | const I64FLAG_SET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | const I64FLAGWD_UNSET: i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | const I64FLAGWD_SET: i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const F64FLAG_UNSET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | const F64FLAG_SET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rs_envflag_macros` [INFO] [stdout] --> examples/float.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_envflag_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rs_envflag_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rs_envflag_macros`, use `cargo add rs_envflag_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | const F64FLAGWD_UNSET: f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | const F64FLAGWD_SET: f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | const BFLAG_UNSET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | const BFLAG_SET_FALSE: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | const BFLAG_SET_TRUE: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | const BFLAGWD_UNSET: bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | const BFLAGWD_SET_FALSE: bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | const BFLAGWD_SET_TRUE: bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | const CSTM_FLAG_UNSET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | const CSTM_FLAG_SET: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | const CSTM_FLAG_WD_UNSET: V; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> tests/usage.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | const CSTM_FLAG_WD_SET: V; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/str.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const STR_FLAG: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/str.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const STR_FLAG_W_DEFAULT: String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rs_envflag_macros` [INFO] [stdout] --> examples/str.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_envflag_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rs_envflag_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rs_envflag_macros`, use `cargo add rs_envflag_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> examples/env_rename.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(x) = ABC.fetch().unwrap() { [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/int.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const I64_FLAG: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/int.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const I64_FLAG_W_DEFAULT: i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rs_envflag_macros` [INFO] [stdout] --> examples/int.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_envflag_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rs_envflag_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rs_envflag_macros`, use `cargo add rs_envflag_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/customized.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const X: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/customized.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const X_W_DEFAULT: V; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rs_envflag_macros` [INFO] [stdout] --> examples/customized.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_envflag_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rs_envflag_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rs_envflag_macros`, use `cargo add rs_envflag_macros` 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[E0432]: unresolved import `rs_envflag_macros` [INFO] [stdout] --> tests/usage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_envflag_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rs_envflag_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rs_envflag_macros`, use `cargo add rs_envflag_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/float.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/float.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[envflag(default = 0.5)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/int.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/int.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[envflag(default = 42)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_envflag` (example "env_rename") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> examples/float.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | if let Some(x) = F64_FLAG.fetch().unwrap() { [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free constant item without body [INFO] [stdout] --> examples/crate_rename.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const STR_FLAG: Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the constant: `= ;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `f64` in the current scope [INFO] [stdout] --> examples/float.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{}", F64_FLAG_W_DEFAULT.fetch().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `f64` [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[E0432]: unresolved import `rs_envflag_macros` [INFO] [stdout] --> examples/crate_rename.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rs_envflag_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rs_envflag_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rs_envflag_macros`, use `cargo add rs_envflag_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> examples/int.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | if let Some(x) = I64_FLAG.fetch().unwrap() { [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/str.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `i64` in the current scope [INFO] [stdout] --> examples/int.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{}", I64_FLAG_W_DEFAULT.fetch().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/str.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[envflag(default = "abc")] [INFO] [stdout] | ^^^^^^^ [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: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/customized.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[envflag(parser=v_parser)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[envflag(default = "xixi")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_envflag` (example "float") due to 7 previous errors [INFO] [stderr] error: could not compile `rs_envflag` (example "int") due to 7 previous errors [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[envflag(default = "xixi")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/customized.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[envflag(parser=v_parser, default=&V::DEFAULT)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[envflag(default="xixi", crate=xyz)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[envflag(default = "xixi", env_name = "XYZ")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> examples/crate_rename.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[envflag(crate=xyz)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[envflag(default = 42)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[envflag(default = 42)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> examples/crate_rename.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | if let Some(x) = STR_FLAG.fetch().unwrap() { [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[envflag(default = 4.2)] [INFO] [stdout] | ^^^^^^^ [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: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | #[envflag(default = 4.2)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[envflag] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> examples/str.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | if let Some(x) = STR_FLAG.fetch().unwrap() { [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[envflag(default = true)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:159:7 [INFO] [stdout] | [INFO] [stdout] 159 | #[envflag(default = true)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[envflag(default = false)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:177:7 [INFO] [stdout] | [INFO] [stdout] 177 | #[envflag(parser=v_parser)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_envflag` (example "crate_rename") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `String` in the current scope [INFO] [stdout] --> examples/str.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{}", STR_FLAG_W_DEFAULT.fetch().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_envflag` (example "str") due to 7 previous errors [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | #[envflag(parser=v_parser)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:194:7 [INFO] [stdout] | [INFO] [stdout] 194 | #[envflag(parser=v_parser, default=&V::DEFAULT)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `envflag` in this scope [INFO] [stdout] --> tests/usage.rs:202:7 [INFO] [stdout] | [INFO] [stdout] 202 | #[envflag(parser=v_parser, default=&V::DEFAULT)] [INFO] [stdout] | ^^^^^^^ [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 method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> examples/customized.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | if let Some(x) = X.fetch().unwrap() { [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `V` in the current scope [INFO] [stdout] --> examples/customized.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | println!("{:?}", X_W_DEFAULT.fetch()); [INFO] [stdout] | ^^^^^ method not found in `V` [INFO] [stdout] ... [INFO] [stdout] 19 | struct V(String); [INFO] [stdout] | -------- method `fetch` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(STRFLAG_UNSET.fetch().unwrap().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(STRFLAG_SET.fetch().unwrap(), Some("xixi".to_owned())); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `String` in the current scope [INFO] [stdout] --> tests/usage.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(STRFLAGWD_UNSET.fetch().unwrap(), "xixi"); [INFO] [stdout] | ^^^^^ method not found in `String` [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 method named `fetch` found for struct `String` in the current scope [INFO] [stdout] --> tests/usage.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(STRFLAGWD_SET.fetch().unwrap(), "haha"); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `String` in the current scope [INFO] [stdout] --> tests/usage.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(CRATE_RENAME.fetch().unwrap(), "haha"); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `String` in the current scope [INFO] [stdout] --> tests/usage.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(ABC.fetch().unwrap(), "haha"); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_envflag` (example "customized") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(I64FLAG_UNSET.fetch().unwrap().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(I64FLAG_SET.fetch().unwrap(), Some(42)); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `i64` in the current scope [INFO] [stdout] --> tests/usage.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(I64FLAGWD_UNSET.fetch().unwrap(), 42); [INFO] [stdout] | ^^^^^ method not found in `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `i64` in the current scope [INFO] [stdout] --> tests/usage.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(I64FLAGWD_SET.fetch().unwrap(), 2333); [INFO] [stdout] | ^^^^^ method not found in `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(F64FLAG_UNSET.fetch().unwrap().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(F64FLAG_SET.fetch().unwrap(), Some(4.2)); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `f64` in the current scope [INFO] [stdout] --> tests/usage.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(F64FLAGWD_UNSET.fetch().unwrap(), 4.2); [INFO] [stdout] | ^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `f64` in the current scope [INFO] [stdout] --> tests/usage.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(F64FLAGWD_SET.fetch().unwrap(), 23.33); [INFO] [stdout] | ^^^^^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(BFLAG_UNSET.fetch().unwrap().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | assert!(!BFLAG_SET_FALSE.fetch().unwrap().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(BFLAG_SET_TRUE.fetch().unwrap(), Some(true)); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `bool` in the current scope [INFO] [stdout] --> tests/usage.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | assert!(BFLAGWD_UNSET.fetch().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `bool` in the current scope [INFO] [stdout] --> tests/usage.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | assert!(!BFLAGWD_SET_FALSE.fetch().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for type `bool` in the current scope [INFO] [stdout] --> tests/usage.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | assert!(BFLAGWD_SET_TRUE.fetch().unwrap()); [INFO] [stdout] | ^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | assert!(CSTM_FLAG_UNSET.fetch().unwrap().is_none()); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for enum `Option` in the current scope [INFO] [stdout] --> tests/usage.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(CSTM_FLAG_SET.fetch().unwrap(), Some(V("xixi".to_string()))); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `V` in the current scope [INFO] [stdout] --> tests/usage.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(CSTM_FLAG_WD_UNSET.fetch().unwrap(), V::DEFAULT); [INFO] [stdout] | ^^^^^ method not found in `V` [INFO] [stdout] ... [INFO] [stdout] 210 | struct V(String); [INFO] [stdout] | -------- method `fetch` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch` found for struct `V` in the current scope [INFO] [stdout] --> tests/usage.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(CSTM_FLAG_WD_SET.fetch().unwrap(), V("xixi".to_string())); [INFO] [stdout] | ^^^^^ method not found in `V` [INFO] [stdout] ... [INFO] [stdout] 210 | struct V(String); [INFO] [stdout] | -------- method `fetch` not found for this struct [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] [stderr] error: could not compile `rs_envflag` (test "usage") due to 73 previous errors [INFO] running `Command { std: "docker" "inspect" "6f1e03cae1ae5afb8f435fd0841bc7aebab1dbf154cbc8704fcabffe49a991c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1e03cae1ae5afb8f435fd0841bc7aebab1dbf154cbc8704fcabffe49a991c5", kill_on_drop: false }` [INFO] [stdout] 6f1e03cae1ae5afb8f435fd0841bc7aebab1dbf154cbc8704fcabffe49a991c5