[INFO] cloning repository https://github.com/Grndelwald/json2csv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Grndelwald/json2csv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrndelwald%2Fjson2csv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrndelwald%2Fjson2csv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 317b7a1b81cda0b536a2ae39a6609199a624ba79 [INFO] checking Grndelwald/json2csv against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrndelwald%2Fjson2csv" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Grndelwald/json2csv [INFO] finished tweaking git repo https://github.com/Grndelwald/json2csv [INFO] tweaked toml for git repo https://github.com/Grndelwald/json2csv written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Grndelwald/json2csv on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Grndelwald/json2csv 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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v4.5.13 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded clap v4.5.17 [INFO] [stderr] Downloaded clap_builder v4.5.17 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2f62bb3c936a02a9c25a44bfb1a17d4f7c03829937c50df79c0f81ef72f5914 [INFO] running `Command { std: "docker" "start" "-a" "e2f62bb3c936a02a9c25a44bfb1a17d4f7c03829937c50df79c0f81ef72f5914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2f62bb3c936a02a9c25a44bfb1a17d4f7c03829937c50df79c0f81ef72f5914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2f62bb3c936a02a9c25a44bfb1a17d4f7c03829937c50df79c0f81ef72f5914", kill_on_drop: false }` [INFO] [stdout] e2f62bb3c936a02a9c25a44bfb1a17d4f7c03829937c50df79c0f81ef72f5914 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70507ac15f12c38b1a87f87bb51037686aca27bc76c0e14e919b641bfd69a2dc [INFO] running `Command { std: "docker" "start" "-a" "70507ac15f12c38b1a87f87bb51037686aca27bc76c0e14e919b641bfd69a2dc", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking jsontocsv v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::PathBuf; [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: `Subcommand` [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::PathBuf; [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: `Subcommand` [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::option::Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:274:44 [INFO] [stdout] | [INFO] [stdout] 274 | writer.write_field(self.is_ignored.to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `std::option::Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::option::Option: std::fmt::Display` [INFO] [stdout] which is required by `std::option::Option: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `bool` [INFO] [stdout] --> /rustc/5ff93158e08fa2205cd4b86cddf9eae95952cc96/library/alloc/src/string.rs:2882:4 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `bool` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 274 | writer.write_field(self.is_ignored.expect("REASON").to_string()).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::option::Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:274:44 [INFO] [stdout] | [INFO] [stdout] 274 | writer.write_field(self.is_ignored.to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `std::option::Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::option::Option: std::fmt::Display` [INFO] [stdout] which is required by `std::option::Option: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `bool` [INFO] [stdout] --> /rustc/5ff93158e08fa2205cd4b86cddf9eae95952cc96/library/alloc/src/string.rs:2882:4 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `bool` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 274 | writer.write_field(self.is_ignored.expect("REASON").to_string()).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:93:53 [INFO] [stdout] | [INFO] [stdout] 93 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:118:53 [INFO] [stdout] | [INFO] [stdout] 118 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:143:53 [INFO] [stdout] | [INFO] [stdout] 143 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [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:180:53 [INFO] [stdout] | [INFO] [stdout] 180 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:196:68 [INFO] [stdout] | [INFO] [stdout] 196 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:210:53 [INFO] [stdout] | [INFO] [stdout] 210 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:236:68 [INFO] [stdout] | [INFO] [stdout] 236 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:291:53 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:317:53 [INFO] [stdout] | [INFO] [stdout] 317 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:334:53 [INFO] [stdout] | [INFO] [stdout] 334 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:360:53 [INFO] [stdout] | [INFO] [stdout] 360 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:382:53 [INFO] [stdout] | [INFO] [stdout] 382 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:382:26 [INFO] [stdout] | [INFO] [stdout] 382 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:382:53 [INFO] [stdout] | [INFO] [stdout] 382 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:382:68 [INFO] [stdout] | [INFO] [stdout] 382 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:53 [INFO] [stdout] | [INFO] [stdout] 93 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:394:53 [INFO] [stdout] | [INFO] [stdout] 394 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:118:53 [INFO] [stdout] | [INFO] [stdout] 118 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:419:53 [INFO] [stdout] | [INFO] [stdout] 419 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:441:53 [INFO] [stdout] | [INFO] [stdout] 441 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:441:26 [INFO] [stdout] | [INFO] [stdout] 441 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:441:53 [INFO] [stdout] | [INFO] [stdout] 441 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:441:68 [INFO] [stdout] | [INFO] [stdout] 441 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:452:53 [INFO] [stdout] | [INFO] [stdout] 452 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:452:53 [INFO] [stdout] | [INFO] [stdout] 452 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:143:53 [INFO] [stdout] | [INFO] [stdout] 143 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:452:68 [INFO] [stdout] | [INFO] [stdout] 452 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:465:68 [INFO] [stdout] | [INFO] [stdout] 465 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:476:53 [INFO] [stdout] | [INFO] [stdout] 476 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:476:26 [INFO] [stdout] | [INFO] [stdout] 476 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:476:53 [INFO] [stdout] | [INFO] [stdout] 476 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:476:68 [INFO] [stdout] | [INFO] [stdout] 476 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [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:488:53 [INFO] [stdout] | [INFO] [stdout] 488 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:488:53 [INFO] [stdout] | [INFO] [stdout] 488 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:504:53 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:504:26 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:504:53 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:504:68 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | let mut json_data: String = std::fs::read_to_string(args.file.as_ref().unwrap().as_str()).unwrap(); [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:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | let mut data: Welcome = serde_json::from_str(json_data.as_str()).unwrap(); [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:180:53 [INFO] [stdout] | [INFO] [stdout] 180 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | let mut s_no = 0 as u64; [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:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:196:68 [INFO] [stdout] | [INFO] [stdout] 196 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsontocsv` (bin "jsontocsv") due to 1 previous error; 51 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:210:53 [INFO] [stdout] | [INFO] [stdout] 210 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:236:68 [INFO] [stdout] | [INFO] [stdout] 236 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:291:53 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:317:53 [INFO] [stdout] | [INFO] [stdout] 317 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:334:53 [INFO] [stdout] | [INFO] [stdout] 334 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:360:53 [INFO] [stdout] | [INFO] [stdout] 360 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:382:53 [INFO] [stdout] | [INFO] [stdout] 382 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:382:26 [INFO] [stdout] | [INFO] [stdout] 382 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:382:53 [INFO] [stdout] | [INFO] [stdout] 382 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:382:68 [INFO] [stdout] | [INFO] [stdout] 382 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:394:53 [INFO] [stdout] | [INFO] [stdout] 394 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:419:53 [INFO] [stdout] | [INFO] [stdout] 419 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [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:441:53 [INFO] [stdout] | [INFO] [stdout] 441 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:441:26 [INFO] [stdout] | [INFO] [stdout] 441 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:441:53 [INFO] [stdout] | [INFO] [stdout] 441 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:441:68 [INFO] [stdout] | [INFO] [stdout] 441 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:452:53 [INFO] [stdout] | [INFO] [stdout] 452 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:452:53 [INFO] [stdout] | [INFO] [stdout] 452 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:452:68 [INFO] [stdout] | [INFO] [stdout] 452 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:465:68 [INFO] [stdout] | [INFO] [stdout] 465 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:476:53 [INFO] [stdout] | [INFO] [stdout] 476 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:476:26 [INFO] [stdout] | [INFO] [stdout] 476 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:476:53 [INFO] [stdout] | [INFO] [stdout] 476 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:476:68 [INFO] [stdout] | [INFO] [stdout] 476 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:488:53 [INFO] [stdout] | [INFO] [stdout] 488 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:488:53 [INFO] [stdout] | [INFO] [stdout] 488 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:504:53 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/main.rs:504:26 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_no` [INFO] [stdout] --> src/main.rs:504:53 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:504:68 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_data(&self, writer: &mut Writer, mut s_no: u64, args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | let mut json_data: String = std::fs::read_to_string(args.file.as_ref().unwrap().as_str()).unwrap(); [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:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | let mut data: Welcome = serde_json::from_str(json_data.as_str()).unwrap(); [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:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | let mut s_no = 0 as u64; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsontocsv` (bin "jsontocsv" test) due to 1 previous error; 51 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70507ac15f12c38b1a87f87bb51037686aca27bc76c0e14e919b641bfd69a2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70507ac15f12c38b1a87f87bb51037686aca27bc76c0e14e919b641bfd69a2dc", kill_on_drop: false }` [INFO] [stdout] 70507ac15f12c38b1a87f87bb51037686aca27bc76c0e14e919b641bfd69a2dc