[INFO] fetching crate rust-cnb 0.1.2... [INFO] testing rust-cnb-0.1.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rust-cnb 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rust-cnb 0.1.2 [INFO] finished tweaking crates.io crate rust-cnb 0.1.2 [INFO] tweaked toml for crates.io crate rust-cnb 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-cnb 0.1.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-cnb 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.55 [INFO] [stderr] Downloaded cc v1.2.47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e91e8f90f9c113b787f9ee2356fbd8e3952d60b489b3df209963ca93be579dd8 [INFO] running `Command { std: "docker" "start" "-a" "e91e8f90f9c113b787f9ee2356fbd8e3952d60b489b3df209963ca93be579dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e91e8f90f9c113b787f9ee2356fbd8e3952d60b489b3df209963ca93be579dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e91e8f90f9c113b787f9ee2356fbd8e3952d60b489b3df209963ca93be579dd8", kill_on_drop: false }` [INFO] [stdout] e91e8f90f9c113b787f9ee2356fbd8e3952d60b489b3df209963ca93be579dd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d52b4e6865ee6de7f276b9dd6363f4b7ea127ac8f1d1b1fcad02fbb774616082 [INFO] running `Command { std: "docker" "start" "-a" "d52b4e6865ee6de7f276b9dd6363f4b7ea127ac8f1d1b1fcad02fbb774616082", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.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 rust-cnb v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ApiError` and `Result` [INFO] [stdout] --> src/client.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{ApiError, Result}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/security.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/assets.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/wiki.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/organizations.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/knowledge_base.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/build.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/workspace.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/starring.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/missions.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/repositories.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/event.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/issues.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ai.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/badge.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/releases.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/activities.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/followers.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/git_settings.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/repo_labels.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/git.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/pulls.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/users.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/artifactory.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url` and `client` are never read [INFO] [stdout] --> src/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ApiClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 31 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.26s [INFO] running `Command { std: "docker" "inspect" "d52b4e6865ee6de7f276b9dd6363f4b7ea127ac8f1d1b1fcad02fbb774616082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d52b4e6865ee6de7f276b9dd6363f4b7ea127ac8f1d1b1fcad02fbb774616082", kill_on_drop: false }` [INFO] [stdout] d52b4e6865ee6de7f276b9dd6363f4b7ea127ac8f1d1b1fcad02fbb774616082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa410900433f8003ceea8177bf79da00f4c3f28501ebae1245eea622d8adac21 [INFO] running `Command { std: "docker" "start" "-a" "fa410900433f8003ceea8177bf79da00f4c3f28501ebae1245eea622d8adac21", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ApiError` and `Result` [INFO] [stdout] --> src/client.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{ApiError, Result}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/security.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/assets.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/wiki.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/organizations.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/knowledge_base.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/build.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/workspace.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/starring.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/missions.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/repositories.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/event.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/issues.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ai.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/badge.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/releases.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/activities.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/followers.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-cnb v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/git_settings.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/repo_labels.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/git.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/pulls.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/users.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/artifactory.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url` and `client` are never read [INFO] [stdout] --> src/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ApiClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 31 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiError` and `Result` [INFO] [stdout] --> src/client.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{ApiError, Result}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/security.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/assets.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/wiki.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/organizations.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/knowledge_base.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/build.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/workspace.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/starring.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/missions.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/repositories.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/event.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/issues.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/ai.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/badge.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/releases.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/activities.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/followers.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/git_settings.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/repo_labels.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/git.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/pulls.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/users.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/artifactory.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url` and `client` are never read [INFO] [stdout] --> src/client.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ApiClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 31 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.25s [INFO] running `Command { std: "docker" "inspect" "fa410900433f8003ceea8177bf79da00f4c3f28501ebae1245eea622d8adac21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa410900433f8003ceea8177bf79da00f4c3f28501ebae1245eea622d8adac21", kill_on_drop: false }` [INFO] [stdout] fa410900433f8003ceea8177bf79da00f4c3f28501ebae1245eea622d8adac21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59e4b1782c2ba63a09a238ce3c55c891a474ac03435db79a355fdefbb8d5fbb9 [INFO] running `Command { std: "docker" "start" "-a" "59e4b1782c2ba63a09a238ce3c55c891a474ac03435db79a355fdefbb8d5fbb9", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ApiError` and `Result` [INFO] [stderr] --> src/client.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::error::{ApiError, Result}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:92:28 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/security.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/assets.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/wiki.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/organizations.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/knowledge_base.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/build.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/workspace.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/starring.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/missions.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/repositories.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/event.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/issues.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/ai.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/badge.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/releases.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/activities.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/followers.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/git_settings.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/repo_labels.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/git.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/pulls.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/users.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/artifactory.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn with_auth(self, token: &str) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: fields `base_url` and `client` are never read [INFO] [stderr] --> src/client.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct ApiClient { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 31 | base_url: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 32 | client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-cnb` (lib) generated 26 warnings (run `cargo fix --lib -p rust-cnb` to apply 25 suggestions) [INFO] [stderr] warning: `rust-cnb` (lib test) generated 26 warnings (26 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/rust_cnb-7277b07c2c6c068d) [INFO] [stdout] [INFO] [stderr] Doc-tests rust_cnb [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" "59e4b1782c2ba63a09a238ce3c55c891a474ac03435db79a355fdefbb8d5fbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e4b1782c2ba63a09a238ce3c55c891a474ac03435db79a355fdefbb8d5fbb9", kill_on_drop: false }` [INFO] [stdout] 59e4b1782c2ba63a09a238ce3c55c891a474ac03435db79a355fdefbb8d5fbb9