[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] testing PaulGrandperrin/nar-alike-deduper against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulGrandperrin%2Fnar-alike-deduper" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PaulGrandperrin/nar-alike-deduper on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc2/source/Cargo.toml
[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" "+nightly-2025-01-18" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f532905501d2c4790228c3b02c37647707368e8c31fede0da74c4bddc3ce9ba4
[INFO] running `Command { std: "docker" "start" "-a" "f532905501d2c4790228c3b02c37647707368e8c31fede0da74c4bddc3ce9ba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f532905501d2c4790228c3b02c37647707368e8c31fede0da74c4bddc3ce9ba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f532905501d2c4790228c3b02c37647707368e8c31fede0da74c4bddc3ce9ba4", kill_on_drop: false }`
[INFO] [stdout] f532905501d2c4790228c3b02c37647707368e8c31fede0da74c4bddc3ce9ba4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91d90611223da22b688a8b8ef7a8ec37779e169274e25967355340aa96112248
[INFO] running `Command { std: "docker" "start" "-a" "91d90611223da22b688a8b8ef7a8ec37779e169274e25967355340aa96112248", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling chrono v0.4.35
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[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 http v0.2.12
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling concurrent-queue v2.4.0
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling event-listener v5.2.0
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling axum v0.7.4
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling owo-colors v3.5.0
[INFO] [stderr]    Compiling indenter v0.3.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling xz2 v0.1.7
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling event-listener-strategy v0.5.0
[INFO] [stderr]    Compiling shared_child v1.0.0
[INFO] [stderr]    Compiling os_pipe v1.1.5
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling duct v0.13.7
[INFO] [stderr]    Compiling async-channel v2.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling nix-base32 v0.1.1
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling tracing-error v0.2.0
[INFO] [stderr]    Compiling color-spantrace v0.2.1
[INFO] [stderr]    Compiling color-eyre v0.6.3
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling async-compression v0.4.6
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling h2 v0.3.25
[INFO] [stderr]    Compiling h2 v0.4.3
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling hyper v1.2.0
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.26
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling 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)]` 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[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 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)]` 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: fields `reader` and `automaton` are never read
[INFO] [stdout]  --> src/store_path_automaton.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct StorePathReader<R> {
[INFO] [stdout]   |        --------------- fields in this struct
[INFO] [stdout] 6 |   reader: R,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 7 |   automaton: StorePathAutomaton,
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` 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: fields `state` and `overlapping_matchs` are never read
[INFO] [stdout]   --> src/store_path_automaton.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct StorePathAutomaton {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 36 |   state: usize,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 37 |   overlapping_matchs: bool, // are we matching "/nix/store/nix" until now
[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 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)]` 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: `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)]` on by default
[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)]` 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: `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]    = note: `#[warn(unused_variables)]` 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] 
[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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s
[INFO] running `Command { std: "docker" "inspect" "91d90611223da22b688a8b8ef7a8ec37779e169274e25967355340aa96112248", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91d90611223da22b688a8b8ef7a8ec37779e169274e25967355340aa96112248", kill_on_drop: false }`
[INFO] [stdout] 91d90611223da22b688a8b8ef7a8ec37779e169274e25967355340aa96112248
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e8336d248319982554ec4f00afce13ec045b12f76600340d5eef6efe9d23297
[INFO] running `Command { std: "docker" "start" "-a" "6e8336d248319982554ec4f00afce13ec045b12f76600340d5eef6efe9d23297", kill_on_drop: false }`
[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)]` 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] [stderr]    Compiling nar-alike-deduper v0.1.0 (/opt/rustwide/workdir)
[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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[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 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)]` 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: fields `reader` and `automaton` are never read
[INFO] [stdout]  --> src/store_path_automaton.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct StorePathReader<R> {
[INFO] [stdout]   |        --------------- fields in this struct
[INFO] [stdout] 6 |   reader: R,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 7 |   automaton: StorePathAutomaton,
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` 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: fields `state` and `overlapping_matchs` are never read
[INFO] [stdout]   --> src/store_path_automaton.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct StorePathAutomaton {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 36 |   state: usize,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 37 |   overlapping_matchs: bool, // are we matching "/nix/store/nix" until now
[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 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)]` 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[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: `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)]` 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)]` 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)]` 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/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)]` 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: 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: 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)]` 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]    = note: `#[warn(unused_variables)]` 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] 
[INFO] [stdout] warning: fields `reader` and `automaton` are never read
[INFO] [stdout]  --> src/store_path_automaton.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct StorePathReader<R> {
[INFO] [stdout]   |        --------------- fields in this struct
[INFO] [stdout] 6 |   reader: R,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 7 |   automaton: StorePathAutomaton,
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` 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: 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.39s
[INFO] running `Command { std: "docker" "inspect" "6e8336d248319982554ec4f00afce13ec045b12f76600340d5eef6efe9d23297", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e8336d248319982554ec4f00afce13ec045b12f76600340d5eef6efe9d23297", kill_on_drop: false }`
[INFO] [stdout] 6e8336d248319982554ec4f00afce13ec045b12f76600340d5eef6efe9d23297
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c29ee1e990733ea89c30c206dd65bb7f5bd9ee84c83f36cfce33e3a50e9c03fc
[INFO] running `Command { std: "docker" "start" "-a" "c29ee1e990733ea89c30c206dd65bb7f5bd9ee84c83f36cfce33e3a50e9c03fc", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `borrow::Cow`
[INFO] [stderr]  --> src/lib.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::{borrow::Cow, pin::Pin, task::{Context, Poll}, io, collections::HashMap};
[INFO] [stderr]   |           ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `extract::MatchedPath` and `http::Request`
[INFO] [stderr]  --> src/lib.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | use axum::{http::Request, extract::MatchedPath};
[INFO] [stderr]   |            ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tower_http::trace::TraceLayer`
[INFO] [stderr]  --> src/lib.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tower_http::trace::TraceLayer;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Span` and `info_span`
[INFO] [stderr]  --> src/lib.rs:9:15
[INFO] [stderr]   |
[INFO] [stderr] 9 | use tracing::{info_span, Span};
[INFO] [stderr]   |               ^^^^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable`
[INFO] [stderr]   --> src/lib.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 |   #[cfg(tokio_unstable)]
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cx`
[INFO] [stderr]   --> src/store_path_automaton.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |         cx: &mut std::task::Context<'_>,
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]   --> src/store_path_automaton.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 23 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cx`
[INFO] [stderr]   --> src/lib.rs:65:42
[INFO] [stderr]    |
[INFO] [stderr] 65 |   fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), io::Error>> {
[INFO] [stderr]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `reader` and `automaton` are never read
[INFO] [stderr]  --> src/store_path_automaton.rs:6:3
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct StorePathReader<R> {
[INFO] [stderr]   |        --------------- fields in this struct
[INFO] [stderr] 6 |   reader: R,
[INFO] [stderr]   |   ^^^^^^
[INFO] [stderr] 7 |   automaton: StorePathAutomaton,
[INFO] [stderr]   |   ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/store_path_automaton.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl<R: AsyncRead> StorePathReader<R> {
[INFO] [stderr]    | ------------------------------------- associated function in this implementation
[INFO] [stderr] 11 |   pub fn new(reader: R) -> Self {
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `state` and `overlapping_matchs` are never read
[INFO] [stderr]   --> src/store_path_automaton.rs:36:3
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub struct StorePathAutomaton {
[INFO] [stderr]    |            ------------------ fields in this struct
[INFO] [stderr] 36 |   state: usize,
[INFO] [stderr]    |   ^^^^^
[INFO] [stderr] 37 |   overlapping_matchs: bool, // are we matching "/nix/store/nix" until now
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `OVERLAPPING_SUB_MATCH` is never used
[INFO] [stderr]   --> src/store_path_automaton.rs:40:7
[INFO] [stderr]    |
[INFO] [stderr] 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] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `next` are never used
[INFO] [stderr]   --> src/store_path_automaton.rs:43:10
[INFO] [stderr]    |
[INFO] [stderr] 42 | impl StorePathAutomaton {
[INFO] [stderr]    | ----------------------- associated items in this implementation
[INFO] [stderr] 43 |   pub fn new() -> Self {
[INFO] [stderr]    |          ^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |   pub fn next(&mut self, byte: u8) -> bool {
[INFO] [stderr]    |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stderr]    --> src/lib.rs:155:19
[INFO] [stderr]     |
[INFO] [stderr] 155 |   use tokio::io::{AsyncRead, AsyncWrite};
[INFO] [stderr]     |                   ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> src/lib.rs:170:9
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let r = replace_nix_paths(&mut r, &mut w, repl).await?;
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: function `helper` is never used
[INFO] [stderr]    --> src/lib.rs:158:6
[INFO] [stderr]     |
[INFO] [stderr] 158 |   fn helper() {
[INFO] [stderr]     |      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `nar-alike-deduper` (lib) generated 13 warnings (run `cargo fix --lib -p nar-alike-deduper` to apply 4 suggestions)
[INFO] [stderr] warning: `nar-alike-deduper` (lib test) generated 13 warnings (10 duplicates) (run `cargo fix --lib -p nar-alike-deduper --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `async_channel::Receiver`
[INFO] [stderr]  --> src/bin/download-and-compute-dedup-hashes.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use async_channel::Receiver;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PgTypeInfo`
[INFO] [stderr]  --> src/bin/download-and-compute-dedup-hashes.rs:4:38
[INFO] [stderr]   |
[INFO] [stderr] 4 | use sqlx::{postgres::{PgPoolOptions, PgTypeInfo, types::Oid}, Row, Column};
[INFO] [stderr]   |                                      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `fmt::Write`
[INFO] [stderr]  --> src/bin/download-and-compute-dedup-hashes.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::{fmt::Write, collections::HashMap, sync::{atomic::{AtomicU64, Ordering}, Arc}};
[INFO] [stderr]   |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> src/bin/download-and-compute-dedup-hashes.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 91 |     let pool = pool.clone();
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]    --> src/bin/download-and-compute-dedup-hashes.rs:116:11
[INFO] [stderr]     |
[INFO] [stderr] 116 |       let s = row.columns().into_iter().filter_map(|c|{
[INFO] [stderr]     |           ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: function `process_hash2` is never used
[INFO] [stderr]  --> src/bin/download-and-compute-dedup-hashes.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 | async fn process_hash2(client: &reqwest::Client, hash: String, total: &Arc<AtomicU64>, i: &Arc<AtomicU64>) -> eyre::Result<()> {
[INFO] [stderr]   |          ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `rc::Rc` and `time::Duration`
[INFO] [stderr]  --> src/bin/substituer.rs:1:51
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{collections::HashMap, error::Error, io, rc::Rc, sync::Arc, time::Duration};
[INFO] [stderr]   |                                                   ^^^^^^             ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `MatchedPath`
[INFO] [stderr]  --> src/bin/substituer.rs:3:93
[INFO] [stderr]   |
[INFO] [stderr] 3 | use axum::{Router, routing::get, response::{IntoResponse, Response}, extract::{State, Path, MatchedPath}, http::{StatusCode, Request}, bo...
[INFO] [stderr]   |                                                                                             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::format`
[INFO] [stderr]  --> src/bin/substituer.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use chrono::format;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `nar_alike_deduper::AsyncSha256Hasher`
[INFO] [stderr]  --> src/bin/substituer.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use nar_alike_deduper::AsyncSha256Hasher;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `classify::ServerErrorsFailureClass`
[INFO] [stderr]   --> src/bin/substituer.rs:11:37
[INFO] [stderr]    |
[INFO] [stderr] 11 | use tower_http::{trace::TraceLayer, classify::ServerErrorsFailureClass};
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `MyState` is more private than the item `http_server`
[INFO] [stderr]    --> src/bin/substituer.rs:157:1
[INFO] [stderr]     |
[INFO] [stderr] 157 | pub async fn http_server(state: MyState) -> io::Result<()> {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `http_server` is reachable at visibility `pub`
[INFO] [stderr]     |
[INFO] [stderr] note: but type `MyState` is only usable at visibility `pub(crate)`
[INFO] [stderr]    --> src/bin/substituer.rs:152:1
[INFO] [stderr]     |
[INFO] [stderr] 152 | struct MyState {
[INFO] [stderr]     | ^^^^^^^^^^^^^^
[INFO] [stderr]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ResultExt` is never used
[INFO] [stderr]   --> src/bin/substituer.rs:21:7
[INFO] [stderr]    |
[INFO] [stderr] 21 | trait ResultExt<T: IntoResponse> {
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete` is never used
[INFO] [stderr]    --> src/bin/extract-drv-hashes.rs:183:10
[INFO] [stderr]     |
[INFO] [stderr] 183 | async fn delete() -> eyre::Result<()> {
[INFO] [stderr]     |          ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]   --> src/bin/api-server.rs:34:25
[INFO] [stderr]    |
[INFO] [stderr] 34 | async fn get_path(State(state): State<()>, Path(params): Path<Params>) -> impl IntoResponse {
[INFO] [stderr]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `nar-alike-deduper` (bin "download-and-compute-dedup-hashes" test) generated 6 warnings (run `cargo fix --bin "download-and-compute-dedup-hashes" --tests` to apply 3 suggestions)
[INFO] [stderr] warning: `nar-alike-deduper` (bin "substituer" test) generated 7 warnings (run `cargo fix --bin "substituer" --tests` to apply 5 suggestions)
[INFO] [stderr] warning: `nar-alike-deduper` (bin "extract-drv-hashes" test) generated 1 warning
[INFO] [stderr] warning: `nar-alike-deduper` (bin "api-server" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nar_alike_deduper-369d7ec11aa56f7d)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stderr]      Running unittests src/bin/api-server.rs (/opt/rustwide/target/debug/deps/api_server-06318f4e547c891b)
[INFO] [stdout] test store_path_automaton::tests::matches ... ok
[INFO] [stdout] test store_path_automaton::tests::no_matches ... ok
[INFO] [stdout] test tests::test_replace_nix_paths ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/bin/download-and-compute-dedup-hashes.rs (/opt/rustwide/target/debug/deps/download_and_compute_dedup_hashes-1913773d899e660c)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/extract-drv-hashes.rs (/opt/rustwide/target/debug/deps/extract_drv_hashes-425da219efc35328)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/substituer.rs (/opt/rustwide/target/debug/deps/substituer-644fbfc2e074d44b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests nar_alike_deduper
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c29ee1e990733ea89c30c206dd65bb7f5bd9ee84c83f36cfce33e3a50e9c03fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c29ee1e990733ea89c30c206dd65bb7f5bd9ee84c83f36cfce33e3a50e9c03fc", kill_on_drop: false }`
[INFO] [stdout] c29ee1e990733ea89c30c206dd65bb7f5bd9ee84c83f36cfce33e3a50e9c03fc
