[INFO] cloning repository https://github.com/tcsenpai/mycelium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tcsenpai/mycelium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcsenpai%2Fmycelium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcsenpai%2Fmycelium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0acaf2322bacf2e487471780eef65f95bfcb8db8 [INFO] testing tcsenpai/mycelium against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftcsenpai%2Fmycelium" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tcsenpai/mycelium [INFO] finished tweaking git repo https://github.com/tcsenpai/mycelium [INFO] tweaked toml for git repo https://github.com/tcsenpai/mycelium written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tcsenpai/mycelium on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tcsenpai/mycelium 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 546985dee2031bfa0c53df58bd5cf899544c919e17e8ba387dd54e6632a643e5 [INFO] running `Command { std: "docker" "start" "-a" "546985dee2031bfa0c53df58bd5cf899544c919e17e8ba387dd54e6632a643e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "546985dee2031bfa0c53df58bd5cf899544c919e17e8ba387dd54e6632a643e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546985dee2031bfa0c53df58bd5cf899544c919e17e8ba387dd54e6632a643e5", kill_on_drop: false }` [INFO] [stdout] 546985dee2031bfa0c53df58bd5cf899544c919e17e8ba387dd54e6632a643e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6abb10d849d5bd4984a1634cfc1f20e8cad0f00aa72e8af2858995cbc75fd87b [INFO] running `Command { std: "docker" "start" "-a" "6abb10d849d5bd4984a1634cfc1f20e8cad0f00aa72e8af2858995cbc75fd87b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.11 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling comfy-table v7.2.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling mycelium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ERROR_PREFIX` [INFO] [stdout] --> src/commands/epic.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ERROR_PREFIX` [INFO] [stdout] --> src/commands/assignee.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ERROR_PREFIX` and `WARNING_PREFIX` [INFO] [stdout] --> src/commands/deps.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/commands/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContentArrangement` and `Table` [INFO] [stdout] --> src/commands/list.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use comfy_table::{Table, ContentArrangement}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INFO_PREFIX` and `ensure_initialized` [INFO] [stdout] --> src/commands/list.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, INFO_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Priority` and `Status` [INFO] [stdout] --> src/commands/list.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::{Priority, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ensure_initialized` [INFO] [stdout] --> src/commands/doctor.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/error/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/linear/config.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, and `NaiveDate` [INFO] [stdout] --> src/models/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, NaiveDate}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dependency::Dependency` [INFO] [stdout] --> src/models/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use dependency::Dependency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epic_map` [INFO] [stdout] --> src/commands/task.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | epic_map: &HashMap, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epic_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/commands/task.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | db: &crate::db::Database, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_output` is never used [INFO] [stdout] --> src/commands/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn format_output(data: &T, format: &OutputFormat, quiet: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_in_memory`, `transaction`, and `delete_task_note` are never used [INFO] [stdout] --> src/db/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn open_in_memory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | pub fn delete_task_note(&mut self, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `linear_issue_identifier`, `last_synced_at`, and `sync_direction` are never read [INFO] [stdout] --> src/db/mod.rs:1190:9 [INFO] [stdout] | [INFO] [stdout] 1189 | pub struct LinearSyncEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 1190 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | pub linear_issue_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1194 | pub last_synced_at: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1197 | pub sync_direction: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinearSyncEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_VERSION` is never used [INFO] [stdout] --> src/db/migrations.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CURRENT_VERSION: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlockedBy`, `Config`, `Export`, and `LinearSyncConflict` are never constructed [INFO] [stdout] --> src/error/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MyceliumError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | BlockedBy(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | Export(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | LinearSyncConflict { task_id: i64, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyceliumError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_usage_error` is never used [INFO] [stdout] --> src/error/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn handle_usage_error(msg: &str) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinearProject` is never constructed [INFO] [stdout] --> src/linear/client.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct LinearProject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_projects` and `create_project` are never used [INFO] [stdout] --> src/linear/client.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl LinearClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn fetch_projects(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn create_project(&self, team_id: &str, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Priority { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 57 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl Status { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 109 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl ExternalRefType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 158 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_description`, `close`, and `reopen` are never used [INFO] [stdout] --> src/models/epic.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Epic { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(id: i64, title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn with_description(mut self, description: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn reopen(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/task.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(id: i64, title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_description(mut self, description: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_epic(mut self, epic_id: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn with_priority(mut self, priority: Priority) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_assignee(mut self, assignee_id: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_due_date(mut self, due_date: NaiveDate) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_tags(mut self, tags: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn reopen(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskWithRelations` is never constructed [INFO] [stdout] --> src/models/task.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct TaskWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_email`, and `with_github` are never used [INFO] [stdout] --> src/models/assignee.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Assignee { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(id: i64, name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_email(mut self, email: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn with_github(mut self, github: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dependency` is never constructed [INFO] [stdout] --> src/models/dependency.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Dependency { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/dependency.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dependency { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(id: i64, task_id: i64, depends_on_task_id: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `github_issue`, `github_pr`, and `url` are never used [INFO] [stdout] --> src/models/external_ref.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ExternalRef { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 16 | pub fn new(id: i64, task_id: i64, ref_type: ExternalRefType, reference: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn github_issue(task_id: i64, owner: &str, repo: &str, number: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn github_pr(task_id: i64, owner: &str, repo: &str, number: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn url(task_id: i64, url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/task_note.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TaskNote { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(id: i64, task_id: i64, content: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "6abb10d849d5bd4984a1634cfc1f20e8cad0f00aa72e8af2858995cbc75fd87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abb10d849d5bd4984a1634cfc1f20e8cad0f00aa72e8af2858995cbc75fd87b", kill_on_drop: false }` [INFO] [stdout] 6abb10d849d5bd4984a1634cfc1f20e8cad0f00aa72e8af2858995cbc75fd87b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40ff6a6df9a3d8e85add11b5254302a5fadfe15ac184466651d62c9a80e5907e [INFO] running `Command { std: "docker" "start" "-a" "40ff6a6df9a3d8e85add11b5254302a5fadfe15ac184466651d62c9a80e5907e", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling comfy-table v7.2.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling mycelium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ERROR_PREFIX` [INFO] [stdout] --> src/commands/epic.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ERROR_PREFIX` [INFO] [stdout] --> src/commands/assignee.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ERROR_PREFIX` and `WARNING_PREFIX` [INFO] [stdout] --> src/commands/deps.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/commands/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContentArrangement` and `Table` [INFO] [stdout] --> src/commands/list.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use comfy_table::{Table, ContentArrangement}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INFO_PREFIX` and `ensure_initialized` [INFO] [stdout] --> src/commands/list.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, INFO_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Priority` and `Status` [INFO] [stdout] --> src/commands/list.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::{Priority, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ensure_initialized` [INFO] [stdout] --> src/commands/doctor.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/error/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/linear/config.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, and `NaiveDate` [INFO] [stdout] --> src/models/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, NaiveDate}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dependency::Dependency` [INFO] [stdout] --> src/models/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use dependency::Dependency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ERROR_PREFIX` [INFO] [stdout] --> src/commands/epic.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ERROR_PREFIX` [INFO] [stdout] --> src/commands/assignee.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ERROR_PREFIX` and `WARNING_PREFIX` [INFO] [stdout] --> src/commands/deps.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/commands/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContentArrangement` and `Table` [INFO] [stdout] --> src/commands/list.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use comfy_table::{Table, ContentArrangement}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INFO_PREFIX` and `ensure_initialized` [INFO] [stdout] --> src/commands/list.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commands::{ensure_initialized, INFO_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Priority` and `Status` [INFO] [stdout] --> src/commands/list.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::{Priority, Status}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ensure_initialized` [INFO] [stdout] --> src/commands/doctor.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/error/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/linear/config.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, and `NaiveDate` [INFO] [stdout] --> src/models/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local, NaiveDate}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dependency::Dependency` [INFO] [stdout] --> src/models/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use dependency::Dependency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epic_map` [INFO] [stdout] --> src/commands/task.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | epic_map: &HashMap, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epic_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/commands/task.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | db: &crate::db::Database, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epic_map` [INFO] [stdout] --> src/commands/task.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | epic_map: &HashMap, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epic_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/commands/task.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | db: &crate::db::Database, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_output` is never used [INFO] [stdout] --> src/commands/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn format_output(data: &T, format: &OutputFormat, quiet: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_in_memory`, `transaction`, and `delete_task_note` are never used [INFO] [stdout] --> src/db/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn open_in_memory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | pub fn delete_task_note(&mut self, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `linear_issue_identifier`, `last_synced_at`, and `sync_direction` are never read [INFO] [stdout] --> src/db/mod.rs:1190:9 [INFO] [stdout] | [INFO] [stdout] 1189 | pub struct LinearSyncEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 1190 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | pub linear_issue_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1194 | pub last_synced_at: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1197 | pub sync_direction: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinearSyncEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_VERSION` is never used [INFO] [stdout] --> src/db/migrations.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CURRENT_VERSION: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlockedBy`, `Config`, `Export`, and `LinearSyncConflict` are never constructed [INFO] [stdout] --> src/error/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MyceliumError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | BlockedBy(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | Export(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | LinearSyncConflict { task_id: i64, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyceliumError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_usage_error` is never used [INFO] [stdout] --> src/error/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn handle_usage_error(msg: &str) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinearProject` is never constructed [INFO] [stdout] --> src/linear/client.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct LinearProject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_projects` and `create_project` are never used [INFO] [stdout] --> src/linear/client.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl LinearClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn fetch_projects(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn create_project(&self, team_id: &str, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Priority { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 57 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl Status { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 109 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl ExternalRefType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 158 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_description`, `close`, and `reopen` are never used [INFO] [stdout] --> src/models/epic.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Epic { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(id: i64, title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn with_description(mut self, description: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn reopen(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/task.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(id: i64, title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_description(mut self, description: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_epic(mut self, epic_id: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn with_priority(mut self, priority: Priority) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_assignee(mut self, assignee_id: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_due_date(mut self, due_date: NaiveDate) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_tags(mut self, tags: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn reopen(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskWithRelations` is never constructed [INFO] [stdout] --> src/models/task.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct TaskWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_email`, and `with_github` are never used [INFO] [stdout] --> src/models/assignee.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Assignee { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(id: i64, name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_email(mut self, email: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn with_github(mut self, github: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dependency` is never constructed [INFO] [stdout] --> src/models/dependency.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Dependency { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/dependency.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dependency { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(id: i64, task_id: i64, depends_on_task_id: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `github_issue`, `github_pr`, and `url` are never used [INFO] [stdout] --> src/models/external_ref.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ExternalRef { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 16 | pub fn new(id: i64, task_id: i64, ref_type: ExternalRefType, reference: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn github_issue(task_id: i64, owner: &str, repo: &str, number: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn github_pr(task_id: i64, owner: &str, repo: &str, number: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn url(task_id: i64, url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/task_note.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TaskNote { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(id: i64, task_id: i64, content: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_output` is never used [INFO] [stdout] --> src/commands/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn format_output(data: &T, format: &OutputFormat, quiet: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_in_memory`, `transaction`, and `delete_task_note` are never used [INFO] [stdout] --> src/db/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn open_in_memory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn transaction(&mut self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | pub fn delete_task_note(&mut self, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `linear_issue_identifier`, `last_synced_at`, and `sync_direction` are never read [INFO] [stdout] --> src/db/mod.rs:1190:9 [INFO] [stdout] | [INFO] [stdout] 1189 | pub struct LinearSyncEntry { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 1190 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | pub linear_issue_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1194 | pub last_synced_at: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1197 | pub sync_direction: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinearSyncEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_VERSION` is never used [INFO] [stdout] --> src/db/migrations.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CURRENT_VERSION: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlockedBy`, `Config`, `Export`, and `LinearSyncConflict` are never constructed [INFO] [stdout] --> src/error/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MyceliumError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | BlockedBy(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | Export(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | LinearSyncConflict { task_id: i64, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyceliumError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_usage_error` is never used [INFO] [stdout] --> src/error/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn handle_usage_error(msg: &str) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinearProject` is never constructed [INFO] [stdout] --> src/linear/client.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct LinearProject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_projects` and `create_project` are never used [INFO] [stdout] --> src/linear/client.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl LinearClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn fetch_projects(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn create_project(&self, team_id: &str, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Priority { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 57 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl Status { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 109 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/mod.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl ExternalRefType { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 158 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_description`, `close`, and `reopen` are never used [INFO] [stdout] --> src/models/epic.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Epic { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(id: i64, title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn with_description(mut self, description: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn reopen(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/task.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(id: i64, title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_description(mut self, description: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_epic(mut self, epic_id: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn with_priority(mut self, priority: Priority) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_assignee(mut self, assignee_id: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_due_date(mut self, due_date: NaiveDate) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_tags(mut self, tags: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn reopen(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskWithRelations` is never constructed [INFO] [stdout] --> src/models/task.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct TaskWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_email`, and `with_github` are never used [INFO] [stdout] --> src/models/assignee.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Assignee { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(id: i64, name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_email(mut self, email: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn with_github(mut self, github: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dependency` is never constructed [INFO] [stdout] --> src/models/dependency.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Dependency { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/dependency.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dependency { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(id: i64, task_id: i64, depends_on_task_id: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `github_issue`, `github_pr`, and `url` are never used [INFO] [stdout] --> src/models/external_ref.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ExternalRef { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 16 | pub fn new(id: i64, task_id: i64, ref_type: ExternalRefType, reference: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn github_issue(task_id: i64, owner: &str, repo: &str, number: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn github_pr(task_id: i64, owner: &str, repo: &str, number: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn url(task_id: i64, url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/task_note.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TaskNote { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(id: i64, task_id: i64, content: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.36s [INFO] running `Command { std: "docker" "inspect" "40ff6a6df9a3d8e85add11b5254302a5fadfe15ac184466651d62c9a80e5907e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40ff6a6df9a3d8e85add11b5254302a5fadfe15ac184466651d62c9a80e5907e", kill_on_drop: false }` [INFO] [stdout] 40ff6a6df9a3d8e85add11b5254302a5fadfe15ac184466651d62c9a80e5907e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 752e7720b197d2e8920c14f9c8b82b9ff046b222829823c4773405db0d960a53 [INFO] running `Command { std: "docker" "start" "-a" "752e7720b197d2e8920c14f9c8b82b9ff046b222829823c4773405db0d960a53", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ERROR_PREFIX` [INFO] [stderr] --> src/commands/epic.rs:3:59 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ERROR_PREFIX` [INFO] [stderr] --> src/commands/assignee.rs:3:59 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ERROR_PREFIX` and `WARNING_PREFIX` [INFO] [stderr] --> src/commands/deps.rs:2:59 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::Colorize` [INFO] [stderr] --> src/commands/list.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use colored::Colorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ContentArrangement` and `Table` [INFO] [stderr] --> src/commands/list.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use comfy_table::{Table, ContentArrangement}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `INFO_PREFIX` and `ensure_initialized` [INFO] [stderr] --> src/commands/list.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::commands::{ensure_initialized, INFO_PREFIX}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Priority` and `Status` [INFO] [stderr] --> src/commands/list.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::models::{Priority, Status}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ensure_initialized` [INFO] [stderr] --> src/commands/doctor.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::commands::{ensure_initialized, SUCCESS_PREFIX, ERROR_PREFIX, INFO_PREFIX, WARNING_PREFIX}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/error/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/error/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/linear/config.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime`, `Local`, and `NaiveDate` [INFO] [stderr] --> src/models/mod.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, Local, NaiveDate}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `dependency::Dependency` [INFO] [stderr] --> src/models/mod.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub use dependency::Dependency; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `epic_map` [INFO] [stderr] --> src/commands/task.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | epic_map: &HashMap, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epic_map` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/commands/task.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | db: &crate::db::Database, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: function `format_output` is never used [INFO] [stderr] --> src/commands/mod.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn format_output(data: &T, format: &OutputFormat, quiet: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `open_in_memory`, `transaction`, and `delete_task_note` are never used [INFO] [stderr] --> src/db/mod.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 43 | impl Database { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn open_in_memory() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn transaction(&mut self, f: F) -> Result [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 726 | pub fn delete_task_note(&mut self, id: i64) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `linear_issue_identifier`, `last_synced_at`, and `sync_direction` are never read [INFO] [stderr] --> src/db/mod.rs:1190:9 [INFO] [stderr] | [INFO] [stderr] 1189 | pub struct LinearSyncEntry { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 1190 | pub id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 1193 | pub linear_issue_identifier: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 1194 | pub last_synced_at: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1197 | pub sync_direction: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LinearSyncEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `CURRENT_VERSION` is never used [INFO] [stderr] --> src/db/migrations.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const CURRENT_VERSION: i32 = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `BlockedBy`, `Config`, `Export`, and `LinearSyncConflict` are never constructed [INFO] [stderr] --> src/error/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum MyceliumError { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 25 | BlockedBy(String), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | Config(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | Export(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | LinearSyncConflict { task_id: i64, message: String }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MyceliumError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `handle_usage_error` is never used [INFO] [stderr] --> src/error/mod.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn handle_usage_error(msg: &str) -> ! { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LinearProject` is never constructed [INFO] [stderr] --> src/linear/client.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct LinearProject { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `fetch_projects` and `create_project` are never used [INFO] [stderr] --> src/linear/client.rs:476:12 [INFO] [stderr] | [INFO] [stderr] 70 | impl LinearClient { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 476 | pub fn fetch_projects(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 492 | pub fn create_project(&self, team_id: &str, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/models/mod.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 56 | impl Priority { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 57 | pub fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/models/mod.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 108 | impl Status { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 109 | pub fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/models/mod.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 157 | impl ExternalRefType { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] 158 | pub fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_description`, `close`, and `reopen` are never used [INFO] [stderr] --> src/models/epic.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Epic { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 18 | pub fn new(id: i64, title: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn with_description(mut self, description: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn close(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn reopen(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/models/task.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Task { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 25 | pub fn new(id: i64, title: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn with_description(mut self, description: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn with_epic(mut self, epic_id: i64) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn with_priority(mut self, priority: Priority) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn with_assignee(mut self, assignee_id: i64) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn with_due_date(mut self, due_date: NaiveDate) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn with_tags(mut self, tags: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn close(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn reopen(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TaskWithRelations` is never constructed [INFO] [stderr] --> src/models/task.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub struct TaskWithRelations { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_email`, and `with_github` are never used [INFO] [stderr] --> src/models/assignee.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Assignee { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 14 | pub fn new(id: i64, name: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn with_email(mut self, email: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn with_github(mut self, github: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Dependency` is never constructed [INFO] [stderr] --> src/models/dependency.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Dependency { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/dependency.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Dependency { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(id: i64, task_id: i64, depends_on_task_id: i64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new`, `github_issue`, `github_pr`, and `url` are never used [INFO] [stderr] --> src/models/external_ref.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl ExternalRef { [INFO] [stderr] | ---------------- associated functions in this implementation [INFO] [stderr] 16 | pub fn new(id: i64, task_id: i64, ref_type: ExternalRefType, reference: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn github_issue(task_id: i64, owner: &str, repo: &str, number: i64) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn github_pr(task_id: i64, owner: &str, repo: &str, number: i64) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn url(task_id: i64, url: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/task_note.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl TaskNote { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(id: i64, task_id: i64, content: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `mycelium` (bin "myc") generated 34 warnings (run `cargo fix --bin "myc" -p mycelium` to apply 15 suggestions) [INFO] [stderr] warning: `mycelium` (bin "myc" test) generated 34 warnings (34 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/myc-7bfdd0549ab137c0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test models::external_ref::tests::test_parse_github_ref ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-a85b60c247b5d34c) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_task_create_help_does_not_panic ... ok [INFO] [stdout] test test_init ... ok [INFO] [stdout] test test_epic_create ... ok [INFO] [stdout] test test_json_output ... ok [INFO] [stdout] test test_delete_epic_detaches_tasks_instead_of_deleting_them ... ok [INFO] [stdout] test test_task_create ... ok [INFO] [stdout] test test_export ... ok [INFO] [stdout] test test_assignee ... ok [INFO] [stdout] test test_dependency_blocking ... ok [INFO] [stdout] test test_blocked_list_only_shows_tasks_with_open_blockers ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "752e7720b197d2e8920c14f9c8b82b9ff046b222829823c4773405db0d960a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "752e7720b197d2e8920c14f9c8b82b9ff046b222829823c4773405db0d960a53", kill_on_drop: false }` [INFO] [stdout] 752e7720b197d2e8920c14f9c8b82b9ff046b222829823c4773405db0d960a53