[INFO] cloning repository https://github.com/mfirhas/configrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfirhas/configrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfirhas%2Fconfigrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfirhas%2Fconfigrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 234e1a3272b7080bdca88e7ddb527d427657702f [INFO] checking mfirhas/configrs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfirhas%2Fconfigrs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mfirhas/configrs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mfirhas/configrs [INFO] finished tweaking git repo https://github.com/mfirhas/configrs [INFO] tweaked toml for git repo https://github.com/mfirhas/configrs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mfirhas/configrs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env-file-reader v0.3.0 [INFO] [stderr] Downloaded winnow v0.5.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 722b483aaa58b9cfb1c91df5badb702ffb94005e473dbc55b1b59db184aa176c [INFO] running `Command { std: "docker" "start" "-a" "722b483aaa58b9cfb1c91df5badb702ffb94005e473dbc55b1b59db184aa176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "722b483aaa58b9cfb1c91df5badb702ffb94005e473dbc55b1b59db184aa176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722b483aaa58b9cfb1c91df5badb702ffb94005e473dbc55b1b59db184aa176c", kill_on_drop: false }` [INFO] [stdout] 722b483aaa58b9cfb1c91df5badb702ffb94005e473dbc55b1b59db184aa176c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ea0995eec30a10a8cab290f7e2b84ea5498bcd5c0b9ea9349257e72b598978a [INFO] running `Command { std: "docker" "start" "-a" "6ea0995eec30a10a8cab290f7e2b84ea5498bcd5c0b9ea9349257e72b598978a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking winnow v0.5.32 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_yaml v0.9.30 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Compiling env-file-reader v0.3.0 [INFO] [stderr] Checking configrs v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ConfigError` [INFO] [stdout] --> tests/config_error_test.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use configrs::config::{Config, ConfigError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> examples/multi/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> tests/value_test.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> tests/value_test.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::Borrow`, `collections::HashMap`, and `iter::Once` [INFO] [stdout] --> examples/simple.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, collections::HashMap, iter::Once}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConfigError` [INFO] [stdout] --> examples/simple.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use configrs::config::{Config, ConfigError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_b` [INFO] [stdout] --> tests/value_test.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let val_b = if let Value::Array(ref v) = val { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_val_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_b` [INFO] [stdout] --> tests/value_test.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let val_b = if let Value::Array(ref v) = val { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_val_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_bool` [INFO] [stdout] --> tests/value_test.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let serde_bool: serde_json::Value = bool.into(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_string` [INFO] [stdout] --> tests/value_test.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let serde_string: serde_json::Value = string.into(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_number_int64` [INFO] [stdout] --> tests/value_test.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let serde_number_int64: serde_json::Value = int64.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_number_int64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_number_float64` [INFO] [stdout] --> tests/value_test.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let serde_number_float64: serde_json::Value = float64.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_number_float64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_arr` [INFO] [stdout] --> tests/value_test.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let serde_arr: serde_json::Value = arr.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_map` [INFO] [stdout] --> tests/value_test.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let serde_map: serde_json::Value = map.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int` [INFO] [stdout] --> examples/simple.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let int = CONFIG_LAZY_STATIC.integer; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_int` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setring` [INFO] [stdout] --> examples/simple.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let setring = CONFIG_LAZY_STATIC.string.as_str(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_setring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | CONFIG_ONCE.set(once_config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = CONFIG_ONCE.set(once_config); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | CONFIG_LAZY_ONCE.set(cfg_lazy_once); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 111 | let _ = CONFIG_LAZY_ONCE.set(cfg_lazy_once); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfigError`, `Value`, and `self` [INFO] [stdout] --> tests/config/config_overwrite_test.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use configrs::config::{self, Config, ConfigError, Value}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/config/config_prefix_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConfigError` [INFO] [stdout] --> tests/config_error_test.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use configrs::config::{Config, ConfigError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> tests/value_test.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> tests/value_test.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> tests/config/config_toml_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let cfg = cfg.unwrap_err(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> tests/config/config_yaml_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let cfg = cfg.unwrap_err(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_b` [INFO] [stdout] --> tests/value_test.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let val_b = if let Value::Array(ref v) = val { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_val_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_b` [INFO] [stdout] --> tests/value_test.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let val_b = if let Value::Array(ref v) = val { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_val_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_bool` [INFO] [stdout] --> tests/value_test.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let serde_bool: serde_json::Value = bool.into(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_string` [INFO] [stdout] --> tests/value_test.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let serde_string: serde_json::Value = string.into(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_number_int64` [INFO] [stdout] --> tests/value_test.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let serde_number_int64: serde_json::Value = int64.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_number_int64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_number_float64` [INFO] [stdout] --> tests/value_test.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let serde_number_float64: serde_json::Value = float64.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_number_float64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_arr` [INFO] [stdout] --> tests/value_test.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let serde_arr: serde_json::Value = arr.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serde_map` [INFO] [stdout] --> tests/value_test.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let serde_map: serde_json::Value = map.into(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `boolean`, and `float` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 71 | #[serde(alias = "ENV_STRING")] [INFO] [stdout] 72 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 74 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 76 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | #[serde(alias = "ENV_FLOAT")] [INFO] [stdout] 78 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, `boolean`, and `boolean_2` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 109 | #[serde(alias = "ENV_STRING")] [INFO] [stdout] 110 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 111 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 112 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 113 | #[serde(alias = "ENV_FLOAT")] [INFO] [stdout] 114 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 115 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 116 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 118 | boolean_2: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ENVSTRING`, `int`, `float`, and `boolean` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 148 | struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 149 | // #[serde(alias = "ENV_STRING")] [INFO] [stdout] 150 | ENVSTRING: String, // env var: ENV_STRING, error because case must be exact, including non-letter [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 152 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 153 | #[serde(alias = "ENV_FLOAT")] [INFO] [stdout] 154 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 155 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 156 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, and `boolean` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 185 | struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 186 | #[serde(alias = "ENV_STRiNG")] [INFO] [stdout] 187 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 188 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 189 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 190 | #[serde(alias = "ENV_FLOAT")] [INFO] [stdout] 191 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 192 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 193 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, `boolean`, and `cfg_nested` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 419 | struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 420 | #[serde(alias = "ENV_STRING")] [INFO] [stdout] 421 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 422 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 423 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 424 | #[serde(alias = "ENV_FLOAT")] [INFO] [stdout] 425 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 426 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 427 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 428 | #[serde(flatten)] [INFO] [stdout] 429 | cfg_nested: CfgNested, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, and `boolean` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 432 | struct CfgNested { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 433 | #[serde(alias = "ENV_STRING_NESTED")] [INFO] [stdout] 434 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 435 | #[serde(alias = "ENV_INT_NESTED")] [INFO] [stdout] 436 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 437 | #[serde(alias = "ENV_FLOAT_NESTED")] // missing one [INFO] [stdout] 438 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 439 | #[serde(alias = "ENV_BOOL_NESTED")] [INFO] [stdout] 440 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CfgNested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, `boolean`, and `cfg_nested` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 486 | struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 487 | #[serde(alias = "ENV_STRING")] [INFO] [stdout] 488 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 489 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 490 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 491 | #[serde(alias = "ENV_FLOAT")] [INFO] [stdout] 492 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 493 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 494 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 497 | cfg_nested: CfgNested, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, `boolean`, `boolean_2`, and `cfg_nested_nested` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 500 | struct CfgNested { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 501 | #[serde(alias = "ENV_STRING_NESTED")] [INFO] [stdout] 502 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 503 | #[serde(alias = "ENV_INT_NESTED")] [INFO] [stdout] 504 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 505 | #[serde(alias = "ENV_FLOAT_NESTED")] [INFO] [stdout] 506 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 507 | #[serde(alias = "ENV_BOOL_NESTED")] [INFO] [stdout] 508 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 509 | #[serde(alias = "ENV_BOOL_NESTED")] // duplicated field [INFO] [stdout] 510 | boolean_2: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | cfg_nested_nested: CfgNestedNested, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CfgNested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `string_2`, `int`, `float`, and `boolean` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 516 | struct CfgNestedNested { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 517 | #[serde(alias = "ENV_STRING_NESTED_NESTED")] [INFO] [stdout] 518 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 519 | #[serde(alias = "ENV_STRING_NESTED_NESTED")] // duplicated field [INFO] [stdout] 520 | string_2: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 521 | #[serde(alias = "ENV_INT_NESTED_NESTED")] [INFO] [stdout] 522 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 523 | #[serde(alias = "ENV_FLOAT_NESTED_NESTED")] [INFO] [stdout] 524 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 525 | #[serde(alias = "ENV_BOOL_NESTED_NESTED")] [INFO] [stdout] 526 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CfgNestedNested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, `boolean`, and `cfg_nested` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 577 | struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 578 | #[serde(alias = "ENV_STRING")] [INFO] [stdout] 579 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 580 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 581 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 582 | #[serde(alias = "ENV_FLOAT")] [INFO] [stdout] 583 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 584 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 585 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 588 | cfg_nested: CfgNested, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, `boolean`, and `cfg_nested_nested` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 591 | struct CfgNested { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 592 | #[serde(alias = "ENV_STRING_NESTED")] [INFO] [stdout] 593 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 594 | #[serde(alias = "ENV_INT_NESTED")] [INFO] [stdout] 595 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 596 | #[serde(alias = "ENV_FLOAT_NESTED")] [INFO] [stdout] 597 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 598 | #[serde(alias = "ENV_BOOL_NESTED")] [INFO] [stdout] 599 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 602 | cfg_nested_nested: CfgNestedNested, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CfgNested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, and `ENV_BOOL_NESTEDNESTED` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 605 | struct CfgNestedNested { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 606 | #[serde(alias = "ENV_STRING_NESTED_NESTED")] [INFO] [stdout] 607 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 608 | #[serde(alias = "ENV_INT_NESTED_NESTED")] [INFO] [stdout] 609 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 610 | #[serde(alias = "ENV_FLOAT_NESTED_NESTED")] [INFO] [stdout] 611 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 612 | // #[serde(alias = "ENV_BOOL_NESTED_NESTED")] [INFO] [stdout] 613 | ENV_BOOL_NESTEDNESTED: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CfgNestedNested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, `boolean`, and `cfg_nested` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 664 | struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 665 | #[serde(alias = "ENV_STRING")] [INFO] [stdout] 666 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 667 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 668 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 669 | #[serde(alias = "ENV_FLOAT")] [INFO] [stdout] 670 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 671 | #[serde(alias = "ENV_BOOL")] [INFO] [stdout] 672 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | cfg_nested: CfgNested, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, `boolean`, and `cfg_nested_nested` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 678 | struct CfgNested { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 679 | #[serde(alias = "ENV_STRING_NESTED")] [INFO] [stdout] 680 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 681 | #[serde(alias = "ENV_INT_NESTED")] [INFO] [stdout] 682 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 683 | #[serde(alias = "ENV_FLOAT_NESTED")] [INFO] [stdout] 684 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 685 | #[serde(alias = "ENV_BOOL_NESTED")] [INFO] [stdout] 686 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 689 | cfg_nested_nested: CfgNestedNested, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CfgNested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `int`, `float`, and `boolean` are never read [INFO] [stdout] --> tests/config/config_env_vars_test.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 692 | struct CfgNestedNested { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 693 | #[serde(alias = "ENV_STRING_NESTED_NESTED")] [INFO] [stdout] 694 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 695 | #[serde(alias = "ENV_INT_NESTED_NESTED")] [INFO] [stdout] 696 | int: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 697 | #[serde(alias = "ENV_FLOAT_NESTED_NESTED")] [INFO] [stdout] 698 | float: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 699 | #[serde(alias = "ENV_BOoL_NESTED_NESTED")] [INFO] [stdout] 700 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CfgNestedNested` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string`, `integer`, `boolean`, `float`, and `string_2` are never read [INFO] [stdout] --> tests/config/config_prefix_test.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 66 | struct Env { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 67 | #[serde(alias = "ENV_KEY")] [INFO] [stdout] 68 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | #[serde(alias = "ENV_INT")] [INFO] [stdout] 70 | integer: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | #[serde(alias = "BOOL")] [INFO] [stdout] 72 | boolean: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | #[serde(alias = "ENVFLOAT")] [INFO] [stdout] 74 | float: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 75 | #[serde(alias = "env_FLOAT")] [INFO] [stdout] 76 | string_2: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Env` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ENVSTRING` should have a snake case name [INFO] [stdout] --> tests/config/config_env_vars_test.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | ENVSTRING: String, // env var: ENV_STRING, error because case must be exact, including non-letter [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `envstring` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ENV_BOOL_NESTEDNESTED` should have a snake case name [INFO] [stdout] --> tests/config/config_env_vars_test.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | ENV_BOOL_NESTEDNESTED: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `env_bool_nestednested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ENV_STRiNG` should have a snake case name [INFO] [stdout] --> tests/config/config_env_test.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | pub ENV_STRiNG: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `env_stri_ng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `env_String` should have a snake case name [INFO] [stdout] --> tests/config/config_json_test.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | pub env_String: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `env_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `env_strIng` should have a snake case name [INFO] [stdout] --> tests/config/config_toml_test.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | pub env_strIng: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `env_str_ing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ENV_STRiNG` should have a snake case name [INFO] [stdout] --> tests/config/config_yaml_test.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | pub ENV_STRiNG: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `env_stri_ng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.33s [INFO] running `Command { std: "docker" "inspect" "6ea0995eec30a10a8cab290f7e2b84ea5498bcd5c0b9ea9349257e72b598978a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea0995eec30a10a8cab290f7e2b84ea5498bcd5c0b9ea9349257e72b598978a", kill_on_drop: false }` [INFO] [stdout] 6ea0995eec30a10a8cab290f7e2b84ea5498bcd5c0b9ea9349257e72b598978a [INFO] checking mfirhas/configrs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfirhas%2Fconfigrs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mfirhas/configrs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mfirhas/configrs [INFO] finished tweaking git repo https://github.com/mfirhas/configrs [INFO] tweaked toml for git repo https://github.com/mfirhas/configrs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mfirhas/configrs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 223965fea1b4d7777950482e29bdd860c6b88b96f9b1fd352a13b2418d59c23e [INFO] running `Command { std: "docker" "start" "-a" "223965fea1b4d7777950482e29bdd860c6b88b96f9b1fd352a13b2418d59c23e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "223965fea1b4d7777950482e29bdd860c6b88b96f9b1fd352a13b2418d59c23e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "223965fea1b4d7777950482e29bdd860c6b88b96f9b1fd352a13b2418d59c23e", kill_on_drop: false }` [INFO] [stdout] 223965fea1b4d7777950482e29bdd860c6b88b96f9b1fd352a13b2418d59c23e [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d357d70d5c2ca4aec98a3a371469b5a197e7ffc80146d36e823521de51e5bb78 [INFO] running `Command { std: "docker" "start" "-a" "d357d70d5c2ca4aec98a3a371469b5a197e7ffc80146d36e823521de51e5bb78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking winnow v0.5.32 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_yaml v0.9.30 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Compiling env-file-reader v0.3.0 [INFO] [stderr] Checking configrs v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/config_impl.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 103 | |file| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let reader = std::io::BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | serde_json::from_reader::<_, serde_json::Value>(reader).map_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/config_impl.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 103 | |file| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let reader = std::io::BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | serde_json::from_reader::<_, serde_json::Value>(reader).map_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/config_impl.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 249 | file_path: impl AsRef, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | ) -> Result { [INFO] [stdout] 251 | match std::fs::read_to_string(file_path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/config_impl.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 249 | file_path: impl AsRef, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | ) -> Result { [INFO] [stdout] 251 | match std::fs::read_to_string(file_path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/value_impl.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 72 | fn from(value: Vec) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Self::Array(value.into_iter().map(|v| v.into()).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/value_impl.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 72 | fn from(value: Vec) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Self::Array(value.into_iter().map(|v| v.into()).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/value_impl.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn from(value: HashMap) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | Self::Map(value.into_iter().map(|(k, v)| (k, v.into())).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/value_serde_impl.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 357 | fn next_value_seed(&mut self, seed: V) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | serde::de::DeserializeSeed::deserialize(seed, value).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/value_impl.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn from(value: HashMap) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | Self::Map(value.into_iter().map(|(k, v)| (k, v.into())).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/value_serde_impl.rs:456:12 [INFO] [stdout] | [INFO] [stdout] 443 | fn variant_seed(self, seed: V) -> Result<(V::Value, Self::Variant), ConfigError> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | let value = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | Ok((value, self)) [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/value_serde_impl.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 357 | fn next_value_seed(&mut self, seed: V) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | serde::de::DeserializeSeed::deserialize(seed, value).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/value_serde_impl.rs:456:12 [INFO] [stdout] | [INFO] [stdout] 443 | fn variant_seed(self, seed: V) -> Result<(V::Value, Self::Variant), ConfigError> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | let value = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | Ok((value, self)) [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `configrs` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `configrs` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d357d70d5c2ca4aec98a3a371469b5a197e7ffc80146d36e823521de51e5bb78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d357d70d5c2ca4aec98a3a371469b5a197e7ffc80146d36e823521de51e5bb78", kill_on_drop: false }` [INFO] [stdout] d357d70d5c2ca4aec98a3a371469b5a197e7ffc80146d36e823521de51e5bb78