[INFO] cloning repository https://github.com/kirawi/min-repro
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kirawi/min-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirawi%2Fmin-repro", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirawi%2Fmin-repro'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bb8195fd677465ecf5f1df1b047a310107e7c4f1
[INFO] checking kirawi/min-repro against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirawi%2Fmin-repro" "/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/kirawi/min-repro
[INFO] finished tweaking git repo https://github.com/kirawi/min-repro
[INFO] tweaked toml for git repo https://github.com/kirawi/min-repro written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kirawi/min-repro on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kirawi/min-repro 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5
[INFO] running `Command { std: "docker" "start" "2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.12
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]     Checking tempfile v3.9.0
[INFO] [stderr]     Checking min_repro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `UNDO_FILE_HEADER_LEN` is never used
[INFO] [stdout]    --> src/main.rs:119:7
[INFO] [stdout]     |
[INFO] [stdout] 119 | const UNDO_FILE_HEADER_LEN: usize = UNDO_FILE_HEADER_TAG.len();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `deserialize` and `read_header` are never used
[INFO] [stdout]    --> src/main.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl History {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn deserialize<R: Read>(reader: &mut R, path: &Path) -> anyhow::Result<(usize, Self)> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     pub fn read_header<R: Read>(reader: &mut R, path: &Path) -> anyhow::Result<(usize, usize)> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `deserialize` is never used
[INFO] [stdout]    --> src/main.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 239 | impl Revision {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn deserialize<R: Read>(reader: &mut R) -> anyhow::Result<Self> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `deserialize` is never used
[INFO] [stdout]    --> src/main.rs:302:12
[INFO] [stdout]     |
[INFO] [stdout] 271 | impl Transaction {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub fn deserialize<R: std::io::Read>(reader: &mut R) -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_u64` is never used
[INFO] [stdout]   --> src/combinators.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn read_u64<R: Read>(reader: &mut R) -> Result<u64> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]   --> src/combinators.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn read_string<R: Read>(reader: &mut R) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_many_bytes` is never used
[INFO] [stdout]    --> src/combinators.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn read_many_bytes<R: Read, const N: usize>(reader: &mut R) -> Result<[u8; N]> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `String`
[INFO] [stdout]    --> src/main.rs:311:40
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 2 => Operation::Insert(read_string(reader)?.into()),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 311 -                 2 => Operation::Insert(read_string(reader)?.into()),
[INFO] [stdout] 311 +                 2 => Operation::Insert(read_string(reader)?),
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 311 -                 2 => Operation::Insert(read_string(reader)?.into()),
[INFO] [stdout] 311 +                 2 => Operation::Insert(<String as Into<_>>::into(read_string(reader)?)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `min_repro` (bin "min_repro" test) due to 2 previous errors; 7 warnings emitted
[INFO] [stdout] error: useless conversion to the same type: `Vec<Range>`
[INFO] [stdout]    --> src/main.rs:364:21
[INFO] [stdout]     |
[INFO] [stdout] 364 |             ranges: ranges.into(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 364 -             ranges: ranges.into(),
[INFO] [stdout] 364 +             ranges: ranges,
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 364 -             ranges: ranges.into(),
[INFO] [stdout] 364 +             ranges: <Vec<Range> as Into<_>>::into(ranges),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `History` is never constructed
[INFO] [stdout]   --> src/main.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct History {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Revision` is never constructed
[INFO] [stdout]   --> src/main.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Revision {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]   --> src/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Transaction {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNDO_FILE_HEADER_TAG` is never used
[INFO] [stdout]    --> src/main.rs:118:7
[INFO] [stdout]     |
[INFO] [stdout] 118 | const UNDO_FILE_HEADER_TAG: &[u8] = b"Helix";
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNDO_FILE_HEADER_LEN` is never used
[INFO] [stdout]    --> src/main.rs:119:7
[INFO] [stdout]     |
[INFO] [stdout] 119 | const UNDO_FILE_HEADER_LEN: usize = UNDO_FILE_HEADER_TAG.len();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNDO_FILE_VERSION` is never used
[INFO] [stdout]    --> src/main.rs:120:7
[INFO] [stdout]     |
[INFO] [stdout] 120 | const UNDO_FILE_VERSION: u8 = 1;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_hash` is never used
[INFO] [stdout]    --> src/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn get_hash<R: Read>(reader: &mut R) -> std::io::Result<[u8; sha1_smol::DIGEST_LENGTH]> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `serialize`, `deserialize`, and `read_header` are never used
[INFO] [stdout]    --> src/main.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl History {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 138 |     pub fn serialize<W: Write + Seek>(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn deserialize<R: Read>(reader: &mut R, path: &Path) -> anyhow::Result<(usize, Self)> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     pub fn read_header<R: Read>(reader: &mut R, path: &Path) -> anyhow::Result<(usize, usize)> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `serialize` and `deserialize` are never used
[INFO] [stdout]    --> src/main.rs:240:8
[INFO] [stdout]     |
[INFO] [stdout] 239 | impl Revision {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 240 |     fn serialize<W: Write>(&self, writer: &mut W) -> anyhow::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn deserialize<R: Read>(reader: &mut R) -> anyhow::Result<Self> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `serialize` and `deserialize` are never used
[INFO] [stdout]    --> src/main.rs:272:12
[INFO] [stdout]     |
[INFO] [stdout] 271 | impl Transaction {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 272 |     pub fn serialize<W: std::io::Write>(&self, writer: &mut W) -> std::io::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub fn deserialize<R: std::io::Read>(reader: &mut R) -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_u64` is never used
[INFO] [stdout]   --> src/combinators.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn write_u64<W: Write>(writer: &mut W, n: u64) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_string` is never used
[INFO] [stdout]   --> src/combinators.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn write_string<W: Write>(writer: &mut W, s: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_u64` is never used
[INFO] [stdout]   --> src/combinators.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn read_u64<R: Read>(reader: &mut R) -> Result<u64> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]   --> src/combinators.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn read_string<R: Read>(reader: &mut R) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_many_bytes` is never used
[INFO] [stdout]    --> src/combinators.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn read_many_bytes<R: Read, const N: usize>(reader: &mut R) -> Result<[u8; N]> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `String`
[INFO] [stdout]    --> src/main.rs:311:40
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 2 => Operation::Insert(read_string(reader)?.into()),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 311 -                 2 => Operation::Insert(read_string(reader)?.into()),
[INFO] [stdout] 311 +                 2 => Operation::Insert(read_string(reader)?),
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 311 -                 2 => Operation::Insert(read_string(reader)?.into()),
[INFO] [stdout] 311 +                 2 => Operation::Insert(<String as Into<_>>::into(read_string(reader)?)),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `Vec<Range>`
[INFO] [stdout]    --> src/main.rs:364:21
[INFO] [stdout]     |
[INFO] [stdout] 364 |             ranges: ranges.into(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 364 -             ranges: ranges.into(),
[INFO] [stdout] 364 +             ranges: ranges,
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 364 -             ranges: ranges.into(),
[INFO] [stdout] 364 +             ranges: <Vec<Range> as Into<_>>::into(ranges),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `min_repro` (bin "min_repro") due to 2 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5", kill_on_drop: false }`
[INFO] [stdout] 2564aaacb03dec7331f007fbd2729f238ecc925fd1318c1f5a3798180e17eda5
