[INFO] fetching crate cargolifter-backend-gitlab 0.2.0... [INFO] testing cargolifter-backend-gitlab-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cargolifter-backend-gitlab 0.2.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargolifter-backend-gitlab 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 183 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b3409a8781edc4a5ef444bcead3e78077de863bbe62531885793c5952badd1e [INFO] running `Command { std: "docker" "start" "-a" "9b3409a8781edc4a5ef444bcead3e78077de863bbe62531885793c5952badd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b3409a8781edc4a5ef444bcead3e78077de863bbe62531885793c5952badd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b3409a8781edc4a5ef444bcead3e78077de863bbe62531885793c5952badd1e", kill_on_drop: false }` [INFO] [stdout] 9b3409a8781edc4a5ef444bcead3e78077de863bbe62531885793c5952badd1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4001ba9d2f50bb17afd95e025a5d515674945d355903eca40780983137bd5bc3 [INFO] running `Command { std: "docker" "start" "-a" "4001ba9d2f50bb17afd95e025a5d515674945d355903eca40780983137bd5bc3", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [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 http v0.2.12 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [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_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [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 serde_json v1.0.143 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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-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 42.82s [INFO] running `Command { std: "docker" "inspect" "4001ba9d2f50bb17afd95e025a5d515674945d355903eca40780983137bd5bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4001ba9d2f50bb17afd95e025a5d515674945d355903eca40780983137bd5bc3", kill_on_drop: false }` [INFO] [stdout] 4001ba9d2f50bb17afd95e025a5d515674945d355903eca40780983137bd5bc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a613411d60b45c0952a936c39c2cafdef3d69fb8170fda4399201608d657e913 [INFO] running `Command { std: "docker" "start" "-a" "a613411d60b45c0952a936c39c2cafdef3d69fb8170fda4399201608d657e913", kill_on_drop: false }` [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] [stderr] Compiling cargolifter-backend-gitlab v0.2.0 (/opt/rustwide/workdir) [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 1.67s [INFO] running `Command { std: "docker" "inspect" "a613411d60b45c0952a936c39c2cafdef3d69fb8170fda4399201608d657e913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a613411d60b45c0952a936c39c2cafdef3d69fb8170fda4399201608d657e913", kill_on_drop: false }` [INFO] [stdout] a613411d60b45c0952a936c39c2cafdef3d69fb8170fda4399201608d657e913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b819a4e8fd6e04b6f06b10b78b3cd0b694b3bd55dc72f1c54742c8a7b36143d8 [INFO] running `Command { std: "docker" "start" "-a" "b819a4e8fd6e04b6f06b10b78b3cd0b694b3bd55dc72f1c54742c8a7b36143d8", 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.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargolifter_backend_gitlab-4381bc49ea42479b) [INFO] [stdout] [INFO] [stderr] Doc-tests cargolifter_backend_gitlab [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" "b819a4e8fd6e04b6f06b10b78b3cd0b694b3bd55dc72f1c54742c8a7b36143d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b819a4e8fd6e04b6f06b10b78b3cd0b694b3bd55dc72f1c54742c8a7b36143d8", kill_on_drop: false }` [INFO] [stdout] b819a4e8fd6e04b6f06b10b78b3cd0b694b3bd55dc72f1c54742c8a7b36143d8