[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] a4068d8aca1e55d0f994ac8952db0f6f2d7b0aa9 [INFO] checking fuulish/corey against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuulish%2Fcorey" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fuulish/corey on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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-0-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded cc v1.0.86 [INFO] [stderr] Downloaded hermit-abi v0.3.6 [INFO] [stderr] Downloaded serde_yaml v0.9.32 [INFO] [stderr] Downloaded bumpalo v3.15.2 [INFO] [stderr] Downloaded openssl-sys v0.9.100 [INFO] [stderr] Downloaded syn v2.0.50 [INFO] [stderr] Downloaded lsp-types v0.94.1 [INFO] [stderr] Downloaded anstream v0.6.12 [INFO] [stderr] Downloaded git2 v0.18.2 [INFO] [stderr] Downloaded libz-sys v1.1.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e9ad4dc0c88751b273b28b95132515762abe02fdbe79a26344dc41a6634ae54 [INFO] running `Command { std: "docker" "start" "-a" "8e9ad4dc0c88751b273b28b95132515762abe02fdbe79a26344dc41a6634ae54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e9ad4dc0c88751b273b28b95132515762abe02fdbe79a26344dc41a6634ae54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9ad4dc0c88751b273b28b95132515762abe02fdbe79a26344dc41a6634ae54", kill_on_drop: false }` [INFO] [stdout] 8e9ad4dc0c88751b273b28b95132515762abe02fdbe79a26344dc41a6634ae54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d44babd59ec8b72a6ffeb7f6a3ee24a65eab122c3c6cf4f885a76bae9836c48 [INFO] running `Command { std: "docker" "start" "-a" "6d44babd59ec8b72a6ffeb7f6a3ee24a65eab122c3c6cf4f885a76bae9836c48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling httparse v1.8.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] 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 try-lock v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking idna v0.5.0 [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 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 clap_derive v4.5.0 [INFO] [stderr] Compiling tower-lsp-macros v0.9.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 clap v4.5.1 [INFO] [stderr] Checking pin-project v1.1.4 [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: unexpected `cfg` condition value: `theFuture` [INFO] [stdout] --> src/diff.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[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:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[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:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | 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:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | 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:1039:9 [INFO] [stdout] | [INFO] [stdout] 1039 | 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:1039:9 [INFO] [stdout] | [INFO] [stdout] 1039 | 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: unreachable pattern [INFO] [stdout] --> src/main.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 178 | _ => (self.original_start_line, Some(self.original_line)), [INFO] [stdout] | - matches any value [INFO] [stdout] 179 | CommentSide::RR | CommentSide::RL | CommentSide::LR => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 178 | _ => (self.original_start_line, Some(self.original_line)), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 182 | CommentSide::LL => (self.start_line, self.line), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:454:24 [INFO] [stdout] | [INFO] [stdout] 454 | 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:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | 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: unreachable pattern [INFO] [stdout] --> src/main.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 178 | _ => (self.original_start_line, Some(self.original_line)), [INFO] [stdout] | - matches any value [INFO] [stdout] 179 | CommentSide::RR | CommentSide::RL | CommentSide::LR => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 178 | _ => (self.original_start_line, Some(self.original_line)), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 182 | CommentSide::LL => (self.start_line, self.line), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:454:24 [INFO] [stdout] | [INFO] [stdout] 454 | 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:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | 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: field `0` is never read [INFO] [stdout] --> src/main.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | Git(git2::Repository), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 470 | Git(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vcs` is never read [INFO] [stdout] --> src/main.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 474 | struct Repo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 475 | vcs: VCS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `original_lines`, and `context` are never read [INFO] [stdout] --> src/diff.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Diff { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | path: String, // XXX: use std::path::Path? [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | original_lines: std::vec::Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 43 | lines: std::vec::Vec, [INFO] [stdout] 44 | 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:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Diff { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 64 | // XXX: pretty useless [INFO] [stdout] 65 | pub fn original_line_range(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn original_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn get_context(&self, _ignore_starting: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | Git(git2::Repository), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 470 | Git(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vcs` is never read [INFO] [stdout] --> src/main.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 474 | struct Repo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 475 | vcs: VCS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `original_lines`, and `context` are never read [INFO] [stdout] --> src/diff.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Diff { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | path: String, // XXX: use std::path::Path? [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | original_lines: std::vec::Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 43 | lines: std::vec::Vec, [INFO] [stdout] 44 | 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:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Diff { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 64 | // XXX: pretty useless [INFO] [stdout] 65 | pub fn original_line_range(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn original_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn get_context(&self, _ignore_starting: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.68s [INFO] running `Command { std: "docker" "inspect" "6d44babd59ec8b72a6ffeb7f6a3ee24a65eab122c3c6cf4f885a76bae9836c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d44babd59ec8b72a6ffeb7f6a3ee24a65eab122c3c6cf4f885a76bae9836c48", kill_on_drop: false }` [INFO] [stdout] 6d44babd59ec8b72a6ffeb7f6a3ee24a65eab122c3c6cf4f885a76bae9836c48 [INFO] checking fuulish/corey against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuulish%2Fcorey" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fuulish/corey on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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-0-tc2/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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43e0d718568f8c2b42e08a0f56bcc0aa5407c18bce27a97ea010e8b3f32a35c6 [INFO] running `Command { std: "docker" "start" "-a" "43e0d718568f8c2b42e08a0f56bcc0aa5407c18bce27a97ea010e8b3f32a35c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43e0d718568f8c2b42e08a0f56bcc0aa5407c18bce27a97ea010e8b3f32a35c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e0d718568f8c2b42e08a0f56bcc0aa5407c18bce27a97ea010e8b3f32a35c6", kill_on_drop: false }` [INFO] [stdout] 43e0d718568f8c2b42e08a0f56bcc0aa5407c18bce27a97ea010e8b3f32a35c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1667f2169fe4715c3bd95021f613c88767498188c865e6f1ff0853f5a94ffd3 [INFO] running `Command { std: "docker" "start" "-a" "a1667f2169fe4715c3bd95021f613c88767498188c865e6f1ff0853f5a94ffd3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking idna v0.5.0 [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: unexpected `cfg` condition value: `theFuture` [INFO] [stdout] --> src/diff.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[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:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[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:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | 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:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | 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:1039:9 [INFO] [stdout] | [INFO] [stdout] 1039 | 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:1039:9 [INFO] [stdout] | [INFO] [stdout] 1039 | 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: unreachable pattern [INFO] [stdout] --> src/main.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 178 | _ => (self.original_start_line, Some(self.original_line)), [INFO] [stdout] | - matches any value [INFO] [stdout] 179 | CommentSide::RR | CommentSide::RL | CommentSide::LR => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 178 | _ => (self.original_start_line, Some(self.original_line)), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 182 | CommentSide::LL => (self.start_line, self.line), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:454:24 [INFO] [stdout] | [INFO] [stdout] 454 | 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:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | 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: unreachable pattern [INFO] [stdout] --> src/main.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 178 | _ => (self.original_start_line, Some(self.original_line)), [INFO] [stdout] | - matches any value [INFO] [stdout] 179 | CommentSide::RR | CommentSide::RL | CommentSide::LR => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 178 | _ => (self.original_start_line, Some(self.original_line)), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 182 | CommentSide::LL => (self.start_line, self.line), [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:454:24 [INFO] [stdout] | [INFO] [stdout] 454 | 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:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | 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: field `0` is never read [INFO] [stdout] --> src/main.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | Git(git2::Repository), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 470 | Git(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vcs` is never read [INFO] [stdout] --> src/main.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 474 | struct Repo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 475 | vcs: VCS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `original_lines`, and `context` are never read [INFO] [stdout] --> src/diff.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Diff { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | path: String, // XXX: use std::path::Path? [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | original_lines: std::vec::Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 43 | lines: std::vec::Vec, [INFO] [stdout] 44 | 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:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Diff { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 64 | // XXX: pretty useless [INFO] [stdout] 65 | pub fn original_line_range(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn original_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn get_context(&self, _ignore_starting: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | Git(git2::Repository), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 470 | Git(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vcs` is never read [INFO] [stdout] --> src/main.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 474 | struct Repo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 475 | vcs: VCS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `original_lines`, and `context` are never read [INFO] [stdout] --> src/diff.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Diff { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | path: String, // XXX: use std::path::Path? [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | original_lines: std::vec::Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 43 | lines: std::vec::Vec, [INFO] [stdout] 44 | 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:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Diff { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 64 | // XXX: pretty useless [INFO] [stdout] 65 | pub fn original_line_range(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn original_text(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn get_context(&self, _ignore_starting: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.49s [INFO] running `Command { std: "docker" "inspect" "a1667f2169fe4715c3bd95021f613c88767498188c865e6f1ff0853f5a94ffd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1667f2169fe4715c3bd95021f613c88767498188c865e6f1ff0853f5a94ffd3", kill_on_drop: false }` [INFO] [stdout] a1667f2169fe4715c3bd95021f613c88767498188c865e6f1ff0853f5a94ffd3