[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] ddbf8b230ae73177dd7d4f965e424bb153277101 [INFO] testing DevSanso/StorageTransWord against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevSanso%2FStorageTransWord" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DevSanso/StorageTransWord on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-0/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahash v0.7.5 [INFO] [stderr] Downloaded rusqlite v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fda6c4ae9426d5bab1f5aa17b76882d7ceac88e5ed9b6a4047c2413c90800c7b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fda6c4ae9426d5bab1f5aa17b76882d7ceac88e5ed9b6a4047c2413c90800c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fda6c4ae9426d5bab1f5aa17b76882d7ceac88e5ed9b6a4047c2413c90800c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda6c4ae9426d5bab1f5aa17b76882d7ceac88e5ed9b6a4047c2413c90800c7b", kill_on_drop: false }` [INFO] [stdout] fda6c4ae9426d5bab1f5aa17b76882d7ceac88e5ed9b6a4047c2413c90800c7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 491420a2dd1fa46ff398452c540740c379bc89fdf56a911cf1caa81742a3e7d8 [INFO] running `Command { std: "docker" "start" "-a" "491420a2dd1fa46ff398452c540740c379bc89fdf56a911cf1caa81742a3e7d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling ahash v0.7.5 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling libsqlite3-sys v0.23.1 [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 socket2 v0.4.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashlink v0.7.0 [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 serde_json v1.0.68 [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 is never used: `pop` [INFO] [stdout] --> src/db/table.rs:29:12 [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: constant is never used: `DEL_W_Q` [INFO] [stdout] --> src/db/table.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | const DEL_W_Q : &str = "DELETE FROM word WHERE book_id=?1;"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEL_Q` [INFO] [stdout] --> src/db/table.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | const DEL_Q : &str = "DELETE FROM book WHERE book_id=?1;"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_input_result_None` [INFO] [stdout] --> src/console/view/word.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn update_input_result_None(self : &mut Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_book_id` [INFO] [stdout] --> src/console/component/print_list.rs:18:12 [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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `storage_trans_word` [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: 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 = None; [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `F` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [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] [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] [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] [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: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "491420a2dd1fa46ff398452c540740c379bc89fdf56a911cf1caa81742a3e7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491420a2dd1fa46ff398452c540740c379bc89fdf56a911cf1caa81742a3e7d8", kill_on_drop: false }` [INFO] [stdout] 491420a2dd1fa46ff398452c540740c379bc89fdf56a911cf1caa81742a3e7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 272912d79ca87e34d613ecb72c4e19ccbec65691edd69f267edbc618be742e9e [INFO] running `Command { std: "docker" "start" "-a" "272912d79ca87e34d613ecb72c4e19ccbec65691edd69f267edbc618be742e9e", 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` due to 4 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "272912d79ca87e34d613ecb72c4e19ccbec65691edd69f267edbc618be742e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "272912d79ca87e34d613ecb72c4e19ccbec65691edd69f267edbc618be742e9e", kill_on_drop: false }` [INFO] [stdout] 272912d79ca87e34d613ecb72c4e19ccbec65691edd69f267edbc618be742e9e