[INFO] cloning repository https://github.com/DevSanso/StorageTransWord
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DevSanso/StorageTransWord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevSanso%2FStorageTransWord", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevSanso%2FStorageTransWord'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 571456518e5f0609ae155ffd82d2653b164cb962
[INFO] testing DevSanso/StorageTransWord against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevSanso%2FStorageTransWord" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DevSanso/StorageTransWord on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/DevSanso/StorageTransWord
[INFO] finished tweaking git repo https://github.com/DevSanso/StorageTransWord
[INFO] tweaked toml for git repo https://github.com/DevSanso/StorageTransWord written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/DevSanso/StorageTransWord 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pkg-config v0.3.20
[INFO] [stderr]   Downloaded reqwest v0.11.5
[INFO] [stderr]   Downloaded openssl-sys v0.9.67
[INFO] [stderr]   Downloaded h2 v0.3.6
[INFO] [stderr]   Downloaded rusqlite v0.26.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.23.1
[INFO] [stderr]   Downloaded ahash v0.7.5
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e2fb055870d459c018b8daa875c17c4a1d0f21fe2b8e750c5b4f7f51e28dc47
[INFO] running `Command { std: "docker" "start" "-a" "2e2fb055870d459c018b8daa875c17c4a1d0f21fe2b8e750c5b4f7f51e28dc47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e2fb055870d459c018b8daa875c17c4a1d0f21fe2b8e750c5b4f7f51e28dc47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e2fb055870d459c018b8daa875c17c4a1d0f21fe2b8e750c5b4f7f51e28dc47", kill_on_drop: false }`
[INFO] [stdout] 2e2fb055870d459c018b8daa875c17c4a1d0f21fe2b8e750c5b4f7f51e28dc47
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 695ede3e80aeb1708311b06e73e830d7b8f10c5fe1585e148e5f2c5680ae672f
[INFO] running `Command { std: "docker" "start" "-a" "695ede3e80aeb1708311b06e73e830d7b8f10c5fe1585e148e5f2c5680ae672f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling pkg-config v0.3.20
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling ahash v0.7.5
[INFO] [stderr]    Compiling cc v1.0.71
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling tokio v1.12.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling openssl v0.10.36
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling http v0.2.5
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling futures-io v0.3.17
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling openssl-sys v0.9.67
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling slab v0.4.4
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling tinyvec v1.5.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling http-body v0.4.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling libsqlite3-sys v0.23.1
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling httpdate v1.0.1
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling rusqlite v0.26.0
[INFO] [stderr]    Compiling tokio-util v0.6.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.6
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling hyper v0.14.13
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.5
[INFO] [stderr]    Compiling StorageTransWord v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `papago::PapagoDriver`
[INFO] [stdout]  --> src/driver/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use papago::PapagoDriver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]  --> src/console/view/make_book.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rusqlite::{Connection,self};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorView`
[INFO] [stdout]  --> src/console/view/make_book.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::console::view::err::{ErrorView,ErrorStringView};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::include_str`
[INFO] [stdout]  --> src/var/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::include_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db`
[INFO] [stdout]  --> src/var/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::db;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/console/view/book_list.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self,BufRead};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ok`
[INFO] [stdout]   --> src/console/view/mod.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Ok(ok) => Ok(()),
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_ok`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]   --> src/console/view/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let conn = Var::get_db_conn_as_mut_ref();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ok`
[INFO] [stdout]    --> src/console/view/word.rs:179:20
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 Ok(ok) => Ok(Some(w)),
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/console/view/word.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut res =  self.input_result.clone();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pop` is never used
[INFO] [stdout]   --> src/db/table.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Book {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn pop(conn : &Connection,id : i32) -> rusqlite::Result<()> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_input_result_None` is never used
[INFO] [stdout]    --> src/console/view/word.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 35  | impl WordView {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     fn update_input_result_None(self : &mut Self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search_book_id` is never used
[INFO] [stdout]   --> src/console/component/print_list.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl BookList {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn search_book_id(&self,name : String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `StorageTransWord` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `storage_trans_word`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `getAttr` should have a snake case name
[INFO] [stdout]  --> src/driver/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn getAttr(&self,name : &str) -> String;
[INFO] [stdout]   |        ^^^^^^^ help: convert the identifier to snake case: `get_attr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `insert_sql` should have an upper case name
[INFO] [stdout]   --> src/db/table.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |         const insert_sql : &str = "INSERT INTO word(book_id,chapter,page,origin_text,trans_text) VALUES(?1,?2, ?3, ?4, ?5);";
[INFO] [stdout]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `INSERT_SQL`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `upd_sql` should have an upper case name
[INFO] [stdout]    --> src/db/table.rs:109:15
[INFO] [stdout]     |
[INFO] [stdout] 109 | ...   const upd_sql : &str = "UPDATE word SET chapter=?1,page=?2,origin_text=?3,trans_text=?4  WHERE book_id=?5 AND chapter=?6 AND origin...
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to upper case: `UPD_SQL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ext_sql` should have an upper case name
[INFO] [stdout]    --> src/db/table.rs:119:15
[INFO] [stdout]     |
[INFO] [stdout] 119 |         const ext_sql : &str = "SELECT EXISTS(SELECT * FROM word WHERE origin_text =?1 AND book_id=?2);";
[INFO] [stdout]     |               ^^^^^^^ help: convert the identifier to upper case: `EXT_SQL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `del_sql` should have an upper case name
[INFO] [stdout]    --> src/db/table.rs:151:15
[INFO] [stdout]     |
[INFO] [stdout] 151 |         const del_sql : &str = "DELETE FROM word WHERE book_id=?1 AND chapter=?2 AND origin_text=?3;";
[INFO] [stdout]     |               ^^^^^^^ help: convert the identifier to upper case: `DEL_SQL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/view/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         io::stdin().lock().read_line(&mut self.book_select_name);
[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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let _ = io::stdin().lock().read_line(&mut self.book_select_name);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/view/word.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         io::stdin().lock().read_line(&mut buf);
[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] 58 |         let _ = io::stdin().lock().read_line(&mut buf);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/view/word.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         io::stdin().lock().read_line(&mut w.origin_text);
[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] 84 |         let _ = io::stdin().lock().read_line(&mut w.origin_text);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `errMsg` should have a snake case name
[INFO] [stdout]    --> src/console/view/word.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let errMsg : String = format!("{}",data.err().unwrap()).to_string();
[INFO] [stdout]     |                 ^^^^^^ help: convert the identifier to snake case: `err_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_input_result_None` should have a snake case name
[INFO] [stdout]    --> src/console/view/word.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 |     fn update_input_result_None(self : &mut Self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_input_result_none`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/view/book_list.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         io::stdin().read_line(&mut b);
[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] 31 |         let _ = io::stdin().read_line(&mut b);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/component/print_list.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         writeln!(f,"{:<12} => {:>24}","Book Name",self.book_name);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/component/print_list.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         writeln!(f,"{:<12}  : {:03} ","chapter",self.chapter);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/component/print_list.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         writeln!(f,"{ } => {}\n\n","Word Count",word_count);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/component/print_list.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | /         writeln!(f,
[INFO] [stdout] 73 | |             "| {:>5} | {:>20} | {:>20}  |\n",
[INFO] [stdout] 74 | |             "page","origin text","trans text"
[INFO] [stdout] 75 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/component/print_list.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 | /             writeln!(f,
[INFO] [stdout] 79 | |                 "| {:05} | {:>20} | {:>20} |",
[INFO] [stdout] 80 | |             item.page,item.origin_text.replace("\n", ""),item.trans_text);
[INFO] [stdout]    | |_________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/console/component/print_list.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         writeln!(f,"\n\n");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `f` should have an upper case name
[INFO] [stdout]   --> src/var/mod.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | static mut f : Option<VarField> = None;
[INFO] [stdout]    |            ^ help: convert the identifier to upper case (notice the capitalization): `F`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/var/mod.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         init_db(&conn);
[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] 57 |         let _ = init_db(&conn);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 17.54s
[INFO] running `Command { std: "docker" "inspect" "695ede3e80aeb1708311b06e73e830d7b8f10c5fe1585e148e5f2c5680ae672f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "695ede3e80aeb1708311b06e73e830d7b8f10c5fe1585e148e5f2c5680ae672f", kill_on_drop: false }`
[INFO] [stdout] 695ede3e80aeb1708311b06e73e830d7b8f10c5fe1585e148e5f2c5680ae672f
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 416c75f13b5e5d28d82363c06bb3351297085ebe62d270cf4bbc0f4766e61152
[INFO] running `Command { std: "docker" "start" "-a" "416c75f13b5e5d28d82363c06bb3351297085ebe62d270cf4bbc0f4766e61152", kill_on_drop: false }`
[INFO] [stderr]    Compiling StorageTransWord v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read src/driver/../../test_config/papago.json: No such file or directory (os error 2)
[INFO] [stdout]    --> src/driver/papago.rs:116:22
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let source = include_str!("../../test_config/papago.json");
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/driver/../../test_config/papago.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/driver/mod.rs:52:35
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let source = String::from(include_str!("../../test_config/papago.json"));
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/var/../../test_config/papago.json: No such file or directory (os error 2)
[INFO] [stdout]   --> src/var/mod.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let driver_config = String::from(include_str!("../../test_config/papago.json"));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `papago::PapagoDriver`
[INFO] [stdout]  --> src/driver/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use papago::PapagoDriver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]    --> src/console/view/main.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     use std::io::Read;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rusqlite::Connection`
[INFO] [stdout]    --> src/console/view/main.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use rusqlite::Connection;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::init::init_db`
[INFO] [stdout]    --> src/console/view/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     use crate::db::init::init_db;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]  --> src/console/view/make_book.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rusqlite::{Connection,self};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorView`
[INFO] [stdout]  --> src/console/view/make_book.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::console::view::err::{ErrorView,ErrorStringView};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]    --> src/console/view/word.rs:252:9
[INFO] [stdout]     |
[INFO] [stdout] 252 |     use std::io;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]    --> src/console/view/word.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |     use std::io::Read;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rusqlite::Connection`
[INFO] [stdout]    --> src/console/view/word.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |     use rusqlite::Connection;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::init::init_db`
[INFO] [stdout]    --> src/console/view/word.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |     use crate::db::init::init_db;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead`, `self`
[INFO] [stdout]   --> src/console/view/mod.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     use std::io::{self,BufRead};
[INFO] [stdout]    |                   ^^^^ ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db`
[INFO] [stdout]  --> src/var/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::db;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/console/view/book_list.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self,BufRead};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `StorageTransWord` (bin "StorageTransWord" test) due to 4 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "416c75f13b5e5d28d82363c06bb3351297085ebe62d270cf4bbc0f4766e61152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "416c75f13b5e5d28d82363c06bb3351297085ebe62d270cf4bbc0f4766e61152", kill_on_drop: false }`
[INFO] [stdout] 416c75f13b5e5d28d82363c06bb3351297085ebe62d270cf4bbc0f4766e61152
