[INFO] cloning repository https://github.com/ssanj/purs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssanj/purs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssanj%2Fpurs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssanj%2Fpurs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d7b913064ef3ce919f30fa145e47a5157007224 [INFO] checking ssanj/purs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssanj%2Fpurs" "/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/ssanj/purs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ssanj/purs [INFO] finished tweaking git repo https://github.com/ssanj/purs [INFO] tweaked toml for git repo https://github.com/ssanj/purs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ssanj/purs 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded octocrab v0.37.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5039e58f14ec8fb79e17e004721f44757007c9fdf295785c637c8abe23d73e32 [INFO] running `Command { std: "docker" "start" "-a" "5039e58f14ec8fb79e17e004721f44757007c9fdf295785c637c8abe23d73e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5039e58f14ec8fb79e17e004721f44757007c9fdf295785c637c8abe23d73e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5039e58f14ec8fb79e17e004721f44757007c9fdf295785c637c8abe23d73e32", kill_on_drop: false }` [INFO] [stdout] 5039e58f14ec8fb79e17e004721f44757007c9fdf295785c637c8abe23d73e32 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3144f7c130e02d6a4a4a63c791868b00d67feba13a87eea9b57232842d4298dd [INFO] running `Command { std: "docker" "start" "-a" "3144f7c130e02d6a4a4a63c791868b00d67feba13a87eea9b57232842d4298dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.22.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustls-pemfile v2.1.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking iri-string v0.7.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Checking unidiff v0.3.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling snafu-derive v0.8.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking snafu v0.8.2 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking octocrab v0.37.0 [INFO] [stderr] Checking wiremock v0.5.22 [INFO] [stderr] Checking purs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `octocrab` is imported redundantly [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use octocrab::{self, OctocrabBuilder, Octocrab}; [INFO] [stdout] | ^^^^ the item `octocrab` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ratatui` is imported redundantly [INFO] [stdout] --> src/console.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::{self, widgets}; [INFO] [stdout] | ^^^^ the item `ratatui` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `octocrab` is imported redundantly [INFO] [stdout] --> src/github.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use octocrab::{self, Octocrab}; [INFO] [stdout] | ^^^^ the item `octocrab` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `octocrab` is imported redundantly [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use octocrab::{self, OctocrabBuilder, Octocrab}; [INFO] [stdout] | ^^^^ the item `octocrab` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ratatui` is imported redundantly [INFO] [stdout] --> src/console.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::{self, widgets}; [INFO] [stdout] | ^^^^ the item `ratatui` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `octocrab` is imported redundantly [INFO] [stdout] --> src/github.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use octocrab::{self, Octocrab}; [INFO] [stdout] | ^^^^ the item `octocrab` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_avatars` is never used [INFO] [stdout] --> src/avatar.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn get_avatars(comments: &Comments, avatar_cache_directory: &AvatarCacheDirectory) -> R> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_avatar_from_cache` is never used [INFO] [stdout] --> src/avatar.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | async fn get_avatar_from_cache(avatar_info: AvatarInfo) -> R<(Url, FileUrl)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WORKING_DIR` is never used [INFO] [stdout] --> src/model.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DEFAULT_WORKING_DIR: &str = ".purs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIFF_FILE_LIST` is never used [INFO] [stdout] --> src/model.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DIFF_FILE_LIST: &str = "diff_file_list.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PullRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub config_owner_repo: OwnerRepo, [INFO] [stdout] 22 | pub pr_owner: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub ssh_url: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub repo_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub branch_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub head_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub diffs: PullRequestDiff, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub draft: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | pub updated_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PullRequest` 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: multiple fields are never read [INFO] [stdout] --> src/model.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ValidatedPullRequest { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 40 | pub config_owner_repo: OwnerRepo, [INFO] [stdout] 41 | pub pr_owner: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub ssh_url: GitRepoSshUrl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub repo_name: Repo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | pub branch_name: RepoBranchName, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub head_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub diffs: PullRequestDiff, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub draft: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub updated_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidatedPullRequest` 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: field `0` is never read [INFO] [stdout] --> src/model.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PullRequestDiff(pub Vec); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PullRequestDiff` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PullRequestDiff(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CmdOutput` is never used [INFO] [stdout] --> src/model.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum CmdOutput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExitCode` is never used [INFO] [stdout] --> src/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum ExitCode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/model.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `contents` are never read [INFO] [stdout] --> src/model.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct GitDiff { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 182 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | pub contents: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitDiff` 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: struct `AsyncPullRequestParts` is never constructed [INFO] [stdout] --> src/model.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct AsyncPullRequestParts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidNumber` is never constructed [INFO] [stdout] --> src/model.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub enum UserInputError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 197 | InvalidNumber(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInputError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NonZeroResult` and `Error` are never constructed [INFO] [stdout] --> src/model.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 228 | pub enum ScriptErrorType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 229 | NonZeroResult(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 230 | Error(NestedError) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GitError`, `ProcessError`, `MultipleErrors`, `UserError`, `ScriptExecutionError`, and `TUIError` are never constructed [INFO] [stdout] --> src/model.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum PursError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | GitError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 248 | DiffParseError(NestedError), [INFO] [stdout] 249 | ProcessError(NestedError), // Maybe add more information about which process was being executed? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 250 | MultipleErrors(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 251 | UserError(UserInputError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 252 | ScriptExecutionError(ScriptErrorType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | TUIError(NestedError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PursError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProgramStatus` is never used [INFO] [stdout] --> src/model.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 330 | pub enum ProgramStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidSelection` is never used [INFO] [stdout] --> src/model.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum ValidSelection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 349 | impl GitRepoSshUrl { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 350 | pub fn new(repo: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 365 | impl RepoCheckoutPath { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 366 | pub fn new(path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:400:10 [INFO] [stdout] | [INFO] [stdout] 399 | impl RepoBranchName { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 400 | pub fn new(branch: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScriptType` is never used [INFO] [stdout] --> src/model.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum ScriptType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 416 | impl ScriptToRun { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 417 | pub fn new(path: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `working_directory_path`, and `avatar_cache_dir` are never used [INFO] [stdout] --> src/model.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 470 | impl WorkingDirectory { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 471 | [INFO] [stdout] 472 | pub fn new(working_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn working_directory_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn avatar_cache_dir(&self) -> AvatarCacheDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `join` are never used [INFO] [stdout] --> src/model.rs:499:10 [INFO] [stdout] | [INFO] [stdout] 497 | impl HomeDirectory { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 498 | [INFO] [stdout] 499 | pub fn new(home_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn join(&self, arg: &str) -> PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:520:10 [INFO] [stdout] | [INFO] [stdout] 518 | impl GitHubToken { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 519 | [INFO] [stdout] 520 | pub fn new(token: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:542:10 [INFO] [stdout] | [INFO] [stdout] 540 | impl CommandLineArgumentFailure { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 541 | [INFO] [stdout] 542 | pub fn new(error: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exists` and `Created` are never constructed [INFO] [stdout] --> src/model.rs:550:3 [INFO] [stdout] | [INFO] [stdout] 549 | pub enum WorkingDirectoryStatus { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 550 | Exists, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 551 | Created [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkingDirectoryStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Approved`, `Pending`, `ChangesRequested`, `Commented`, `Dismissed`, and `Other` are never constructed [INFO] [stdout] --> src/model.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 556 | pub enum ReviewState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 557 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 558 | Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 559 | ChangesRequested, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 560 | Commented, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 561 | Dismissed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 562 | Other [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewState` 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: fields `user`, `comment`, and `state` are never read [INFO] [stdout] --> src/model.rs:567:7 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct Review { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 567 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 568 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 569 | pub state: ReviewState [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Review` 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: method `reviewer_names` is never used [INFO] [stdout] --> src/model.rs:583:10 [INFO] [stdout] | [INFO] [stdout] 577 | impl Reviews { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 583 | pub fn reviewer_names(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comment_id`, `diff_hunk`, and `in_reply_to_id` are never read [INFO] [stdout] --> src/model.rs:629:7 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 629 | pub comment_id: CommentId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 630 | pub diff_hunk: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub in_reply_to_id: Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` 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: method `update_markdown_body` is never used [INFO] [stdout] --> src/model.rs:642:10 [INFO] [stdout] | [INFO] [stdout] 640 | impl Comment { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 641 | [INFO] [stdout] 642 | pub fn update_markdown_body(self, markdown_body: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/model.rs:672:10 [INFO] [stdout] | [INFO] [stdout] 666 | impl Comments { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/model.rs:712:3 [INFO] [stdout] | [INFO] [stdout] 709 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 712 | user_id: UserId [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: associated items `gravatar_url`, `user_name`, `user_id`, and `from_comment` are never used [INFO] [stdout] --> src/model.rs:725:10 [INFO] [stdout] | [INFO] [stdout] 715 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 725 | pub fn gravatar_url(self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn user_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn user_id(self) -> UserId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn from_comment(comment: OctoComment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Review` and `Edit` are never constructed [INFO] [stdout] --> src/model.rs:936:3 [INFO] [stdout] | [INFO] [stdout] 935 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 936 | Review, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 937 | Edit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `short_string` is never used [INFO] [stdout] --> src/model.rs:952:10 [INFO] [stdout] | [INFO] [stdout] 951 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 952 | pub fn short_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn print_error(message: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_info` is never used [INFO] [stdout] --> src/log.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn print_info(message: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errors` is never used [INFO] [stdout] --> src/log.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn print_errors(message: &str, errors: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_avatars` is never used [INFO] [stdout] --> src/avatar.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn get_avatars(comments: &Comments, avatar_cache_directory: &AvatarCacheDirectory) -> R> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_avatar_from_cache` is never used [INFO] [stdout] --> src/avatar.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | async fn get_avatar_from_cache(avatar_info: AvatarInfo) -> R<(Url, FileUrl)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WORKING_DIR` is never used [INFO] [stdout] --> src/model.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DEFAULT_WORKING_DIR: &str = ".purs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIFF_FILE_LIST` is never used [INFO] [stdout] --> src/model.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DIFF_FILE_LIST: &str = "diff_file_list.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PullRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub config_owner_repo: OwnerRepo, [INFO] [stdout] 22 | pub pr_owner: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub ssh_url: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub repo_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub branch_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub head_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub diffs: PullRequestDiff, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub draft: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | pub updated_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PullRequest` 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: multiple fields are never read [INFO] [stdout] --> src/model.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ValidatedPullRequest { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 40 | pub config_owner_repo: OwnerRepo, [INFO] [stdout] 41 | pub pr_owner: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub ssh_url: GitRepoSshUrl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub repo_name: Repo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | pub branch_name: RepoBranchName, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub head_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub diffs: PullRequestDiff, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub draft: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub updated_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidatedPullRequest` 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: field `0` is never read [INFO] [stdout] --> src/model.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PullRequestDiff(pub Vec); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PullRequestDiff` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PullRequestDiff(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CmdOutput` is never used [INFO] [stdout] --> src/model.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum CmdOutput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExitCode` is never used [INFO] [stdout] --> src/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum ExitCode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/model.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `contents` are never read [INFO] [stdout] --> src/model.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct GitDiff { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 182 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | pub contents: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitDiff` 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: struct `AsyncPullRequestParts` is never constructed [INFO] [stdout] --> src/model.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct AsyncPullRequestParts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidNumber` is never constructed [INFO] [stdout] --> src/model.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub enum UserInputError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 197 | InvalidNumber(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInputError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NonZeroResult` and `Error` are never constructed [INFO] [stdout] --> src/model.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 228 | pub enum ScriptErrorType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 229 | NonZeroResult(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 230 | Error(NestedError) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GitError`, `ProcessError`, `MultipleErrors`, `UserError`, `ScriptExecutionError`, and `TUIError` are never constructed [INFO] [stdout] --> src/model.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum PursError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | GitError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 248 | DiffParseError(NestedError), [INFO] [stdout] 249 | ProcessError(NestedError), // Maybe add more information about which process was being executed? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 250 | MultipleErrors(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 251 | UserError(UserInputError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 252 | ScriptExecutionError(ScriptErrorType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | TUIError(NestedError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PursError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProgramStatus` is never used [INFO] [stdout] --> src/model.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 330 | pub enum ProgramStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidSelection` is never used [INFO] [stdout] --> src/model.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum ValidSelection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 349 | impl GitRepoSshUrl { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 350 | pub fn new(repo: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 365 | impl RepoCheckoutPath { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 366 | pub fn new(path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:400:10 [INFO] [stdout] | [INFO] [stdout] 399 | impl RepoBranchName { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 400 | pub fn new(branch: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScriptType` is never used [INFO] [stdout] --> src/model.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum ScriptType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 416 | impl ScriptToRun { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 417 | pub fn new(path: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `working_directory_path`, and `avatar_cache_dir` are never used [INFO] [stdout] --> src/model.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 470 | impl WorkingDirectory { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 471 | [INFO] [stdout] 472 | pub fn new(working_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn working_directory_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn avatar_cache_dir(&self) -> AvatarCacheDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `join` are never used [INFO] [stdout] --> src/model.rs:499:10 [INFO] [stdout] | [INFO] [stdout] 497 | impl HomeDirectory { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 498 | [INFO] [stdout] 499 | pub fn new(home_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn join(&self, arg: &str) -> PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:520:10 [INFO] [stdout] | [INFO] [stdout] 518 | impl GitHubToken { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 519 | [INFO] [stdout] 520 | pub fn new(token: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:542:10 [INFO] [stdout] | [INFO] [stdout] 540 | impl CommandLineArgumentFailure { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 541 | [INFO] [stdout] 542 | pub fn new(error: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exists` and `Created` are never constructed [INFO] [stdout] --> src/model.rs:550:3 [INFO] [stdout] | [INFO] [stdout] 549 | pub enum WorkingDirectoryStatus { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 550 | Exists, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 551 | Created [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkingDirectoryStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Approved`, `Pending`, `ChangesRequested`, `Commented`, `Dismissed`, and `Other` are never constructed [INFO] [stdout] --> src/model.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 556 | pub enum ReviewState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 557 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 558 | Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 559 | ChangesRequested, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 560 | Commented, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 561 | Dismissed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 562 | Other [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewState` 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: fields `user`, `comment`, and `state` are never read [INFO] [stdout] --> src/model.rs:567:7 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct Review { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 567 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 568 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 569 | pub state: ReviewState [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Review` 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: method `reviewer_names` is never used [INFO] [stdout] --> src/model.rs:583:10 [INFO] [stdout] | [INFO] [stdout] 577 | impl Reviews { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 583 | pub fn reviewer_names(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:597:10 [INFO] [stdout] | [INFO] [stdout] 595 | impl CommentId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 596 | [INFO] [stdout] 597 | pub fn new(comment_id: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:603:23 [INFO] [stdout] | [INFO] [stdout] 603 | pub struct LineNumber(u64); [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 603 | pub struct LineNumber(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 605 | impl LineNumber { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 606 | [INFO] [stdout] 607 | pub fn new(line_no: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:616:10 [INFO] [stdout] | [INFO] [stdout] 615 | impl Markdown { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 616 | pub fn new(body: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:629:7 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 629 | pub comment_id: CommentId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 630 | pub diff_hunk: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 631 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 632 | pub markdown_body: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 633 | pub author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 634 | pub comment_url: Url, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 635 | pub line: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 636 | pub file_name: FileName, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 637 | pub in_reply_to_id: Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` 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: method `update_markdown_body` is never used [INFO] [stdout] --> src/model.rs:642:10 [INFO] [stdout] | [INFO] [stdout] 640 | impl Comment { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 641 | [INFO] [stdout] 642 | pub fn update_markdown_body(self, markdown_body: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:655:10 [INFO] [stdout] | [INFO] [stdout] 653 | impl FileName { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 654 | [INFO] [stdout] 655 | pub fn new(file_name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/model.rs:672:10 [INFO] [stdout] | [INFO] [stdout] 666 | impl Comments { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `gravatar`, and `user_id` are never read [INFO] [stdout] --> src/model.rs:710:3 [INFO] [stdout] | [INFO] [stdout] 709 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 710 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 711 | gravatar: Url, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 712 | user_id: UserId [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: associated items `gravatar_url`, `user_name`, `user_id`, and `from_comment` are never used [INFO] [stdout] --> src/model.rs:725:10 [INFO] [stdout] | [INFO] [stdout] 715 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 725 | pub fn gravatar_url(self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn user_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn user_id(self) -> UserId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn from_comment(comment: OctoComment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `grouped_by_line_2` is never used [INFO] [stdout] --> src/model.rs:803:10 [INFO] [stdout] | [INFO] [stdout] 800 | impl CommentJson { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 803 | pub fn grouped_by_line_2(comments: Comments, avatars: HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Review` and `Edit` are never constructed [INFO] [stdout] --> src/model.rs:936:3 [INFO] [stdout] | [INFO] [stdout] 935 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 936 | Review, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 937 | Edit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `short_string` is never used [INFO] [stdout] --> src/model.rs:952:10 [INFO] [stdout] | [INFO] [stdout] 951 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 952 | pub fn short_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn print_error(message: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_info` is never used [INFO] [stdout] --> src/log.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn print_info(message: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errors` is never used [INFO] [stdout] --> src/log.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn print_errors(message: &str, errors: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/model.rs:568:7 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct Review { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 567 | pub user: Option, [INFO] [stdout] 568 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Review` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `diff_hunk` and `in_reply_to_id` are never read [INFO] [stdout] --> src/model.rs:630:7 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 629 | pub comment_id: CommentId, [INFO] [stdout] 630 | pub diff_hunk: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub in_reply_to_id: Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/model.rs:568:7 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct Review { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 567 | pub user: Option, [INFO] [stdout] 568 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Review` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `diff_hunk` and `in_reply_to_id` are never read [INFO] [stdout] --> src/model.rs:630:7 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 629 | pub comment_id: CommentId, [INFO] [stdout] 630 | pub diff_hunk: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub in_reply_to_id: Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "3144f7c130e02d6a4a4a63c791868b00d67feba13a87eea9b57232842d4298dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3144f7c130e02d6a4a4a63c791868b00d67feba13a87eea9b57232842d4298dd", kill_on_drop: false }` [INFO] [stdout] 3144f7c130e02d6a4a4a63c791868b00d67feba13a87eea9b57232842d4298dd [INFO] checking ssanj/purs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssanj%2Fpurs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ssanj/purs on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ssanj/purs [INFO] finished tweaking git repo https://github.com/ssanj/purs [INFO] tweaked toml for git repo https://github.com/ssanj/purs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ssanj/purs 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18f1655063a4521ce168403ff9f67f8d64f721beeb7b6a07cecc895defed7cae [INFO] running `Command { std: "docker" "start" "-a" "18f1655063a4521ce168403ff9f67f8d64f721beeb7b6a07cecc895defed7cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18f1655063a4521ce168403ff9f67f8d64f721beeb7b6a07cecc895defed7cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f1655063a4521ce168403ff9f67f8d64f721beeb7b6a07cecc895defed7cae", kill_on_drop: false }` [INFO] [stdout] 18f1655063a4521ce168403ff9f67f8d64f721beeb7b6a07cecc895defed7cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c92f91bafa9257be43e4ab2fc8d637f1baca0d322867d5a4647c132967776d1 [INFO] running `Command { std: "docker" "start" "-a" "9c92f91bafa9257be43e4ab2fc8d637f1baca0d322867d5a4647c132967776d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustls v0.22.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rustls-pemfile v2.1.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking iri-string v0.7.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling snafu-derive v0.8.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking unidiff v0.3.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking snafu v0.8.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking octocrab v0.37.0 [INFO] [stderr] Checking wiremock v0.5.22 [INFO] [stderr] Checking purs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `octocrab` is imported redundantly [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use octocrab::{self, OctocrabBuilder, Octocrab}; [INFO] [stdout] | ^^^^ the item `octocrab` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ratatui` is imported redundantly [INFO] [stdout] --> src/console.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::{self, widgets}; [INFO] [stdout] | ^^^^ the item `ratatui` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `octocrab` is imported redundantly [INFO] [stdout] --> src/github.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use octocrab::{self, Octocrab}; [INFO] [stdout] | ^^^^ the item `octocrab` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `octocrab` is imported redundantly [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use octocrab::{self, OctocrabBuilder, Octocrab}; [INFO] [stdout] | ^^^^ the item `octocrab` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ratatui` is imported redundantly [INFO] [stdout] --> src/console.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::{self, widgets}; [INFO] [stdout] | ^^^^ the item `ratatui` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `octocrab` is imported redundantly [INFO] [stdout] --> src/github.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use octocrab::{self, Octocrab}; [INFO] [stdout] | ^^^^ the item `octocrab` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_avatars` is never used [INFO] [stdout] --> src/avatar.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn get_avatars(comments: &Comments, avatar_cache_directory: &AvatarCacheDirectory) -> R> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_avatar_from_cache` is never used [INFO] [stdout] --> src/avatar.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | async fn get_avatar_from_cache(avatar_info: AvatarInfo) -> R<(Url, FileUrl)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WORKING_DIR` is never used [INFO] [stdout] --> src/model.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DEFAULT_WORKING_DIR: &str = ".purs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIFF_FILE_LIST` is never used [INFO] [stdout] --> src/model.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DIFF_FILE_LIST: &str = "diff_file_list.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PullRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub config_owner_repo: OwnerRepo, [INFO] [stdout] 22 | pub pr_owner: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub ssh_url: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub repo_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub branch_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub head_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub diffs: PullRequestDiff, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub draft: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | pub updated_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PullRequest` 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: multiple fields are never read [INFO] [stdout] --> src/model.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ValidatedPullRequest { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 40 | pub config_owner_repo: OwnerRepo, [INFO] [stdout] 41 | pub pr_owner: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub ssh_url: GitRepoSshUrl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub repo_name: Repo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | pub branch_name: RepoBranchName, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub head_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub diffs: PullRequestDiff, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub draft: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub updated_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidatedPullRequest` 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: field `0` is never read [INFO] [stdout] --> src/model.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PullRequestDiff(pub Vec); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PullRequestDiff` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PullRequestDiff(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CmdOutput` is never used [INFO] [stdout] --> src/model.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum CmdOutput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExitCode` is never used [INFO] [stdout] --> src/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum ExitCode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/model.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `contents` are never read [INFO] [stdout] --> src/model.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct GitDiff { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 182 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | pub contents: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitDiff` 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: struct `AsyncPullRequestParts` is never constructed [INFO] [stdout] --> src/model.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct AsyncPullRequestParts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidNumber` is never constructed [INFO] [stdout] --> src/model.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub enum UserInputError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 197 | InvalidNumber(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInputError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NonZeroResult` and `Error` are never constructed [INFO] [stdout] --> src/model.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 228 | pub enum ScriptErrorType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 229 | NonZeroResult(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 230 | Error(NestedError) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GitError`, `ProcessError`, `MultipleErrors`, `UserError`, `ScriptExecutionError`, and `TUIError` are never constructed [INFO] [stdout] --> src/model.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum PursError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | GitError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 248 | DiffParseError(NestedError), [INFO] [stdout] 249 | ProcessError(NestedError), // Maybe add more information about which process was being executed? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 250 | MultipleErrors(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 251 | UserError(UserInputError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 252 | ScriptExecutionError(ScriptErrorType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | TUIError(NestedError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PursError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProgramStatus` is never used [INFO] [stdout] --> src/model.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 330 | pub enum ProgramStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidSelection` is never used [INFO] [stdout] --> src/model.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum ValidSelection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 349 | impl GitRepoSshUrl { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 350 | pub fn new(repo: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 365 | impl RepoCheckoutPath { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 366 | pub fn new(path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:400:10 [INFO] [stdout] | [INFO] [stdout] 399 | impl RepoBranchName { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 400 | pub fn new(branch: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScriptType` is never used [INFO] [stdout] --> src/model.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum ScriptType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 416 | impl ScriptToRun { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 417 | pub fn new(path: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `working_directory_path`, and `avatar_cache_dir` are never used [INFO] [stdout] --> src/model.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 470 | impl WorkingDirectory { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 471 | [INFO] [stdout] 472 | pub fn new(working_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn working_directory_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn avatar_cache_dir(&self) -> AvatarCacheDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `join` are never used [INFO] [stdout] --> src/model.rs:499:10 [INFO] [stdout] | [INFO] [stdout] 497 | impl HomeDirectory { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 498 | [INFO] [stdout] 499 | pub fn new(home_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn join(&self, arg: &str) -> PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:520:10 [INFO] [stdout] | [INFO] [stdout] 518 | impl GitHubToken { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 519 | [INFO] [stdout] 520 | pub fn new(token: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:542:10 [INFO] [stdout] | [INFO] [stdout] 540 | impl CommandLineArgumentFailure { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 541 | [INFO] [stdout] 542 | pub fn new(error: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exists` and `Created` are never constructed [INFO] [stdout] --> src/model.rs:550:3 [INFO] [stdout] | [INFO] [stdout] 549 | pub enum WorkingDirectoryStatus { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 550 | Exists, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 551 | Created [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkingDirectoryStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Approved`, `Pending`, `ChangesRequested`, `Commented`, `Dismissed`, and `Other` are never constructed [INFO] [stdout] --> src/model.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 556 | pub enum ReviewState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 557 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 558 | Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 559 | ChangesRequested, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 560 | Commented, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 561 | Dismissed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 562 | Other [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewState` 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: fields `user`, `comment`, and `state` are never read [INFO] [stdout] --> src/model.rs:567:7 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct Review { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 567 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 568 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 569 | pub state: ReviewState [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Review` 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: method `reviewer_names` is never used [INFO] [stdout] --> src/model.rs:583:10 [INFO] [stdout] | [INFO] [stdout] 577 | impl Reviews { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 583 | pub fn reviewer_names(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:597:10 [INFO] [stdout] | [INFO] [stdout] 595 | impl CommentId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 596 | [INFO] [stdout] 597 | pub fn new(comment_id: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:603:23 [INFO] [stdout] | [INFO] [stdout] 603 | pub struct LineNumber(u64); [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 603 | pub struct LineNumber(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 605 | impl LineNumber { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 606 | [INFO] [stdout] 607 | pub fn new(line_no: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:616:10 [INFO] [stdout] | [INFO] [stdout] 615 | impl Markdown { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 616 | pub fn new(body: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:629:7 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 629 | pub comment_id: CommentId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 630 | pub diff_hunk: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 631 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 632 | pub markdown_body: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 633 | pub author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 634 | pub comment_url: Url, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 635 | pub line: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 636 | pub file_name: FileName, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 637 | pub in_reply_to_id: Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` 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: method `update_markdown_body` is never used [INFO] [stdout] --> src/model.rs:642:10 [INFO] [stdout] | [INFO] [stdout] 640 | impl Comment { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 641 | [INFO] [stdout] 642 | pub fn update_markdown_body(self, markdown_body: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:655:10 [INFO] [stdout] | [INFO] [stdout] 653 | impl FileName { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 654 | [INFO] [stdout] 655 | pub fn new(file_name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/model.rs:672:10 [INFO] [stdout] | [INFO] [stdout] 666 | impl Comments { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `gravatar`, and `user_id` are never read [INFO] [stdout] --> src/model.rs:710:3 [INFO] [stdout] | [INFO] [stdout] 709 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 710 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 711 | gravatar: Url, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 712 | user_id: UserId [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: associated items `gravatar_url`, `user_name`, `user_id`, and `from_comment` are never used [INFO] [stdout] --> src/model.rs:725:10 [INFO] [stdout] | [INFO] [stdout] 715 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 725 | pub fn gravatar_url(self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn user_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn user_id(self) -> UserId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn from_comment(comment: OctoComment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `grouped_by_line_2` is never used [INFO] [stdout] --> src/model.rs:803:10 [INFO] [stdout] | [INFO] [stdout] 800 | impl CommentJson { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 803 | pub fn grouped_by_line_2(comments: Comments, avatars: HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Review` and `Edit` are never constructed [INFO] [stdout] --> src/model.rs:936:3 [INFO] [stdout] | [INFO] [stdout] 935 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 936 | Review, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 937 | Edit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `short_string` is never used [INFO] [stdout] --> src/model.rs:952:10 [INFO] [stdout] | [INFO] [stdout] 951 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 952 | pub fn short_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn print_error(message: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_info` is never used [INFO] [stdout] --> src/log.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn print_info(message: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errors` is never used [INFO] [stdout] --> src/log.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn print_errors(message: &str, errors: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/model.rs:568:7 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct Review { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 567 | pub user: Option, [INFO] [stdout] 568 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Review` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `diff_hunk` and `in_reply_to_id` are never read [INFO] [stdout] --> src/model.rs:630:7 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 629 | pub comment_id: CommentId, [INFO] [stdout] 630 | pub diff_hunk: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub in_reply_to_id: Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` 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: function `get_avatars` is never used [INFO] [stdout] --> src/avatar.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn get_avatars(comments: &Comments, avatar_cache_directory: &AvatarCacheDirectory) -> R> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_avatar_from_cache` is never used [INFO] [stdout] --> src/avatar.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | async fn get_avatar_from_cache(avatar_info: AvatarInfo) -> R<(Url, FileUrl)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WORKING_DIR` is never used [INFO] [stdout] --> src/model.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DEFAULT_WORKING_DIR: &str = ".purs"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIFF_FILE_LIST` is never used [INFO] [stdout] --> src/model.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DIFF_FILE_LIST: &str = "diff_file_list.txt"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/model.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PullRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 21 | pub config_owner_repo: OwnerRepo, [INFO] [stdout] 22 | pub pr_owner: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub ssh_url: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub repo_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub branch_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub head_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub diffs: PullRequestDiff, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub draft: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | pub updated_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PullRequest` 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: multiple fields are never read [INFO] [stdout] --> src/model.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ValidatedPullRequest { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 40 | pub config_owner_repo: OwnerRepo, [INFO] [stdout] 41 | pub pr_owner: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub ssh_url: GitRepoSshUrl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub repo_name: Repo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | pub branch_name: RepoBranchName, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | pub head_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub diffs: PullRequestDiff, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub draft: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub updated_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidatedPullRequest` 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: field `0` is never read [INFO] [stdout] --> src/model.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PullRequestDiff(pub Vec); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PullRequestDiff` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | pub struct PullRequestDiff(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CmdOutput` is never used [INFO] [stdout] --> src/model.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub enum CmdOutput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExitCode` is never used [INFO] [stdout] --> src/model.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum ExitCode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/model.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `contents` are never read [INFO] [stdout] --> src/model.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct GitDiff { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 182 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | pub contents: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitDiff` 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: struct `AsyncPullRequestParts` is never constructed [INFO] [stdout] --> src/model.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct AsyncPullRequestParts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidNumber` is never constructed [INFO] [stdout] --> src/model.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub enum UserInputError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 197 | InvalidNumber(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInputError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NonZeroResult` and `Error` are never constructed [INFO] [stdout] --> src/model.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 228 | pub enum ScriptErrorType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 229 | NonZeroResult(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 230 | Error(NestedError) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GitError`, `ProcessError`, `MultipleErrors`, `UserError`, `ScriptExecutionError`, and `TUIError` are never constructed [INFO] [stdout] --> src/model.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum PursError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | GitError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 248 | DiffParseError(NestedError), [INFO] [stdout] 249 | ProcessError(NestedError), // Maybe add more information about which process was being executed? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 250 | MultipleErrors(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 251 | UserError(UserInputError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 252 | ScriptExecutionError(ScriptErrorType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | TUIError(NestedError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PursError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProgramStatus` is never used [INFO] [stdout] --> src/model.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 330 | pub enum ProgramStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidSelection` is never used [INFO] [stdout] --> src/model.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum ValidSelection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 349 | impl GitRepoSshUrl { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 350 | pub fn new(repo: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 365 | impl RepoCheckoutPath { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 366 | pub fn new(path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:400:10 [INFO] [stdout] | [INFO] [stdout] 399 | impl RepoBranchName { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 400 | pub fn new(branch: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScriptType` is never used [INFO] [stdout] --> src/model.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum ScriptType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 416 | impl ScriptToRun { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 417 | pub fn new(path: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `working_directory_path`, and `avatar_cache_dir` are never used [INFO] [stdout] --> src/model.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 470 | impl WorkingDirectory { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 471 | [INFO] [stdout] 472 | pub fn new(working_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn working_directory_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn avatar_cache_dir(&self) -> AvatarCacheDirectory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `join` are never used [INFO] [stdout] --> src/model.rs:499:10 [INFO] [stdout] | [INFO] [stdout] 497 | impl HomeDirectory { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 498 | [INFO] [stdout] 499 | pub fn new(home_dir: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn join(&self, arg: &str) -> PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:520:10 [INFO] [stdout] | [INFO] [stdout] 518 | impl GitHubToken { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 519 | [INFO] [stdout] 520 | pub fn new(token: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:542:10 [INFO] [stdout] | [INFO] [stdout] 540 | impl CommandLineArgumentFailure { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 541 | [INFO] [stdout] 542 | pub fn new(error: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exists` and `Created` are never constructed [INFO] [stdout] --> src/model.rs:550:3 [INFO] [stdout] | [INFO] [stdout] 549 | pub enum WorkingDirectoryStatus { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 550 | Exists, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 551 | Created [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkingDirectoryStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Approved`, `Pending`, `ChangesRequested`, `Commented`, `Dismissed`, and `Other` are never constructed [INFO] [stdout] --> src/model.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 556 | pub enum ReviewState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 557 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 558 | Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 559 | ChangesRequested, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 560 | Commented, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 561 | Dismissed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 562 | Other [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewState` 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: fields `user`, `comment`, and `state` are never read [INFO] [stdout] --> src/model.rs:567:7 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct Review { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 567 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 568 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 569 | pub state: ReviewState [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Review` 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: method `reviewer_names` is never used [INFO] [stdout] --> src/model.rs:583:10 [INFO] [stdout] | [INFO] [stdout] 577 | impl Reviews { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 583 | pub fn reviewer_names(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comment_id`, `diff_hunk`, and `in_reply_to_id` are never read [INFO] [stdout] --> src/model.rs:629:7 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 629 | pub comment_id: CommentId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 630 | pub diff_hunk: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub in_reply_to_id: Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` 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: method `update_markdown_body` is never used [INFO] [stdout] --> src/model.rs:642:10 [INFO] [stdout] | [INFO] [stdout] 640 | impl Comment { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 641 | [INFO] [stdout] 642 | pub fn update_markdown_body(self, markdown_body: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/model.rs:672:10 [INFO] [stdout] | [INFO] [stdout] 666 | impl Comments { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/model.rs:712:3 [INFO] [stdout] | [INFO] [stdout] 709 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 712 | user_id: UserId [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: associated items `gravatar_url`, `user_name`, `user_id`, and `from_comment` are never used [INFO] [stdout] --> src/model.rs:725:10 [INFO] [stdout] | [INFO] [stdout] 715 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 725 | pub fn gravatar_url(self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn user_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn user_id(self) -> UserId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn from_comment(comment: OctoComment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Review` and `Edit` are never constructed [INFO] [stdout] --> src/model.rs:936:3 [INFO] [stdout] | [INFO] [stdout] 935 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 936 | Review, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 937 | Edit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `short_string` is never used [INFO] [stdout] --> src/model.rs:952:10 [INFO] [stdout] | [INFO] [stdout] 951 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 952 | pub fn short_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/log.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn print_error(message: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_info` is never used [INFO] [stdout] --> src/log.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn print_info(message: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errors` is never used [INFO] [stdout] --> src/log.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn print_errors(message: &str, errors: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/model.rs:568:7 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct Review { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 567 | pub user: Option, [INFO] [stdout] 568 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Review` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `diff_hunk` and `in_reply_to_id` are never read [INFO] [stdout] --> src/model.rs:630:7 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 629 | pub comment_id: CommentId, [INFO] [stdout] 630 | pub diff_hunk: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub in_reply_to_id: Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` 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: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "9c92f91bafa9257be43e4ab2fc8d637f1baca0d322867d5a4647c132967776d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c92f91bafa9257be43e4ab2fc8d637f1baca0d322867d5a4647c132967776d1", kill_on_drop: false }` [INFO] [stdout] 9c92f91bafa9257be43e4ab2fc8d637f1baca0d322867d5a4647c132967776d1