[INFO] cloning repository https://github.com/KubeAtlas/kubeatlas-core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KubeAtlas/kubeatlas-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKubeAtlas%2Fkubeatlas-core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKubeAtlas%2Fkubeatlas-core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03c0d69fe5c30a23014864bdf3b567dadd18887d
[INFO] testing KubeAtlas/kubeatlas-core against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKubeAtlas%2Fkubeatlas-core" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KubeAtlas/kubeatlas-core
[INFO] finished tweaking git repo https://github.com/KubeAtlas/kubeatlas-core
[INFO] tweaked toml for git repo https://github.com/KubeAtlas/kubeatlas-core written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KubeAtlas/kubeatlas-core on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KubeAtlas/kubeatlas-core 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded axum-macros v0.4.2
[INFO] [stderr]   Downloaded tokio-tungstenite v0.24.0
[INFO] [stderr]   Downloaded sqlformat v0.2.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9a8e2ea91273f669931bdaf308efbc0b9811f04b9a5eab6af8c6c3e89823986
[INFO] running `Command { std: "docker" "start" "-a" "f9a8e2ea91273f669931bdaf308efbc0b9811f04b9a5eab6af8c6c3e89823986", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9a8e2ea91273f669931bdaf308efbc0b9811f04b9a5eab6af8c6c3e89823986", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9a8e2ea91273f669931bdaf308efbc0b9811f04b9a5eab6af8c6c3e89823986", kill_on_drop: false }`
[INFO] [stdout] f9a8e2ea91273f669931bdaf308efbc0b9811f04b9a5eab6af8c6c3e89823986
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ecd489fd6a19cea1a749a701ca39b8756324b7bcfb6db891f5485c606096fa4
[INFO] running `Command { std: "docker" "start" "-a" "1ecd489fd6a19cea1a749a701ca39b8756324b7bcfb6db891f5485c606096fa4", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling uuid v1.18.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling arraydeque v0.5.1
[INFO] [stderr]    Compiling rust-ini v0.20.0
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[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 tracing-attributes v0.1.30
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[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.1
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling config v0.14.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling kubeatlas-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `StatusCode`, `extract::Request`, and `response::Json`
[INFO] [stdout]  --> src/auth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     extract::Request,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     http::{HeaderMap, StatusCode},
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 5 |     response::Json,
[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: `Header`
[INFO] [stdout]  --> src/auth.rs:7:75
[INFO] [stdout]   |
[INFO] [stdout] 7 | use jsonwebtoken::{decode, DecodingKey, Validation, Algorithm, TokenData, Header};
[INFO] [stdout]   |                                                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeycloakUser`
[INFO] [stdout]  --> src/handlers/auth_handler.rs:9:87
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{auth::{TokenValidationRequest, TokenValidationResponse, UserInfoResponse, KeycloakUser}, AppState};
[INFO] [stdout]   |                                                                                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cluster::*`
[INFO] [stdout]  --> src/models/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use cluster::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::*`
[INFO] [stdout]   --> src/models/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use response::*;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/auth.rs:299:13
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let mut validation = Validation::new(Algorithm::RS256);
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/models/user.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserProfile` is never constructed
[INFO] [stdout]   --> src/models/user.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct UserProfile {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cluster` is never constructed
[INFO] [stdout]  --> src/models/cluster.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Cluster {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ClusterStatus` is never used
[INFO] [stdout]   --> src/models/cluster.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum ClusterStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateClusterRequest` is never constructed
[INFO] [stdout]   --> src/models/cluster.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CreateClusterRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateClusterRequest` is never constructed
[INFO] [stdout]   --> src/models/cluster.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct UpdateClusterRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]  --> src/models/response.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ApiResponse<T> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `success`, `error`, and `message` are never used
[INFO] [stdout]   --> src/models/response.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated functions in this implementation
[INFO] [stdout] 12 |     pub fn success(data: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn error(message: String) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn message(message: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `firstName` should have a snake case name
[INFO] [stdout]    --> src/auth.rs:390:5
[INFO] [stdout]     |
[INFO] [stdout] 390 |     firstName: Option<&'a str>,
[INFO] [stdout]     |     ^^^^^^^^^ help: convert the identifier to snake case: `first_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `lastName` should have a snake case name
[INFO] [stdout]    --> src/auth.rs:392:5
[INFO] [stdout]     |
[INFO] [stdout] 392 |     lastName: Option<&'a str>,
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `last_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "1ecd489fd6a19cea1a749a701ca39b8756324b7bcfb6db891f5485c606096fa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ecd489fd6a19cea1a749a701ca39b8756324b7bcfb6db891f5485c606096fa4", kill_on_drop: false }`
[INFO] [stdout] 1ecd489fd6a19cea1a749a701ca39b8756324b7bcfb6db891f5485c606096fa4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be48270b57e03cc17edf75deff17465d57ef2db60eb977c9d571757d041f76c3
[INFO] running `Command { std: "docker" "start" "-a" "be48270b57e03cc17edf75deff17465d57ef2db60eb977c9d571757d041f76c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling kubeatlas-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `StatusCode`, `extract::Request`, and `response::Json`
[INFO] [stdout]  --> src/auth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     extract::Request,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     http::{HeaderMap, StatusCode},
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 5 |     response::Json,
[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: `Header`
[INFO] [stdout]  --> src/auth.rs:7:75
[INFO] [stdout]   |
[INFO] [stdout] 7 | use jsonwebtoken::{decode, DecodingKey, Validation, Algorithm, TokenData, Header};
[INFO] [stdout]   |                                                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeycloakUser`
[INFO] [stdout]  --> src/handlers/auth_handler.rs:9:87
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{auth::{TokenValidationRequest, TokenValidationResponse, UserInfoResponse, KeycloakUser}, AppState};
[INFO] [stdout]   |                                                                                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cluster::*`
[INFO] [stdout]  --> src/models/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use cluster::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::*`
[INFO] [stdout]   --> src/models/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use response::*;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/auth.rs:299:13
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let mut validation = Validation::new(Algorithm::RS256);
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/models/user.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserProfile` is never constructed
[INFO] [stdout]   --> src/models/user.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct UserProfile {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cluster` is never constructed
[INFO] [stdout]  --> src/models/cluster.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Cluster {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ClusterStatus` is never used
[INFO] [stdout]   --> src/models/cluster.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum ClusterStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateClusterRequest` is never constructed
[INFO] [stdout]   --> src/models/cluster.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CreateClusterRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateClusterRequest` is never constructed
[INFO] [stdout]   --> src/models/cluster.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct UpdateClusterRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]  --> src/models/response.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ApiResponse<T> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `success`, `error`, and `message` are never used
[INFO] [stdout]   --> src/models/response.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated functions in this implementation
[INFO] [stdout] 12 |     pub fn success(data: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn error(message: String) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn message(message: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `firstName` should have a snake case name
[INFO] [stdout]    --> src/auth.rs:390:5
[INFO] [stdout]     |
[INFO] [stdout] 390 |     firstName: Option<&'a str>,
[INFO] [stdout]     |     ^^^^^^^^^ help: convert the identifier to snake case: `first_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `lastName` should have a snake case name
[INFO] [stdout]    --> src/auth.rs:392:5
[INFO] [stdout]     |
[INFO] [stdout] 392 |     lastName: Option<&'a str>,
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `last_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.38s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "be48270b57e03cc17edf75deff17465d57ef2db60eb977c9d571757d041f76c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be48270b57e03cc17edf75deff17465d57ef2db60eb977c9d571757d041f76c3", kill_on_drop: false }`
[INFO] [stdout] be48270b57e03cc17edf75deff17465d57ef2db60eb977c9d571757d041f76c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 41a9acd42dd337a8c67522d35e697e8fb67cea80f3e3fa62c1928c7583d8ef2a
[INFO] running `Command { std: "docker" "start" "-a" "41a9acd42dd337a8c67522d35e697e8fb67cea80f3e3fa62c1928c7583d8ef2a", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `StatusCode`, `extract::Request`, and `response::Json`
[INFO] [stderr]  --> src/auth.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     extract::Request,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 4 |     http::{HeaderMap, StatusCode},
[INFO] [stderr]   |                       ^^^^^^^^^^
[INFO] [stderr] 5 |     response::Json,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Header`
[INFO] [stderr]  --> src/auth.rs:7:75
[INFO] [stderr]   |
[INFO] [stderr] 7 | use jsonwebtoken::{decode, DecodingKey, Validation, Algorithm, TokenData, Header};
[INFO] [stderr]   |                                                                           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `KeycloakUser`
[INFO] [stderr]  --> src/handlers/auth_handler.rs:9:87
[INFO] [stderr]   |
[INFO] [stderr] 9 | use crate::{auth::{TokenValidationRequest, TokenValidationResponse, UserInfoResponse, KeycloakUser}, AppState};
[INFO] [stderr]   |                                                                                       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `cluster::*`
[INFO] [stderr]  --> src/models/mod.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub use cluster::*;
[INFO] [stderr]   |         ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `response::*`
[INFO] [stderr]   --> src/models/mod.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub use response::*;
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/auth.rs:299:13
[INFO] [stderr]     |
[INFO] [stderr] 299 |         let mut validation = Validation::new(Algorithm::RS256);
[INFO] [stderr]     |             ----^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `User` is never constructed
[INFO] [stderr]  --> src/models/user.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct User {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UserProfile` is never constructed
[INFO] [stderr]   --> src/models/user.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub struct UserProfile {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Cluster` is never constructed
[INFO] [stderr]  --> src/models/cluster.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Cluster {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ClusterStatus` is never used
[INFO] [stderr]   --> src/models/cluster.rs:16:10
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub enum ClusterStatus {
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreateClusterRequest` is never constructed
[INFO] [stderr]   --> src/models/cluster.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct CreateClusterRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateClusterRequest` is never constructed
[INFO] [stderr]   --> src/models/cluster.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct UpdateClusterRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ApiResponse` is never constructed
[INFO] [stderr]  --> src/models/response.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct ApiResponse<T> {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `success`, `error`, and `message` are never used
[INFO] [stderr]   --> src/models/response.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl<T> ApiResponse<T> {
[INFO] [stderr]    | ---------------------- associated functions in this implementation
[INFO] [stderr] 12 |     pub fn success(data: T) -> Self {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     pub fn error(message: String) -> Self {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn message(message: String) -> Self {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `firstName` should have a snake case name
[INFO] [stderr]    --> src/auth.rs:390:5
[INFO] [stderr]     |
[INFO] [stderr] 390 |     firstName: Option<&'a str>,
[INFO] [stderr]     |     ^^^^^^^^^ help: convert the identifier to snake case: `first_name`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `lastName` should have a snake case name
[INFO] [stderr]    --> src/auth.rs:392:5
[INFO] [stderr]     |
[INFO] [stderr] 392 |     lastName: Option<&'a str>,
[INFO] [stderr]     |     ^^^^^^^^ help: convert the identifier to snake case: `last_name`
[INFO] [stderr] 
[INFO] [stderr] warning: `kubeatlas-backend` (bin "kubeatlas-backend" test) generated 16 warnings (run `cargo fix --bin "kubeatlas-backend" -p kubeatlas-backend --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kubeatlas_backend-d7c19d12ad190d7d)
[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" "41a9acd42dd337a8c67522d35e697e8fb67cea80f3e3fa62c1928c7583d8ef2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41a9acd42dd337a8c67522d35e697e8fb67cea80f3e3fa62c1928c7583d8ef2a", kill_on_drop: false }`
[INFO] [stdout] 41a9acd42dd337a8c67522d35e697e8fb67cea80f3e3fa62c1928c7583d8ef2a
