[INFO] cloning repository https://github.com/HasinZaman/DataBaseManager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HasinZaman/DataBaseManager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHasinZaman%2FDataBaseManager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHasinZaman%2FDataBaseManager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 576c73b9919ccd49299d7c9abbb4698c45aa1e51 [INFO] checking HasinZaman/DataBaseManager against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHasinZaman%2FDataBaseManager" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HasinZaman/DataBaseManager on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HasinZaman/DataBaseManager [INFO] finished tweaking git repo https://github.com/HasinZaman/DataBaseManager [INFO] tweaked toml for git repo https://github.com/HasinZaman/DataBaseManager written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HasinZaman/DataBaseManager 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" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded pem v1.1.0 [INFO] [stderr] Downloaded io-enum v1.0.1 [INFO] [stderr] Downloaded serial_test_derive v0.10.0 [INFO] [stderr] Downloaded frunk_derives v0.4.1 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.1 [INFO] [stderr] Downloaded frunk_proc_macros_impl v0.1.1 [INFO] [stderr] Downloaded serial_test v0.10.0 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.1 [INFO] [stderr] Downloaded mysql_common v0.28.2 [INFO] [stderr] Downloaded mysql v22.2.0 [INFO] [stderr] Downloaded indoc v1.0.8 [INFO] [stderr] Downloaded frunk v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d69587e4f43e5e8f059df94732e044fff09ded8f089a614376c8003284b2f74 [INFO] running `Command { std: "docker" "start" "-a" "1d69587e4f43e5e8f059df94732e044fff09ded8f089a614376c8003284b2f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d69587e4f43e5e8f059df94732e044fff09ded8f089a614376c8003284b2f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d69587e4f43e5e8f059df94732e044fff09ded8f089a614376c8003284b2f74", kill_on_drop: false }` [INFO] [stdout] 1d69587e4f43e5e8f059df94732e044fff09ded8f089a614376c8003284b2f74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b493738d5c862bd9359f50d90de04ebc929bbb9f45518a29c5088ac08338caf2 [INFO] running `Command { std: "docker" "start" "-a" "b493738d5c862bd9359f50d90de04ebc929bbb9f45518a29c5088ac08338caf2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling frunk_core v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rust_decimal v1.26.1 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling io-enum v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking crossbeam-queue v0.3.6 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking bigdecimal v0.3.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Compiling mysql v22.2.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking lru v0.7.8 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking thread-id v4.0.0 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking pem v1.1.0 [INFO] [stderr] Checking arc-swap v1.5.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Compiling indoc v1.0.8 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking plotters v0.3.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking rayon v1.6.1 [INFO] [stderr] Checking futures-executor v0.3.25 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.1 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling frunk_derives v0.4.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serial_test_derive v0.10.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking frunk_proc_macros v0.1.1 [INFO] [stderr] Checking frunk v0.4.1 [INFO] [stderr] Checking thiserror v1.0.37 [INFO] [stderr] Compiling mysql_common v0.28.2 [INFO] [stderr] Checking serde v1.0.147 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking ron v0.8.0 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking serial_test v0.10.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Checking DataBaseManager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/backend/relation/view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/backend/relation/view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_terminal` is never used [INFO] [stdout] --> src/ui/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn gen_terminal() -> Terminal> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next`, `prev`, `select`, and `get_tab` are never used [INFO] [stdout] --> src/ui/menu.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Menu { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn next(&mut self) -> &Tab { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn prev(&mut self) -> &Tab { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn select(&mut self, select: usize) -> Option<&Tab> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_tab(&self) -> &Tab{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/cmd_stack.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CmdStack { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn push(&mut self, cmd: Cmd) -> &Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn first_push(&mut self, cmd: String) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn pop(&mut self) -> Option<&Cmd>{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn peek_prev(&self) -> Option<&Cmd> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn at_start(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn increment_start(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn increment_end(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn decrement_end(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidCursorIndex` is never constructed [INFO] [stdout] --> src/ui/input.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum InputErr{ [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 13 | InvalidCursorIndex [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/input.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 27 | /// new associative function generates Input struct [INFO] [stdout] 28 | pub fn new(content: Vec, prompt: Option, cursor: usize, input_cond: bool) -> Result{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn clear(&mut self) -> &mut Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn cursor_left(&mut self, step: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn cursor_right(&mut self, step: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn cursor(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn add_char(&mut self, c: char) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn del_char(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn from_event(&mut self, event: KeyEvent) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RelationList`, `Relation`, `Query`, and `SnapShot` are never constructed [INFO] [stdout] --> src/ui/pages/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Pages { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | RelationList(schema::relation_list::RelationListPage), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | Relation(schema::relation_page::RelationPage), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Query(query::QueryPage), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | SnapShot(snapshot::SnapShotPage) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_col` is never used [INFO] [stdout] --> src/ui/pages/schema/relation_list.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn rand_col() -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/ui/pages/schema/relation_list.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl RelationListPage { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 33 | /// from associative function defines RelationListPage from a vector of Relations [INFO] [stdout] 34 | pub fn from(relations: &Vec) -> RelationListPage { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui/pages/schema/relation_page.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RelationPage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | /// new associative function initializes RelationPage [INFO] [stdout] 12 | pub fn new(relation: &Relation) -> RelationPage{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/pages/query.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl QueryPage { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(query: &QDL) -> QueryPage { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn next_row(&mut self, skip: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn prev_row(&mut self, skip: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn start_col(&mut self, start_col: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn update(&mut self, row_count: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn update_cache(&mut self, result: Result>, crate::backend::sql::SQLError>, start_col: usize, columns: Vec<(String, ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn len(&self) -> (usize, usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/pages/snapshot.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SnapShotPage{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn next(&mut self, offset: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn prev(&mut self, offset: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn update(&mut self){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&mut self, snapshot: SnapShot) -> & mut Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn del_at_index(&mut self, index: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn del_by_name(&mut self, identifier: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn del(& mut self, identifier: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn rollback_by_name(&self, identifier: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn rollback_by_index(& self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn rollback(&self, identifier: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/test_tools/file_env.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl FileEnv{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new(file_name: &str, content: &str) -> FileEnv { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/test_tools/db_env.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl DbEnv{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new(set_up: Vec, undo: Vec) -> DbEnv { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `mySQL_database_manager` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `my_sql_database_manager` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/backend/relation/view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/backend/relation/view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_terminal` is never used [INFO] [stdout] --> src/ui/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn gen_terminal() -> Terminal> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next`, `prev`, `select`, and `get_tab` are never used [INFO] [stdout] --> src/ui/menu.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Menu { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn next(&mut self) -> &Tab { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn prev(&mut self) -> &Tab { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn select(&mut self, select: usize) -> Option<&Tab> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_tab(&self) -> &Tab{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/cmd_stack.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CmdStack { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn push(&mut self, cmd: Cmd) -> &Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn first_push(&mut self, cmd: String) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn pop(&mut self) -> Option<&Cmd>{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn peek_prev(&self) -> Option<&Cmd> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn at_start(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn increment_start(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn increment_end(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn decrement_end(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_event` is never used [INFO] [stdout] --> src/ui/input.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Input { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn from_event(&mut self, event: KeyEvent) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RelationList`, `Relation`, `Query`, and `SnapShot` are never constructed [INFO] [stdout] --> src/ui/pages/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Pages { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | RelationList(schema::relation_list::RelationListPage), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | Relation(schema::relation_page::RelationPage), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Query(query::QueryPage), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | SnapShot(snapshot::SnapShotPage) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_col` is never used [INFO] [stdout] --> src/ui/pages/schema/relation_list.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn rand_col() -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/ui/pages/schema/relation_list.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl RelationListPage { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 33 | /// from associative function defines RelationListPage from a vector of Relations [INFO] [stdout] 34 | pub fn from(relations: &Vec) -> RelationListPage { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui/pages/schema/relation_page.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RelationPage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | /// new associative function initializes RelationPage [INFO] [stdout] 12 | pub fn new(relation: &Relation) -> RelationPage{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/pages/query.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl QueryPage { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(query: &QDL) -> QueryPage { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn next_row(&mut self, skip: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn prev_row(&mut self, skip: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn start_col(&mut self, start_col: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn update(&mut self, row_count: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn update_cache(&mut self, result: Result>, crate::backend::sql::SQLError>, start_col: usize, columns: Vec<(String, ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn len(&self) -> (usize, usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ui/pages/snapshot.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SnapShotPage{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn next(&mut self, offset: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn prev(&mut self, offset: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn update(&mut self){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&mut self, snapshot: SnapShot) -> & mut Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn del_at_index(&mut self, index: usize) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn del_by_name(&mut self, identifier: &str) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn del(& mut self, identifier: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn rollback_by_name(&self, identifier: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn rollback_by_index(& self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn rollback(&self, identifier: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `mySQL_database_manager` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `my_sql_database_manager` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at_start` is never used [INFO] [stdout] --> src/ui/cmd_stack.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CmdStack { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn at_start(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DataBaseManager` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `data_base_manager` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at_start` is never used [INFO] [stdout] --> src/ui/cmd_stack.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CmdStack { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn at_start(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DataBaseManager` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `data_base_manager` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.29s [INFO] running `Command { std: "docker" "inspect" "b493738d5c862bd9359f50d90de04ebc929bbb9f45518a29c5088ac08338caf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b493738d5c862bd9359f50d90de04ebc929bbb9f45518a29c5088ac08338caf2", kill_on_drop: false }` [INFO] [stdout] b493738d5c862bd9359f50d90de04ebc929bbb9f45518a29c5088ac08338caf2