[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] a773699329d69a410e7589d9df1a52d1fa12898b [INFO] checking ssanj/purs against master#4457658f68b5c165cd76d24b8147a8f77b9f660e for pr-107620-2 [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 4457658f68b5c165cd76d24b8147a8f77b9f660e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4457658f68b5c165cd76d24b8147a8f77b9f660e" "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" "+4457658f68b5c165cd76d24b8147a8f77b9f660e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded slab v0.4.5 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded snafu v0.7.0 [INFO] [stderr] Downloaded crossterm v0.22.1 [INFO] [stderr] Downloaded retain_mut v0.1.7 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded signal-hook-mio v0.2.3 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded octocrab v0.15.4 [INFO] [stderr] Downloaded cc v1.0.72 [INFO] [stderr] Downloaded http-types v2.12.0 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded web-sys v0.3.56 [INFO] [stderr] Downloaded security-framework-sys v2.6.0 [INFO] [stderr] Downloaded encoding_rs v0.8.30 [INFO] [stderr] Downloaded openssl v0.10.38 [INFO] [stderr] Downloaded tui v0.17.0 [INFO] [stderr] Downloaded unicode-segmentation v1.8.0 [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] [stderr] Downloaded wasm-bindgen v0.2.79 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded hyper v0.14.16 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] [stderr] Downloaded clap v3.1.6 [INFO] [stderr] Downloaded getrandom v0.2.5 [INFO] [stderr] Downloaded base64 v0.12.3 [INFO] [stderr] Downloaded backtrace v0.3.64 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded pretty_assertions v1.2.1 [INFO] [stderr] Downloaded pkg-config v0.3.24 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded security-framework v2.6.0 [INFO] [stderr] Downloaded js-sys v0.3.56 [INFO] [stderr] Downloaded libc v0.2.116 [INFO] [stderr] Downloaded native-tls v0.2.8 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.79 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.79 [INFO] [stderr] Downloaded signal-hook v0.3.13 [INFO] [stderr] Downloaded arc-swap v1.5.0 [INFO] [stderr] Downloaded hyperx v1.4.0 [INFO] [stderr] Downloaded schannel v0.1.19 [INFO] [stderr] Downloaded reqwest v0.11.9 [INFO] [stderr] Downloaded syn v1.0.86 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded deadpool-runtime v0.1.2 [INFO] [stderr] Downloaded event-listener v2.5.2 [INFO] [stderr] Downloaded infer v0.2.3 [INFO] [stderr] Downloaded serde_qs v0.8.5 [INFO] [stderr] Downloaded tinyvec v1.5.1 [INFO] [stderr] Downloaded httparse v1.5.1 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded redox_syscall v0.2.12 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded os_str_bytes v6.0.0 [INFO] [stderr] Downloaded redox_users v0.4.2 [INFO] [stderr] Downloaded language-tags v0.3.2 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] [stderr] Downloaded snafu-derive v0.7.0 [INFO] [stderr] Downloaded ipnet v2.3.1 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.29 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.79 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded crossterm_winapi v0.9.0 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded assert-json-diff v2.0.1 [INFO] [stderr] Downloaded cache-padded v1.2.0 [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded wiremock v0.5.13 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded deadpool v0.9.4 [INFO] [stderr] Downloaded output_vt100 v0.1.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded async-trait v0.1.52 [INFO] [stderr] Downloaded unicode-bidi v0.3.7 [INFO] [stderr] Downloaded h2 v0.3.11 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded tracing v0.1.29 [INFO] [stderr] Downloaded once_cell v1.9.0 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] [stderr] Downloaded tracing-core v0.1.21 [INFO] [stderr] Downloaded serde_path_to_error v0.1.7 [INFO] [stderr] Downloaded object v0.27.1 [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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+4457658f68b5c165cd76d24b8147a8f77b9f660e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 898c600818e18b4bc13a408053d5bf8fbb42f144910a45cde0a4b1a8783a60d1 [INFO] running `Command { std: "docker" "start" "-a" "898c600818e18b4bc13a408053d5bf8fbb42f144910a45cde0a4b1a8783a60d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "898c600818e18b4bc13a408053d5bf8fbb42f144910a45cde0a4b1a8783a60d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "898c600818e18b4bc13a408053d5bf8fbb42f144910a45cde0a4b1a8783a60d1", kill_on_drop: false }` [INFO] [stdout] 898c600818e18b4bc13a408053d5bf8fbb42f144910a45cde0a4b1a8783a60d1 [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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+4457658f68b5c165cd76d24b8147a8f77b9f660e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b5ad6da721034610a60ae1058ed363d94221ba3b41e8453338e71c8806fcdcc [INFO] running `Command { std: "docker" "start" "-a" "6b5ad6da721034610a60ae1058ed363d94221ba3b41e8453338e71c8806fcdcc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling hyperx v1.4.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossterm v0.22.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking tui v0.17.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling snafu-derive v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking unidiff v0.3.3 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking retain_mut v0.1.7 [INFO] [stderr] Checking deadpool-runtime v0.1.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Checking snafu v0.7.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking deadpool v0.9.4 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_path_to_error v0.1.7 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking assert-json-diff v2.0.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking wiremock v0.5.13 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking octocrab v0.15.4 [INFO] [stderr] Checking purs v0.3.11 (/opt/rustwide/workdir) [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:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | 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: 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 `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: variants `NoScript`, `Script`, and `InvalidScript` are never constructed [INFO] [stdout] --> src/model.rs:408:3 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum ScriptType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 408 | NoScript, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 409 | Script(ScriptToRun), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 410 | InvalidScript(String, NestedError) [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: 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:593:10 [INFO] [stdout] | [INFO] [stdout] 591 | impl CommentId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 592 | [INFO] [stdout] 593 | pub fn new(comment_id: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:603:10 [INFO] [stdout] | [INFO] [stdout] 601 | impl LineNumber { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 602 | [INFO] [stdout] 603 | 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:612:10 [INFO] [stdout] | [INFO] [stdout] 611 | impl Markdown { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 612 | pub fn new(body: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_markdown_body` is never used [INFO] [stdout] --> src/model.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 636 | impl Comment { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 637 | [INFO] [stdout] 638 | 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:651:10 [INFO] [stdout] | [INFO] [stdout] 649 | impl FileName { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 650 | [INFO] [stdout] 651 | 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:668:10 [INFO] [stdout] | [INFO] [stdout] 662 | impl Comments { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 668 | 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:706:3 [INFO] [stdout] | [INFO] [stdout] 705 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 706 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 707 | gravatar: Url, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 708 | 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:721:10 [INFO] [stdout] | [INFO] [stdout] 711 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 721 | pub fn gravatar_url(self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 725 | pub fn user_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn user_id(self) -> UserId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn from_comment(comment: OctoComment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `grouped_by_line_2` is never used [INFO] [stdout] --> src/model.rs:794:10 [INFO] [stdout] | [INFO] [stdout] 791 | impl CommentJson { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 794 | 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:927:3 [INFO] [stdout] | [INFO] [stdout] 926 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 927 | Review, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 928 | Edit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `short_string` is never used [INFO] [stdout] --> src/model.rs:943:10 [INFO] [stdout] | [INFO] [stdout] 942 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 943 | 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: 38 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:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | 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: 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 `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: variants `NoScript`, `Script`, and `InvalidScript` are never constructed [INFO] [stdout] --> src/model.rs:408:3 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum ScriptType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 408 | NoScript, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 409 | Script(ScriptToRun), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 410 | InvalidScript(String, NestedError) [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: 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: method `update_markdown_body` is never used [INFO] [stdout] --> src/model.rs:638:10 [INFO] [stdout] | [INFO] [stdout] 636 | impl Comment { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 637 | [INFO] [stdout] 638 | 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:668:10 [INFO] [stdout] | [INFO] [stdout] 662 | impl Comments { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 668 | 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:708:3 [INFO] [stdout] | [INFO] [stdout] 705 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 708 | 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:721:10 [INFO] [stdout] | [INFO] [stdout] 711 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 721 | pub fn gravatar_url(self) -> Url { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 725 | pub fn user_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn user_id(self) -> UserId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn from_comment(comment: OctoComment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Review` and `Edit` are never constructed [INFO] [stdout] --> src/model.rs:927:3 [INFO] [stdout] | [INFO] [stdout] 926 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 927 | Review, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 928 | Edit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `short_string` is never used [INFO] [stdout] --> src/model.rs:943:10 [INFO] [stdout] | [INFO] [stdout] 942 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 943 | 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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "6b5ad6da721034610a60ae1058ed363d94221ba3b41e8453338e71c8806fcdcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5ad6da721034610a60ae1058ed363d94221ba3b41e8453338e71c8806fcdcc", kill_on_drop: false }` [INFO] [stdout] 6b5ad6da721034610a60ae1058ed363d94221ba3b41e8453338e71c8806fcdcc