[INFO] cloning repository https://github.com/imuxin/difftastic-lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imuxin/difftastic-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimuxin%2Fdifftastic-lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimuxin%2Fdifftastic-lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 326f9fc9b6f7d06a56117b6e89947323d9805d66 [INFO] checking imuxin/difftastic-lib against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimuxin%2Fdifftastic-lib" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 88% (3684/4186) Updating files: 89% (3726/4186) Updating files: 90% (3768/4186) Updating files: 91% (3810/4186) Updating files: 92% (3852/4186) Updating files: 93% (3893/4186) Updating files: 94% (3935/4186) Updating files: 95% (3977/4186) Updating files: 96% (4019/4186) Updating files: 97% (4061/4186) Updating files: 98% (4103/4186) Updating files: 99% (4145/4186) Updating files: 100% (4186/4186) Updating files: 100% (4186/4186), done. [INFO] validating manifest of git repo https://github.com/imuxin/difftastic-lib on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/imuxin/difftastic-lib [INFO] finished tweaking git repo https://github.com/imuxin/difftastic-lib [INFO] tweaked toml for git repo https://github.com/imuxin/difftastic-lib written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/imuxin/difftastic-lib 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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded radix-heap v0.4.2 [INFO] [stderr] Downloaded mimalloc v0.1.28 [INFO] [stderr] Downloaded archery v0.4.0 [INFO] [stderr] Downloaded wu-diff v0.1.2 [INFO] [stderr] Downloaded petgraph v0.6.1 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.24 [INFO] [stderr] Downloaded rpds v0.10.0 [INFO] [stderr] Downloaded tree-sitter v0.20.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a3127c8fe2e13636046a7e402e703c0980a142f18ff6e15fa21ed6e1f898ea5 [INFO] running `Command { std: "docker" "start" "-a" "9a3127c8fe2e13636046a7e402e703c0980a142f18ff6e15fa21ed6e1f898ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a3127c8fe2e13636046a7e402e703c0980a142f18ff6e15fa21ed6e1f898ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3127c8fe2e13636046a7e402e703c0980a142f18ff6e15fa21ed6e1f898ea5", kill_on_drop: false }` [INFO] [stdout] 9a3127c8fe2e13636046a7e402e703c0980a142f18ff6e15fa21ed6e1f898ea5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dd285b4a98283813a6a8dd8dc523e1e9e913c623a5b63c34915ed8d3b1b9539 [INFO] running `Command { std: "docker" "start" "-a" "6dd285b4a98283813a6a8dd8dc523e1e9e913c623a5b63c34915ed8d3b1b9539", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking archery v0.4.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rpds v0.10.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking petgraph v0.6.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking wu-diff v0.1.2 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking radix-heap v0.4.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.24 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Checking pretty_assertions v1.2.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] Checking term_size v0.3.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking const_format v0.2.23 [INFO] [stderr] Checking mimalloc v0.1.28 [INFO] [stderr] Checking tree_magic_mini v3.0.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking terminal_size v0.2.1 [INFO] [stderr] Compiling difftastic-lib v0.0.2 (/opt/rustwide/workdir) [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: 3 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.41s [INFO] running `Command { std: "docker" "inspect" "6dd285b4a98283813a6a8dd8dc523e1e9e913c623a5b63c34915ed8d3b1b9539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd285b4a98283813a6a8dd8dc523e1e9e913c623a5b63c34915ed8d3b1b9539", kill_on_drop: false }` [INFO] [stdout] 6dd285b4a98283813a6a8dd8dc523e1e9e913c623a5b63c34915ed8d3b1b9539 [INFO] checking imuxin/difftastic-lib against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimuxin%2Fdifftastic-lib" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 91% (3833/4186) Updating files: 92% (3852/4186) Updating files: 93% (3893/4186) Updating files: 94% (3935/4186) Updating files: 95% (3977/4186) Updating files: 96% (4019/4186) Updating files: 97% (4061/4186) Updating files: 98% (4103/4186) Updating files: 99% (4145/4186) Updating files: 100% (4186/4186) Updating files: 100% (4186/4186), done. [INFO] validating manifest of git repo https://github.com/imuxin/difftastic-lib on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/imuxin/difftastic-lib [INFO] finished tweaking git repo https://github.com/imuxin/difftastic-lib [INFO] tweaked toml for git repo https://github.com/imuxin/difftastic-lib written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/imuxin/difftastic-lib 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f021af570d25df2293e829c329c30919e5f1e528436b65810621a4b9f1c88b90 [INFO] running `Command { std: "docker" "start" "-a" "f021af570d25df2293e829c329c30919e5f1e528436b65810621a4b9f1c88b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f021af570d25df2293e829c329c30919e5f1e528436b65810621a4b9f1c88b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f021af570d25df2293e829c329c30919e5f1e528436b65810621a4b9f1c88b90", kill_on_drop: false }` [INFO] [stdout] f021af570d25df2293e829c329c30919e5f1e528436b65810621a4b9f1c88b90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Ddereferencing_mut_binding" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e52e0eb85dcd2d696fd7b6ecd68932667fe77a05d7d611bc960ccb6fc639804f [INFO] running `Command { std: "docker" "start" "-a" "e52e0eb85dcd2d696fd7b6ecd68932667fe77a05d7d611bc960ccb6fc639804f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [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] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking archery v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rpds v0.10.0 [INFO] [stderr] Checking petgraph v0.6.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking wu-diff v0.1.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking radix-heap v0.4.2 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.24 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Checking pretty_assertions v1.2.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] Checking term_size v0.3.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking const_format v0.2.23 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking mimalloc v0.1.28 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking tree_magic_mini v3.0.3 [INFO] [stderr] Checking terminal_size v0.2.1 [INFO] [stderr] Compiling difftastic-lib v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/display/hunks.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | for (mut lhs_line, mut rhs_line) in lines { [INFO] [stdout] | ^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/display/hunks.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | for (mut lhs_line, mut rhs_line) in lines { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/display/hunks.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | for (mut lhs_line, mut rhs_line) in lines { [INFO] [stdout] | ^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/display/hunks.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | for (mut lhs_line, mut rhs_line) in lines { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/display/hunks.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | for (mut lhs_line, mut rhs_line) in lines { [INFO] [stdout] | ^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/display/hunks.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | for (mut lhs_line, mut rhs_line) in lines { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/display/hunks.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | for (mut lhs_line, mut rhs_line) in lines { [INFO] [stdout] | ^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/display/hunks.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | for (mut lhs_line, mut rhs_line) in lines { [INFO] [stdout] | ^^^^^^^^^^^^ [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] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `difftastic-lib` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `difftastic-lib` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e52e0eb85dcd2d696fd7b6ecd68932667fe77a05d7d611bc960ccb6fc639804f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e52e0eb85dcd2d696fd7b6ecd68932667fe77a05d7d611bc960ccb6fc639804f", kill_on_drop: false }` [INFO] [stdout] e52e0eb85dcd2d696fd7b6ecd68932667fe77a05d7d611bc960ccb6fc639804f