[INFO] fetching crate cargolifter-backend-gitea 0.1.0... [INFO] testing cargolifter-backend-gitea-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate cargolifter-backend-gitea 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate cargolifter-backend-gitea 0.1.0 [INFO] finished tweaking crates.io crate cargolifter-backend-gitea 0.1.0 [INFO] tweaked toml for crates.io crate cargolifter-backend-gitea 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargolifter-backend-gitea 0.1.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 176 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0efee206e3da0e9f396dd51a852b2630b557318f47cfa612a0263c43dedf75e3 [INFO] running `Command { std: "docker" "start" "-a" "0efee206e3da0e9f396dd51a852b2630b557318f47cfa612a0263c43dedf75e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0efee206e3da0e9f396dd51a852b2630b557318f47cfa612a0263c43dedf75e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0efee206e3da0e9f396dd51a852b2630b557318f47cfa612a0263c43dedf75e3", kill_on_drop: false }` [INFO] [stdout] 0efee206e3da0e9f396dd51a852b2630b557318f47cfa612a0263c43dedf75e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c07c707e80f6a7b9cebe7e9cd8c1bc31202aada7d64640d9488faf9061bdaa1 [INFO] running `Command { std: "docker" "start" "-a" "1c07c707e80f6a7b9cebe7e9cd8c1bc31202aada7d64640d9488faf9061bdaa1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling cargolifter-core v0.3.1 [INFO] [stderr] Compiling cargolifter-backend-gitea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `sha` and `url` are never read [INFO] [stdout] --> src/models/create_file.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Commit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | pub sha: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `commit` is never read [INFO] [stdout] --> src/models/create_file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub commit: Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` 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 `id` is never read [INFO] [stdout] --> src/models/create_merge_request.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/models/get_file.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sha` and `url` are never read [INFO] [stdout] --> src/models/update_file.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Commit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | pub sha: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` 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 `commit` is never read [INFO] [stdout] --> src/models/update_file.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | pub commit: Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:118:83 [INFO] [stdout] | [INFO] [stdout] 118 | match api::delete_branch(&self.host, token, &self.project_id, &branch_name.clone()).await { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "1c07c707e80f6a7b9cebe7e9cd8c1bc31202aada7d64640d9488faf9061bdaa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c07c707e80f6a7b9cebe7e9cd8c1bc31202aada7d64640d9488faf9061bdaa1", kill_on_drop: false }` [INFO] [stdout] 1c07c707e80f6a7b9cebe7e9cd8c1bc31202aada7d64640d9488faf9061bdaa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64985b9ac734fb33722e0c605063e6fc64efcb307c657d60d2313f7fa16e4a9c [INFO] running `Command { std: "docker" "start" "-a" "64985b9ac734fb33722e0c605063e6fc64efcb307c657d60d2313f7fa16e4a9c", kill_on_drop: false }` [INFO] [stdout] warning: fields `sha` and `url` are never read [INFO] [stdout] --> src/models/create_file.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Commit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | pub sha: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `commit` is never read [INFO] [stdout] --> src/models/create_file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub commit: Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` 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 `id` is never read [INFO] [stdout] --> src/models/create_merge_request.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/models/get_file.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sha` and `url` are never read [INFO] [stdout] --> src/models/update_file.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Commit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | pub sha: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` 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 `commit` is never read [INFO] [stdout] --> src/models/update_file.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | pub commit: Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:118:83 [INFO] [stdout] | [INFO] [stdout] 118 | match api::delete_branch(&self.host, token, &self.project_id, &branch_name.clone()).await { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cargolifter-backend-gitea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `sha` and `url` are never read [INFO] [stdout] --> src/models/create_file.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Commit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | pub sha: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `commit` is never read [INFO] [stdout] --> src/models/create_file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub commit: Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` 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 `id` is never read [INFO] [stdout] --> src/models/create_merge_request.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/models/get_file.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sha` and `url` are never read [INFO] [stdout] --> src/models/update_file.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Commit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | pub sha: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` 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 `commit` is never read [INFO] [stdout] --> src/models/update_file.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | pub commit: Commit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:118:83 [INFO] [stdout] | [INFO] [stdout] 118 | match api::delete_branch(&self.host, token, &self.project_id, &branch_name.clone()).await { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "64985b9ac734fb33722e0c605063e6fc64efcb307c657d60d2313f7fa16e4a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64985b9ac734fb33722e0c605063e6fc64efcb307c657d60d2313f7fa16e4a9c", kill_on_drop: false }` [INFO] [stdout] 64985b9ac734fb33722e0c605063e6fc64efcb307c657d60d2313f7fa16e4a9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf4dcce41dd1f270bc242e9f8d0dc533197e2a1175583af655b15841013f16d1 [INFO] running `Command { std: "docker" "start" "-a" "bf4dcce41dd1f270bc242e9f8d0dc533197e2a1175583af655b15841013f16d1", kill_on_drop: false }` [INFO] [stderr] warning: fields `sha` and `url` are never read [INFO] [stderr] --> src/models/create_file.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Commit { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 16 | pub sha: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 17 | pub url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `commit` is never read [INFO] [stderr] --> src/models/create_file.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Response { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 22 | pub commit: Commit, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/models/create_merge_request.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Response { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 12 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `path` are never read [INFO] [stderr] --> src/models/get_file.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 5 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 6 | pub path: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `sha` and `url` are never read [INFO] [stderr] --> src/models/update_file.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Commit { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 19 | pub sha: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 20 | pub url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `commit` is never read [INFO] [stderr] --> src/models/update_file.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Response { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 25 | pub commit: Commit, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:118:83 [INFO] [stderr] | [INFO] [stderr] 118 | match api::delete_branch(&self.host, token, &self.project_id, &branch_name.clone()).await { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `cargolifter-backend-gitea` (lib) generated 7 warnings (run `cargo fix --lib -p cargolifter-backend-gitea` to apply 1 suggestion) [INFO] [stderr] warning: `cargolifter-backend-gitea` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargolifter_backend_gitea-61e2bf5ff775dab7) [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] Doc-tests cargolifter_backend_gitea [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" "bf4dcce41dd1f270bc242e9f8d0dc533197e2a1175583af655b15841013f16d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf4dcce41dd1f270bc242e9f8d0dc533197e2a1175583af655b15841013f16d1", kill_on_drop: false }` [INFO] [stdout] bf4dcce41dd1f270bc242e9f8d0dc533197e2a1175583af655b15841013f16d1