[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] building kirawi/min-repro against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirawi%2Fmin-repro" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kirawi/min-repro on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c9207069c621b7e89f2f24bc137b2af710ee3105edc4b5343efff2db1e83225
[INFO] running `Command { std: "docker" "start" "-a" "3c9207069c621b7e89f2f24bc137b2af710ee3105edc4b5343efff2db1e83225", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c9207069c621b7e89f2f24bc137b2af710ee3105edc4b5343efff2db1e83225", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c9207069c621b7e89f2f24bc137b2af710ee3105edc4b5343efff2db1e83225", kill_on_drop: false }`
[INFO] [stdout] 3c9207069c621b7e89f2f24bc137b2af710ee3105edc4b5343efff2db1e83225
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c74a397eb41ad04bacbe0031e1464e7ebbd15634c0a91c6d15cc415e8c2eba2f
[INFO] running `Command { std: "docker" "start" "-a" "c74a397eb41ad04bacbe0031e1464e7ebbd15634c0a91c6d15cc415e8c2eba2f", 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]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling quickcheck v1.0.3
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]    Compiling min_repro v0.1.0 (/opt/rustwide/workdir)
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.92s
[INFO] running `Command { std: "docker" "inspect" "c74a397eb41ad04bacbe0031e1464e7ebbd15634c0a91c6d15cc415e8c2eba2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c74a397eb41ad04bacbe0031e1464e7ebbd15634c0a91c6d15cc415e8c2eba2f", kill_on_drop: false }`
[INFO] [stdout] c74a397eb41ad04bacbe0031e1464e7ebbd15634c0a91c6d15cc415e8c2eba2f
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6046e901ef92c362907d6b6c82a79d520c16b189d793dfa115d86cebbb513e07
[INFO] running `Command { std: "docker" "start" "-a" "6046e901ef92c362907d6b6c82a79d520c16b189d793dfa115d86cebbb513e07", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s
[INFO] running `Command { std: "docker" "inspect" "6046e901ef92c362907d6b6c82a79d520c16b189d793dfa115d86cebbb513e07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6046e901ef92c362907d6b6c82a79d520c16b189d793dfa115d86cebbb513e07", kill_on_drop: false }`
[INFO] [stdout] 6046e901ef92c362907d6b6c82a79d520c16b189d793dfa115d86cebbb513e07
