[INFO] fetching crate kanuni 0.1.0... [INFO] testing kanuni-0.1.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate kanuni 0.1.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kanuni 0.1.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1992fac902268d82024c1fadcf27012d82277a926cd7566431e02a787b3625de [INFO] running `Command { std: "docker" "start" "-a" "1992fac902268d82024c1fadcf27012d82277a926cd7566431e02a787b3625de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1992fac902268d82024c1fadcf27012d82277a926cd7566431e02a787b3625de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1992fac902268d82024c1fadcf27012d82277a926cd7566431e02a787b3625de", kill_on_drop: false }` [INFO] [stdout] 1992fac902268d82024c1fadcf27012d82277a926cd7566431e02a787b3625de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07a03a11507210448b97bfed08c11697b813171d5fd2fb4cc2b6a9ec0d8044da [INFO] running `Command { std: "docker" "start" "-a" "07a03a11507210448b97bfed08c11697b813171d5fd2fb4cc2b6a9ec0d8044da", kill_on_drop: false }` [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 smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rtoolbox v0.0.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rpassword v7.4.0 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling termion v4.0.5 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [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 bitflags v2.9.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling tracing v0.1.41 [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 serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling comfy-table v7.2.1 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling chrono-humanize v0.2.3 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling clap_complete v4.5.58 [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)]` 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)]` 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: fields `user`, `access_token`, `refresh_token`, and `expires_in` are never read [INFO] [stdout] --> src/auth/models.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LoginResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 14 | pub user: UserInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub refresh_token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub expires_in: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginResponse` 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: 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 6m 22s [INFO] running `Command { std: "docker" "inspect" "07a03a11507210448b97bfed08c11697b813171d5fd2fb4cc2b6a9ec0d8044da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a03a11507210448b97bfed08c11697b813171d5fd2fb4cc2b6a9ec0d8044da", kill_on_drop: false }` [INFO] [stdout] 07a03a11507210448b97bfed08c11697b813171d5fd2fb4cc2b6a9ec0d8044da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e4189aeb5a417d04c770ff7f9ae937dd4b05fb1f4a30c3d822001ce0aa7df2f [INFO] running `Command { std: "docker" "start" "-a" "0e4189aeb5a417d04c770ff7f9ae937dd4b05fb1f4a30c3d822001ce0aa7df2f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling h2 v0.4.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 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 tracing-subscriber v0.3.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling mockito v1.7.0 [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)]` 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)]` 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: fields `user`, `access_token`, `refresh_token`, and `expires_in` are never read [INFO] [stdout] --> src/auth/models.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LoginResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 14 | pub user: UserInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub refresh_token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub expires_in: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginResponse` 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: 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 1m 49s [INFO] running `Command { std: "docker" "inspect" "0e4189aeb5a417d04c770ff7f9ae937dd4b05fb1f4a30c3d822001ce0aa7df2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e4189aeb5a417d04c770ff7f9ae937dd4b05fb1f4a30c3d822001ce0aa7df2f", kill_on_drop: false }` [INFO] [stdout] 0e4189aeb5a417d04c770ff7f9ae937dd4b05fb1f4a30c3d822001ce0aa7df2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e53fa32f398a6356f7a0a13733e22c273c4c29a89639403c59296474a9d6cba [INFO] running `Command { std: "docker" "start" "-a" "4e53fa32f398a6356f7a0a13733e22c273c4c29a89639403c59296474a9d6cba", 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)]` 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)]` 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: fields `user`, `access_token`, `refresh_token`, and `expires_in` are never read [INFO] [stderr] --> src/auth/models.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct LoginResponse { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 14 | pub user: UserInfo, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | pub access_token: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 16 | pub refresh_token: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 17 | pub expires_in: i64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoginResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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 13 warnings (run `cargo fix --bin "kanuni" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kanuni-bcf077445216f168) [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" "4e53fa32f398a6356f7a0a13733e22c273c4c29a89639403c59296474a9d6cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e53fa32f398a6356f7a0a13733e22c273c4c29a89639403c59296474a9d6cba", kill_on_drop: false }` [INFO] [stdout] 4e53fa32f398a6356f7a0a13733e22c273c4c29a89639403c59296474a9d6cba