[INFO] fetching crate difftastic-lib 0.0.2... [INFO] checking difftastic-lib-0.0.2 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate difftastic-lib 0.0.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate difftastic-lib 0.0.2 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 crates.io crate difftastic-lib 0.0.2 [INFO] finished tweaking crates.io crate difftastic-lib 0.0.2 [INFO] tweaked toml for crates.io crate difftastic-lib 0.0.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate difftastic-lib 0.0.2 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded output_vt100 v0.1.3 [INFO] [stderr] Downloaded mimalloc v0.1.28 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.22 [INFO] [stderr] Downloaded wu-diff v0.1.2 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded io-lifetimes v0.7.3 [INFO] [stderr] Downloaded owo-colors v3.4.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded const_format v0.2.23 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded rpds v0.10.0 [INFO] [stderr] Downloaded tree-sitter v0.20.6 [INFO] [stderr] Downloaded petgraph v0.6.1 [INFO] [stderr] Downloaded pretty_assertions v1.2.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded terminal_size v0.2.1 [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded rustix v0.35.9 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded radix-heap v0.4.2 [INFO] [stderr] Downloaded linux-raw-sys v0.0.46 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.24 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc6212012d4c85161de3ab8d06ec782e95984a171a5a4b248b2ee1cfe44ae490 [INFO] running `Command { std: "docker" "start" "-a" "dc6212012d4c85161de3ab8d06ec782e95984a171a5a4b248b2ee1cfe44ae490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc6212012d4c85161de3ab8d06ec782e95984a171a5a4b248b2ee1cfe44ae490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6212012d4c85161de3ab8d06ec782e95984a171a5a4b248b2ee1cfe44ae490", kill_on_drop: false }` [INFO] [stdout] dc6212012d4c85161de3ab8d06ec782e95984a171a5a4b248b2ee1cfe44ae490 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead37dea7d44be9fd6632009259479a47fd2386f02d02717b043e47636b65ffe [INFO] running `Command { std: "docker" "start" "-a" "ead37dea7d44be9fd6632009259479a47fd2386f02d02717b043e47636b65ffe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libmimalloc-sys v0.1.24 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking petgraph v0.6.1 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking archery v0.4.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking const_format v0.2.23 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking mimalloc v0.1.28 [INFO] [stderr] Checking rpds v0.10.0 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking terminal_size v0.2.1 [INFO] [stderr] Checking radix-heap v0.4.2 [INFO] [stderr] Checking tree_magic_mini v3.0.3 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking wu-diff v0.1.2 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Compiling difftastic-lib v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LinePosition` is never constructed [INFO] [stdout] --> src/lines.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct LinePosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Vertex<'_, '_>` instead of cloning the inner type [INFO] [stdout] --> src/diff/dijkstra.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | res.push((edge, prev.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/parse/guess_language.rs:239:63 [INFO] [stdout] | [INFO] [stdout] 239 | let lang = match mode_name.to_ascii_lowercase().trim().borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/options.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | match display_mode_str.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinePosition` is never constructed [INFO] [stdout] --> src/lines.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct LinePosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&graph::Vertex<'_, '_>` instead of cloning the inner type [INFO] [stdout] --> src/diff/dijkstra.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | res.push((edge, prev.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/parse/guess_language.rs:239:63 [INFO] [stdout] | [INFO] [stdout] 239 | let lang = match mode_name.to_ascii_lowercase().trim().borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/options.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | match display_mode_str.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.20s [INFO] running `Command { std: "docker" "inspect" "ead37dea7d44be9fd6632009259479a47fd2386f02d02717b043e47636b65ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead37dea7d44be9fd6632009259479a47fd2386f02d02717b043e47636b65ffe", kill_on_drop: false }` [INFO] [stdout] ead37dea7d44be9fd6632009259479a47fd2386f02d02717b043e47636b65ffe [INFO] checking difftastic-lib-0.0.2 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate difftastic-lib 0.0.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate difftastic-lib 0.0.2 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 crates.io crate difftastic-lib 0.0.2 [INFO] finished tweaking crates.io crate difftastic-lib 0.0.2 [INFO] tweaked toml for crates.io crate difftastic-lib 0.0.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate difftastic-lib 0.0.2 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-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcb7c124ec4db97ab66144349681ddbd7b41a21f64f9e2d9ef437f7868318d14 [INFO] running `Command { std: "docker" "start" "-a" "fcb7c124ec4db97ab66144349681ddbd7b41a21f64f9e2d9ef437f7868318d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcb7c124ec4db97ab66144349681ddbd7b41a21f64f9e2d9ef437f7868318d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb7c124ec4db97ab66144349681ddbd7b41a21f64f9e2d9ef437f7868318d14", kill_on_drop: false }` [INFO] [stdout] fcb7c124ec4db97ab66144349681ddbd7b41a21f64f9e2d9ef437f7868318d14 [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 -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] 33e13387d13b3017e0d0f36b1b59777a3fb83a01e917574936b1791341cdc340 [INFO] running `Command { std: "docker" "start" "-a" "33e13387d13b3017e0d0f36b1b59777a3fb83a01e917574936b1791341cdc340", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libmimalloc-sys v0.1.24 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking petgraph v0.6.1 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking archery v0.4.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking const_format v0.2.23 [INFO] [stderr] Checking rpds v0.10.0 [INFO] [stderr] Checking mimalloc v0.1.28 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking terminal_size v0.2.1 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking tree_magic_mini v3.0.3 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking wu-diff v0.1.2 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking radix-heap v0.4.2 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Compiling difftastic-lib v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LinePosition` is never constructed [INFO] [stdout] --> src/lines.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct LinePosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Vertex<'_, '_>` instead of cloning the inner type [INFO] [stdout] --> src/diff/dijkstra.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | res.push((edge, prev.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [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/diff/graph.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 213 | let (mut lhs_delims, rhs_delims) = match entered.peek() { [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | let entered = if modifying_head { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | entered.push(EnteredDelimiter::PopEither((lhs_delims, rhs_delims))) [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/diff/graph.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 235 | let (lhs_delims, mut rhs_delims) = match entered.peek() { [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let entered = if modifying_head { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | entered.push(EnteredDelimiter::PopEither((lhs_delims, rhs_delims))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/display/hunks.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn merge(self, other: &Self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut lhs_seen: HashSet = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut rhs_seen: HashSet = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | novel_lhs: self.novel_lhs.union(&other.novel_lhs).copied().collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/display/hunks.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn merge(self, other: &Self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut lhs_seen: HashSet = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut rhs_seen: HashSet = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | novel_rhs: self.novel_rhs.union(&other.novel_rhs).copied().collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/files.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 17 | let lhs_res = fs::read(lhs_path); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let rhs_res = fs::read(rhs_path); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | match (lhs_res, rhs_res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/parse/guess_language.rs:239:63 [INFO] [stdout] | [INFO] [stdout] 239 | let lang = match mode_name.to_ascii_lowercase().trim().borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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/parse/tree_sitter_parser.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 795 | let mut parser = ts::Parser::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 800 | parser.parse(src, None).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/options.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | match display_mode_str.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `difftastic-lib` (lib) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `LinePosition` is never constructed [INFO] [stdout] --> src/lines.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct LinePosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&graph::Vertex<'_, '_>` instead of cloning the inner type [INFO] [stdout] --> src/diff/dijkstra.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | res.push((edge, prev.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [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/diff/graph.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 213 | let (mut lhs_delims, rhs_delims) = match entered.peek() { [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | let entered = if modifying_head { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | entered.push(EnteredDelimiter::PopEither((lhs_delims, rhs_delims))) [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/diff/graph.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 235 | let (lhs_delims, mut rhs_delims) = match entered.peek() { [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let entered = if modifying_head { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | entered.push(EnteredDelimiter::PopEither((lhs_delims, rhs_delims))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/display/hunks.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn merge(self, other: &Self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut lhs_seen: HashSet = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut rhs_seen: HashSet = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | novel_lhs: self.novel_lhs.union(&other.novel_lhs).copied().collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/display/hunks.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn merge(self, other: &Self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut lhs_seen: HashSet = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut rhs_seen: HashSet = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | novel_rhs: self.novel_rhs.union(&other.novel_rhs).copied().collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/files.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 17 | let lhs_res = fs::read(lhs_path); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let rhs_res = fs::read(rhs_path); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | match (lhs_res, rhs_res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/parse/guess_language.rs:239:63 [INFO] [stdout] | [INFO] [stdout] 239 | let lang = match mode_name.to_ascii_lowercase().trim().borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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/parse/tree_sitter_parser.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 795 | let mut parser = ts::Parser::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 800 | parser.parse(src, None).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/options.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | match display_mode_str.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `difftastic-lib` (lib test) due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "33e13387d13b3017e0d0f36b1b59777a3fb83a01e917574936b1791341cdc340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e13387d13b3017e0d0f36b1b59777a3fb83a01e917574936b1791341cdc340", kill_on_drop: false }` [INFO] [stdout] 33e13387d13b3017e0d0f36b1b59777a3fb83a01e917574936b1791341cdc340