[INFO] cloning repository https://github.com/PaulGrandperrin/nar-alike-deduper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PaulGrandperrin/nar-alike-deduper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulGrandperrin%2Fnar-alike-deduper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulGrandperrin%2Fnar-alike-deduper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d5fa770ca7f17843035027bfde33e0b57c49a332
[INFO] checking PaulGrandperrin/nar-alike-deduper against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulGrandperrin%2Fnar-alike-deduper" "/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/PaulGrandperrin/nar-alike-deduper
[INFO] finished tweaking git repo https://github.com/PaulGrandperrin/nar-alike-deduper
[INFO] tweaked toml for git repo https://github.com/PaulGrandperrin/nar-alike-deduper written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/PaulGrandperrin/nar-alike-deduper on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/PaulGrandperrin/nar-alike-deduper 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded event-listener-strategy v0.5.0
[INFO] [stderr]   Downloaded async-channel v2.2.0
[INFO] [stderr]   Downloaded nix-base32 v0.1.1
[INFO] [stderr]   Downloaded event-listener v5.2.0
[INFO] [stderr]   Downloaded os_pipe v1.1.5
[INFO] [stderr]   Downloaded reqwest v0.11.26
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c3e5eb98a36e1862437f9a7ab666ccfd67b3e3b1e6b4a7f0d503e9e0a36edca
[INFO] running `Command { std: "docker" "start" "-a" "0c3e5eb98a36e1862437f9a7ab666ccfd67b3e3b1e6b4a7f0d503e9e0a36edca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c3e5eb98a36e1862437f9a7ab666ccfd67b3e3b1e6b4a7f0d503e9e0a36edca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c3e5eb98a36e1862437f9a7ab666ccfd67b3e3b1e6b4a7f0d503e9e0a36edca", kill_on_drop: false }`
[INFO] [stdout] 0c3e5eb98a36e1862437f9a7ab666ccfd67b3e3b1e6b4a7f0d503e9e0a36edca
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 79c55fdf41a508ff5360a562c1f67b5b5420d38380305938660ee05bbeec053c
[INFO] running `Command { std: "docker" "start" "-a" "79c55fdf41a508ff5360a562c1f67b5b5420d38380305938660ee05bbeec053c", kill_on_drop: false }`
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]     Checking indexmap v2.2.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling chrono v0.4.35
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]     Checking event-listener v5.2.0
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling axum v0.7.4
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]     Checking event-listener-strategy v0.5.0
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]     Checking xz2 v0.1.7
[INFO] [stderr]     Checking os_pipe v1.1.5
[INFO] [stderr]     Checking shared_child v1.0.0
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]     Checking nix-base32 v0.1.1
[INFO] [stderr]     Checking duct v0.13.7
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]     Checking color-spantrace v0.2.1
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking color-eyre v0.6.3
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking async-compression v0.4.6
[INFO] [stderr]     Checking h2 v0.4.3
[INFO] [stderr]     Checking h2 v0.3.25
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]     Checking hyper v1.2.0
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.26
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking nar-alike-deduper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `borrow::Cow`
[INFO] [stdout]  --> src/lib.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{borrow::Cow, pin::Pin, task::{Context, Poll}, io, collections::HashMap};
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `extract::MatchedPath` and `http::Request`
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::{http::Request, extract::MatchedPath};
[INFO] [stdout]   |            ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::trace::TraceLayer`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tower_http::trace::TraceLayer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Span` and `info_span`
[INFO] [stdout]  --> src/lib.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{info_span, Span};
[INFO] [stdout]   |               ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Cow`
[INFO] [stdout]  --> src/lib.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{borrow::Cow, pin::Pin, task::{Context, Poll}, io, collections::HashMap};
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `extract::MatchedPath` and `http::Request`
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::{http::Request, extract::MatchedPath};
[INFO] [stdout]   |            ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::trace::TraceLayer`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tower_http::trace::TraceLayer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Span` and `info_span`
[INFO] [stdout]  --> src/lib.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{info_span, Span};
[INFO] [stdout]   |               ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable`
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |   #[cfg(tokio_unstable)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable`
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |   #[cfg(tokio_unstable)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]    --> src/lib.rs:155:19
[INFO] [stdout]     |
[INFO] [stdout] 155 |   use tokio::io::{AsyncRead, AsyncWrite};
[INFO] [stdout]     |                   ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cx`
[INFO] [stdout]   --> src/store_path_automaton.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         cx: &mut std::task::Context<'_>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/store_path_automaton.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cx`
[INFO] [stdout]   --> src/lib.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 65 |   fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), io::Error>> {
[INFO] [stdout]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StorePathReader` is never constructed
[INFO] [stdout]  --> src/store_path_automaton.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct StorePathReader<R> {
[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 function `new` is never used
[INFO] [stdout]   --> src/store_path_automaton.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<R: AsyncRead> StorePathReader<R> {
[INFO] [stdout]    | ------------------------------------- associated function in this implementation
[INFO] [stdout] 11 |   pub fn new(reader: R) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StorePathAutomaton` is never constructed
[INFO] [stdout]   --> src/store_path_automaton.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct StorePathAutomaton {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OVERLAPPING_SUB_MATCH` is never used
[INFO] [stdout]   --> src/store_path_automaton.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 | const OVERLAPPING_SUB_MATCH: &[u8] = b"/nix/store/nix"; // serves 2 purposes: the first 11 bytes to check if the beggining matches and th...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `next` are never used
[INFO] [stdout]   --> src/store_path_automaton.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl StorePathAutomaton {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 43 |   pub fn new() -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |   pub fn next(&mut self, byte: u8) -> bool {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cx`
[INFO] [stdout]   --> src/store_path_automaton.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         cx: &mut std::task::Context<'_>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/store_path_automaton.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_channel::Receiver`
[INFO] [stdout]  --> src/bin/download-and-compute-dedup-hashes.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_channel::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgTypeInfo`
[INFO] [stdout]  --> src/bin/download-and-compute-dedup-hashes.rs:4:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{postgres::{PgPoolOptions, PgTypeInfo, types::Oid}, Row, Column};
[INFO] [stdout]   |                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::Write`
[INFO] [stdout]  --> src/bin/download-and-compute-dedup-hashes.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{fmt::Write, collections::HashMap, sync::{atomic::{AtomicU64, Ordering}, Arc}};
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cx`
[INFO] [stdout]   --> src/lib.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 65 |   fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), io::Error>> {
[INFO] [stdout]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/lib.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let r = replace_nix_paths(&mut r, &mut w, repl).await?;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StorePathReader` is never constructed
[INFO] [stdout]  --> src/store_path_automaton.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct StorePathReader<R> {
[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 function `new` is never used
[INFO] [stdout]   --> src/store_path_automaton.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<R: AsyncRead> StorePathReader<R> {
[INFO] [stdout]    | ------------------------------------- associated function in this implementation
[INFO] [stdout] 11 |   pub fn new(reader: R) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `helper` is never used
[INFO] [stdout]    --> src/lib.rs:158:6
[INFO] [stdout]     |
[INFO] [stdout] 158 |   fn helper() {
[INFO] [stdout]     |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `rc::Rc` and `time::Duration`
[INFO] [stdout]  --> src/bin/substituer.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, io, rc::Rc, sync::Arc, time::Duration};
[INFO] [stdout]   |                                                   ^^^^^^             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MatchedPath`
[INFO] [stdout]  --> src/bin/substituer.rs:3:93
[INFO] [stdout]   |
[INFO] [stdout] 3 | use axum::{Router, routing::get, response::{IntoResponse, Response}, extract::{State, Path, MatchedPath}, http::{StatusCode, Request}, bo...
[INFO] [stdout]   |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format`
[INFO] [stdout]  --> src/bin/substituer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nar_alike_deduper::AsyncSha256Hasher`
[INFO] [stdout]  --> src/bin/substituer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use nar_alike_deduper::AsyncSha256Hasher;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `classify::ServerErrorsFailureClass`
[INFO] [stdout]   --> src/bin/substituer.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tower_http::{trace::TraceLayer, classify::ServerErrorsFailureClass};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_channel::Receiver`
[INFO] [stdout]  --> src/bin/download-and-compute-dedup-hashes.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_channel::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgTypeInfo`
[INFO] [stdout]  --> src/bin/download-and-compute-dedup-hashes.rs:4:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{postgres::{PgPoolOptions, PgTypeInfo, types::Oid}, Row, Column};
[INFO] [stdout]   |                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::Write`
[INFO] [stdout]  --> src/bin/download-and-compute-dedup-hashes.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{fmt::Write, collections::HashMap, sync::{atomic::{AtomicU64, Ordering}, Arc}};
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/bin/api-server.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 | async fn get_path(State(state): State<()>, Path(params): Path<Params>) -> impl IntoResponse {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `rc::Rc` and `time::Duration`
[INFO] [stdout]  --> src/bin/substituer.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, io, rc::Rc, sync::Arc, time::Duration};
[INFO] [stdout]   |                                                   ^^^^^^             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MatchedPath`
[INFO] [stdout]  --> src/bin/substituer.rs:3:93
[INFO] [stdout]   |
[INFO] [stdout] 3 | use axum::{Router, routing::get, response::{IntoResponse, Response}, extract::{State, Path, MatchedPath}, http::{StatusCode, Request}, bo...
[INFO] [stdout]   |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format`
[INFO] [stdout]  --> src/bin/substituer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nar_alike_deduper::AsyncSha256Hasher`
[INFO] [stdout]  --> src/bin/substituer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use nar_alike_deduper::AsyncSha256Hasher;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `classify::ServerErrorsFailureClass`
[INFO] [stdout]   --> src/bin/substituer.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tower_http::{trace::TraceLayer, classify::ServerErrorsFailureClass};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/bin/download-and-compute-dedup-hashes.rs:116:11
[INFO] [stdout]     |
[INFO] [stdout] 116 |       let s = row.columns().into_iter().filter_map(|c|{
[INFO] [stdout]     |           ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/bin/download-and-compute-dedup-hashes.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let pool = pool.clone();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_hash2` is never used
[INFO] [stdout]  --> src/bin/download-and-compute-dedup-hashes.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | async fn process_hash2(client: &reqwest::Client, hash: String, total: &Arc<AtomicU64>, i: &Arc<AtomicU64>) -> eyre::Result<()> {
[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 `delete` is never used
[INFO] [stdout]    --> src/bin/extract-drv-hashes.rs:183:10
[INFO] [stdout]     |
[INFO] [stdout] 183 | async fn delete() -> eyre::Result<()> {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/bin/download-and-compute-dedup-hashes.rs:116:11
[INFO] [stdout]     |
[INFO] [stdout] 116 |       let s = row.columns().into_iter().filter_map(|c|{
[INFO] [stdout]     |           ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/bin/download-and-compute-dedup-hashes.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let pool = pool.clone();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_hash2` is never used
[INFO] [stdout]  --> src/bin/download-and-compute-dedup-hashes.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | async fn process_hash2(client: &reqwest::Client, hash: String, total: &Arc<AtomicU64>, i: &Arc<AtomicU64>) -> eyre::Result<()> {
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `MyState` is more private than the item `http_server`
[INFO] [stdout]    --> src/bin/substituer.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn http_server(state: MyState) -> io::Result<()> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `http_server` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `MyState` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/bin/substituer.rs:152:1
[INFO] [stdout]     |
[INFO] [stdout] 152 | struct MyState {
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ResultExt` is never used
[INFO] [stdout]   --> src/bin/substituer.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | trait ResultExt<T: IntoResponse> {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/bin/api-server.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 | async fn get_path(State(state): State<()>, Path(params): Path<Params>) -> impl IntoResponse {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete` is never used
[INFO] [stdout]    --> src/bin/extract-drv-hashes.rs:183:10
[INFO] [stdout]     |
[INFO] [stdout] 183 | async fn delete() -> eyre::Result<()> {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `MyState` is more private than the item `http_server`
[INFO] [stdout]    --> src/bin/substituer.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn http_server(state: MyState) -> io::Result<()> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `http_server` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `MyState` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/bin/substituer.rs:152:1
[INFO] [stdout]     |
[INFO] [stdout] 152 | struct MyState {
[INFO] [stdout]     | ^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ResultExt` is never used
[INFO] [stdout]   --> src/bin/substituer.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | trait ResultExt<T: IntoResponse> {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "79c55fdf41a508ff5360a562c1f67b5b5420d38380305938660ee05bbeec053c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79c55fdf41a508ff5360a562c1f67b5b5420d38380305938660ee05bbeec053c", kill_on_drop: false }`
[INFO] [stdout] 79c55fdf41a508ff5360a562c1f67b5b5420d38380305938660ee05bbeec053c
