[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] checking yentzu-wang/toml-demo against try#d534db0721b23cf977073bf4cd306dbf501e6b4d for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyentzu-wang%2Ftoml-demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yentzu-wang/toml-demo on toolchain d534db0721b23cf977073bf4cd306dbf501e6b4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8bb521f77b7e2ec99fc20fa4c61c1738d254428a560a8b328584103980615f7 [INFO] running `Command { std: "docker" "start" "-a" "f8bb521f77b7e2ec99fc20fa4c61c1738d254428a560a8b328584103980615f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8bb521f77b7e2ec99fc20fa4c61c1738d254428a560a8b328584103980615f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8bb521f77b7e2ec99fc20fa4c61c1738d254428a560a8b328584103980615f7", kill_on_drop: false }` [INFO] [stdout] f8bb521f77b7e2ec99fc20fa4c61c1738d254428a560a8b328584103980615f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c1262f8acf84ae67d0598868949a1cc8c98ab1549aad253822d7bb740172310 [INFO] running `Command { std: "docker" "start" "-a" "8c1262f8acf84ae67d0598868949a1cc8c98ab1549aad253822d7bb740172310", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking toml-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Array`, `Datetime`, `Table`, and `Value` [INFO] [stdout] --> src/conf.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub use toml::value::{Array, Datetime, Table, Value}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array`, `Datetime`, `Table`, and `Value` [INFO] [stdout] --> src/conf.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub use toml::value::{Array, Datetime, Table, Value}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: 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: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: fields `adapter`, `db_name`, and `pool` are never read [INFO] [stdout] --> src/conf/basic_config.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 78 | pub(crate) adapter: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | pub(crate) db_name: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/conf/poem_config.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl PoemConfig { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_mut(&mut self, env: Environment) -> &mut BasicConfig { [INFO] [stdout] | ^^^^^^^ [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] [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: 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: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: fields `adapter`, `db_name`, and `pool` are never read [INFO] [stdout] --> src/conf/basic_config.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 78 | pub(crate) adapter: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | pub(crate) db_name: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/conf/poem_config.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl PoemConfig { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_mut(&mut self, env: Environment) -> &mut BasicConfig { [INFO] [stdout] | ^^^^^^^ [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] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.04s [INFO] running `Command { std: "docker" "inspect" "8c1262f8acf84ae67d0598868949a1cc8c98ab1549aad253822d7bb740172310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1262f8acf84ae67d0598868949a1cc8c98ab1549aad253822d7bb740172310", kill_on_drop: false }` [INFO] [stdout] 8c1262f8acf84ae67d0598868949a1cc8c98ab1549aad253822d7bb740172310