[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuulish%2Fcorey" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fuulish/corey on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded auto_impl v1.1.2 [INFO] [stderr] Downloaded bumpalo v3.15.2 [INFO] [stderr] Downloaded git2 v0.18.2 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded cc v1.0.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f340f84e905ab52199fa53b669963523eca01c8891db6cbc7413c72272dad04 [INFO] running `Command { std: "docker" "start" "-a" "7f340f84e905ab52199fa53b669963523eca01c8891db6cbc7413c72272dad04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f340f84e905ab52199fa53b669963523eca01c8891db6cbc7413c72272dad04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f340f84e905ab52199fa53b669963523eca01c8891db6cbc7413c72272dad04", kill_on_drop: false }` [INFO] [stdout] 7f340f84e905ab52199fa53b669963523eca01c8891db6cbc7413c72272dad04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2344d47a2e939a3b8b77d3108d75728df54004de71d040d367e517e93c8c358c [INFO] running `Command { std: "docker" "start" "-a" "2344d47a2e939a3b8b77d3108d75728df54004de71d040d367e517e93c8c358c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking dashmap v5.5.3 [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 native-tls v0.2.11 [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] Checking tokio v1.36.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling auto_impl v1.1.2 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [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_json v1.0.114 [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 hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking git2 v0.18.2 [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: 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: 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: `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: 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.51s [INFO] running `Command { std: "docker" "inspect" "2344d47a2e939a3b8b77d3108d75728df54004de71d040d367e517e93c8c358c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2344d47a2e939a3b8b77d3108d75728df54004de71d040d367e517e93c8c358c", kill_on_drop: false }` [INFO] [stdout] 2344d47a2e939a3b8b77d3108d75728df54004de71d040d367e517e93c8c358c [INFO] checking fuulish/corey against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuulish%2Fcorey" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fuulish/corey on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c9da25c84e3c8dbf71fd3947d1943b3b9b85b32e9a3306899f3530fc9c26664 [INFO] running `Command { std: "docker" "start" "-a" "9c9da25c84e3c8dbf71fd3947d1943b3b9b85b32e9a3306899f3530fc9c26664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c9da25c84e3c8dbf71fd3947d1943b3b9b85b32e9a3306899f3530fc9c26664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9da25c84e3c8dbf71fd3947d1943b3b9b85b32e9a3306899f3530fc9c26664", kill_on_drop: false }` [INFO] [stdout] 9c9da25c84e3c8dbf71fd3947d1943b3b9b85b32e9a3306899f3530fc9c26664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e3bd818f41e7381e16306883229dadc2d100e28fb8d1465c29a2ecb18a2de9 [INFO] running `Command { std: "docker" "start" "-a" "86e3bd818f41e7381e16306883229dadc2d100e28fb8d1465c29a2ecb18a2de9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [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 openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [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] Checking tokio v1.36.0 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling auto_impl v1.1.2 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [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_json v1.0.114 [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 hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking git2 v0.18.2 [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: 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: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: 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: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: `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: 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: 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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:612:5 [INFO] [stdout] | [INFO] [stdout] 607 | let f = std::fs::OpenOptions::new() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 612 | serde_yaml::to_writer(f, data).map_err(Error::from_yaml_error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 722 | let f = std::fs::File::open(config).map_err(Error::from_io_error)?; // XXX: move to input [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 726 | serde_yaml::from_reader(f).map_err(Error::from_yaml_error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:612:5 [INFO] [stdout] | [INFO] [stdout] 607 | let f = std::fs::OpenOptions::new() [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 612 | serde_yaml::to_writer(f, data).map_err(Error::from_yaml_error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 722 | let f = std::fs::File::open(config).map_err(Error::from_io_error)?; // XXX: move to input [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 726 | serde_yaml::from_reader(f).map_err(Error::from_yaml_error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corey` (bin "corey") due to 3 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `corey` (bin "corey" test) due to 3 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86e3bd818f41e7381e16306883229dadc2d100e28fb8d1465c29a2ecb18a2de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e3bd818f41e7381e16306883229dadc2d100e28fb8d1465c29a2ecb18a2de9", kill_on_drop: false }` [INFO] [stdout] 86e3bd818f41e7381e16306883229dadc2d100e28fb8d1465c29a2ecb18a2de9