[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 master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirawi%2Fmin-repro" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kirawi/min-repro on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc1/source/Cargo.toml
[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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe2498d6d424cae8d5fc6ecaf3b44efeb49cf49920a334ca1ac984f1e586a8d5
[INFO] running `Command { std: "docker" "start" "-a" "fe2498d6d424cae8d5fc6ecaf3b44efeb49cf49920a334ca1ac984f1e586a8d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe2498d6d424cae8d5fc6ecaf3b44efeb49cf49920a334ca1ac984f1e586a8d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe2498d6d424cae8d5fc6ecaf3b44efeb49cf49920a334ca1ac984f1e586a8d5", kill_on_drop: false }`
[INFO] [stdout] fe2498d6d424cae8d5fc6ecaf3b44efeb49cf49920a334ca1ac984f1e586a8d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f0962a9dde3fead95639f05efe3532433ae06e661df4140a65ab0f17b22b4ad
[INFO] running `Command { std: "docker" "start" "-a" "7f0962a9dde3fead95639f05efe3532433ae06e661df4140a65ab0f17b22b4ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]     Checking linux-raw-sys v0.4.12
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking sha1_smol v1.0.0
[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 tempfile v3.9.0
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]     Checking min_repro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `revisions` and `current` are never read
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct History {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 13 |     revisions: Vec<Revision>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 14 |     current: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Revision {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     timestamp: SystemTime,
[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] 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)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 3.02s
[INFO] running `Command { std: "docker" "inspect" "7f0962a9dde3fead95639f05efe3532433ae06e661df4140a65ab0f17b22b4ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f0962a9dde3fead95639f05efe3532433ae06e661df4140a65ab0f17b22b4ad", kill_on_drop: false }`
[INFO] [stdout] 7f0962a9dde3fead95639f05efe3532433ae06e661df4140a65ab0f17b22b4ad
