[INFO] cloning repository https://github.com/powderluv/spur-cloud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/powderluv/spur-cloud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowderluv%2Fspur-cloud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowderluv%2Fspur-cloud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fdf13307f116eee82b9930c416fe173d21b8b36 [INFO] testing powderluv/spur-cloud against 1.97.0-beta.1 for beta-1.97-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowderluv%2Fspur-cloud" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/powderluv/spur-cloud [INFO] finished tweaking git repo https://github.com/powderluv/spur-cloud [INFO] tweaked toml for git repo https://github.com/powderluv/spur-cloud written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/powderluv/spur-cloud on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/powderluv/spur-cloud 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" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d19edb9351b376100f9fddfaa1320884b9925c1666439f343e4d7f8bb02077c6 [INFO] running `Command { std: "docker" "start" "-a" "d19edb9351b376100f9fddfaa1320884b9925c1666439f343e4d7f8bb02077c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d19edb9351b376100f9fddfaa1320884b9925c1666439f343e4d7f8bb02077c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d19edb9351b376100f9fddfaa1320884b9925c1666439f343e4d7f8bb02077c6", kill_on_drop: false }` [INFO] [stdout] d19edb9351b376100f9fddfaa1320884b9925c1666439f343e4d7f8bb02077c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcc14aa2e0991174be5e438027d6478b3c978129c0dbdc3da39a5b4992aa07d2 [INFO] running `Command { std: "docker" "start" "-a" "dcc14aa2e0991174be5e438027d6478b3c978129c0dbdc3da39a5b4992aa07d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling k8s-openapi v0.23.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling iri-string v0.7.12 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rustls-webpki v0.103.11 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.2 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling jsonpath-rust v0.7.5 [INFO] [stderr] Compiling enum-ordinalize v4.3.2 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling kube-derive v0.97.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling jsonptr v0.6.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling json-patch v3.0.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling spur-cloud-common v0.3.0 (/opt/rustwide/workdir/crates/spur-cloud-common) [INFO] [stderr] Compiling url v2.5.8 [INFO] [stdout] warning: function `default_gpu_count` is never used [INFO] [stdout] --> crates/spur-cloud-common/src/session_types.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn default_gpu_count() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling spur-proto v0.1.0 (https://github.com/ROCm/spur.git?branch=main#123a5ab9) [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling kube-core v0.97.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling kube-client v0.97.0 [INFO] [stderr] Compiling kube-runtime v0.97.0 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling axum-extra v0.9.6 [INFO] [stderr] Compiling kube v0.97.0 [INFO] [stderr] Compiling spur-cloud-api v0.3.0 (/opt/rustwide/workdir/crates/spur-cloud-api) [INFO] [stdout] warning: unused variable: `ssh_enabled` [INFO] [stdout] --> crates/spur-cloud-api/src/spur_client.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | ssh_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ssh_enabled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwks_uri` and `issuer` are never read [INFO] [stdout] --> crates/spur-cloud-api/src/auth/oidc_common.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OidcDiscovery { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub jwks_uri: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub issuer: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OidcDiscovery` 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 `access_token` and `token_type` are never read [INFO] [stdout] --> crates/spur-cloud-api/src/auth/oidc_common.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TokenResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | pub access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub id_token: Option, [INFO] [stdout] 31 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_session` is never used [INFO] [stdout] --> crates/spur-cloud-api/src/db/session_repo.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn get_session(pool: &PgPool, id: Uuid) -> sqlx::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_username` is never used [INFO] [stdout] --> crates/spur-cloud-api/src/db/user_repo.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_user_by_username(pool: &PgPool, username: &str) -> sqlx::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_user_gpu_quota` is never used [INFO] [stdout] --> crates/spur-cloud-api/src/db/user_repo.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn set_user_gpu_quota( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `partition` and `pod_name` are never read [INFO] [stdout] --> crates/spur-cloud-api/src/models/session.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub partition: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub pod_name: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` 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: fields `github_id`, `okta_sub`, `spur_account`, and `last_login_at` are never read [INFO] [stdout] --> crates/spur-cloud-api/src/models/user.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub github_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub okta_sub: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub spur_account: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub last_login_at: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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 `channel` is never read [INFO] [stdout] --> crates/spur-cloud-api/src/update.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct UpdateConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub channel: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 58s [INFO] running `Command { std: "docker" "inspect" "dcc14aa2e0991174be5e438027d6478b3c978129c0dbdc3da39a5b4992aa07d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc14aa2e0991174be5e438027d6478b3c978129c0dbdc3da39a5b4992aa07d2", kill_on_drop: false }` [INFO] [stdout] dcc14aa2e0991174be5e438027d6478b3c978129c0dbdc3da39a5b4992aa07d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 124df49c32595cd934bc54579f37d951ae4946cda4bd3ed219a43cbed60ad5df [INFO] running `Command { std: "docker" "start" "-a" "124df49c32595cd934bc54579f37d951ae4946cda4bd3ed219a43cbed60ad5df", kill_on_drop: false }` [INFO] [stdout] warning: function `default_gpu_count` is never used [INFO] [stdout] --> crates/spur-cloud-common/src/session_types.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn default_gpu_count() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spur-cloud-common v0.3.0 (/opt/rustwide/workdir/crates/spur-cloud-common) [INFO] [stderr] Compiling spur-cloud-api v0.3.0 (/opt/rustwide/workdir/crates/spur-cloud-api) [INFO] [stdout] warning: function `default_gpu_count` is never used [INFO] [stdout] --> crates/spur-cloud-common/src/session_types.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn default_gpu_count() -> i32 { [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 variable: `ssh_enabled` [INFO] [stdout] --> crates/spur-cloud-api/src/spur_client.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | ssh_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ssh_enabled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwks_uri` and `issuer` are never read [INFO] [stdout] --> crates/spur-cloud-api/src/auth/oidc_common.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OidcDiscovery { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub jwks_uri: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub issuer: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OidcDiscovery` 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 `access_token` and `token_type` are never read [INFO] [stdout] --> crates/spur-cloud-api/src/auth/oidc_common.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TokenResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | pub access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub id_token: Option, [INFO] [stdout] 31 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_session` is never used [INFO] [stdout] --> crates/spur-cloud-api/src/db/session_repo.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn get_session(pool: &PgPool, id: Uuid) -> sqlx::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_username` is never used [INFO] [stdout] --> crates/spur-cloud-api/src/db/user_repo.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_user_by_username(pool: &PgPool, username: &str) -> sqlx::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_user_gpu_quota` is never used [INFO] [stdout] --> crates/spur-cloud-api/src/db/user_repo.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn set_user_gpu_quota( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `partition` and `pod_name` are never read [INFO] [stdout] --> crates/spur-cloud-api/src/models/session.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub partition: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub pod_name: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` 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: fields `github_id`, `okta_sub`, `spur_account`, and `last_login_at` are never read [INFO] [stdout] --> crates/spur-cloud-api/src/models/user.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub github_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub okta_sub: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub spur_account: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub last_login_at: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.66s [INFO] running `Command { std: "docker" "inspect" "124df49c32595cd934bc54579f37d951ae4946cda4bd3ed219a43cbed60ad5df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124df49c32595cd934bc54579f37d951ae4946cda4bd3ed219a43cbed60ad5df", kill_on_drop: false }` [INFO] [stdout] 124df49c32595cd934bc54579f37d951ae4946cda4bd3ed219a43cbed60ad5df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f1c315d8808660217aee43427613cd63c56dc7560151695633d3b09900c3933 [INFO] running `Command { std: "docker" "start" "-a" "0f1c315d8808660217aee43427613cd63c56dc7560151695633d3b09900c3933", kill_on_drop: false }` [INFO] [stderr] warning: function `default_gpu_count` is never used [INFO] [stderr] --> crates/spur-cloud-common/src/session_types.rs:88:4 [INFO] [stderr] | [INFO] [stderr] 88 | fn default_gpu_count() -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `spur-cloud-common` (lib) generated 1 warning [INFO] [stderr] warning: `spur-cloud-common` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused variable: `ssh_enabled` [INFO] [stderr] --> crates/spur-cloud-api/src/spur_client.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | ssh_enabled: bool, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ssh_enabled` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `jwks_uri` and `issuer` are never read [INFO] [stderr] --> crates/spur-cloud-api/src/auth/oidc_common.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct OidcDiscovery { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 10 | pub jwks_uri: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | pub issuer: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OidcDiscovery` 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 `access_token` and `token_type` are never read [INFO] [stderr] --> crates/spur-cloud-api/src/auth/oidc_common.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct TokenResponse { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 29 | pub access_token: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 30 | pub id_token: Option, [INFO] [stderr] 31 | pub token_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_session` is never used [INFO] [stderr] --> crates/spur-cloud-api/src/db/session_repo.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | pub async fn get_session(pool: &PgPool, id: Uuid) -> sqlx::Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_by_username` is never used [INFO] [stderr] --> crates/spur-cloud-api/src/db/user_repo.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | pub async fn get_user_by_username(pool: &PgPool, username: &str) -> sqlx::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_user_gpu_quota` is never used [INFO] [stderr] --> crates/spur-cloud-api/src/db/user_repo.rs:115:14 [INFO] [stderr] | [INFO] [stderr] 115 | pub async fn set_user_gpu_quota( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `partition` and `pod_name` are never read [INFO] [stderr] --> crates/spur-cloud-api/src/models/session.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Session { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | pub partition: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub pod_name: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `github_id`, `okta_sub`, `spur_account`, and `last_login_at` are never read [INFO] [stderr] --> crates/spur-cloud-api/src/models/user.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct User { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub github_id: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 12 | pub okta_sub: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub spur_account: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub last_login_at: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `spur-cloud-api` (bin "spur-cloud-api" test) generated 8 warnings (run `cargo fix --bin "spur-cloud-api" -p spur-cloud-api --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spur_cloud_api-d9492cc273367632) [INFO] [stdout] test routes::auth::tests::normalize_email_already_lowercase ... ok [INFO] [stdout] test routes::auth::tests::normalize_email_mixed_case_amd ... ok [INFO] [stdout] test routes::auth::tests::normalize_email_lowercases ... ok [INFO] [stdout] test spur_client::tests::gpu_profile_includes_rocm_path ... ok [INFO] [stdout] test spur_client::tests::non_schedulable_states ... ok [INFO] [stdout] test spur_client::tests::rocm_smi_wrapper_generated ... ok [INFO] [stdout] test spur_client::tests::schedulable_states ... ok [INFO] [stdout] test terminal::ws_handler::tests::keepalive_constants_are_reasonable ... ok [INFO] [stdout] test terminal::ws_handler::tests::retry_delay_is_reasonable ... ok [INFO] [stdout] test update::tests::update_config_defaults ... ok [INFO] [stdout] test update::tests::cache_freshness ... ok [INFO] [stdout] test auth::jwt::tests::verify_token_rejects_wrong_secret ... ok [INFO] [stdout] test auth::middleware::tests::middleware_rejects_missing_authorization_header ... ok [INFO] [stdout] test auth::middleware::tests::middleware_inserts_principal_for_valid_token ... ok [INFO] [stdout] test routes::auth::tests::normalize_email_trims_whitespace ... ok [INFO] [stdout] test auth::jwt::tests::verify_token_returns_principal_with_expected_claims ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spur_cloud_common-2aaec2b49bc32d6b) [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 spur_cloud_common [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" "0f1c315d8808660217aee43427613cd63c56dc7560151695633d3b09900c3933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1c315d8808660217aee43427613cd63c56dc7560151695633d3b09900c3933", kill_on_drop: false }` [INFO] [stdout] 0f1c315d8808660217aee43427613cd63c56dc7560151695633d3b09900c3933