[INFO] fetching crate rust_file_encode_mode_convert 11.45.14...
[INFO] testing rust_file_encode_mode_convert-11.45.14 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate rust_file_encode_mode_convert 11.45.14 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate rust_file_encode_mode_convert 11.45.14
[INFO] finished tweaking crates.io crate rust_file_encode_mode_convert 11.45.14
[INFO] tweaked toml for crates.io crate rust_file_encode_mode_convert 11.45.14 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust_file_encode_mode_convert 11.45.14 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rust_file_encode_mode_convert 11.45.14 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `panic` setting is ignored for `bench` profile
[INFO] [stderr] warning: profile `doc` is deprecated and has no effect
[INFO] [stderr] warning: `panic` setting is ignored for `test` profile
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa383959a2bd36b49d2cfb5fc94005054ea4c6cedba7826849e7151880bf79f1
[INFO] running `Command { std: "docker" "start" "-a" "fa383959a2bd36b49d2cfb5fc94005054ea4c6cedba7826849e7151880bf79f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa383959a2bd36b49d2cfb5fc94005054ea4c6cedba7826849e7151880bf79f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa383959a2bd36b49d2cfb5fc94005054ea4c6cedba7826849e7151880bf79f1", kill_on_drop: false }`
[INFO] [stdout] fa383959a2bd36b49d2cfb5fc94005054ea4c6cedba7826849e7151880bf79f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d980862397b9cde246af23d2d739d22b23136700030d8690df369724384a8c5
[INFO] running `Command { std: "docker" "start" "-a" "4d980862397b9cde246af23d2d739d22b23136700030d8690df369724384a8c5", kill_on_drop: false }`
[INFO] [stderr] warning: `panic` setting is ignored for `bench` profile
[INFO] [stderr] warning: profile `doc` is deprecated and has no effect
[INFO] [stderr] warning: `panic` setting is ignored for `test` profile
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling virtue v0.0.13
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling bincode_derive v2.0.0-rc.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling bincode v2.0.0-rc.3
[INFO] [stderr]    Compiling syn v2.0.91
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling rust_file_encode_mode_convert v11.45.14 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::exit;
[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: `rust_file_encode_mode_convert`
[INFO] [stdout]  --> src/bin/detect_encode_cli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rust_file_encode_mode_convert;
[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: `OpenOptions`
[INFO] [stdout]  --> src/bin/detect_encode_cli.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{File, OpenOptions};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/bin/detect_encode_cli.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/io_read_file_decode_test.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut contents = String::from_utf8_lossy(&contents);
[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: unused import: `rust_file_encode_mode_convert::DecodeReaderBytes`
[INFO] [stdout]  --> src/bin/encoding_rs_io_demo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rust_file_encode_mode_convert::DecodeReaderBytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_gbk_encoding_and_transform_utf8` is never used
[INFO] [stdout]   --> src/bin/encoding_rs_io_demo.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn detect_gbk_encoding_and_transform_utf8(file_path: &str) -> io::Result<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_bom_and_convert_to_utf8` is never used
[INFO] [stdout]   --> src/bin/encoding_rs_io_demo.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn remove_bom_and_convert_to_utf8(dest: &mut String, filepath: &String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized] target(s) in 10.59s
[INFO] running `Command { std: "docker" "inspect" "4d980862397b9cde246af23d2d739d22b23136700030d8690df369724384a8c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d980862397b9cde246af23d2d739d22b23136700030d8690df369724384a8c5", kill_on_drop: false }`
[INFO] [stdout] 4d980862397b9cde246af23d2d739d22b23136700030d8690df369724384a8c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2eae6e28aa97b4860329967eaec0099141967170d238cca05c46b06c280b617
[INFO] running `Command { std: "docker" "start" "-a" "f2eae6e28aa97b4860329967eaec0099141967170d238cca05c46b06c280b617", kill_on_drop: false }`
[INFO] [stderr] warning: `panic` setting is ignored for `bench` profile
[INFO] [stderr] warning: profile `doc` is deprecated and has no effect
[INFO] [stderr] warning: `panic` setting is ignored for `test` profile
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling virtue v0.0.13
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling bincode_derive v2.0.0-rc.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling bincode v2.0.0-rc.3
[INFO] [stderr]    Compiling syn v2.0.91
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling rust_file_encode_mode_convert v11.45.14 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::exit;
[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: `rust_file_encode_mode_convert::DecodeReaderBytes`
[INFO] [stdout]  --> src/bin/encoding_rs_io_demo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rust_file_encode_mode_convert::DecodeReaderBytes;
[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: `rust_file_encode_mode_convert`
[INFO] [stdout]  --> src/bin/detect_encode_cli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rust_file_encode_mode_convert;
[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: `OpenOptions`
[INFO] [stdout]  --> src/bin/detect_encode_cli.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{File, OpenOptions};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/bin/detect_encode_cli.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/io_read_file_decode_test.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut contents = String::from_utf8_lossy(&contents);
[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: unused import: `std::process::exit`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_gbk_encoding_and_transform_utf8` is never used
[INFO] [stdout]   --> src/bin/encoding_rs_io_demo.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn detect_gbk_encoding_and_transform_utf8(file_path: &str) -> io::Result<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_bom_and_convert_to_utf8` is never used
[INFO] [stdout]   --> src/bin/encoding_rs_io_demo.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn remove_bom_and_convert_to_utf8(dest: &mut String, filepath: &String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.57s
[INFO] running `Command { std: "docker" "inspect" "f2eae6e28aa97b4860329967eaec0099141967170d238cca05c46b06c280b617", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2eae6e28aa97b4860329967eaec0099141967170d238cca05c46b06c280b617", kill_on_drop: false }`
[INFO] [stdout] f2eae6e28aa97b4860329967eaec0099141967170d238cca05c46b06c280b617
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 596bd81dad11a3f1fa31e9254cd08de5e49faa99734a803e8bfb9af3e4ab804d
[INFO] running `Command { std: "docker" "start" "-a" "596bd81dad11a3f1fa31e9254cd08de5e49faa99734a803e8bfb9af3e4ab804d", kill_on_drop: false }`
[INFO] [stderr] warning: `panic` setting is ignored for `bench` profile
[INFO] [stderr] warning: profile `doc` is deprecated and has no effect
[INFO] [stderr] warning: `panic` setting is ignored for `test` profile
[INFO] [stderr] warning: unused import: `std::process::exit`
[INFO] [stderr]  --> src/lib.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::process::exit;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_file_encode_mode_convert` (lib) generated 1 warning (run `cargo fix --lib -p rust_file_encode_mode_convert` to apply 1 suggestion)
[INFO] [stderr] warning: `rust_file_encode_mode_convert` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: unused import: `rust_file_encode_mode_convert::DecodeReaderBytes`
[INFO] [stderr]  --> src/bin/encoding_rs_io_demo.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rust_file_encode_mode_convert::DecodeReaderBytes;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `detect_gbk_encoding_and_transform_utf8` is never used
[INFO] [stderr]   --> src/bin/encoding_rs_io_demo.rs:13:4
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn detect_gbk_encoding_and_transform_utf8(file_path: &str) -> io::Result<String> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `remove_bom_and_convert_to_utf8` is never used
[INFO] [stderr]   --> src/bin/encoding_rs_io_demo.rs:59:4
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn remove_bom_and_convert_to_utf8(dest: &mut String, filepath: &String) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/bin/io_read_file_decode_test.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let mut contents = String::from_utf8_lossy(&contents);
[INFO] [stderr]   |         ----^^^^^^^^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rust_file_encode_mode_convert`
[INFO] [stderr]  --> src/bin/detect_encode_cli.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rust_file_encode_mode_convert;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `OpenOptions`
[INFO] [stderr]  --> src/bin/detect_encode_cli.rs:2:21
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::fs::{File, OpenOptions};
[INFO] [stderr]   |                     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::current`
[INFO] [stderr]  --> src/bin/detect_encode_cli.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::thread::current;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_file_encode_mode_convert` (bin "encoding_rs_io_demo" test) generated 3 warnings (run `cargo fix --bin "encoding_rs_io_demo" -p rust_file_encode_mode_convert --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rust_file_encode_mode_convert` (bin "io_read_file_decode_test" test) generated 1 warning (run `cargo fix --bin "io_read_file_decode_test" -p rust_file_encode_mode_convert --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rust_file_encode_mode_convert` (bin "rust_file_encode_mode_convert" test) generated 3 warnings (run `cargo fix --bin "rust_file_encode_mode_convert" -p rust_file_encode_mode_convert --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_file_encode_mode_convert-832cf410f246a1e3)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test utils::tests::peeker_empty ... ok
[INFO] [stdout] test utils::tests::peeker_one ... ok
[INFO] [stdout] test utils::tests::peeker_one_at_a_time ... ok
[INFO] [stdout] test utils::tests::peeker_four ... ok
[INFO] [stdout] test utils::tests::peeker_three ... ok
[INFO] [stdout] test utils::tests::peeker_two ... ok
[INFO] [stdout] test utils::tests::peeker_without_bom ... ok
[INFO] [stdout] test utils::tests::peeker_without_bom_nobom ... ok
[INFO] [stdout] test utils::tests::tiny_utf16_invalid ... ok
[INFO] [stdout] test utils::tests::tiny_utf16_normal ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/encode_rs_demo.rs (/opt/rustwide/target/debug/deps/encode_rs_demo-1d3cba0073e5464f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/encoding_rs_io_demo.rs (/opt/rustwide/target/debug/deps/encoding_rs_io_demo-04d0adc12260c93d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/io_read_file_decode_test.rs (/opt/rustwide/target/debug/deps/io_read_file_decode_test-9fc007cf76dbdfb2)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/detect_encode_cli.rs (/opt/rustwide/target/debug/deps/rust_file_encode_mode_convert-3ed1a4f01baf3aa9)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_file_encode_mode_convert
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "596bd81dad11a3f1fa31e9254cd08de5e49faa99734a803e8bfb9af3e4ab804d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "596bd81dad11a3f1fa31e9254cd08de5e49faa99734a803e8bfb9af3e4ab804d", kill_on_drop: false }`
[INFO] [stdout] 596bd81dad11a3f1fa31e9254cd08de5e49faa99734a803e8bfb9af3e4ab804d
