[INFO] fetching crate freighter-registry 0.3.0... [INFO] testing freighter-registry-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate freighter-registry 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate freighter-registry 0.3.0 [INFO] finished tweaking crates.io crate freighter-registry 0.3.0 [INFO] tweaked toml for crates.io crate freighter-registry 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate freighter-registry 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate freighter-registry 0.3.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v4.2.1 [INFO] [stderr] Downloaded git2-curl v0.19.0 [INFO] [stderr] Downloaded tokio-test v0.4.3 [INFO] [stderr] Downloaded async-trait v0.1.75 [INFO] [stderr] Downloaded anstream v0.6.5 [INFO] [stderr] Downloaded anyhow v1.0.76 [INFO] [stderr] Downloaded clap v4.4.11 [INFO] [stderr] Downloaded curl v0.4.44 [INFO] [stderr] Downloaded warp v0.3.6 [INFO] [stderr] Downloaded log4rs v1.2.0 [INFO] [stderr] Downloaded clap_builder v4.4.11 [INFO] [stderr] Downloaded git2 v0.18.1 [INFO] [stderr] Downloaded tokio v1.35.1 [INFO] [stderr] Downloaded libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Downloaded curl-sys v0.4.70+curl-8.5.0 [INFO] [stderr] Downloaded openssl-src v300.2.1+3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49bdafc0ae740a3c5fb0c786c0dcc312da9a9803d86e06392d5312f6973091c6 [INFO] running `Command { std: "docker" "start" "-a" "49bdafc0ae740a3c5fb0c786c0dcc312da9a9803d86e06392d5312f6973091c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49bdafc0ae740a3c5fb0c786c0dcc312da9a9803d86e06392d5312f6973091c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49bdafc0ae740a3c5fb0c786c0dcc312da9a9803d86e06392d5312f6973091c6", kill_on_drop: false }` [INFO] [stdout] 49bdafc0ae740a3c5fb0c786c0dcc312da9a9803d86e06392d5312f6973091c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e253bd3ca17988e125e1ee39f86aa9d78a33e29dec9cddba689305dacf74891a [INFO] running `Command { std: "docker" "start" "-a" "e253bd3ca17988e125e1ee39f86aa9d78a33e29dec9cddba689305dacf74891a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl-src v300.2.1+3.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling curl-sys v0.4.70+curl-8.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling async-trait v0.1.75 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling winnow v0.5.30 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling thread-id v4.2.1 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling clap v4.4.11 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-test v0.4.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling log4rs v1.2.0 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling warp v0.3.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling git2 v0.18.1 [INFO] [stderr] Compiling git2-curl v0.19.0 [INFO] [stderr] Compiling freighter-registry v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ArgMatches` [INFO] [stdout] --> src/commands/command_prelude.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | pub use clap::{value_parser, Arg, ArgAction, ArgMatches}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/errors.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FreighterError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | pub error: Option, [INFO] [stdout] 15 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FreighterError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `manifest_version` and `date` are never read [INFO] [stdout] --> src/handler/channel.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 33 | #[serde(alias = "manifest-version")] [INFO] [stdout] 34 | pub manifest_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Channel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/handler/channel.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Pkg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 41 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pkg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available` is never read [INFO] [stdout] --> src/handler/channel.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Target { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 47 | pub available: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7m 19s [INFO] running `Command { std: "docker" "inspect" "e253bd3ca17988e125e1ee39f86aa9d78a33e29dec9cddba689305dacf74891a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e253bd3ca17988e125e1ee39f86aa9d78a33e29dec9cddba689305dacf74891a", kill_on_drop: false }` [INFO] [stdout] e253bd3ca17988e125e1ee39f86aa9d78a33e29dec9cddba689305dacf74891a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7a47f794ef163f90477e53b99b294f66e42c4c1f810379d7f2c571809ecdf0cb [INFO] running `Command { std: "docker" "start" "-a" "7a47f794ef163f90477e53b99b294f66e42c4c1f810379d7f2c571809ecdf0cb", kill_on_drop: false }` [INFO] [stderr] Compiling freighter-registry v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ArgMatches` [INFO] [stdout] --> src/commands/command_prelude.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | pub use clap::{value_parser, Arg, ArgAction, ArgMatches}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/handler/index.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let index = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/handler/index.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | let index = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/errors.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FreighterError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | pub error: Option, [INFO] [stdout] 15 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FreighterError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `manifest_version` and `date` are never read [INFO] [stdout] --> src/handler/channel.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 33 | #[serde(alias = "manifest-version")] [INFO] [stdout] 34 | pub manifest_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Channel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/handler/channel.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Pkg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 41 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pkg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available` is never read [INFO] [stdout] --> src/handler/channel.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Target { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 47 | pub available: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.99s [INFO] running `Command { std: "docker" "inspect" "7a47f794ef163f90477e53b99b294f66e42c4c1f810379d7f2c571809ecdf0cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a47f794ef163f90477e53b99b294f66e42c4c1f810379d7f2c571809ecdf0cb", kill_on_drop: false }` [INFO] [stdout] 7a47f794ef163f90477e53b99b294f66e42c4c1f810379d7f2c571809ecdf0cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4d27edc88039f597fddc4bb7403166079adc36b5c1fffdac79dffa524cba341f [INFO] running `Command { std: "docker" "start" "-a" "4d27edc88039f597fddc4bb7403166079adc36b5c1fffdac79dffa524cba341f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ArgMatches` [INFO] [stderr] --> src/commands/command_prelude.rs:7:46 [INFO] [stderr] | [INFO] [stderr] 7 | pub use clap::{value_parser, Arg, ArgAction, ArgMatches}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/handler/index.rs:516:13 [INFO] [stderr] | [INFO] [stderr] 516 | let index = [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/handler/index.rs:526:13 [INFO] [stderr] | [INFO] [stderr] 526 | let index = [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: field `code` is never read [INFO] [stderr] --> src/errors.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct FreighterError { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 14 | pub error: Option, [INFO] [stderr] 15 | pub code: i32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FreighterError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `manifest_version` and `date` are never read [INFO] [stderr] --> src/handler/channel.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Channel { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 33 | #[serde(alias = "manifest-version")] [INFO] [stderr] 34 | pub manifest_version: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub date: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Channel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `version` is never read [INFO] [stderr] --> src/handler/channel.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Pkg { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 41 | pub version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Pkg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `available` is never read [INFO] [stderr] --> src/handler/channel.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Target { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 47 | pub available: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `freighter-registry` (bin "freighter-registry" test) generated 7 warnings (run `cargo fix --bin "freighter-registry" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freighter_registry-57cf04940e86194b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test handler::index::tests::test_downloads ... ok [INFO] [stdout] test handler::index::tests::test_clone ... ok [INFO] [stdout] test download::tests::test_huaweicloud_url_serial ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4d27edc88039f597fddc4bb7403166079adc36b5c1fffdac79dffa524cba341f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d27edc88039f597fddc4bb7403166079adc36b5c1fffdac79dffa524cba341f", kill_on_drop: false }` [INFO] [stdout] 4d27edc88039f597fddc4bb7403166079adc36b5c1fffdac79dffa524cba341f