[INFO] fetching crate kanuni 0.1.0... [INFO] testing kanuni-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate kanuni 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate kanuni 0.1.0 [INFO] finished tweaking crates.io crate kanuni 0.1.0 [INFO] tweaked toml for crates.io crate kanuni 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kanuni 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kanuni 0.1.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cc58da925e059b326a7fabebde3b6f7a30f551c0113f9bca5a75fcaa2ff924d [INFO] running `Command { std: "docker" "start" "-a" "0cc58da925e059b326a7fabebde3b6f7a30f551c0113f9bca5a75fcaa2ff924d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cc58da925e059b326a7fabebde3b6f7a30f551c0113f9bca5a75fcaa2ff924d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc58da925e059b326a7fabebde3b6f7a30f551c0113f9bca5a75fcaa2ff924d", kill_on_drop: false }` [INFO] [stdout] 0cc58da925e059b326a7fabebde3b6f7a30f551c0113f9bca5a75fcaa2ff924d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f908b8a0211a764a44254a7e03941013235156546d3bec1edb0b92b61bb18ee [INFO] running `Command { std: "docker" "start" "-a" "0f908b8a0211a764a44254a7e03941013235156546d3bec1edb0b92b61bb18ee", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.227 [INFO] [stderr] Compiling serde v1.0.227 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rtoolbox v0.0.3 [INFO] [stderr] Compiling rpassword v7.4.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling termion v4.0.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.227 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.2 [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 pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling chrono-humanize v0.2.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling comfy-table v7.2.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling clap_complete v4.5.58 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling kanuni v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/auth/api_key.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, 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 import: `StatusCode` [INFO] [stdout] --> src/auth/api_key.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use reqwest::{Client, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthTokens` and `UserInfo` [INFO] [stdout] --> src/auth/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | models::{AuthTokens, RefreshRequest, UserInfo}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/commands/auth.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_id`, `permissions`, and `created_at` are never read [INFO] [stdout] --> src/auth/api_key.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CreateApiKeyResponse { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 24 | pub key_id: Uuid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub expires_at: Option>, [INFO] [stdout] 31 | pub created_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateApiKeyResponse` 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 `id` and `permissions` are never read [INFO] [stdout] --> src/auth/api_key.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ApiKeyInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiKeyInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `revoke_key` is never used [INFO] [stdout] --> src/auth/api_key.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 52 | impl ApiKeyManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn revoke_key(&self, access_token: &str, key_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `login` is never used [INFO] [stdout] --> src/auth/client.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl AuthClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn login(&self, request: LoginRequest) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expires_in` is never read [INFO] [stdout] --> src/auth/device_flow.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DeviceFlowResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub expires_in: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceFlowResponse` 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 `token_type` and `scope` are never read [INFO] [stdout] --> src/auth/device_flow.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DeviceTokenResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub expires_in: i64, [INFO] [stdout] 40 | pub scope: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginRequest` is never constructed [INFO] [stdout] --> src/auth/models.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LoginRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginResponse` is never constructed [INFO] [stdout] --> src/auth/models.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> src/auth/models.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RefreshResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 27 | pub user: UserInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthTokens` is never constructed [INFO] [stdout] --> src/auth/models.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct AuthTokens { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.22s [INFO] running `Command { std: "docker" "inspect" "0f908b8a0211a764a44254a7e03941013235156546d3bec1edb0b92b61bb18ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f908b8a0211a764a44254a7e03941013235156546d3bec1edb0b92b61bb18ee", kill_on_drop: false }` [INFO] [stdout] 0f908b8a0211a764a44254a7e03941013235156546d3bec1edb0b92b61bb18ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85288dc883ad0530529f075aebe1dbacd18ca9e49a7c23812d2652c8f0f63eb4 [INFO] running `Command { std: "docker" "start" "-a" "85288dc883ad0530529f075aebe1dbacd18ca9e49a7c23812d2652c8f0f63eb4", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling kanuni v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/auth/api_key.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, 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 import: `StatusCode` [INFO] [stdout] --> src/auth/api_key.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use reqwest::{Client, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthTokens` and `UserInfo` [INFO] [stdout] --> src/auth/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | models::{AuthTokens, RefreshRequest, UserInfo}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/commands/auth.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_id`, `permissions`, and `created_at` are never read [INFO] [stdout] --> src/auth/api_key.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CreateApiKeyResponse { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 24 | pub key_id: Uuid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | pub expires_at: Option>, [INFO] [stdout] 31 | pub created_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateApiKeyResponse` 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 `id` and `permissions` are never read [INFO] [stdout] --> src/auth/api_key.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ApiKeyInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiKeyInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `revoke_key` is never used [INFO] [stdout] --> src/auth/api_key.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 52 | impl ApiKeyManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn revoke_key(&self, access_token: &str, key_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `login` is never used [INFO] [stdout] --> src/auth/client.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl AuthClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn login(&self, request: LoginRequest) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expires_in` is never read [INFO] [stdout] --> src/auth/device_flow.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DeviceFlowResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub expires_in: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceFlowResponse` 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 `token_type` and `scope` are never read [INFO] [stdout] --> src/auth/device_flow.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DeviceTokenResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub expires_in: i64, [INFO] [stdout] 40 | pub scope: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginRequest` is never constructed [INFO] [stdout] --> src/auth/models.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LoginRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginResponse` is never constructed [INFO] [stdout] --> src/auth/models.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> src/auth/models.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RefreshResponse { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 27 | pub user: UserInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthTokens` is never constructed [INFO] [stdout] --> src/auth/models.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct AuthTokens { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.53s [INFO] running `Command { std: "docker" "inspect" "85288dc883ad0530529f075aebe1dbacd18ca9e49a7c23812d2652c8f0f63eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85288dc883ad0530529f075aebe1dbacd18ca9e49a7c23812d2652c8f0f63eb4", kill_on_drop: false }` [INFO] [stdout] 85288dc883ad0530529f075aebe1dbacd18ca9e49a7c23812d2652c8f0f63eb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 016a0df2f98eb77530ac6449017712c8b009b71f84a9e184fc24f9953d4f6758 [INFO] running `Command { std: "docker" "start" "-a" "016a0df2f98eb77530ac6449017712c8b009b71f84a9e184fc24f9953d4f6758", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/auth/api_key.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `StatusCode` [INFO] [stderr] --> src/auth/api_key.rs:13:23 [INFO] [stderr] | [INFO] [stderr] 13 | use reqwest::{Client, StatusCode}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AuthTokens` and `UserInfo` [INFO] [stderr] --> src/auth/mod.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | models::{AuthTokens, RefreshRequest, UserInfo}, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/commands/auth.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `key_id`, `permissions`, and `created_at` are never read [INFO] [stderr] --> src/auth/api_key.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct CreateApiKeyResponse { [INFO] [stderr] | -------------------- fields in this struct [INFO] [stderr] 24 | pub key_id: Uuid, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub permissions: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 30 | pub expires_at: Option>, [INFO] [stderr] 31 | pub created_at: chrono::DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateApiKeyResponse` 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 `id` and `permissions` are never read [INFO] [stderr] --> src/auth/api_key.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct ApiKeyInfo { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 36 | pub id: Uuid, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub permissions: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiKeyInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `revoke_key` is never used [INFO] [stderr] --> src/auth/api_key.rs:259:18 [INFO] [stderr] | [INFO] [stderr] 52 | impl ApiKeyManager { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 259 | pub async fn revoke_key(&self, access_token: &str, key_id: Uuid) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `login` is never used [INFO] [stderr] --> src/auth/client.rs:21:18 [INFO] [stderr] | [INFO] [stderr] 11 | impl AuthClient { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub async fn login(&self, request: LoginRequest) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `expires_in` is never read [INFO] [stderr] --> src/auth/device_flow.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct DeviceFlowResponse { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub expires_in: i64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeviceFlowResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `token_type` and `scope` are never read [INFO] [stderr] --> src/auth/device_flow.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct DeviceTokenResponse { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | pub token_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 39 | pub expires_in: i64, [INFO] [stderr] 40 | pub scope: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeviceTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `LoginRequest` is never constructed [INFO] [stderr] --> src/auth/models.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct LoginRequest { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LoginResponse` is never constructed [INFO] [stderr] --> src/auth/models.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct LoginResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `user` is never read [INFO] [stderr] --> src/auth/models.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct RefreshResponse { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 27 | pub user: UserInfo, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RefreshResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `AuthTokens` is never constructed [INFO] [stderr] --> src/auth/models.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct AuthTokens { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kanuni` (bin "kanuni" test) generated 14 warnings (run `cargo fix --bin "kanuni" -p kanuni --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kanuni-ad3a4182b27bf423) [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" "016a0df2f98eb77530ac6449017712c8b009b71f84a9e184fc24f9953d4f6758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "016a0df2f98eb77530ac6449017712c8b009b71f84a9e184fc24f9953d4f6758", kill_on_drop: false }` [INFO] [stdout] 016a0df2f98eb77530ac6449017712c8b009b71f84a9e184fc24f9953d4f6758