[INFO] fetching crate rsfile 0.1.2...
[INFO] checking rsfile-0.1.2 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] extracting crate rsfile 0.1.2 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate rsfile 0.1.2
[INFO] finished tweaking crates.io crate rsfile 0.1.2
[INFO] tweaked toml for crates.io crate rsfile 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rsfile 0.1.2 on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rsfile 0.1.2 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 97b752964a2fbc09495607c69dac27b01fdbc44d6f109193c21a06d073099c4c
[INFO] running `Command { std: "docker" "start" "-a" "97b752964a2fbc09495607c69dac27b01fdbc44d6f109193c21a06d073099c4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97b752964a2fbc09495607c69dac27b01fdbc44d6f109193c21a06d073099c4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97b752964a2fbc09495607c69dac27b01fdbc44d6f109193c21a06d073099c4c", kill_on_drop: false }`
[INFO] [stdout] 97b752964a2fbc09495607c69dac27b01fdbc44d6f109193c21a06d073099c4c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f2f3c8cd15538a2e5b7bce62c39efcf3a708769d72075eb439bf3087e6e37b0
[INFO] running `Command { std: "docker" "start" "-a" "1f2f3c8cd15538a2e5b7bce62c39efcf3a708769d72075eb439bf3087e6e37b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.116
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling siphasher v0.3.9
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]    Compiling libz-sys v1.1.3
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]     Checking futf v0.1.4
[INFO] [stderr]    Compiling curl-sys v0.4.52+curl-7.81.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling curl v0.4.42
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking tendril v0.4.2
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking openssl-sys v0.9.72
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.1
[INFO] [stderr]    Compiling markup5ever v0.10.1
[INFO] [stderr]     Checking string_cache v0.8.2
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking serde_json v1.0.78
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking xml5ever v0.16.2
[INFO] [stderr]    Compiling html5ever v0.25.1
[INFO] [stderr]     Checking markup5ever_rcdom v0.1.0
[INFO] [stderr]     Checking webpage v1.4.0
[INFO] [stderr]     Checking rsfile v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/web.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 56 |     match(s){
[INFO] [stdout]    |          ^ ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -     match(s){
[INFO] [stdout] 56 +     match s{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/web.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 |         match(s){
[INFO] [stdout]     |              ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 152 -         match(s){
[INFO] [stdout] 152 +         match s{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow`
[INFO] [stdout]   --> src/rsio.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rsio.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut s = input.split_whitespace();
[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/rsio.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let mut file = OpenOptions::new()
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/lib.rs:262:25
[INFO] [stdout]     |
[INFO] [stdout] 262 |                     let value=if let Some(v)=model.get(k){
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[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/lib.rs:283:9
[INFO] [stdout]     |
[INFO] [stdout] 283 |     let mut wtr = csv::Writer::from_path(filepath);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/lib.rs:288:21
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 let len=model.keys();
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                     writer.write_record(&headers);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 294 |                     let _ = writer.write_record(&headers);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:311:17
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 writer.write_record(&values);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 let _ = writer.write_record(&values);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 |             writer.flush();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 313 |             let _ = writer.flush();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/rsio.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let a:&str=v.clone();
[INFO] [stdout]    |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_string_or_empty`
[INFO] [stdout]  --> src/web.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use crate::web::{fetch_html,get_string_or_empty, read_html_file, read_html_string, show_dict};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/web.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 56 |     match(s){
[INFO] [stdout]    |          ^ ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -     match(s){
[INFO] [stdout] 56 +     match s{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/web.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 |         match(s){
[INFO] [stdout]     |              ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 152 -         match(s){
[INFO] [stdout] 152 +         match s{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow`
[INFO] [stdout]   --> src/rsio.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flag`
[INFO] [stdout]   --> src/web.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let flag=write_text("data/webpage.html",hh);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_flag`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `html_str`
[INFO] [stdout]   --> src/web.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let html_str=match html_opt {
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_html_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page1`
[INFO] [stdout]   --> src/web.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let page1=read_html_string(get_ref_string_str(html_opt));
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_page1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rsio.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut s = input.split_whitespace();
[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/rsio.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let mut file = OpenOptions::new()
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::write`
[INFO] [stdout]  --> tests/file_test.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::ptr::write;
[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 variable: `value`
[INFO] [stdout]    --> src/lib.rs:262:25
[INFO] [stdout]     |
[INFO] [stdout] 262 |                     let value=if let Some(v)=model.get(k){
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `stdin`
[INFO] [stdout]  --> src/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Error, stdin};
[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 imports: `BorrowMut` and `Borrow`
[INFO] [stdout]   --> src/rsio.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsio::*`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rsio::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:283:9
[INFO] [stdout]     |
[INFO] [stdout] 283 |     let mut wtr = csv::Writer::from_path(filepath);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/lib.rs:288:21
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 let len=model.keys();
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flag`
[INFO] [stdout]   --> tests/web_test.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let flag=write_text("data/webpage.html",hh);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_flag`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page1`
[INFO] [stdout]   --> tests/web_test.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let page1=read_html_string(html_str);
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_page1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]  --> tests/rsio_test.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let line=input_line();
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]  --> tests/rsio_test.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let line=input_line_with_msg("Please input a line:");
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]   --> tests/rsio_test.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let content = read_binary("data/test.txt");
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_all` is never used
[INFO] [stdout]  --> tests/rsio_test.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn test_all(){
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> tests/file_test.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 |                         let value=if let Some(v)=model.get(k){
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> tests/file_test.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |                         let value=if let Some(v)=model.get(k){
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rsio.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut s = input.split_whitespace();
[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/rsio.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let mut file = OpenOptions::new()
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `input` is never used
[INFO] [stdout]   --> src/rsio.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn input()->Vec<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 `println` is never used
[INFO] [stdout]   --> src/rsio.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn println(s:&str){
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/rsio.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn print(s:&str){
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eprintln` is never used
[INFO] [stdout]   --> src/rsio.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn eprintln(s:&str){
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/rsio.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let a:&str=v.clone();
[INFO] [stdout]    |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                     writer.write_record(&headers);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 294 |                     let _ = writer.write_record(&headers);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:311:17
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 writer.write_record(&values);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 let _ = writer.write_record(&values);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 |             writer.flush();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 313 |             let _ = writer.flush();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/rsio.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let a:&str=v.clone();
[INFO] [stdout]    |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `stdin`
[INFO] [stdout]  --> src/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Error, stdin};
[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 imports: `BorrowMut` and `Borrow`
[INFO] [stdout]   --> src/rsio.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsio::*`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rsio::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rsio.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut s = input.split_whitespace();
[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/rsio.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let mut file = OpenOptions::new()
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `input_line` is never used
[INFO] [stdout]   --> src/rsio.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn input_line()->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 `input` is never used
[INFO] [stdout]   --> src/rsio.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn input()->Vec<String>{
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `println` is never used
[INFO] [stdout]   --> src/rsio.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn println(s:&str){
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/rsio.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn print(s:&str){
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eprintln` is never used
[INFO] [stdout]   --> src/rsio.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn eprintln(s:&str){
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `input_line_with_msg` is never used
[INFO] [stdout]   --> src/rsio.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn input_line_with_msg(msg:&str)->String{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_binary` is never used
[INFO] [stdout]    --> src/rsio.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn read_binary(filepath:&str)->Vec<u8>{
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_text_once` is never used
[INFO] [stdout]    --> src/rsio.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn write_text_once(filepath:&str,content:&str){
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_text` is never used
[INFO] [stdout]    --> src/rsio.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub fn append_text(filepath:&str,lines:Vec<&str>){
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/rsio.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let a:&str=v.clone();
[INFO] [stdout]    |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.88s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, xml5ever v0.16.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 14`
[INFO] running `Command { std: "docker" "inspect" "1f2f3c8cd15538a2e5b7bce62c39efcf3a708769d72075eb439bf3087e6e37b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f2f3c8cd15538a2e5b7bce62c39efcf3a708769d72075eb439bf3087e6e37b0", kill_on_drop: false }`
[INFO] [stdout] 1f2f3c8cd15538a2e5b7bce62c39efcf3a708769d72075eb439bf3087e6e37b0
