[INFO] fetching crate cargolifter-backend-gitea 0.1.0... [INFO] testing cargolifter-backend-gitea-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cargolifter-backend-gitea 0.1.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargolifter-backend-gitea 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 174 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.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91c711e9607e5efdfcd9ba8e13d30ce03fbfea46270e5e209f87095c84dc0c8b [INFO] running `Command { std: "docker" "start" "-a" "91c711e9607e5efdfcd9ba8e13d30ce03fbfea46270e5e209f87095c84dc0c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91c711e9607e5efdfcd9ba8e13d30ce03fbfea46270e5e209f87095c84dc0c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c711e9607e5efdfcd9ba8e13d30ce03fbfea46270e5e209f87095c84dc0c8b", kill_on_drop: false }` [INFO] [stdout] 91c711e9607e5efdfcd9ba8e13d30ce03fbfea46270e5e209f87095c84dc0c8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b58e06d92718f949922640d251c08a3df6aaee0bc1fe0d42cba8919de97cb14 [INFO] running `Command { std: "docker" "start" "-a" "4b58e06d92718f949922640d251c08a3df6aaee0bc1fe0d42cba8919de97cb14", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling tokio-util v0.7.17 [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 23.07s [INFO] running `Command { std: "docker" "inspect" "4b58e06d92718f949922640d251c08a3df6aaee0bc1fe0d42cba8919de97cb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b58e06d92718f949922640d251c08a3df6aaee0bc1fe0d42cba8919de97cb14", kill_on_drop: false }` [INFO] [stdout] 4b58e06d92718f949922640d251c08a3df6aaee0bc1fe0d42cba8919de97cb14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38c3069907bf4809bf8a955ce950c3e14fa48e1adac12e5451ee66d8c10f8448 [INFO] running `Command { std: "docker" "start" "-a" "38c3069907bf4809bf8a955ce950c3e14fa48e1adac12e5451ee66d8c10f8448", kill_on_drop: false }` [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] [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.18s [INFO] running `Command { std: "docker" "inspect" "38c3069907bf4809bf8a955ce950c3e14fa48e1adac12e5451ee66d8c10f8448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38c3069907bf4809bf8a955ce950c3e14fa48e1adac12e5451ee66d8c10f8448", kill_on_drop: false }` [INFO] [stdout] 38c3069907bf4809bf8a955ce950c3e14fa48e1adac12e5451ee66d8c10f8448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f1c664d4365cfbd64cfd2daffab516b3e29415525d94c61549f8d6cadd1c1126 [INFO] running `Command { std: "docker" "start" "-a" "f1c664d4365cfbd64cfd2daffab516b3e29415525d94c61549f8d6cadd1c1126", 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.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargolifter_backend_gitea-dbb63f23f44fb98e) [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] [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" "f1c664d4365cfbd64cfd2daffab516b3e29415525d94c61549f8d6cadd1c1126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c664d4365cfbd64cfd2daffab516b3e29415525d94c61549f8d6cadd1c1126", kill_on_drop: false }` [INFO] [stdout] f1c664d4365cfbd64cfd2daffab516b3e29415525d94c61549f8d6cadd1c1126