[INFO] fetching crate cargolifter-backend-gitea 0.1.0... [INFO] testing cargolifter-backend-gitea-0.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate cargolifter-backend-gitea 0.1.0 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargolifter-backend-gitea 0.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargolifter-core v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea691a04a6b5039e0c55835fb71ddbfadb38de27db73f688df5e8353064d210 [INFO] running `Command { std: "docker" "start" "-a" "4ea691a04a6b5039e0c55835fb71ddbfadb38de27db73f688df5e8353064d210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea691a04a6b5039e0c55835fb71ddbfadb38de27db73f688df5e8353064d210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea691a04a6b5039e0c55835fb71ddbfadb38de27db73f688df5e8353064d210", kill_on_drop: false }` [INFO] [stdout] 4ea691a04a6b5039e0c55835fb71ddbfadb38de27db73f688df5e8353064d210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c428ce2665e8daac3fcc9fcc45d303577937ffb0fcb0cf34ca6aec18db6a8de [INFO] running `Command { std: "docker" "start" "-a" "5c428ce2665e8daac3fcc9fcc45d303577937ffb0fcb0cf34ca6aec18db6a8de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [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 foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [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 digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling ipnet v2.11.0 [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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [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_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections 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 tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling url v2.5.7 [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)]` 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 23s [INFO] running `Command { std: "docker" "inspect" "5c428ce2665e8daac3fcc9fcc45d303577937ffb0fcb0cf34ca6aec18db6a8de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c428ce2665e8daac3fcc9fcc45d303577937ffb0fcb0cf34ca6aec18db6a8de", kill_on_drop: false }` [INFO] [stdout] 5c428ce2665e8daac3fcc9fcc45d303577937ffb0fcb0cf34ca6aec18db6a8de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc41ba92d5d9f176526d8332c29acda5074de88b3b3599fa239c7a6e64afdbf7 [INFO] running `Command { std: "docker" "start" "-a" "fc41ba92d5d9f176526d8332c29acda5074de88b3b3599fa239c7a6e64afdbf7", 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)]` 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] [stderr] Compiling cargolifter-backend-gitea v0.1.0 (/opt/rustwide/workdir) [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] [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)]` 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 1.48s [INFO] running `Command { std: "docker" "inspect" "fc41ba92d5d9f176526d8332c29acda5074de88b3b3599fa239c7a6e64afdbf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc41ba92d5d9f176526d8332c29acda5074de88b3b3599fa239c7a6e64afdbf7", kill_on_drop: false }` [INFO] [stdout] fc41ba92d5d9f176526d8332c29acda5074de88b3b3599fa239c7a6e64afdbf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29bfe3438f0dabc80ff22e5c5d256f136a0f022b0a01f8811094438baa465977 [INFO] running `Command { std: "docker" "start" "-a" "29bfe3438f0dabc80ff22e5c5d256f136a0f022b0a01f8811094438baa465977", 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)]` 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.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargolifter_backend_gitea-5d02cb0439f752aa) [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" "29bfe3438f0dabc80ff22e5c5d256f136a0f022b0a01f8811094438baa465977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29bfe3438f0dabc80ff22e5c5d256f136a0f022b0a01f8811094438baa465977", kill_on_drop: false }` [INFO] [stdout] 29bfe3438f0dabc80ff22e5c5d256f136a0f022b0a01f8811094438baa465977