[INFO] cloning repository https://github.com/SBSixteen/dataBased [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SBSixteen/dataBased" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBSixteen%2FdataBased", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBSixteen%2FdataBased'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09fbb8e9a3ede4e9a097f733d16b6835f9dbb923 [INFO] checking SBSixteen/dataBased against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBSixteen%2FdataBased" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SBSixteen/dataBased on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SBSixteen/dataBased [INFO] finished tweaking git repo https://github.com/SBSixteen/dataBased [INFO] tweaked toml for git repo https://github.com/SBSixteen/dataBased written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SBSixteen/dataBased 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ebb3ba51ba4eedec2d0b78bbe83b3be1b7078ce8aa428f6fe591baf27fb1708 [INFO] running `Command { std: "docker" "start" "-a" "3ebb3ba51ba4eedec2d0b78bbe83b3be1b7078ce8aa428f6fe591baf27fb1708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ebb3ba51ba4eedec2d0b78bbe83b3be1b7078ce8aa428f6fe591baf27fb1708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebb3ba51ba4eedec2d0b78bbe83b3be1b7078ce8aa428f6fe591baf27fb1708", kill_on_drop: false }` [INFO] [stdout] 3ebb3ba51ba4eedec2d0b78bbe83b3be1b7078ce8aa428f6fe591baf27fb1708 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e8a5b7917d88848a4f40eca97944e5b78ce12134865fb22c5d8fca994e81007 [INFO] running `Command { std: "docker" "start" "-a" "8e8a5b7917d88848a4f40eca97944e5b78ce12134865fb22c5d8fca994e81007", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dataBased v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap`, `fmt::Debug`, and `fs` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Debug, fs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `self` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `Error`, `hash::Hash`, and `stdout` [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | fmt::{Error, Debug}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | io::{self, stdout, Write, BufRead, Bytes}, fs::{self, File, read_to_string}, any::Any, path::Path, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::{Utc, Local}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:756:32 [INFO] [stdout] | [INFO] [stdout] 756 | ... if (b_tb) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 756 - if (b_tb) { [INFO] [stdout] 756 + if b_tb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `fmt::Debug`, and `fs` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fmt::Debug, fs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `self` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `Error`, `hash::Hash`, and `stdout` [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | fmt::{Error, Debug}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | io::{self, stdout, Write, BufRead, Bytes}, fs::{self, File, read_to_string}, any::Any, path::Path, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::{Utc, Local}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:756:32 [INFO] [stdout] | [INFO] [stdout] 756 | ... if (b_tb) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 756 - if (b_tb) { [INFO] [stdout] 756 + if b_tb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:462:18 [INFO] [stdout] | [INFO] [stdout] 462 | for (k, v) in g { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:478:18 [INFO] [stdout] | [INFO] [stdout] 478 | for (k, v) in &self.database { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | let mut temp = self.fetchDB(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | let mut v = Table { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | let mut L = Logger { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1739:25 [INFO] [stdout] | [INFO] [stdout] 1736 | _=>{ [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 1739 | _ => { [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/main.rs:683:17 [INFO] [stdout] | [INFO] [stdout] 683 | let mut input = String::from(""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/main.rs:1293:33 [INFO] [stdout] | [INFO] [stdout] 1293 | ... let rows = tb.rows; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:462:18 [INFO] [stdout] | [INFO] [stdout] 462 | for (k, v) in g { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:478:18 [INFO] [stdout] | [INFO] [stdout] 478 | for (k, v) in &self.database { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | let mut temp = self.fetchDB(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | let mut v = Table { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | let mut L = Logger { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1739:25 [INFO] [stdout] | [INFO] [stdout] 1736 | _=>{ [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 1739 | _ => { [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/main.rs:683:17 [INFO] [stdout] | [INFO] [stdout] 683 | let mut input = String::from(""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/main.rs:1293:33 [INFO] [stdout] | [INFO] [stdout] 1293 | ... let rows = tb.rows; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1288:33 [INFO] [stdout] | [INFO] [stdout] 1288 | ... let mut tb = workspaces.get_mut(&a_ws).unwrap().database.get_mut(&a_db).unwrap().table.get_mut(&a_tb).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1300:37 [INFO] [stdout] | [INFO] [stdout] 1300 | ... let mut t = cells.get_mut(&order[i]).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1582:41 [INFO] [stdout] | [INFO] [stdout] 1582 | ... let mut ws_to_use = workspaces.get_mut(&a_ws).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1699:49 [INFO] [stdout] | [INFO] [stdout] 1699 | ... let mut k = workspaces.get_mut(&a_ws).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1702:53 [INFO] [stdout] | [INFO] [stdout] 1702 | ... let mut d = k.database.get_mut(&a_db).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1831:53 [INFO] [stdout] | [INFO] [stdout] 1831 | ... let mut k = workspaces.get_mut(&a_ws).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1834:57 [INFO] [stdout] | [INFO] [stdout] 1834 | ... let mut d = k.database.get_mut(&a_db).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1836:57 [INFO] [stdout] | [INFO] [stdout] 1836 | ... let mut instance = Table{ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `relations` is never read [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | relations: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_name` and `col_name` are never read [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Relation { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 58 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | col_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Relation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `reveal` are never used [INFO] [stdout] --> src/main.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 184 | impl Logger { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 185 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn reveal(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getTables` is never used [INFO] [stdout] --> src/main.rs:551:12 [INFO] [stdout] | [INFO] [stdout] 546 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 551 | fn getTables(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `looper` is never used [INFO] [stdout] --> src/main.rs:667:8 [INFO] [stdout] | [INFO] [stdout] 667 | fn looper() { // Not a movie reference [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dataBased` should have a snake case name [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod dataBased { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `data_based` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | &self.code.push(x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 194 | let _ = &self.code.push(x); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLen` should have a snake case name [INFO] [stdout] --> src/main.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | fn getLen(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getName` should have a snake case name [INFO] [stdout] --> src/main.rs:428:16 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn getName(&self) -> &String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAuthor` should have a snake case name [INFO] [stdout] --> src/main.rs:432:16 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn getAuthor(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_author` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getMetadata` should have a snake case name [INFO] [stdout] --> src/main.rs:436:16 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn getMetadata(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getDB` should have a snake case name [INFO] [stdout] --> src/main.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn getDB(&self) -> &HashMap { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `get_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `throwUC` should have a snake case name [INFO] [stdout] --> src/main.rs:444:16 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn throwUC(&mut self) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `throw_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggleLogger` should have a snake case name [INFO] [stdout] --> src/main.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn toggleLogger(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `toggle_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getDBNames` should have a snake case name [INFO] [stdout] --> src/main.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | fn getDBNames(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_dbnames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addDB` should have a snake case name [INFO] [stdout] --> src/main.rs:484:16 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn addDB(&mut self, x: String) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `add_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetchDB` should have a snake case name [INFO] [stdout] --> src/main.rs:498:16 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn fetchDB(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fetch_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetchDB_name` should have a snake case name [INFO] [stdout] --> src/main.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn fetchDB_name(&mut self, x: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_db_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `createTable` should have a snake case name [INFO] [stdout] --> src/main.rs:511:16 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn createTable(&mut self, DB: String, name: String, headers: String, model: String) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `create_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB` should have a snake case name [INFO] [stdout] --> src/main.rs:511:39 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn createTable(&mut self, DB: String, name: String, headers: String, model: String) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `check_DB` should have a snake case name [INFO] [stdout] --> src/main.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | let check_DB = self.fetchDB_name(DB.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `check_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEAD` should have a snake case name [INFO] [stdout] --> src/main.rs:524:21 [INFO] [stdout] | [INFO] [stdout] 524 | let mut HEAD = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MDL` should have a snake case name [INFO] [stdout] --> src/main.rs:525:21 [INFO] [stdout] | [INFO] [stdout] 525 | let mut MDL = Vec::new(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `mdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getName` should have a snake case name [INFO] [stdout] --> src/main.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | fn getName(&self) -> &String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getTables` should have a snake case name [INFO] [stdout] --> src/main.rs:551:12 [INFO] [stdout] | [INFO] [stdout] 551 | fn getTables(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_tables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `createTable` should have a snake case name [INFO] [stdout] --> src/main.rs:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | fn createTable(&mut self, x: String, y: Vec, z: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `create_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_Logger` should have a snake case name [INFO] [stdout] --> src/main.rs:658:8 [INFO] [stdout] | [INFO] [stdout] 658 | fn init_Logger() -> Logger { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `init_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/main.rs:659:17 [INFO] [stdout] | [INFO] [stdout] 659 | let mut L = Logger { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generateSession` should have a snake case name [INFO] [stdout] --> src/main.rs:670:12 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn generateSession() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1148:77 [INFO] [stdout] | [INFO] [stdout] 1148 | ... let current = workspaces.get(&a_ws).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Workspace` does not implement `Clone`, so calling `clone` on `&Workspace` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 1148 - let current = workspaces.get(&a_ws).unwrap().clone(); [INFO] [stdout] 1148 + let current = workspaces.get(&a_ws).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Workspace`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(Clone)] [INFO] [stdout] 33 | pub struct Workspace { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1488:64 [INFO] [stdout] | [INFO] [stdout] 1488 | ... if workspaces.contains_key(g[2].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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1585:41 [INFO] [stdout] | [INFO] [stdout] 1585 | ... import_table_from_csv(db_to_use, file_name); [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] 1585 | let _ = import_table_from_csv(db_to_use, file_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1288:33 [INFO] [stdout] | [INFO] [stdout] 1288 | ... let mut tb = workspaces.get_mut(&a_ws).unwrap().database.get_mut(&a_db).unwrap().table.get_mut(&a_tb).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1300:37 [INFO] [stdout] | [INFO] [stdout] 1300 | ... let mut t = cells.get_mut(&order[i]).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1582:41 [INFO] [stdout] | [INFO] [stdout] 1582 | ... let mut ws_to_use = workspaces.get_mut(&a_ws).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1699:49 [INFO] [stdout] | [INFO] [stdout] 1699 | ... let mut k = workspaces.get_mut(&a_ws).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1702:53 [INFO] [stdout] | [INFO] [stdout] 1702 | ... let mut d = k.database.get_mut(&a_db).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1831:53 [INFO] [stdout] | [INFO] [stdout] 1831 | ... let mut k = workspaces.get_mut(&a_ws).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1834:57 [INFO] [stdout] | [INFO] [stdout] 1834 | ... let mut d = k.database.get_mut(&a_db).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1836:57 [INFO] [stdout] | [INFO] [stdout] 1836 | ... let mut instance = Table{ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `relations` is never read [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | relations: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_name` and `col_name` are never read [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Relation { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 58 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | col_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Relation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `reveal` are never used [INFO] [stdout] --> src/main.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 184 | impl Logger { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 185 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn reveal(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getTables` is never used [INFO] [stdout] --> src/main.rs:551:12 [INFO] [stdout] | [INFO] [stdout] 546 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 551 | fn getTables(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `looper` is never used [INFO] [stdout] --> src/main.rs:667:8 [INFO] [stdout] | [INFO] [stdout] 667 | fn looper() { // Not a movie reference [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `dataBased` should have a snake case name [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod dataBased { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `data_based` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | &self.code.push(x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 194 | let _ = &self.code.push(x); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLen` should have a snake case name [INFO] [stdout] --> src/main.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | fn getLen(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getName` should have a snake case name [INFO] [stdout] --> src/main.rs:428:16 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn getName(&self) -> &String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAuthor` should have a snake case name [INFO] [stdout] --> src/main.rs:432:16 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn getAuthor(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_author` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getMetadata` should have a snake case name [INFO] [stdout] --> src/main.rs:436:16 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn getMetadata(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getDB` should have a snake case name [INFO] [stdout] --> src/main.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn getDB(&self) -> &HashMap { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `get_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `throwUC` should have a snake case name [INFO] [stdout] --> src/main.rs:444:16 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn throwUC(&mut self) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `throw_uc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggleLogger` should have a snake case name [INFO] [stdout] --> src/main.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn toggleLogger(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `toggle_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getDBNames` should have a snake case name [INFO] [stdout] --> src/main.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | fn getDBNames(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_dbnames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addDB` should have a snake case name [INFO] [stdout] --> src/main.rs:484:16 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn addDB(&mut self, x: String) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `add_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetchDB` should have a snake case name [INFO] [stdout] --> src/main.rs:498:16 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn fetchDB(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fetch_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetchDB_name` should have a snake case name [INFO] [stdout] --> src/main.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn fetchDB_name(&mut self, x: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_db_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `createTable` should have a snake case name [INFO] [stdout] --> src/main.rs:511:16 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn createTable(&mut self, DB: String, name: String, headers: String, model: String) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `create_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DB` should have a snake case name [INFO] [stdout] --> src/main.rs:511:39 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn createTable(&mut self, DB: String, name: String, headers: String, model: String) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `check_DB` should have a snake case name [INFO] [stdout] --> src/main.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | let check_DB = self.fetchDB_name(DB.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `check_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEAD` should have a snake case name [INFO] [stdout] --> src/main.rs:524:21 [INFO] [stdout] | [INFO] [stdout] 524 | let mut HEAD = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MDL` should have a snake case name [INFO] [stdout] --> src/main.rs:525:21 [INFO] [stdout] | [INFO] [stdout] 525 | let mut MDL = Vec::new(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `mdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getName` should have a snake case name [INFO] [stdout] --> src/main.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | fn getName(&self) -> &String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getTables` should have a snake case name [INFO] [stdout] --> src/main.rs:551:12 [INFO] [stdout] | [INFO] [stdout] 551 | fn getTables(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_tables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `createTable` should have a snake case name [INFO] [stdout] --> src/main.rs:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | fn createTable(&mut self, x: String, y: Vec, z: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `create_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_Logger` should have a snake case name [INFO] [stdout] --> src/main.rs:658:8 [INFO] [stdout] | [INFO] [stdout] 658 | fn init_Logger() -> Logger { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `init_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/main.rs:659:17 [INFO] [stdout] | [INFO] [stdout] 659 | let mut L = Logger { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generateSession` should have a snake case name [INFO] [stdout] --> src/main.rs:670:12 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn generateSession() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1148:77 [INFO] [stdout] | [INFO] [stdout] 1148 | ... let current = workspaces.get(&a_ws).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Workspace` does not implement `Clone`, so calling `clone` on `&Workspace` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 1148 - let current = workspaces.get(&a_ws).unwrap().clone(); [INFO] [stdout] 1148 + let current = workspaces.get(&a_ws).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Workspace`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(Clone)] [INFO] [stdout] 33 | pub struct Workspace { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1488:64 [INFO] [stdout] | [INFO] [stdout] 1488 | ... if workspaces.contains_key(g[2].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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1585:41 [INFO] [stdout] | [INFO] [stdout] 1585 | ... import_table_from_csv(db_to_use, file_name); [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] 1585 | let _ = import_table_from_csv(db_to_use, file_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.49s [INFO] running `Command { std: "docker" "inspect" "8e8a5b7917d88848a4f40eca97944e5b78ce12134865fb22c5d8fca994e81007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8a5b7917d88848a4f40eca97944e5b78ce12134865fb22c5d8fca994e81007", kill_on_drop: false }` [INFO] [stdout] 8e8a5b7917d88848a4f40eca97944e5b78ce12134865fb22c5d8fca994e81007 [INFO] checking SBSixteen/dataBased against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBSixteen%2FdataBased" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SBSixteen/dataBased on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SBSixteen/dataBased [INFO] finished tweaking git repo https://github.com/SBSixteen/dataBased [INFO] tweaked toml for git repo https://github.com/SBSixteen/dataBased written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SBSixteen/dataBased 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8d7ba2fb4c50fef770945e4393d2007bd490e286e42f6e1dd3a98d1d8d00b50 [INFO] running `Command { std: "docker" "start" "-a" "e8d7ba2fb4c50fef770945e4393d2007bd490e286e42f6e1dd3a98d1d8d00b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8d7ba2fb4c50fef770945e4393d2007bd490e286e42f6e1dd3a98d1d8d00b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d7ba2fb4c50fef770945e4393d2007bd490e286e42f6e1dd3a98d1d8d00b50", kill_on_drop: false }` [INFO] [stdout] e8d7ba2fb4c50fef770945e4393d2007bd490e286e42f6e1dd3a98d1d8d00b50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a7adb5d727d6cd1b80c787605fa053b87c296d20d705aa2770849ba73ea53cb [INFO] running `Command { std: "docker" "start" "-a" "1a7adb5d727d6cd1b80c787605fa053b87c296d20d705aa2770849ba73ea53cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 825 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 826 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 827 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 828 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 829 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 831 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1a7adb5d727d6cd1b80c787605fa053b87c296d20d705aa2770849ba73ea53cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7adb5d727d6cd1b80c787605fa053b87c296d20d705aa2770849ba73ea53cb", kill_on_drop: false }` [INFO] [stdout] 1a7adb5d727d6cd1b80c787605fa053b87c296d20d705aa2770849ba73ea53cb