[INFO] cloning repository https://github.com/fuulish/corey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fuulish/corey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuulish%2Fcorey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuulish%2Fcorey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 394d6e56ca3272c00c09dee33bdba51754bb7e49 [INFO] checking fuulish/corey against master#e3e432d4d65a55e6db167598e96db2bcb163e316 for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuulish%2Fcorey" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fuulish/corey on toolchain e3e432d4d65a55e6db167598e96db2bcb163e316 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fuulish/corey [INFO] finished tweaking git repo https://github.com/fuulish/corey [INFO] tweaked toml for git repo https://github.com/fuulish/corey written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fuulish/corey 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" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.100 [INFO] [stderr] Downloaded git2 v0.18.2 [INFO] [stderr] Downloaded bumpalo v3.15.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b11b28da2246e5a9d0b121f21af0af45b8a61ede1307292966f507b8c8f67c2d [INFO] running `Command { std: "docker" "start" "-a" "b11b28da2246e5a9d0b121f21af0af45b8a61ede1307292966f507b8c8f67c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b11b28da2246e5a9d0b121f21af0af45b8a61ede1307292966f507b8c8f67c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b11b28da2246e5a9d0b121f21af0af45b8a61ede1307292966f507b8c8f67c2d", kill_on_drop: false }` [INFO] [stdout] b11b28da2246e5a9d0b121f21af0af45b8a61ede1307292966f507b8c8f67c2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f0f3ad988a42811d6a386b06f72f283c1d0e681968615150994c68a48314216 [INFO] running `Command { std: "docker" "start" "-a" "3f0f3ad988a42811d6a386b06f72f283c1d0e681968615150994c68a48314216", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.100 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling auto_impl v1.1.2 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tower v0.4.13 [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 h2 v0.3.24 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.32 [INFO] [stderr] Checking git2 v0.18.2 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking corey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LinePair` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use diff::{Diff, LinePair}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `theFuture` [INFO] [stdout] --> src/diff.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "theFuture")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug`, `default`, and `message_tracing` [INFO] [stdout] = help: consider adding `theFuture` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinePair` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use diff::{Diff, LinePair}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `theFuture` [INFO] [stdout] --> src/diff.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "theFuture")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug`, `default`, and `message_tracing` [INFO] [stdout] = help: consider adding `theFuture` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/main.rs:847:13 [INFO] [stdout] | [INFO] [stdout] 847 | let repo = match Repo::new(&self.review.interface, &self.review.local_repo) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/main.rs:847:13 [INFO] [stdout] | [INFO] [stdout] 847 | let repo = match Repo::new(&self.review.interface, &self.review.local_repo) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/main.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | let repo = Repo::new(&review.interface, &review.local_repo)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/main.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | let repo = Repo::new(&review.interface, &review.local_repo)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/diff.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn from_parse_int_error(err: ParseIntError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/diff.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn from_parse_int_error(err: ParseIntError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(v) = subject.find("line") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | } else if let Some(v) = subject.find("file") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:435:24 [INFO] [stdout] | [INFO] [stdout] 435 | fn from_diff_error(err: diff::Error) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:438:27 [INFO] [stdout] | [INFO] [stdout] 438 | fn try_from_int_error(err: TryFromIntError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(v) = subject.find("line") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | } else if let Some(v) = subject.find("file") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:435:24 [INFO] [stdout] | [INFO] [stdout] 435 | fn from_diff_error(err: diff::Error) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:438:27 [INFO] [stdout] | [INFO] [stdout] 438 | fn try_from_int_error(err: TryFromIntError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LL`, `RL`, and `LR` are never constructed [INFO] [stdout] --> src/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | enum CommentSide { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 97 | LL, [INFO] [stdout] | ^^ [INFO] [stdout] 98 | RR, [INFO] [stdout] 99 | RL, [INFO] [stdout] | ^^ [INFO] [stdout] 100 | LR, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotImplemented` is never constructed [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 103 | enum LineRange { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 107 | NotImplemented(lsp_types::Range), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `commented_side` is never used [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl ReviewComment { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 122 | // XXX: implement [INFO] [stdout] 123 | fn commented_side(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | Git(git2::Repository), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 451 - Git(git2::Repository), [INFO] [stdout] 451 + Git(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vcs` is never read [INFO] [stdout] --> src/main.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 455 | struct Repo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 456 | vcs: VCS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `range`, and `context` are never read [INFO] [stdout] --> src/diff.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Diff { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | path: String, // XXX: use std::path::Path? [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | range: std::ops::Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | context: std::vec::Vec>, // only one context needed, because it's common [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `original_line_range`, `text`, `original_text`, and `get_context` are never used [INFO] [stdout] --> src/diff.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Diff { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 67 | // XXX: pretty useless [INFO] [stdout] 68 | pub fn original_line_range(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn original_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn get_context(&self, _ignore_starting: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LL`, `RL`, and `LR` are never constructed [INFO] [stdout] --> src/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | enum CommentSide { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 97 | LL, [INFO] [stdout] | ^^ [INFO] [stdout] 98 | RR, [INFO] [stdout] 99 | RL, [INFO] [stdout] | ^^ [INFO] [stdout] 100 | LR, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotImplemented` is never constructed [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 103 | enum LineRange { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 107 | NotImplemented(lsp_types::Range), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `commented_side` is never used [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl ReviewComment { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 122 | // XXX: implement [INFO] [stdout] 123 | fn commented_side(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | Git(git2::Repository), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 451 - Git(git2::Repository), [INFO] [stdout] 451 + Git(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vcs` is never read [INFO] [stdout] --> src/main.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 455 | struct Repo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 456 | vcs: VCS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `range`, and `context` are never read [INFO] [stdout] --> src/diff.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Diff { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | path: String, // XXX: use std::path::Path? [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | range: std::ops::Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | context: std::vec::Vec>, // only one context needed, because it's common [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `original_line_range`, `text`, `original_text`, and `get_context` are never used [INFO] [stdout] --> src/diff.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Diff { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 67 | // XXX: pretty useless [INFO] [stdout] 68 | pub fn original_line_range(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn original_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn get_context(&self, _ignore_starting: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.44s [INFO] running `Command { std: "docker" "inspect" "3f0f3ad988a42811d6a386b06f72f283c1d0e681968615150994c68a48314216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f0f3ad988a42811d6a386b06f72f283c1d0e681968615150994c68a48314216", kill_on_drop: false }` [INFO] [stdout] 3f0f3ad988a42811d6a386b06f72f283c1d0e681968615150994c68a48314216