[INFO] cloning repository https://github.com/yukimemi/rog
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yukimemi/rog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimemi%2Frog", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimemi%2Frog'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e73cb2f317e8228bc105b6ce5a8a0513189c1a4
[INFO] checking yukimemi/rog against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimemi%2Frog" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yukimemi/rog on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yukimemi/rog
[INFO] finished tweaking git repo https://github.com/yukimemi/rog
[INFO] tweaked toml for git repo https://github.com/yukimemi/rog written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/yukimemi/rog 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded termcolor v1.0.4
[INFO] [stderr]   Downloaded humantime v1.2.0
[INFO] [stderr]   Downloaded backtrace v0.3.15
[INFO] [stderr]   Downloaded proc-macro2 v0.4.28
[INFO] [stderr]   Downloaded pretty_env_logger v0.3.0
[INFO] [stderr]   Downloaded rust-embed-impl v4.4.0
[INFO] [stderr]   Downloaded wincolor v1.0.1
[INFO] [stderr]   Downloaded unicode-bom v1.1.4
[INFO] [stderr]   Downloaded envy v0.4.0
[INFO] [stderr]   Downloaded env_logger v0.6.1
[INFO] [stderr]   Downloaded itertools v0.8.0
[INFO] [stderr]   Downloaded syn v0.12.15
[INFO] [stderr]   Downloaded csv v1.0.7
[INFO] [stderr]   Downloaded rust-embed v4.4.0
[INFO] [stderr]   Downloaded aho-corasick v0.7.3
[INFO] [stderr]   Downloaded regex v1.1.6
[INFO] [stderr]   Downloaded regex-syntax v0.6.6
[INFO] [stderr]   Downloaded libc v0.2.53
[INFO] [stderr]   Downloaded serde_json v1.0.39
[INFO] [stderr]   Downloaded cc v1.0.35
[INFO] [stderr]   Downloaded config v0.9.2
[INFO] [stderr]   Downloaded csv-core v0.1.5
[INFO] [stderr]   Downloaded rustc-demangle v0.1.14
[INFO] [stderr]   Downloaded tempfile v3.0.8
[INFO] [stderr]   Downloaded itoa v0.4.3
[INFO] [stderr]   Downloaded bindata-impl v0.1.0
[INFO] [stderr]   Downloaded ryu v0.2.7
[INFO] [stderr]   Downloaded bindata v0.1.1
[INFO] [stderr]   Downloaded serde-hjson v0.8.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c21b25e1a8d4144c54665a67f7d42e302bb02d4531d8797ec5f0983badfcdcb
[INFO] running `Command { std: "docker" "start" "-a" "6c21b25e1a8d4144c54665a67f7d42e302bb02d4531d8797ec5f0983badfcdcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c21b25e1a8d4144c54665a67f7d42e302bb02d4531d8797ec5f0983badfcdcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c21b25e1a8d4144c54665a67f7d42e302bb02d4531d8797ec5f0983badfcdcb", kill_on_drop: false }`
[INFO] [stdout] 6c21b25e1a8d4144c54665a67f7d42e302bb02d4531d8797ec5f0983badfcdcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31d9f7489227882557470317ecedcd387102fe29637890dfcbcb01fad342c458
[INFO] running `Command { std: "docker" "start" "-a" "31d9f7489227882557470317ecedcd387102fe29637890dfcbcb01fad342c458", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.53
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.28
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling serde v1.0.90
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling syn v0.15.33
[INFO] [stderr]     Checking ucd-util v0.1.3
[INFO] [stderr]    Compiling regex v1.1.6
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]    Compiling cc v1.0.35
[INFO] [stderr]     Checking utf8-ranges v1.0.2
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]     Checking regex-syntax v0.6.6
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking serde v0.8.23
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling backtrace v0.3.15
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking humantime v1.2.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]    Compiling syn v0.12.15
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking termcolor v1.0.4
[INFO] [stderr]     Checking rustc-demangle v0.1.14
[INFO] [stderr]     Checking linked-hash-map v0.5.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]     Checking aho-corasick v0.7.3
[INFO] [stderr]     Checking yaml-rust v0.4.3
[INFO] [stderr]     Checking csv-core v0.1.5
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking rust-ini v0.13.0
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking itertools v0.8.0
[INFO] [stderr]     Checking unicode-bom v1.1.4
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking tempfile v3.0.8
[INFO] [stderr]    Compiling rust-embed-impl v4.4.0
[INFO] [stderr]     Checking serde_test v0.8.23
[INFO] [stderr]     Checking rust-embed v4.4.0
[INFO] [stderr]    Compiling bindata-impl v0.1.0
[INFO] [stderr]     Checking linked-hash-map v0.3.0
[INFO] [stderr]     Checking env_logger v0.6.1
[INFO] [stderr]     Checking serde-hjson v0.8.2
[INFO] [stderr]     Checking pretty_env_logger v0.3.0
[INFO] [stderr]     Checking bindata v0.1.1
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking envy v0.4.0
[INFO] [stderr]     Checking csv v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.90
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking config v0.9.2
[INFO] [stderr]     Checking rog v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]   --> src/main.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::process::{Command, Stdio};
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]   --> src/main.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::process::{Command, Stdio};
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/main.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let out = Command::new(&gonkf_path)
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/main.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let out = Command::new(&gonkf_path)
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Lines(Vec<Line>);
[INFO] [stdout]    |        ----- ^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Lines` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Lines(());
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_add` is never read
[INFO] [stdout]   --> src/main.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct Rog {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 61 |     header_add: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rog` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grep` is never used
[INFO] [stdout]    --> src/main.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 300 | fn grep(content: String, greps: Vec<String>) -> Vec<String> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fix_header` is never used
[INFO] [stdout]    --> src/main.rs:453:8
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl Rog {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 453 |     fn fix_header<P: AsRef<Path>>(&self, path: P) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 | /         &out.fields.iter().for_each(|field| {
[INFO] [stdout] 351 | |             let def = "".to_string();
[INFO] [stdout] 352 | |             let f = line.msg.get(field).unwrap_or(&def);
[INFO] [stdout] 353 | |             if field == "time_fix" {
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             }
[INFO] [stdout] 358 | |         });
[INFO] [stdout]     | |__________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let _ = &out.fields.iter().for_each(|field| {
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:394:13
[INFO] [stdout]     |
[INFO] [stdout] 394 | /             &out.fields.iter().for_each(|field| {
[INFO] [stdout] 395 | |                 let def = "".to_string();
[INFO] [stdout] 396 | |                 let f = line.msg.get(field).unwrap_or(&def);
[INFO] [stdout] 397 | |                 if field == "time_fix" {
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |                 }
[INFO] [stdout] 402 | |             });
[INFO] [stdout]     | |______________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 394 |             let _ = &out.fields.iter().for_each(|field| {
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Lines(Vec<Line>);
[INFO] [stdout]    |        ----- ^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Lines` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Lines(());
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_add` is never read
[INFO] [stdout]   --> src/main.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct Rog {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 61 |     header_add: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rog` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grep` is never used
[INFO] [stdout]    --> src/main.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 300 | fn grep(content: String, greps: Vec<String>) -> Vec<String> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fix_header` is never used
[INFO] [stdout]    --> src/main.rs:453:8
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl Rog {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 453 |     fn fix_header<P: AsRef<Path>>(&self, path: P) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 | /         &out.fields.iter().for_each(|field| {
[INFO] [stdout] 351 | |             let def = "".to_string();
[INFO] [stdout] 352 | |             let f = line.msg.get(field).unwrap_or(&def);
[INFO] [stdout] 353 | |             if field == "time_fix" {
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             }
[INFO] [stdout] 358 | |         });
[INFO] [stdout]     | |__________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let _ = &out.fields.iter().for_each(|field| {
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:394:13
[INFO] [stdout]     |
[INFO] [stdout] 394 | /             &out.fields.iter().for_each(|field| {
[INFO] [stdout] 395 | |                 let def = "".to_string();
[INFO] [stdout] 396 | |                 let f = line.msg.get(field).unwrap_or(&def);
[INFO] [stdout] 397 | |                 if field == "time_fix" {
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |                 }
[INFO] [stdout] 402 | |             });
[INFO] [stdout]     | |______________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 394 |             let _ = &out.fields.iter().for_each(|field| {
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.94s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, syn v0.12.15
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "31d9f7489227882557470317ecedcd387102fe29637890dfcbcb01fad342c458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31d9f7489227882557470317ecedcd387102fe29637890dfcbcb01fad342c458", kill_on_drop: false }`
[INFO] [stdout] 31d9f7489227882557470317ecedcd387102fe29637890dfcbcb01fad342c458
[INFO] checking yukimemi/rog against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyukimemi%2Frog" "/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/yukimemi/rog on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yukimemi/rog
[INFO] finished tweaking git repo https://github.com/yukimemi/rog
[INFO] tweaked toml for git repo https://github.com/yukimemi/rog written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/yukimemi/rog 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 36684ac5329f52cafd669c3f460231d5a475f20fb6d935e1b02d8a9628b38762
[INFO] running `Command { std: "docker" "start" "-a" "36684ac5329f52cafd669c3f460231d5a475f20fb6d935e1b02d8a9628b38762", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36684ac5329f52cafd669c3f460231d5a475f20fb6d935e1b02d8a9628b38762", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36684ac5329f52cafd669c3f460231d5a475f20fb6d935e1b02d8a9628b38762", kill_on_drop: false }`
[INFO] [stdout] 36684ac5329f52cafd669c3f460231d5a475f20fb6d935e1b02d8a9628b38762
[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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82c01867adf28f38cf0c5510351904d1087eba09fb5ba8221c10d4a64ab2c0d5
[INFO] running `Command { std: "docker" "start" "-a" "82c01867adf28f38cf0c5510351904d1087eba09fb5ba8221c10d4a64ab2c0d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.53
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling proc-macro2 v0.4.28
[INFO] [stderr]    Compiling serde v1.0.90
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]    Compiling regex v1.1.6
[INFO] [stderr]    Compiling syn v0.15.33
[INFO] [stderr]     Checking ucd-util v0.1.3
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking utf8-ranges v1.0.2
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling cc v1.0.35
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]     Checking regex-syntax v0.6.6
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]     Checking serde v0.8.23
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling backtrace v0.3.15
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling syn v0.12.15
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking humantime v1.2.0
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking rustc-demangle v0.1.14
[INFO] [stderr]     Checking linked-hash-map v0.5.2
[INFO] [stderr]     Checking termcolor v1.0.4
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]     Checking aho-corasick v0.7.3
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking yaml-rust v0.4.3
[INFO] [stderr]     Checking csv-core v0.1.5
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking rust-ini v0.13.0
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking itertools v0.8.0
[INFO] [stderr]     Checking unicode-bom v1.1.4
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling rust-embed-impl v4.4.0
[INFO] [stderr]     Checking serde_test v0.8.23
[INFO] [stderr]     Checking tempfile v3.0.8
[INFO] [stderr]     Checking linked-hash-map v0.3.0
[INFO] [stderr]     Checking rust-embed v4.4.0
[INFO] [stderr]    Compiling bindata-impl v0.1.0
[INFO] [stderr]     Checking serde-hjson v0.8.2
[INFO] [stderr]     Checking env_logger v0.6.1
[INFO] [stderr]     Checking bindata v0.1.1
[INFO] [stderr]     Checking pretty_env_logger v0.3.0
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking csv v1.0.7
[INFO] [stderr]     Checking envy v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.90
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking config v0.9.2
[INFO] [stderr]     Checking rog v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]   --> src/main.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::process::{Command, Stdio};
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]   --> src/main.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::process::{Command, Stdio};
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/main.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let out = Command::new(&gonkf_path)
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/main.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let out = Command::new(&gonkf_path)
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Lines(Vec<Line>);
[INFO] [stdout]    |        ----- ^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Lines` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Lines(());
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_add` is never read
[INFO] [stdout]   --> src/main.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct Rog {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 61 |     header_add: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rog` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grep` is never used
[INFO] [stdout]    --> src/main.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 300 | fn grep(content: String, greps: Vec<String>) -> Vec<String> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fix_header` is never used
[INFO] [stdout]    --> src/main.rs:453:8
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl Rog {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 453 |     fn fix_header<P: AsRef<Path>>(&self, path: P) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LogCfg`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 | /         &out.fields.iter().for_each(|field| {
[INFO] [stdout] 351 | |             let def = "".to_string();
[INFO] [stdout] 352 | |             let f = line.msg.get(field).unwrap_or(&def);
[INFO] [stdout] 353 | |             if field == "time_fix" {
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             }
[INFO] [stdout] 358 | |         });
[INFO] [stdout]     | |__________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let _ = &out.fields.iter().for_each(|field| {
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:394:13
[INFO] [stdout]     |
[INFO] [stdout] 394 | /             &out.fields.iter().for_each(|field| {
[INFO] [stdout] 395 | |                 let def = "".to_string();
[INFO] [stdout] 396 | |                 let f = line.msg.get(field).unwrap_or(&def);
[INFO] [stdout] 397 | |                 if field == "time_fix" {
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |                 }
[INFO] [stdout] 402 | |             });
[INFO] [stdout]     | |______________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 394 |             let _ = &out.fields.iter().for_each(|field| {
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/settings.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]   |                        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Capture`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/settings.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Rog`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/settings.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Out`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/settings.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Settings`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rog` (bin "rog") due to 6 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Lines(Vec<Line>);
[INFO] [stdout]    |        ----- ^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Lines` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Lines(());
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_add` is never read
[INFO] [stdout]   --> src/main.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct Rog {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 61 |     header_add: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rog` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grep` is never used
[INFO] [stdout]    --> src/main.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 300 | fn grep(content: String, greps: Vec<String>) -> Vec<String> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fix_header` is never used
[INFO] [stdout]    --> src/main.rs:453:8
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl Rog {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 453 |     fn fix_header<P: AsRef<Path>>(&self, path: P) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[derive(Deserialize, Debug, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LogCfg`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 | /         &out.fields.iter().for_each(|field| {
[INFO] [stdout] 351 | |             let def = "".to_string();
[INFO] [stdout] 352 | |             let f = line.msg.get(field).unwrap_or(&def);
[INFO] [stdout] 353 | |             if field == "time_fix" {
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             }
[INFO] [stdout] 358 | |         });
[INFO] [stdout]     | |__________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let _ = &out.fields.iter().for_each(|field| {
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:394:13
[INFO] [stdout]     |
[INFO] [stdout] 394 | /             &out.fields.iter().for_each(|field| {
[INFO] [stdout] 395 | |                 let def = "".to_string();
[INFO] [stdout] 396 | |                 let f = line.msg.get(field).unwrap_or(&def);
[INFO] [stdout] 397 | |                 if field == "time_fix" {
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |                 }
[INFO] [stdout] 402 | |             });
[INFO] [stdout]     | |______________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 394 |             let _ = &out.fields.iter().for_each(|field| {
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/settings.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]   |                        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Capture`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/settings.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Rog`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/settings.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Out`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/settings.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug, Clone, Deserialize)]
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Settings`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rog` (bin "rog" test) due to 6 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "82c01867adf28f38cf0c5510351904d1087eba09fb5ba8221c10d4a64ab2c0d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82c01867adf28f38cf0c5510351904d1087eba09fb5ba8221c10d4a64ab2c0d5", kill_on_drop: false }`
[INFO] [stdout] 82c01867adf28f38cf0c5510351904d1087eba09fb5ba8221c10d4a64ab2c0d5
