[INFO] cloning repository https://github.com/DarrenTsung/walkthrough [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DarrenTsung/walkthrough" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenTsung%2Fwalkthrough", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenTsung%2Fwalkthrough'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4d078366ba293c07da722936a057dd93c88938d [INFO] testing DarrenTsung/walkthrough against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenTsung%2Fwalkthrough" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DarrenTsung/walkthrough [INFO] finished tweaking git repo https://github.com/DarrenTsung/walkthrough [INFO] tweaked toml for git repo https://github.com/DarrenTsung/walkthrough written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DarrenTsung/walkthrough on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DarrenTsung/walkthrough 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 120904d63fe81e6ce387cb5c1f4b363d292bb8999a3d0c364ce6cd6db941f890 [INFO] running `Command { std: "docker" "start" "-a" "120904d63fe81e6ce387cb5c1f4b363d292bb8999a3d0c364ce6cd6db941f890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "120904d63fe81e6ce387cb5c1f4b363d292bb8999a3d0c364ce6cd6db941f890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "120904d63fe81e6ce387cb5c1f4b363d292bb8999a3d0c364ce6cd6db941f890", kill_on_drop: false }` [INFO] [stdout] 120904d63fe81e6ce387cb5c1f4b363d292bb8999a3d0c364ce6cd6db941f890 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7b1b687ca73d804626906e3748c0560733c1d064eb274f287161ba796ed20c6 [INFO] running `Command { std: "docker" "start" "-a" "c7b1b687ca73d804626906e3748c0560733c1d064eb274f287161ba796ed20c6", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling arborium v2.16.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling arborium-theme v2.16.0 [INFO] [stderr] Compiling pulldown-cmark v0.12.2 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling clap_lex v1.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling clap_builder v4.5.61 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling arborium-javascript v2.16.0 [INFO] [stderr] Compiling arborium-css v2.16.0 [INFO] [stderr] Compiling arborium-c v2.16.0 [INFO] [stderr] Compiling arborium-html v2.16.0 [INFO] [stderr] Compiling arborium-tree-sitter v2.16.0 [INFO] [stderr] Compiling arborium-scss v2.16.0 [INFO] [stderr] Compiling arborium-typescript v2.16.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling arborium-yaml v2.16.0 [INFO] [stderr] Compiling arborium-cpp v2.16.0 [INFO] [stderr] Compiling arborium-toml v2.16.0 [INFO] [stderr] Compiling arborium-dot v2.16.0 [INFO] [stderr] Compiling arborium-asciidoc v2.16.0 [INFO] [stderr] Compiling arborium-cedar v2.16.0 [INFO] [stderr] Compiling arborium-caddy v2.16.0 [INFO] [stderr] Compiling arborium-scheme v2.16.0 [INFO] [stderr] Compiling arborium-idris v2.16.0 [INFO] [stderr] Compiling arborium-devicetree v2.16.0 [INFO] [stderr] Compiling arborium-svelte v2.16.0 [INFO] [stderr] Compiling arborium-thrift v2.16.0 [INFO] [stderr] Compiling arborium-matlab v2.16.0 [INFO] [stderr] Compiling arborium-vue v2.16.0 [INFO] [stderr] Compiling arborium-gleam v2.16.0 [INFO] [stderr] Compiling arborium-r v2.16.0 [INFO] [stderr] Compiling arborium-haskell v2.16.0 [INFO] [stderr] Compiling arborium-kotlin v2.16.0 [INFO] [stderr] Compiling arborium-yuri v2.16.0 [INFO] [stderr] Compiling arborium-ninja v2.16.0 [INFO] [stderr] Compiling arborium-php v2.16.0 [INFO] [stderr] Compiling arborium-lean v2.16.0 [INFO] [stderr] Compiling arborium-scala v2.16.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling arborium-typst v2.16.0 [INFO] [stderr] Compiling arborium-query v2.16.0 [INFO] [stderr] Compiling arborium-zsh v2.16.0 [INFO] [stderr] Compiling arborium-python v2.16.0 [INFO] [stderr] Compiling arborium-meson v2.16.0 [INFO] [stderr] Compiling arborium-markdown v2.16.0 [INFO] [stderr] Compiling arborium-x86asm v2.16.0 [INFO] [stderr] Compiling arborium-jinja2 v2.16.0 [INFO] [stderr] Compiling arborium-styx v2.16.0 [INFO] [stderr] Compiling arborium-ini v2.16.0 [INFO] [stderr] Compiling arborium-hcl v2.16.0 [INFO] [stderr] Compiling arborium-erlang v2.16.0 [INFO] [stderr] Compiling arborium-java v2.16.0 [INFO] [stderr] Compiling arborium-d v2.16.0 [INFO] [stderr] Compiling arborium-vim v2.16.0 [INFO] [stderr] Compiling arborium-rust v2.16.0 [INFO] [stderr] Compiling arborium-wit v2.16.0 [INFO] [stderr] Compiling arborium-diff v2.16.0 [INFO] [stderr] Compiling arborium-uiua v2.16.0 [INFO] [stderr] Compiling arborium-cobol v2.16.0 [INFO] [stderr] Compiling arborium-glsl v2.16.0 [INFO] [stderr] Compiling arborium-cmake v2.16.0 [INFO] [stderr] Compiling arborium-rego v2.16.0 [INFO] [stderr] Compiling arborium-zig v2.16.0 [INFO] [stderr] Compiling arborium-bash v2.16.0 [INFO] [stderr] Compiling arborium-vhdl v2.16.0 [INFO] [stderr] Compiling arborium-fish v2.16.0 [INFO] [stderr] Compiling arborium-postscript v2.16.0 [INFO] [stderr] Compiling arborium-elm v2.16.0 [INFO] [stderr] Compiling arborium-ada v2.16.0 [INFO] [stderr] Compiling arborium-asm v2.16.0 [INFO] [stderr] Compiling arborium-json v2.16.0 [INFO] [stderr] Compiling arborium-sparql v2.16.0 [INFO] [stderr] Compiling arborium-xml v2.16.0 [INFO] [stderr] Compiling arborium-dockerfile v2.16.0 [INFO] [stderr] Compiling arborium-groovy v2.16.0 [INFO] [stderr] Compiling arborium-commonlisp v2.16.0 [INFO] [stderr] Compiling arborium-objc v2.16.0 [INFO] [stderr] Compiling arborium-graphql v2.16.0 [INFO] [stderr] Compiling arborium-clojure v2.16.0 [INFO] [stderr] Compiling arborium-rescript v2.16.0 [INFO] [stderr] Compiling arborium-agda v2.16.0 [INFO] [stderr] Compiling arborium-elixir v2.16.0 [INFO] [stderr] Compiling arborium-powershell v2.16.0 [INFO] [stderr] Compiling arborium-verilog v2.16.0 [INFO] [stderr] Compiling arborium-ssh-config v2.16.0 [INFO] [stderr] Compiling arborium-prolog v2.16.0 [INFO] [stderr] Compiling arborium-c-sharp v2.16.0 [INFO] [stderr] Compiling arborium-solidity v2.16.0 [INFO] [stderr] Compiling arborium-capnp v2.16.0 [INFO] [stderr] Compiling arborium-ocaml v2.16.0 [INFO] [stderr] Compiling arborium-dart v2.16.0 [INFO] [stderr] Compiling arborium-nix v2.16.0 [INFO] [stderr] Compiling arborium-nginx v2.16.0 [INFO] [stderr] Compiling arborium-sql v2.16.0 [INFO] [stderr] Compiling arborium-lua v2.16.0 [INFO] [stderr] Compiling arborium-tsx v2.16.0 [INFO] [stderr] Compiling arborium-cedarschema v2.16.0 [INFO] [stderr] Compiling arborium-ron v2.16.0 [INFO] [stderr] Compiling arborium-jq v2.16.0 [INFO] [stderr] Compiling arborium-tlaplus v2.16.0 [INFO] [stderr] Compiling arborium-elisp v2.16.0 [INFO] [stderr] Compiling arborium-starlark v2.16.0 [INFO] [stderr] Compiling arborium-ruby v2.16.0 [INFO] [stderr] Compiling arborium-hlsl v2.16.0 [INFO] [stderr] Compiling arborium-swift v2.16.0 [INFO] [stderr] Compiling arborium-go v2.16.0 [INFO] [stderr] Compiling arborium-textproto v2.16.0 [INFO] [stderr] Compiling arborium-fsharp v2.16.0 [INFO] [stderr] Compiling arborium-vb v2.16.0 [INFO] [stderr] Compiling arborium-awk v2.16.0 [INFO] [stderr] Compiling arborium-batch v2.16.0 [INFO] [stderr] Compiling arborium-julia v2.16.0 [INFO] [stderr] Compiling arborium-perl v2.16.0 [INFO] [stderr] Compiling arborium-highlight v2.16.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.61 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling clap v4.5.61 [INFO] [stderr] Compiling walkthrough v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `prev_old` is assigned to, but never used [INFO] [stdout] --> src/render.rs:2624:13 [INFO] [stdout] | [INFO] [stdout] 2624 | let mut prev_old: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_old` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_new` is assigned to, but never used [INFO] [stdout] --> src/render.rs:2625:13 [INFO] [stdout] | [INFO] [stdout] 2625 | let mut prev_new: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_new` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `old_first` is never read [INFO] [stdout] --> src/render.rs:2616:17 [INFO] [stdout] | [INFO] [stdout] 2616 | old_first = to_0based(new_to_old_line(new_first as u64 + 1, hunks)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_first` is never read [INFO] [stdout] --> src/render.rs:2619:17 [INFO] [stdout] | [INFO] [stdout] 2619 | new_first = to_0based(old_to_new_line(old_first as u64 + 1, hunks)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_old` is never read [INFO] [stdout] --> src/render.rs:2682:40 [INFO] [stdout] | [INFO] [stdout] 2682 | if let Some(o) = cur_old { prev_old = Some(o); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_new` is never read [INFO] [stdout] --> src/render.rs:2683:40 [INFO] [stdout] | [INFO] [stdout] 2683 | if let Some(n) = cur_new { prev_new = Some(n); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:3366:13 [INFO] [stdout] | [INFO] [stdout] 3366 | let mut old_ctx_before = old_first.saturating_sub(EXPANDED_CONTEXT_LINES); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:3367:13 [INFO] [stdout] | [INFO] [stdout] 3367 | let mut new_ctx_before = new_first.saturating_sub(EXPANDED_CONTEXT_LINES); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notes_backtick_count` is assigned to, but never used [INFO] [stdout] --> src/render.rs:3942:9 [INFO] [stdout] | [INFO] [stdout] 3942 | let mut notes_backtick_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_notes_backtick_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_idx` [INFO] [stdout] --> src/render.rs:3974:25 [INFO] [stdout] | [INFO] [stdout] 3974 | let block_idx = diff_blocks.len().saturating_sub(1); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `escaped_text` [INFO] [stdout] --> src/render.rs:4059:33 [INFO] [stdout] | [INFO] [stdout] 4059 | ... let escaped_text = html_escape(text); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_escaped_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `notes_backtick_count` is never read [INFO] [stdout] --> src/render.rs:4506:21 [INFO] [stdout] | [INFO] [stdout] 4506 | notes_backtick_count = backtick_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 30s [INFO] running `Command { std: "docker" "inspect" "c7b1b687ca73d804626906e3748c0560733c1d064eb274f287161ba796ed20c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b1b687ca73d804626906e3748c0560733c1d064eb274f287161ba796ed20c6", kill_on_drop: false }` [INFO] [stdout] c7b1b687ca73d804626906e3748c0560733c1d064eb274f287161ba796ed20c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0c6ca072e63f3791ba5adfd0838a87df00c0a1c8fc80d1e28673a76905cc1af [INFO] running `Command { std: "docker" "start" "-a" "e0c6ca072e63f3791ba5adfd0838a87df00c0a1c8fc80d1e28673a76905cc1af", kill_on_drop: false }` [INFO] [stderr] Compiling walkthrough v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `prev_old` is assigned to, but never used [INFO] [stdout] --> src/render.rs:2624:13 [INFO] [stdout] | [INFO] [stdout] 2624 | let mut prev_old: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_old` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_new` is assigned to, but never used [INFO] [stdout] --> src/render.rs:2625:13 [INFO] [stdout] | [INFO] [stdout] 2625 | let mut prev_new: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_new` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `old_first` is never read [INFO] [stdout] --> src/render.rs:2616:17 [INFO] [stdout] | [INFO] [stdout] 2616 | old_first = to_0based(new_to_old_line(new_first as u64 + 1, hunks)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_first` is never read [INFO] [stdout] --> src/render.rs:2619:17 [INFO] [stdout] | [INFO] [stdout] 2619 | new_first = to_0based(old_to_new_line(old_first as u64 + 1, hunks)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_old` is never read [INFO] [stdout] --> src/render.rs:2682:40 [INFO] [stdout] | [INFO] [stdout] 2682 | if let Some(o) = cur_old { prev_old = Some(o); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_new` is never read [INFO] [stdout] --> src/render.rs:2683:40 [INFO] [stdout] | [INFO] [stdout] 2683 | if let Some(n) = cur_new { prev_new = Some(n); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:3366:13 [INFO] [stdout] | [INFO] [stdout] 3366 | let mut old_ctx_before = old_first.saturating_sub(EXPANDED_CONTEXT_LINES); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:3367:13 [INFO] [stdout] | [INFO] [stdout] 3367 | let mut new_ctx_before = new_first.saturating_sub(EXPANDED_CONTEXT_LINES); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notes_backtick_count` is assigned to, but never used [INFO] [stdout] --> src/render.rs:3942:9 [INFO] [stdout] | [INFO] [stdout] 3942 | let mut notes_backtick_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_notes_backtick_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_idx` [INFO] [stdout] --> src/render.rs:3974:25 [INFO] [stdout] | [INFO] [stdout] 3974 | let block_idx = diff_blocks.len().saturating_sub(1); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `escaped_text` [INFO] [stdout] --> src/render.rs:4059:33 [INFO] [stdout] | [INFO] [stdout] 4059 | ... let escaped_text = html_escape(text); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_escaped_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `notes_backtick_count` is never read [INFO] [stdout] --> src/render.rs:4506:21 [INFO] [stdout] | [INFO] [stdout] 4506 | notes_backtick_count = backtick_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gap_paired` [INFO] [stdout] --> src/render.rs:5820:14 [INFO] [stdout] | [INFO] [stdout] 5820 | let (gap_paired, gap_removed, gap_added) = hunk_gap_lines( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gap_paired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/render.rs:6245:9 [INFO] [stdout] | [INFO] [stdout] 6245 | file: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk_idx` [INFO] [stdout] --> src/render.rs:6246:9 [INFO] [stdout] | [INFO] [stdout] 6246 | chunk_idx: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expected_layout` is never used [INFO] [stdout] --> src/render.rs:5797:8 [INFO] [stdout] | [INFO] [stdout] 5797 | fn expected_layout(difft: &DifftOutput, chunk_idx: usize) -> Vec<(&'static str, Option, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.40s [INFO] running `Command { std: "docker" "inspect" "e0c6ca072e63f3791ba5adfd0838a87df00c0a1c8fc80d1e28673a76905cc1af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c6ca072e63f3791ba5adfd0838a87df00c0a1c8fc80d1e28673a76905cc1af", kill_on_drop: false }` [INFO] [stdout] e0c6ca072e63f3791ba5adfd0838a87df00c0a1c8fc80d1e28673a76905cc1af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b96c313d63a8ed6f2c1b8316e08ab74c7ab53f6cde3088e486d772b59d63cba0 [INFO] running `Command { std: "docker" "start" "-a" "b96c313d63a8ed6f2c1b8316e08ab74c7ab53f6cde3088e486d772b59d63cba0", kill_on_drop: false }` [INFO] [stderr] warning: variable `prev_old` is assigned to, but never used [INFO] [stderr] --> src/render.rs:2624:13 [INFO] [stderr] | [INFO] [stderr] 2624 | let mut prev_old: Option = None; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_prev_old` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `prev_new` is assigned to, but never used [INFO] [stderr] --> src/render.rs:2625:13 [INFO] [stderr] | [INFO] [stderr] 2625 | let mut prev_new: Option = None; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_prev_new` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `old_first` is never read [INFO] [stderr] --> src/render.rs:2616:17 [INFO] [stderr] | [INFO] [stderr] 2616 | old_first = to_0based(new_to_old_line(new_first as u64 + 1, hunks)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `new_first` is never read [INFO] [stderr] --> src/render.rs:2619:17 [INFO] [stderr] | [INFO] [stderr] 2619 | new_first = to_0based(old_to_new_line(old_first as u64 + 1, hunks)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `prev_old` is never read [INFO] [stderr] --> src/render.rs:2682:40 [INFO] [stderr] | [INFO] [stderr] 2682 | if let Some(o) = cur_old { prev_old = Some(o); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `prev_new` is never read [INFO] [stderr] --> src/render.rs:2683:40 [INFO] [stderr] | [INFO] [stderr] 2683 | if let Some(n) = cur_new { prev_new = Some(n); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/render.rs:3366:13 [INFO] [stderr] | [INFO] [stderr] 3366 | let mut old_ctx_before = old_first.saturating_sub(EXPANDED_CONTEXT_LINES); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/render.rs:3367:13 [INFO] [stderr] | [INFO] [stderr] 3367 | let mut new_ctx_before = new_first.saturating_sub(EXPANDED_CONTEXT_LINES); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable `notes_backtick_count` is assigned to, but never used [INFO] [stderr] --> src/render.rs:3942:9 [INFO] [stderr] | [INFO] [stderr] 3942 | let mut notes_backtick_count = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_notes_backtick_count` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_idx` [INFO] [stderr] --> src/render.rs:3974:25 [INFO] [stderr] | [INFO] [stderr] 3974 | let block_idx = diff_blocks.len().saturating_sub(1); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `escaped_text` [INFO] [stderr] --> src/render.rs:4059:33 [INFO] [stderr] | [INFO] [stderr] 4059 | ... let escaped_text = html_escape(text); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_escaped_text` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `notes_backtick_count` is never read [INFO] [stderr] --> src/render.rs:4506:21 [INFO] [stderr] | [INFO] [stderr] 4506 | notes_backtick_count = backtick_count; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gap_paired` [INFO] [stderr] --> src/render.rs:5820:14 [INFO] [stderr] | [INFO] [stderr] 5820 | let (gap_paired, gap_removed, gap_added) = hunk_gap_lines( [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gap_paired` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/render.rs:6245:9 [INFO] [stderr] | [INFO] [stderr] 6245 | file: &str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `chunk_idx` [INFO] [stderr] --> src/render.rs:6246:9 [INFO] [stderr] | [INFO] [stderr] 6246 | chunk_idx: usize, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_idx` [INFO] [stderr] [INFO] [stderr] warning: function `expected_layout` is never used [INFO] [stderr] --> src/render.rs:5797:8 [INFO] [stderr] | [INFO] [stderr] 5797 | fn expected_layout(difft: &DifftOutput, chunk_idx: usize) -> Vec<(&'static str, Option, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `walkthrough` (bin "walkthrough" test) generated 16 warnings (run `cargo fix --bin "walkthrough" -p walkthrough --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/walkthrough-09fdcbe0e45a3dd9) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test render::tests::function_names_are_purple ... ok [INFO] [stdout] test render::tests::expansion_stops_at_nearest_enclosing_call ... ok [INFO] [stdout] test render::tests::added_only_rows_have_no_token_highlights ... ok [INFO] [stdout] test render::tests::added_function_does_not_expand_into_previous_function ... ok [INFO] [stdout] test render::tests::constructor_names_are_orange ... ok [INFO] [stdout] test render::tests::context_expands_to_show_enclosing_expression ... ok [INFO] [stdout] test render::tests::gap_paired_context_lines_not_dropped ... ok [INFO] [stdout] test render::tests::foundry_api_chunk2_matches_difft_cli_layout ... ok [INFO] [stdout] test render::tests::intra_chunk_gap_lines_rendered_as_context ... ok [INFO] [stdout] test render::tests::identical_content_entries_render_as_context ... ok [INFO] [stdout] test render::tests::incomplete_expression_expansion_falls_back_to_normal_context ... ok [INFO] [stdout] test render::tests::line_filter_excludes_out_of_range_changes_from_context ... ok [INFO] [stdout] test render::tests::low_similarity_pairs_use_full_line_background ... ok [INFO] [stdout] test render::tests::line_numbers_are_consecutive_on_each_side ... ok [INFO] [stdout] test render::tests::old_side_ordering_in_refactored_chunk ... ok [INFO] [stdout] test render::tests::no_duplicate_line_numbers ... ok [INFO] [stdout] test render::tests::paired_rows_have_token_highlights ... ok [INFO] [stdout] test render::tests::property_names_are_blue ... ok [INFO] [stdout] test render::tests::no_duplicate_lines_across_combined_chunks ... ok [INFO] [stdout] test render::tests::removed_only_rows_have_no_token_highlights ... ok [INFO] [stdout] test render::tests::line_filter_restricts_output ... ok [INFO] [stdout] test render::tests::type_annotations_are_default_text ... ok [INFO] [stdout] test render::tests::overlapping_splits_still_cover_all_lines ... ok [INFO] [stdout] test render::tests::relative_line_filter_via_run ... ok [INFO] [stdout] test render::tests::split_union_covers_all_changed_lines ... ok [INFO] [stdout] test render::tests::single_line_splits_cover_all ... ok [INFO] [stdout] test render::tests::fixture_rendering_matches has been running for over 60 seconds [INFO] [stdout] test render::tests::fixture_rendering_matches ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 73.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b96c313d63a8ed6f2c1b8316e08ab74c7ab53f6cde3088e486d772b59d63cba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96c313d63a8ed6f2c1b8316e08ab74c7ab53f6cde3088e486d772b59d63cba0", kill_on_drop: false }` [INFO] [stdout] b96c313d63a8ed6f2c1b8316e08ab74c7ab53f6cde3088e486d772b59d63cba0