[INFO] cloning repository https://github.com/samuelorji/split
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samuelorji/split" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsplit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsplit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7eb8a6a6b01ed76c00ebe14b10ac9430ebf1350d
[INFO] checking samuelorji/split against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsplit" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/samuelorji/split
[INFO] finished tweaking git repo https://github.com/samuelorji/split
[INFO] tweaked toml for git repo https://github.com/samuelorji/split written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/samuelorji/split on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/samuelorji/split 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap_lex v0.1.1
[INFO] [stderr]   Downloaded clap v3.1.12
[INFO] [stderr]   Downloaded libc v0.2.124
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 270fe498478b2a5066694e006904e7a94b31b3052da50c08ad77930167820430
[INFO] running `Command { std: "docker" "start" "-a" "270fe498478b2a5066694e006904e7a94b31b3052da50c08ad77930167820430", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "270fe498478b2a5066694e006904e7a94b31b3052da50c08ad77930167820430", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "270fe498478b2a5066694e006904e7a94b31b3052da50c08ad77930167820430", kill_on_drop: false }`
[INFO] [stdout] 270fe498478b2a5066694e006904e7a94b31b3052da50c08ad77930167820430
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a212d93ade3f487343f94ddf83ab7d9e907549e1642b29caf63cacbf4638fd5f
[INFO] running `Command { std: "docker" "start" "-a" "a212d93ade3f487343f94ddf83ab7d9e907549e1642b29caf63cacbf4638fd5f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking clap_lex v0.1.1
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.1.7
[INFO] [stderr]     Checking clap v3.1.12
[INFO] [stderr]     Checking split v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `FILE_NOT_FOUND` should have an upper camel case name
[INFO] [stdout]  --> src/models.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     FILE_NOT_FOUND,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FileNotFound`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EMPTY_FILE` should have an upper camel case name
[INFO] [stdout]  --> src/models.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     EMPTY_FILE,
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `EmptyFile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::Args`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env::Args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read`
[INFO] [stdout]  --> src/main.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fs::{File, read};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::num::ParseIntError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::process;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FILE_NOT_FOUND` should have an upper camel case name
[INFO] [stdout]  --> src/models.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     FILE_NOT_FOUND,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FileNotFound`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EMPTY_FILE` should have an upper camel case name
[INFO] [stdout]  --> src/models.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     EMPTY_FILE,
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `EmptyFile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::Args`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env::Args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read`
[INFO] [stdout]  --> src/main.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fs::{File, read};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::num::ParseIntError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::process;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut reader = BufReader::new(file);
[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/main.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     let mut underlying_file = writer.get_mut();
[INFO] [stdout]    |                         ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let mut cursor: u32 = 0;
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:162:29
[INFO] [stdout]     |
[INFO] [stdout] 162 |                         let mut underlying_file = writer.get_mut();
[INFO] [stdout]     |                             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor`
[INFO] [stdout]    --> src/main.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let mut cursor: u32 = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:63
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...   fn write_to_writer(line: std::io::Result<String>, mut writer: &mut BufWriter<File>,cursor : &mut u32) -> std::io::Result<usize> {
[INFO] [stdout]    |                                                         ----^^^^^^
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:215:25
[INFO] [stdout]     |
[INFO] [stdout] 215 |                     Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `splitOptions` should have a snake case name
[INFO] [stdout]   --> src/main.rs:16:42
[INFO] [stdout]    |
[INFO] [stdout] 16 |     validate_and_parse(config).and_then(|splitOptions| {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ help: convert the identifier to snake case: `split_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `splitOptions` should have a snake case name
[INFO] [stdout]   --> src/main.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn call_appropriate_function(splitOptions : SplitOptions) -> Result<(),SplitErrors> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^ help: convert the identifier to snake case: `split_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `reached_EOF` should have a snake case name
[INFO] [stdout]    --> src/main.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |             let mut reached_EOF = false;
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: convert the identifier to snake case: `reached_eof`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `line_Length` should have a snake case name
[INFO] [stdout]   --> src/models.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub line_Length : Option<u32>,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `line_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut reader = BufReader::new(file);
[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/main.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     let mut underlying_file = writer.get_mut();
[INFO] [stdout]    |                         ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let mut cursor: u32 = 0;
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:162:29
[INFO] [stdout]     |
[INFO] [stdout] 162 |                         let mut underlying_file = writer.get_mut();
[INFO] [stdout]     |                             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor`
[INFO] [stdout]    --> src/main.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let mut cursor: u32 = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:63
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...   fn write_to_writer(line: std::io::Result<String>, mut writer: &mut BufWriter<File>,cursor : &mut u32) -> std::io::Result<usize> {
[INFO] [stdout]    |                                                         ----^^^^^^
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:215:25
[INFO] [stdout]     |
[INFO] [stdout] 215 |                     Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `splitOptions` should have a snake case name
[INFO] [stdout]   --> src/main.rs:16:42
[INFO] [stdout]    |
[INFO] [stdout] 16 |     validate_and_parse(config).and_then(|splitOptions| {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ help: convert the identifier to snake case: `split_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `splitOptions` should have a snake case name
[INFO] [stdout]   --> src/main.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn call_appropriate_function(splitOptions : SplitOptions) -> Result<(),SplitErrors> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^ help: convert the identifier to snake case: `split_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `reached_EOF` should have a snake case name
[INFO] [stdout]    --> src/main.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |             let mut reached_EOF = false;
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: convert the identifier to snake case: `reached_eof`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `line_Length` should have a snake case name
[INFO] [stdout]   --> src/models.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub line_Length : Option<u32>,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `line_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.09s
[INFO] running `Command { std: "docker" "inspect" "a212d93ade3f487343f94ddf83ab7d9e907549e1642b29caf63cacbf4638fd5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a212d93ade3f487343f94ddf83ab7d9e907549e1642b29caf63cacbf4638fd5f", kill_on_drop: false }`
[INFO] [stdout] a212d93ade3f487343f94ddf83ab7d9e907549e1642b29caf63cacbf4638fd5f
