[INFO] cloning repository https://github.com/manishsingh10895/workspace-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manishsingh10895/workspace-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspace-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspace-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa11a2e09043f0a3feb4b38e01692fac50eaf223 [INFO] testing manishsingh10895/workspace-cli against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspace-cli" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manishsingh10895/workspace-cli on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/manishsingh10895/workspace-cli [INFO] finished tweaking git repo https://github.com/manishsingh10895/workspace-cli [INFO] tweaked toml for git repo https://github.com/manishsingh10895/workspace-cli written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/manishsingh10895/workspace-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d558bad5f34ba315b4c7418715b25d8fa459478b854f422752d954737e5b15a [INFO] running `Command { std: "docker" "start" "-a" "5d558bad5f34ba315b4c7418715b25d8fa459478b854f422752d954737e5b15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d558bad5f34ba315b4c7418715b25d8fa459478b854f422752d954737e5b15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d558bad5f34ba315b4c7418715b25d8fa459478b854f422752d954737e5b15a", kill_on_drop: false }` [INFO] [stdout] 5d558bad5f34ba315b4c7418715b25d8fa459478b854f422752d954737e5b15a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e1e406e9565b8de863e888dfb7e62ca02a26cebaf4796fdb8cd53b7f16672f [INFO] running `Command { std: "docker" "start" "-a" "f7e1e406e9565b8de863e888dfb7e62ca02a26cebaf4796fdb8cd53b7f16672f", 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] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling array-macro v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling backtrace v0.3.58 [INFO] [stderr] Compiling libsqlite3-sys v0.22.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pancurses v0.16.1 [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling assert_cmd v1.0.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling enum-map v0.6.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling wasmer_enumset_derive v0.5.0 [INFO] [stderr] Compiling rusqlite v0.25.1 [INFO] [stderr] Compiling wasmer_enumset v1.0.1 [INFO] [stderr] Compiling cursive_core v0.2.2 [INFO] [stderr] Compiling cursive v0.16.3 [INFO] [stderr] Compiling coper-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ViewRef` [INFO] [stdout] --> src/visual.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | views::{Button, EditView, LinearLayout, NamedView, ViewRef}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/visual.rs:132:67 [INFO] [stdout] | [INFO] [stdout] 132 | fn on_view_workspace(workspace_hash: HashMap) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - fn on_view_workspace(workspace_hash: HashMap) -> Box { [INFO] [stdout] 132 + fn on_view_workspace(workspace_hash: HashMap) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspaceId` [INFO] [stdout] --> src/visual.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn make_workspace(workspaceId: i32, name: String, dirs: &Vec<(i32, String)>) -> Workspace { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaceId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/visual.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | ... Ok(id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work` [INFO] [stdout] --> src/visual.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let work = Workspace::new(String::from("choice")).id(workspaceId); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `table_exists` is never read [INFO] [stdout] --> src/db.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut table_exists = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Options` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DirList` [INFO] [stdout] --> src/visual.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DirList, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ViewNames` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/visual.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DirSelect` [INFO] [stdout] --> src/visual.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | DirSelect, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ViewNames` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/visual.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_dir_already_exists` [INFO] [stdout] --> src/workspace.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn check_dir_already_exists(&self, dir: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_dir` [INFO] [stdout] --> src/workspace.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn remove_dir(&mut self, dir: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | fetch_all_workspaces(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workspaceId` should have a snake case name [INFO] [stdout] --> src/visual.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn make_workspace(workspaceId: i32, name: String, dirs: &Vec<(i32, String)>) -> Workspace { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `workspace_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workspaceId` should have a snake case name [INFO] [stdout] --> src/visual.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | fn create_dir_list_view(workspaceId: i32) -> NamedView> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `workspace_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workspaceId` should have a snake case name [INFO] [stdout] --> src/visual.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let workspaceId = workspace_hash[choice]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `workspace_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.04s [INFO] running `Command { std: "docker" "inspect" "f7e1e406e9565b8de863e888dfb7e62ca02a26cebaf4796fdb8cd53b7f16672f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e1e406e9565b8de863e888dfb7e62ca02a26cebaf4796fdb8cd53b7f16672f", kill_on_drop: false }` [INFO] [stdout] f7e1e406e9565b8de863e888dfb7e62ca02a26cebaf4796fdb8cd53b7f16672f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c7e92c62b3fe076cedd7542f8b7fa637d149eae0ab8d685989052e35446ffe9 [INFO] running `Command { std: "docker" "start" "-a" "1c7e92c62b3fe076cedd7542f8b7fa637d149eae0ab8d685989052e35446ffe9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling coper-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ViewRef` [INFO] [stdout] --> src/visual.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | views::{Button, EditView, LinearLayout, NamedView, ViewRef}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/visual.rs:132:67 [INFO] [stdout] | [INFO] [stdout] 132 | fn on_view_workspace(workspace_hash: HashMap) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - fn on_view_workspace(workspace_hash: HashMap) -> Box { [INFO] [stdout] 132 + fn on_view_workspace(workspace_hash: HashMap) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspaceId` [INFO] [stdout] --> src/visual.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn make_workspace(workspaceId: i32, name: String, dirs: &Vec<(i32, String)>) -> Workspace { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaceId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/visual.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | ... Ok(id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work` [INFO] [stdout] --> src/visual.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let work = Workspace::new(String::from("choice")).id(workspaceId); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_work` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `table_exists` is never read [INFO] [stdout] --> src/db.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut table_exists = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Options` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DirList` [INFO] [stdout] --> src/visual.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DirList, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ViewNames` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/visual.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DirSelect` [INFO] [stdout] --> src/visual.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | DirSelect, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ViewNames` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/visual.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | fetch_all_workspaces(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workspaceId` should have a snake case name [INFO] [stdout] --> src/visual.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | fn make_workspace(workspaceId: i32, name: String, dirs: &Vec<(i32, String)>) -> Workspace { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `workspace_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workspaceId` should have a snake case name [INFO] [stdout] --> src/visual.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | fn create_dir_list_view(workspaceId: i32) -> NamedView> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `workspace_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workspaceId` should have a snake case name [INFO] [stdout] --> src/visual.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let workspaceId = workspace_hash[choice]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `workspace_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.29s [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "1c7e92c62b3fe076cedd7542f8b7fa637d149eae0ab8d685989052e35446ffe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c7e92c62b3fe076cedd7542f8b7fa637d149eae0ab8d685989052e35446ffe9", kill_on_drop: false }` [INFO] [stdout] 1c7e92c62b3fe076cedd7542f8b7fa637d149eae0ab8d685989052e35446ffe9