[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#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuulish%2Fcorey" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fuulish/corey on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded auto_impl v1.1.2 [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded hermit-abi v0.3.6 [INFO] [stderr] Downloaded openssl-sys v0.9.100 [INFO] [stderr] Downloaded serde_repr v0.1.18 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded serde_yaml v0.9.32 [INFO] [stderr] Downloaded bumpalo v3.15.2 [INFO] [stderr] Downloaded cc v1.0.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b7ca67e5f1c1a5cb9e72dae298516726951c5a1fcc57a4ee09dc87c051020a4 [INFO] running `Command { std: "docker" "start" "-a" "2b7ca67e5f1c1a5cb9e72dae298516726951c5a1fcc57a4ee09dc87c051020a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b7ca67e5f1c1a5cb9e72dae298516726951c5a1fcc57a4ee09dc87c051020a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b7ca67e5f1c1a5cb9e72dae298516726951c5a1fcc57a4ee09dc87c051020a4", kill_on_drop: false }` [INFO] [stdout] 2b7ca67e5f1c1a5cb9e72dae298516726951c5a1fcc57a4ee09dc87c051020a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4155362f03616cf9de7fc076c9688ffdd353eaf03c362ed018f06becd946e8d [INFO] running `Command { std: "docker" "start" "-a" "b4155362f03616cf9de7fc076c9688ffdd353eaf03c362ed018f06becd946e8d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling cc v1.0.86 [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 openssl v0.10.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [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 tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling auto_impl v1.1.2 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.4 [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 lsp-types v0.94.1 [INFO] [stderr] Checking git2 v0.18.2 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: `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] [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: `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] [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: 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)]` (part of `#[warn(unused)]`) 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: 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: 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)]` (part of `#[warn(unused)]`) 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 53.56s [INFO] running `Command { std: "docker" "inspect" "b4155362f03616cf9de7fc076c9688ffdd353eaf03c362ed018f06becd946e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4155362f03616cf9de7fc076c9688ffdd353eaf03c362ed018f06becd946e8d", kill_on_drop: false }` [INFO] [stdout] b4155362f03616cf9de7fc076c9688ffdd353eaf03c362ed018f06becd946e8d