[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/d5fa770ca7f17843035027bfde33e0b57c49a332 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulGrandperrin%2Fnar-alike-deduper" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PaulGrandperrin/nar-alike-deduper on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-3-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bafc2a3cf41d544e0bc5fafc14637e06e3064a4e0dad3e3f7fb88421b4d5e26f [INFO] running `Command { std: "docker" "start" "-a" "bafc2a3cf41d544e0bc5fafc14637e06e3064a4e0dad3e3f7fb88421b4d5e26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bafc2a3cf41d544e0bc5fafc14637e06e3064a4e0dad3e3f7fb88421b4d5e26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafc2a3cf41d544e0bc5fafc14637e06e3064a4e0dad3e3f7fb88421b4d5e26f", kill_on_drop: false }` [INFO] [stdout] bafc2a3cf41d544e0bc5fafc14637e06e3064a4e0dad3e3f7fb88421b4d5e26f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ca13ec8b9f9700fc419d9fd3c570b1827713021de15dc287c51c97eb2750740 [INFO] running `Command { std: "docker" "start" "-a" "7ca13ec8b9f9700fc419d9fd3c570b1827713021de15dc287c51c97eb2750740", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.0.90 [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] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking nix-base32 v0.1.1 [INFO] [stderr] Compiling tempfile v3.10.1 [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 pin-project v1.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [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 either v1.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking 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 sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.26 [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)]` 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`, `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 for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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`, `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 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)]` 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> { [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 { [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 StorePathReader { [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: 13 warnings emitted [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 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: `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) -> 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: `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) -> 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 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> { [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: 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: 1 warning emitted [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: fields `reader` and `automaton` are never read [INFO] [stdout] --> src/store_path_automaton.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | struct StorePathReader { [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 StorePathReader { [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: 13 warnings emitted [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: 1 warning emitted [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, i: &Arc) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/download-and-compute-dedup-hashes.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 90 | let recv = recv.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let pool = pool.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let total = total.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let i = i.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | [INFO] [stdout] 95 | tokio::task::spawn(async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 96 | | let client = reqwest::Client::new(); [INFO] [stdout] 97 | | [INFO] [stdout] 98 | | while let Ok(hash) = recv.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [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] [stderr] error: could not compile `nar-alike-deduper` (bin "download-and-compute-dedup-hashes" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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, i: &Arc) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/download-and-compute-dedup-hashes.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 90 | let recv = recv.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let pool = pool.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let total = total.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let i = i.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | [INFO] [stdout] 95 | tokio::task::spawn(async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 96 | | let client = reqwest::Client::new(); [INFO] [stdout] 97 | | [INFO] [stdout] 98 | | while let Ok(hash) = recv.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/extract-drv-hashes.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 104 | let recv: Receiver = recv.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let pool = pool.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let regex = Regex::new(r"^(.*?)-([^a-zA-Z].*)$").unwrap(); // mimics https://github.com/NixOS/nix/blob/0fb5024d8df46a47f5367c5b0a51f0... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | [INFO] [stdout] 111 | tokio::task::spawn(async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | while let Ok(drv) = recv.recv().await { [INFO] [stdout] 114 | | let r: eyre::Result<()> = async { [INFO] [stdout] ... | [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nar-alike-deduper` (bin "download-and-compute-dedup-hashes") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] error: could not compile `nar-alike-deduper` (bin "extract-drv-hashes" test) due to 2 previous errors; 1 warning emitted [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/extract-drv-hashes.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 104 | let recv: Receiver = recv.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let pool = pool.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let regex = Regex::new(r"^(.*?)-([^a-zA-Z].*)$").unwrap(); // mimics https://github.com/NixOS/nix/blob/0fb5024d8df46a47f5367c5b0a51f0... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | [INFO] [stdout] 111 | tokio::task::spawn(async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | while let Ok(drv) = recv.recv().await { [INFO] [stdout] 114 | | let r: eyre::Result<()> = async { [INFO] [stdout] ... | [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/substituer.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 39 | fn new(status: StatusCode, error: impl Into>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | error: error.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/substituer.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 39 | fn new(status: StatusCode, error: impl Into>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | error: error.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nar-alike-deduper` (bin "substituer" test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] error: could not compile `nar-alike-deduper` (bin "substituer") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] error: could not compile `nar-alike-deduper` (bin "extract-drv-hashes") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7ca13ec8b9f9700fc419d9fd3c570b1827713021de15dc287c51c97eb2750740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca13ec8b9f9700fc419d9fd3c570b1827713021de15dc287c51c97eb2750740", kill_on_drop: false }` [INFO] [stdout] 7ca13ec8b9f9700fc419d9fd3c570b1827713021de15dc287c51c97eb2750740