[INFO] cloning repository https://github.com/wowvain-dev/db_cli-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wowvain-dev/db_cli-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwowvain-dev%2Fdb_cli-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwowvain-dev%2Fdb_cli-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59d484be465bba31749e7c201c1261d69d05adc1 [INFO] checking wowvain-dev/db_cli-rs against master#e23ae72ac7a393961886ea62df065ebb6def7d51 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwowvain-dev%2Fdb_cli-rs" "/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/wowvain-dev/db_cli-rs on toolchain e23ae72ac7a393961886ea62df065ebb6def7d51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wowvain-dev/db_cli-rs [INFO] finished tweaking git repo https://github.com/wowvain-dev/db_cli-rs [INFO] tweaked toml for git repo https://github.com/wowvain-dev/db_cli-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wowvain-dev/db_cli-rs 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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 271fbc5b7386f42e337f2ce1543cc650a7ef1018ede96c938f7351fa366dd997 [INFO] running `Command { std: "docker" "start" "-a" "271fbc5b7386f42e337f2ce1543cc650a7ef1018ede96c938f7351fa366dd997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "271fbc5b7386f42e337f2ce1543cc650a7ef1018ede96c938f7351fa366dd997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "271fbc5b7386f42e337f2ce1543cc650a7ef1018ede96c938f7351fa366dd997", kill_on_drop: false }` [INFO] [stdout] 271fbc5b7386f42e337f2ce1543cc650a7ef1018ede96c938f7351fa366dd997 [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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9d692802c6516d9e1670e2d8848ad2e56a5319f8b8626a7e4935f65356c5c62 [INFO] running `Command { std: "docker" "start" "-a" "f9d692802c6516d9e1670e2d8848ad2e56a5319f8b8626a7e4935f65356c5c62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tui v0.18.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking db_cli-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Margin` and `Text` [INFO] [stdout] --> src/functions.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | layout::{Alignment, Constraint, Direction, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | style::{Color, Modifier, Style}, [INFO] [stdout] 7 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Margin` and `Text` [INFO] [stdout] --> src/functions.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | layout::{Alignment, Constraint, Direction, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | style::{Color, Modifier, Style}, [INFO] [stdout] 7 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui::widgets::Row` [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::widgets::Row; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui::widgets::Row` [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::widgets::Row; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenOptions` and `self` [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | fs::{self, File, OpenOptions}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenOptions` and `self` [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | fs::{self, File, OpenOptions}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_record_option` [INFO] [stdout] --> src/functions.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut active_record_option = RecordOption::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_record_option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_record_option` [INFO] [stdout] --> src/functions.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut active_record_option = RecordOption::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_record_option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/functions.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn run_app(terminal: &mut Terminal, mut app: &mut App) -> io::Result<()> { [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/functions.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut active_record_option = RecordOption::None; [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/functions.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn run_app(terminal: &mut Terminal, mut app: &mut App) -> io::Result<()> { [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/functions.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut active_record_option = RecordOption::None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `shortcuts` is never read [INFO] [stdout] --> src/functions.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | let mut shortcuts: Vec = Vec::new(); [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: value assigned to `shortcuts` is never read [INFO] [stdout] --> src/functions.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | let mut shortcuts: Vec = Vec::new(); [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: `app` [INFO] [stdout] --> src/functions.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | app: &App, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/functions.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | app: &App, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let file = File::create("./baza_de_date.io").expect("Can't Create File"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let file = File::create("./baza_de_date.io").expect("Can't Create File"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db = create_database(file_contents); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_screen` is never used [INFO] [stdout] --> src/functions.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn clear_screen() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/types.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db = create_database(file_contents); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_screen` is never used [INFO] [stdout] --> src/functions.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn clear_screen() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/types.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.32s [INFO] running `Command { std: "docker" "inspect" "f9d692802c6516d9e1670e2d8848ad2e56a5319f8b8626a7e4935f65356c5c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d692802c6516d9e1670e2d8848ad2e56a5319f8b8626a7e4935f65356c5c62", kill_on_drop: false }` [INFO] [stdout] f9d692802c6516d9e1670e2d8848ad2e56a5319f8b8626a7e4935f65356c5c62