[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 try#4987e9d4227139400384ab59296ffee3b0fb1183 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kirawi/min-repro on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c709e93383e0e3bea90178d4d651c8d2e96da1467cb21bfc48d4171df166a74d
[INFO] running `Command { std: "docker" "start" "-a" "c709e93383e0e3bea90178d4d651c8d2e96da1467cb21bfc48d4171df166a74d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c709e93383e0e3bea90178d4d651c8d2e96da1467cb21bfc48d4171df166a74d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c709e93383e0e3bea90178d4d651c8d2e96da1467cb21bfc48d4171df166a74d", kill_on_drop: false }`
[INFO] [stdout] c709e93383e0e3bea90178d4d651c8d2e96da1467cb21bfc48d4171df166a74d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 961f9814f7cb480c2440528eb6fdac36f30a5b8156868956f649705d9b21d128
[INFO] running `Command { std: "docker" "start" "-a" "961f9814f7cb480c2440528eb6fdac36f30a5b8156868956f649705d9b21d128", 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 tempfile v3.9.0
[INFO] [stderr]    Compiling quickcheck v1.0.3
[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: 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] 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.83s
[INFO] running `Command { std: "docker" "inspect" "961f9814f7cb480c2440528eb6fdac36f30a5b8156868956f649705d9b21d128", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "961f9814f7cb480c2440528eb6fdac36f30a5b8156868956f649705d9b21d128", kill_on_drop: false }`
[INFO] [stdout] 961f9814f7cb480c2440528eb6fdac36f30a5b8156868956f649705d9b21d128
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b1b26176a6b5813b7baad6fa81fdd87e968d9786ae2b59405998ac80eaae6bea
[INFO] running `Command { std: "docker" "start" "-a" "b1b26176a6b5813b7baad6fa81fdd87e968d9786ae2b59405998ac80eaae6bea", 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: 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] 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "b1b26176a6b5813b7baad6fa81fdd87e968d9786ae2b59405998ac80eaae6bea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1b26176a6b5813b7baad6fa81fdd87e968d9786ae2b59405998ac80eaae6bea", kill_on_drop: false }`
[INFO] [stdout] b1b26176a6b5813b7baad6fa81fdd87e968d9786ae2b59405998ac80eaae6bea
