[INFO] cloning repository https://github.com/MarkTangCd/toml-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarkTangCd/toml-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkTangCd%2Ftoml-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkTangCd%2Ftoml-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 33a48d72bf4649b4880592c0cfeae474f43cffc6
[INFO] testing MarkTangCd/toml-demo against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkTangCd%2Ftoml-demo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MarkTangCd/toml-demo
[INFO] finished tweaking git repo https://github.com/MarkTangCd/toml-demo
[INFO] tweaked toml for git repo https://github.com/MarkTangCd/toml-demo written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MarkTangCd/toml-demo on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MarkTangCd/toml-demo 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded winnow v0.3.6
[INFO] [stderr]   Downloaded toml_edit v0.19.7
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f029b77154dc8f69fbe6b275072431bfdda37ac80f642d75b8f3c949d868c423
[INFO] running `Command { std: "docker" "start" "-a" "f029b77154dc8f69fbe6b275072431bfdda37ac80f642d75b8f3c949d868c423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f029b77154dc8f69fbe6b275072431bfdda37ac80f642d75b8f3c949d868c423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f029b77154dc8f69fbe6b275072431bfdda37ac80f642d75b8f3c949d868c423", kill_on_drop: false }`
[INFO] [stdout] f029b77154dc8f69fbe6b275072431bfdda37ac80f642d75b8f3c949d868c423
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31b23d3d65c349e9017f7506d259a8d2263d6482e93493bc374486077eab5815
[INFO] running `Command { std: "docker" "start" "-a" "31b23d3d65c349e9017f7506d259a8d2263d6482e93493bc374486077eab5815", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.158
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling winnow v0.3.6
[INFO] [stderr]    Compiling serde_spanned v0.6.1
[INFO] [stderr]    Compiling toml_datetime v0.6.1
[INFO] [stderr]    Compiling toml_edit v0.19.7
[INFO] [stderr]    Compiling toml v0.7.3
[INFO] [stderr]    Compiling toml-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut config = PoemConfig {
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut config = PoemConfig::active_default_from(Some(filename.as_ref()))?;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kv_pairs`
[INFO] [stdout]   --> src/conf/poem_config.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |             let kv_pairs = match value.as_table() {
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_pairs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `ALL` and `VALID` are never used
[INFO] [stdout]   --> src/environment.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Environment {
[INFO] [stdout]    | ---------------- associated constants in this implementation
[INFO] [stdout] 21 |     /// List of all of the possible environments.
[INFO] [stdout] 22 |     pub(crate) const ALL: [Environment; 3] = [Development, Staging, Production];
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub(crate) const VALID: &'static str = "development, staging, production";
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `adapter`, `db_name`, and `pool` are never read
[INFO] [stdout]   --> src/conf/basic_config.rs:85:16
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct Database {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 85 |     pub(crate) adapter: String,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 86 |     pub(crate) db_name: String,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 87 |     pub(crate) pool: u32,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mut` is never used
[INFO] [stdout]   --> src/conf/poem_config.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl PoemConfig {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn get_mut(&mut self, env: Environment) -> &mut BasicConfig {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.55s
[INFO] running `Command { std: "docker" "inspect" "31b23d3d65c349e9017f7506d259a8d2263d6482e93493bc374486077eab5815", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31b23d3d65c349e9017f7506d259a8d2263d6482e93493bc374486077eab5815", kill_on_drop: false }`
[INFO] [stdout] 31b23d3d65c349e9017f7506d259a8d2263d6482e93493bc374486077eab5815
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b4fef84849be128e6d11845435b38a9da9b9edaf62dfd4fd779e04ecbe4bd1c
[INFO] running `Command { std: "docker" "start" "-a" "7b4fef84849be128e6d11845435b38a9da9b9edaf62dfd4fd779e04ecbe4bd1c", kill_on_drop: false }`
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut config = PoemConfig {
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut config = PoemConfig::active_default_from(Some(filename.as_ref()))?;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kv_pairs`
[INFO] [stdout]   --> src/conf/poem_config.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |             let kv_pairs = match value.as_table() {
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_pairs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `ALL` and `VALID` are never used
[INFO] [stdout]   --> src/environment.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Environment {
[INFO] [stdout]    | ---------------- associated constants in this implementation
[INFO] [stdout] 21 |     /// List of all of the possible environments.
[INFO] [stdout] 22 |     pub(crate) const ALL: [Environment; 3] = [Development, Staging, Production];
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub(crate) const VALID: &'static str = "development, staging, production";
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `adapter`, `db_name`, and `pool` are never read
[INFO] [stdout]   --> src/conf/basic_config.rs:85:16
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct Database {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 85 |     pub(crate) adapter: String,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 86 |     pub(crate) db_name: String,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 87 |     pub(crate) pool: u32,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mut` is never used
[INFO] [stdout]   --> src/conf/poem_config.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl PoemConfig {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn get_mut(&mut self, env: Environment) -> &mut BasicConfig {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling toml-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut config = PoemConfig {
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut config = PoemConfig::active_default_from(Some(filename.as_ref()))?;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kv_pairs`
[INFO] [stdout]   --> src/conf/poem_config.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |             let kv_pairs = match value.as_table() {
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_pairs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `ALL` and `VALID` are never used
[INFO] [stdout]   --> src/environment.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Environment {
[INFO] [stdout]    | ---------------- associated constants in this implementation
[INFO] [stdout] 21 |     /// List of all of the possible environments.
[INFO] [stdout] 22 |     pub(crate) const ALL: [Environment; 3] = [Development, Staging, Production];
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub(crate) const VALID: &'static str = "development, staging, production";
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `adapter`, `db_name`, and `pool` are never read
[INFO] [stdout]   --> src/conf/basic_config.rs:85:16
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct Database {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 85 |     pub(crate) adapter: String,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 86 |     pub(crate) db_name: String,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 87 |     pub(crate) pool: u32,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mut` is never used
[INFO] [stdout]   --> src/conf/poem_config.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl PoemConfig {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn get_mut(&mut self, env: Environment) -> &mut BasicConfig {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `Command { std: "docker" "inspect" "7b4fef84849be128e6d11845435b38a9da9b9edaf62dfd4fd779e04ecbe4bd1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b4fef84849be128e6d11845435b38a9da9b9edaf62dfd4fd779e04ecbe4bd1c", kill_on_drop: false }`
[INFO] [stdout] 7b4fef84849be128e6d11845435b38a9da9b9edaf62dfd4fd779e04ecbe4bd1c
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c5e81ef40d57ebb3d9ba138c80a0ddac8fb200fe9f2ff1035d1fcd2d93aeddd6
[INFO] running `Command { std: "docker" "start" "-a" "c5e81ef40d57ebb3d9ba138c80a0ddac8fb200fe9f2ff1035d1fcd2d93aeddd6", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/conf/poem_config.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |         let mut config = PoemConfig {
[INFO] [stderr]    |             ----^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/conf/poem_config.rs:86:13
[INFO] [stderr]    |
[INFO] [stderr] 86 |         let mut config = PoemConfig::active_default_from(Some(filename.as_ref()))?;
[INFO] [stderr]    |             ----^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `kv_pairs`
[INFO] [stderr]   --> src/conf/poem_config.rs:92:17
[INFO] [stderr]    |
[INFO] [stderr] 92 |             let kv_pairs = match value.as_table() {
[INFO] [stderr]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_pairs`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated constants `ALL` and `VALID` are never used
[INFO] [stderr]   --> src/environment.rs:22:22
[INFO] [stderr]    |
[INFO] [stderr] 20 | impl Environment {
[INFO] [stderr]    | ---------------- associated constants in this implementation
[INFO] [stderr] 21 |     /// List of all of the possible environments.
[INFO] [stderr] 22 |     pub(crate) const ALL: [Environment; 3] = [Development, Staging, Production];
[INFO] [stderr]    |                      ^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub(crate) const VALID: &'static str = "development, staging, production";
[INFO] [stderr]    |                      ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `adapter`, `db_name`, and `pool` are never read
[INFO] [stderr]   --> src/conf/basic_config.rs:85:16
[INFO] [stderr]    |
[INFO] [stderr] 84 | pub struct Database {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] 85 |     pub(crate) adapter: String,
[INFO] [stderr]    |                ^^^^^^^
[INFO] [stderr] 86 |     pub(crate) db_name: String,
[INFO] [stderr]    |                ^^^^^^^
[INFO] [stderr] 87 |     pub(crate) pool: u32,
[INFO] [stderr]    |                ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_mut` is never used
[INFO] [stderr]   --> src/conf/poem_config.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl PoemConfig {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 43 |     fn get_mut(&mut self, env: Environment) -> &mut BasicConfig {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `toml-demo` (lib) generated 6 warnings (run `cargo fix --lib -p toml-demo` to apply 3 suggestions)
[INFO] [stderr] warning: `toml-demo` (lib test) generated 6 warnings (6 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toml_demo-f3039ce2ce10186d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests bin/main.rs (/opt/rustwide/target/debug/deps/main-cd0268770b74234d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests toml_demo
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/environment.rs - environment::Environment::from_str (line 60) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/environment.rs - environment::Environment::from_str (line 60) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Environment` in this scope
[INFO] [stdout]   --> src/environment.rs:61:23
[INFO] [stdout]    |
[INFO] [stdout] 61 | let env = "p".parse::<Environment>();
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_environment_rs_60_0<Environment>() {
[INFO] [stdout]    |                                                                              +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Environment` in this scope
[INFO] [stdout]   --> src/environment.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 | let env = "prod".parse::<Environment>();
[INFO] [stdout]    |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_environment_rs_60_0<Environment>() {
[INFO] [stdout]    |                                                                              +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Environment`
[INFO] [stdout]   --> src/environment.rs:62:26
[INFO] [stdout]    |
[INFO] [stdout] 62 | assert_eq!(env.unwrap(), Environment::Production);
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `Environment`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Environment`
[INFO] [stdout]   --> src/environment.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 65 | assert_eq!(env.unwrap(), Environment::Production);
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `Environment`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/environment.rs - environment::Environment::from_str (line 60)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c5e81ef40d57ebb3d9ba138c80a0ddac8fb200fe9f2ff1035d1fcd2d93aeddd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5e81ef40d57ebb3d9ba138c80a0ddac8fb200fe9f2ff1035d1fcd2d93aeddd6", kill_on_drop: false }`
[INFO] [stdout] c5e81ef40d57ebb3d9ba138c80a0ddac8fb200fe9f2ff1035d1fcd2d93aeddd6
