[INFO] cloning repository https://github.com/yentzu-wang/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/yentzu-wang/toml-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyentzu-wang%2Ftoml-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyentzu-wang%2Ftoml-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b706238a02cf19cbb54630dc0e80237a4cd2068
[INFO] testing yentzu-wang/toml-demo against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyentzu-wang%2Ftoml-demo" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yentzu-wang/toml-demo on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yentzu-wang/toml-demo
[INFO] finished tweaking git repo https://github.com/yentzu-wang/toml-demo
[INFO] tweaked toml for git repo https://github.com/yentzu-wang/toml-demo written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/yentzu-wang/toml-demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80a1085e1e6ff0ebf502252f0b2560f22cd214ea0fc35dbf59207255341ce48a
[INFO] running `Command { std: "docker" "start" "-a" "80a1085e1e6ff0ebf502252f0b2560f22cd214ea0fc35dbf59207255341ce48a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80a1085e1e6ff0ebf502252f0b2560f22cd214ea0fc35dbf59207255341ce48a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80a1085e1e6ff0ebf502252f0b2560f22cd214ea0fc35dbf59207255341ce48a", kill_on_drop: false }`
[INFO] [stdout] 80a1085e1e6ff0ebf502252f0b2560f22cd214ea0fc35dbf59207255341ce48a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4dd8f7a2641d65cf8fe895c01fd868e7b94ade0528a5bbda7ce40bbc441e921
[INFO] running `Command { std: "docker" "start" "-a" "a4dd8f7a2641d65cf8fe895c01fd868e7b94ade0528a5bbda7ce40bbc441e921", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling toml-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `kv_pairs`
[INFO] [stdout]   --> src/conf/poem_config.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |             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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut config = PoemConfig {
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         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: field is never read: `adapter`
[INFO] [stdout]   --> src/conf/basic_config.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub(crate) adapter: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `db_name`
[INFO] [stdout]   --> src/conf/basic_config.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) db_name: String,
[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]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `pool`
[INFO] [stdout]   --> src/conf/basic_config.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     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]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_mut`
[INFO] [stdout]   --> src/conf/poem_config.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn get_mut(&mut self, env: Environment) -> &mut BasicConfig {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `ALL`
[INFO] [stdout]   --> src/environment.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub(crate) const ALL: [Environment; 3] = [Development, Staging, Production];
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `VALID`
[INFO] [stdout]   --> src/environment.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) const VALID: &'static str = "development, staging, production";
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.86s
[INFO] running `Command { std: "docker" "inspect" "a4dd8f7a2641d65cf8fe895c01fd868e7b94ade0528a5bbda7ce40bbc441e921", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4dd8f7a2641d65cf8fe895c01fd868e7b94ade0528a5bbda7ce40bbc441e921", kill_on_drop: false }`
[INFO] [stdout] a4dd8f7a2641d65cf8fe895c01fd868e7b94ade0528a5bbda7ce40bbc441e921
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5995eb6520e2510c44c01d2409a20dac4b6891500136bb5aa7e1068762dc641d
[INFO] running `Command { std: "docker" "start" "-a" "5995eb6520e2510c44c01d2409a20dac4b6891500136bb5aa7e1068762dc641d", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `kv_pairs`
[INFO] [stdout]   --> src/conf/poem_config.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |             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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut config = PoemConfig {
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         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: field is never read: `adapter`
[INFO] [stdout]   --> src/conf/basic_config.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub(crate) adapter: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `db_name`
[INFO] [stdout]   --> src/conf/basic_config.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) db_name: String,
[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]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `pool`
[INFO] [stdout]   --> src/conf/basic_config.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     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]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_mut`
[INFO] [stdout]   --> src/conf/poem_config.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn get_mut(&mut self, env: Environment) -> &mut BasicConfig {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `ALL`
[INFO] [stdout]   --> src/environment.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub(crate) const ALL: [Environment; 3] = [Development, Staging, Production];
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `VALID`
[INFO] [stdout]   --> src/environment.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) const VALID: &'static str = "development, staging, production";
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling toml-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `kv_pairs`
[INFO] [stdout]   --> src/conf/poem_config.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |             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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut config = PoemConfig {
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conf/poem_config.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         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: field is never read: `adapter`
[INFO] [stdout]   --> src/conf/basic_config.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub(crate) adapter: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `db_name`
[INFO] [stdout]   --> src/conf/basic_config.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) db_name: String,
[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]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `pool`
[INFO] [stdout]   --> src/conf/basic_config.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     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]   --> src/conf/basic_config.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_mut`
[INFO] [stdout]   --> src/conf/poem_config.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn get_mut(&mut self, env: Environment) -> &mut BasicConfig {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `ALL`
[INFO] [stdout]   --> src/environment.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub(crate) const ALL: [Environment; 3] = [Development, Staging, Production];
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `VALID`
[INFO] [stdout]   --> src/environment.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) const VALID: &'static str = "development, staging, production";
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.41s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/toml_demo-6d2fb579214f790b)
[INFO] [stderr]   Executable unittests bin/main.rs (/opt/rustwide/target/debug/deps/main-49ce220a61bcae16)
[INFO] running `Command { std: "docker" "inspect" "5995eb6520e2510c44c01d2409a20dac4b6891500136bb5aa7e1068762dc641d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5995eb6520e2510c44c01d2409a20dac4b6891500136bb5aa7e1068762dc641d", kill_on_drop: false }`
[INFO] [stdout] 5995eb6520e2510c44c01d2409a20dac4b6891500136bb5aa7e1068762dc641d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8844257a45c027a1e99d38567371912c29eb566a9f930953c69d853aac9613d6
[INFO] running `Command { std: "docker" "start" "-a" "8844257a45c027a1e99d38567371912c29eb566a9f930953c69d853aac9613d6", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `kv_pairs`
[INFO] [stderr]   --> src/conf/poem_config.rs:99:17
[INFO] [stderr]    |
[INFO] [stderr] 99 |             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)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/conf/poem_config.rs:63:13
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let mut config = PoemConfig {
[INFO] [stderr]    |             ----^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/conf/poem_config.rs:94:13
[INFO] [stderr]    |
[INFO] [stderr] 94 |         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: field is never read: `adapter`
[INFO] [stderr]   --> src/conf/basic_config.rs:78:5
[INFO] [stderr]    |
[INFO] [stderr] 78 |     pub(crate) adapter: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/conf/basic_config.rs:76:10
[INFO] [stderr]    |
[INFO] [stderr] 76 | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `db_name`
[INFO] [stderr]   --> src/conf/basic_config.rs:79:5
[INFO] [stderr]    |
[INFO] [stderr] 79 |     pub(crate) db_name: String,
[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]   --> src/conf/basic_config.rs:76:10
[INFO] [stderr]    |
[INFO] [stderr] 76 | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `pool`
[INFO] [stderr]   --> src/conf/basic_config.rs:80:5
[INFO] [stderr]    |
[INFO] [stderr] 80 |     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]   --> src/conf/basic_config.rs:76:10
[INFO] [stderr]    |
[INFO] [stderr] 76 | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `get_mut`
[INFO] [stderr]   --> src/conf/poem_config.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 |     fn get_mut(&mut self, env: Environment) -> &mut BasicConfig {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant is never used: `ALL`
[INFO] [stderr]   --> src/environment.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub(crate) const ALL: [Environment; 3] = [Development, Staging, Production];
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant is never used: `VALID`
[INFO] [stderr]   --> src/environment.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 |     pub(crate) const VALID: &'static str = "development, staging, production";
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `toml-demo` (lib) generated 9 warnings
[INFO] [stderr] warning: `toml-demo` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toml_demo-6d2fb579214f790b)
[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-49ce220a61bcae16)
[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[E0433]: failed to resolve: use of undeclared type `Environment`
[INFO] [stdout]  --> src/environment.rs:62:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 7 | assert_eq!(env.unwrap(), Environment::Production);
[INFO] [stdout]   |                          ^^^^^^^^^^^ use of undeclared type `Environment`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Environment` in this scope
[INFO] [stdout]  --> src/environment.rs:61:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_environment_rs_60_0() {
[INFO] [stdout]   |                                                                              - help: you might be missing a type parameter: `<Environment>`
[INFO] [stdout] 3 | let env = "p".parse::<Environment>();
[INFO] [stdout]   |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Environment` in this scope
[INFO] [stdout]  --> src/environment.rs:64:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_environment_rs_60_0() {
[INFO] [stdout]   |                                                                              - help: you might be missing a type parameter: `<Environment>`
[INFO] [stdout] ...
[INFO] [stdout] 6 | let env = "prod".parse::<Environment>();
[INFO] [stdout]   |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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.06s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "8844257a45c027a1e99d38567371912c29eb566a9f930953c69d853aac9613d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8844257a45c027a1e99d38567371912c29eb566a9f930953c69d853aac9613d6", kill_on_drop: false }`
[INFO] [stdout] 8844257a45c027a1e99d38567371912c29eb566a9f930953c69d853aac9613d6
