[INFO] cloning repository https://github.com/BenjaminHaaseT/jira-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenjaminHaaseT/jira-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjaminHaaseT%2Fjira-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjaminHaaseT%2Fjira-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbed75a27e7b0bf0f9a3bdfb731d3203a17451e9 [INFO] checking BenjaminHaaseT/jira-cli/dbed75a27e7b0bf0f9a3bdfb731d3203a17451e9 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjaminHaaseT%2Fjira-cli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BenjaminHaaseT/jira-cli on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BenjaminHaaseT/jira-cli [INFO] finished tweaking git repo https://github.com/BenjaminHaaseT/jira-cli [INFO] tweaked toml for git repo https://github.com/BenjaminHaaseT/jira-cli written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BenjaminHaaseT/jira-cli 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ellipse v0.2.0 [INFO] [stderr] Downloaded clearscreen v2.0.1 [INFO] [stderr] Downloaded rustix v0.38.14 [INFO] [stderr] Downloaded linux-raw-sys v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1c3f3cd4cc1b5cf4c79eb73e3fc165fc85b45c6d28f20bc36f43b799ce9100c [INFO] running `Command { std: "docker" "start" "-a" "c1c3f3cd4cc1b5cf4c79eb73e3fc165fc85b45c6d28f20bc36f43b799ce9100c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1c3f3cd4cc1b5cf4c79eb73e3fc165fc85b45c6d28f20bc36f43b799ce9100c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c3f3cd4cc1b5cf4c79eb73e3fc165fc85b45c6d28f20bc36f43b799ce9100c", kill_on_drop: false }` [INFO] [stdout] c1c3f3cd4cc1b5cf4c79eb73e3fc165fc85b45c6d28f20bc36f43b799ce9100c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 913e12a0e82adfa9f76bd3573588cddc810b8058a59c543f09cf006a7beb03da [INFO] running `Command { std: "docker" "start" "-a" "913e12a0e82adfa9f76bd3573588cddc810b8058a59c543f09cf006a7beb03da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ellipse v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking clearscreen v2.0.1 [INFO] [stderr] Checking jira_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/db.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{self, OpenOptions, File}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `BufWriter`, `Read`, and `Write` [INFO] [stdout] --> src/db.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write, BufRead, BufReader, BufWriter}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/db.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use db::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::sorted` [INFO] [stdout] --> src/ui/pages/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::sorted; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Status` [INFO] [stdout] --> src/ui/pages/mod.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::{Action, Epic, Story, Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/navigator.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result, Context, Ok}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `navigator::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use navigator::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile` [INFO] [stdout] --> src/db.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tempfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/db.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{self, OpenOptions, File}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `BufWriter`, `Read`, and `Write` [INFO] [stdout] --> src/db.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write, BufRead, BufReader, BufWriter}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/db.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use db::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::sorted` [INFO] [stdout] --> src/ui/pages/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::sorted; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Status` [INFO] [stdout] --> src/ui/pages/mod.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::{Action, Epic, Story, Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/navigator.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result, Context, Ok}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `navigator::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use navigator::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/ui/pages/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut epic = db_state.epics [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/db.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut epic = db_state.epics [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/db.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut epic = db_state.epics [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/db.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut story = db_state.stories [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ui/pages/mod.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => Ok(None) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/ui/pages/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut database = Rc::new(db::JiraDatabase::new("data/db.json".to_string())); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 127 | impl MockDB { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 128 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any` is never used [INFO] [stdout] --> src/ui/pages/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Page { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_page_count` and `set_prompts` are never used [INFO] [stdout] --> src/navigator.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Navigator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn set_prompts(&mut self, prompts: Prompts) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut epic = db_state.epics [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/db.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut epic = db_state.epics [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/db.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut epic = db_state.epics [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/db.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut story = db_state.stories [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ui/pages/mod.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => Ok(None) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [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/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut database = Rc::new(db::JiraDatabase::new("data/db.json".to_string())); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.93s [INFO] running `Command { std: "docker" "inspect" "913e12a0e82adfa9f76bd3573588cddc810b8058a59c543f09cf006a7beb03da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "913e12a0e82adfa9f76bd3573588cddc810b8058a59c543f09cf006a7beb03da", kill_on_drop: false }` [INFO] [stdout] 913e12a0e82adfa9f76bd3573588cddc810b8058a59c543f09cf006a7beb03da