[INFO] fetching crate cargolifter-backend-gitlab 0.2.0... [INFO] testing cargolifter-backend-gitlab-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cargolifter-backend-gitlab 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cargolifter-backend-gitlab 0.2.0 [INFO] finished tweaking crates.io crate cargolifter-backend-gitlab 0.2.0 [INFO] tweaked toml for crates.io crate cargolifter-backend-gitlab 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargolifter-backend-gitlab 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 175 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e03a989565e63f6cf1babe234e543c0956826ec198e919d71d6616837652c517 [INFO] running `Command { std: "docker" "start" "-a" "e03a989565e63f6cf1babe234e543c0956826ec198e919d71d6616837652c517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e03a989565e63f6cf1babe234e543c0956826ec198e919d71d6616837652c517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03a989565e63f6cf1babe234e543c0956826ec198e919d71d6616837652c517", kill_on_drop: false }` [INFO] [stdout] e03a989565e63f6cf1babe234e543c0956826ec198e919d71d6616837652c517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbff4670b3bc4432fbfbaa8759d0b1e0b0cb428d35f2e620a69cfb8c5aa230c2 [INFO] running `Command { std: "docker" "start" "-a" "fbff4670b3bc4432fbfbaa8759d0b1e0b0cb428d35f2e620a69cfb8c5aa230c2", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tokio v1.48.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-gitlab v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `iid`, `project_id`, and `title` are never read [INFO] [stdout] --> src/models/accept_merge_request.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub iid: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | pub project_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub title: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_path` and `branch` are never read [INFO] [stdout] --> src/models/create_file.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | pub branch: 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 `id`, `project_id`, and `title` are never read [INFO] [stdout] --> src/models/create_merge_request.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 34 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | pub iid: u64, [INFO] [stdout] 36 | pub project_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub title: 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: multiple fields 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 file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub r#ref: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub blob_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub commit_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub last_commit_id: 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 `file_path` and `branch` are never read [INFO] [stdout] --> src/models/update_file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub branch: 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:124:77 [INFO] [stdout] | [INFO] [stdout] 124 | match api::delete_branch(&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 15.08s [INFO] running `Command { std: "docker" "inspect" "fbff4670b3bc4432fbfbaa8759d0b1e0b0cb428d35f2e620a69cfb8c5aa230c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbff4670b3bc4432fbfbaa8759d0b1e0b0cb428d35f2e620a69cfb8c5aa230c2", kill_on_drop: false }` [INFO] [stdout] fbff4670b3bc4432fbfbaa8759d0b1e0b0cb428d35f2e620a69cfb8c5aa230c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f54388e83dea1a84942c03b9895c0f7ce5d80bb96e30d78e671d431ccc44e5aa [INFO] running `Command { std: "docker" "start" "-a" "f54388e83dea1a84942c03b9895c0f7ce5d80bb96e30d78e671d431ccc44e5aa", kill_on_drop: false }` [INFO] [stderr] Compiling cargolifter-backend-gitlab v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `iid`, `project_id`, and `title` are never read [INFO] [stdout] --> src/models/accept_merge_request.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub iid: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | pub project_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub title: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_path` and `branch` are never read [INFO] [stdout] --> src/models/create_file.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | pub branch: 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 `id`, `project_id`, and `title` are never read [INFO] [stdout] --> src/models/create_merge_request.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 34 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | pub iid: u64, [INFO] [stdout] 36 | pub project_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub title: 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: multiple fields 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 file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub r#ref: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub blob_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub commit_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub last_commit_id: 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 `file_path` and `branch` are never read [INFO] [stdout] --> src/models/update_file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub branch: 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:124:77 [INFO] [stdout] | [INFO] [stdout] 124 | match api::delete_branch(&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 `id`, `iid`, `project_id`, and `title` are never read [INFO] [stdout] --> src/models/accept_merge_request.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub iid: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | pub project_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub title: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_path` and `branch` are never read [INFO] [stdout] --> src/models/create_file.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | pub branch: 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 `id`, `project_id`, and `title` are never read [INFO] [stdout] --> src/models/create_merge_request.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 34 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | pub iid: u64, [INFO] [stdout] 36 | pub project_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub title: 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: multiple fields 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 file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub r#ref: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub blob_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub commit_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub last_commit_id: 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 `file_path` and `branch` are never read [INFO] [stdout] --> src/models/update_file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub branch: 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:124:77 [INFO] [stdout] | [INFO] [stdout] 124 | match api::delete_branch(&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.48s [INFO] running `Command { std: "docker" "inspect" "f54388e83dea1a84942c03b9895c0f7ce5d80bb96e30d78e671d431ccc44e5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54388e83dea1a84942c03b9895c0f7ce5d80bb96e30d78e671d431ccc44e5aa", kill_on_drop: false }` [INFO] [stdout] f54388e83dea1a84942c03b9895c0f7ce5d80bb96e30d78e671d431ccc44e5aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9055c6f2035951464b812c0e553618adc64d9a28f95baaf3b62d129c7ba389e8 [INFO] running `Command { std: "docker" "start" "-a" "9055c6f2035951464b812c0e553618adc64d9a28f95baaf3b62d129c7ba389e8", kill_on_drop: false }` [INFO] [stderr] warning: fields `id`, `iid`, `project_id`, and `title` are never read [INFO] [stderr] --> src/models/accept_merge_request.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 22 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 23 | pub iid: i32, [INFO] [stderr] | ^^^ [INFO] [stderr] 24 | pub project_id: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 25 | pub title: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `file_path` and `branch` are never read [INFO] [stderr] --> src/models/create_file.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 20 | pub file_path: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 21 | pub branch: 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 `id`, `project_id`, and `title` are never read [INFO] [stderr] --> src/models/create_merge_request.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 34 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 35 | pub iid: u64, [INFO] [stderr] 36 | pub project_id: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 37 | pub title: 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: multiple fields 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 file_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | pub file_path: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | pub size: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | pub r#ref: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 12 | pub blob_id: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 13 | pub commit_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 14 | pub last_commit_id: 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 `file_path` and `branch` are never read [INFO] [stderr] --> src/models/update_file.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 22 | pub file_path: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 23 | pub branch: 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:124:77 [INFO] [stderr] | [INFO] [stderr] 124 | match api::delete_branch(&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-gitlab` (lib) generated 6 warnings (run `cargo fix --lib -p cargolifter-backend-gitlab` to apply 1 suggestion) [INFO] [stderr] warning: `cargolifter-backend-gitlab` (lib test) generated 6 warnings (6 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_gitlab-e242d8d6be544988) [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_gitlab [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" "9055c6f2035951464b812c0e553618adc64d9a28f95baaf3b62d129c7ba389e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9055c6f2035951464b812c0e553618adc64d9a28f95baaf3b62d129c7ba389e8", kill_on_drop: false }` [INFO] [stdout] 9055c6f2035951464b812c0e553618adc64d9a28f95baaf3b62d129c7ba389e8