[INFO] fetching crate rust-cnb 0.1.2... [INFO] testing rust-cnb-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rust-cnb 0.1.2 into /workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-cnb 0.1.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f37b8c46e2e10f5ee7dd188a29302a6d2d2512190371b8d9844d7bc252a90c28 [INFO] running `Command { std: "docker" "start" "-a" "f37b8c46e2e10f5ee7dd188a29302a6d2d2512190371b8d9844d7bc252a90c28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f37b8c46e2e10f5ee7dd188a29302a6d2d2512190371b8d9844d7bc252a90c28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37b8c46e2e10f5ee7dd188a29302a6d2d2512190371b8d9844d7bc252a90c28", kill_on_drop: false }` [INFO] [stdout] f37b8c46e2e10f5ee7dd188a29302a6d2d2512190371b8d9844d7bc252a90c28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89709472c1782519f92e3ba1fff772114e605effc3f12a5dda9ce08d4f9ede8e [INFO] running `Command { std: "docker" "start" "-a" "89709472c1782519f92e3ba1fff772114e605effc3f12a5dda9ce08d4f9ede8e", 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 log v0.4.28 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde v1.0.228 [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 icu_properties v2.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [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 tokio v1.48.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [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 31.60s [INFO] running `Command { std: "docker" "inspect" "89709472c1782519f92e3ba1fff772114e605effc3f12a5dda9ce08d4f9ede8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89709472c1782519f92e3ba1fff772114e605effc3f12a5dda9ce08d4f9ede8e", kill_on_drop: false }` [INFO] [stdout] 89709472c1782519f92e3ba1fff772114e605effc3f12a5dda9ce08d4f9ede8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b4dbb16d04b28fbb8469231cf1ebcd11ea3b32417a5fa52aef6f6d697f8df92 [INFO] running `Command { std: "docker" "start" "-a" "6b4dbb16d04b28fbb8469231cf1ebcd11ea3b32417a5fa52aef6f6d697f8df92", 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] [stderr] Compiling rust-cnb v0.1.2 (/opt/rustwide/workdir) [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] [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.34s [INFO] running `Command { std: "docker" "inspect" "6b4dbb16d04b28fbb8469231cf1ebcd11ea3b32417a5fa52aef6f6d697f8df92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4dbb16d04b28fbb8469231cf1ebcd11ea3b32417a5fa52aef6f6d697f8df92", kill_on_drop: false }` [INFO] [stdout] 6b4dbb16d04b28fbb8469231cf1ebcd11ea3b32417a5fa52aef6f6d697f8df92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5392cceec452418715338241ee91da847995f34ba5a7d1a8c394fbcd59ed6a88 [INFO] running `Command { std: "docker" "start" "-a" "5392cceec452418715338241ee91da847995f34ba5a7d1a8c394fbcd59ed6a88", 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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_cnb-7277b07c2c6c068d) [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 rust_cnb [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" "5392cceec452418715338241ee91da847995f34ba5a7d1a8c394fbcd59ed6a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5392cceec452418715338241ee91da847995f34ba5a7d1a8c394fbcd59ed6a88", kill_on_drop: false }` [INFO] [stdout] 5392cceec452418715338241ee91da847995f34ba5a7d1a8c394fbcd59ed6a88