[INFO] cloning repository https://github.com/anujv99/shaderx-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anujv99/shaderx-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanujv99%2Fshaderx-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanujv99%2Fshaderx-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ee198e30f73abf8e35947120638fd944f794e58 [INFO] testing anujv99/shaderx-backend against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanujv99%2Fshaderx-backend" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anujv99/shaderx-backend [INFO] finished tweaking git repo https://github.com/anujv99/shaderx-backend [INFO] tweaked toml for git repo https://github.com/anujv99/shaderx-backend written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anujv99/shaderx-backend on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anujv99/shaderx-backend 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.8.1 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.1 [INFO] [stderr] Downloaded nanoid v0.4.0 [INFO] [stderr] Downloaded axum-extra v0.9.3 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.1 [INFO] [stderr] Downloaded sqlx-mysql v0.8.1 [INFO] [stderr] Downloaded sqlx v0.8.1 [INFO] [stderr] Downloaded cc v1.1.15 [INFO] [stderr] Downloaded sqlx-postgres v0.8.1 [INFO] [stderr] Downloaded sqlx-core v0.8.1 [INFO] [stderr] Downloaded http-range-header v0.4.1 [INFO] [stderr] Downloaded shuttle-common v0.44.0 [INFO] [stderr] Downloaded rustix v0.38.35 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded shuttle-secrets v0.42.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.30.1 [INFO] [stderr] Downloaded shuttle-service v0.44.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ba7b3a2dd815fdf74ac25bb7987c9254e6bcb122b2f4c2447128f029910c789 [INFO] running `Command { std: "docker" "start" "-a" "1ba7b3a2dd815fdf74ac25bb7987c9254e6bcb122b2f4c2447128f029910c789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ba7b3a2dd815fdf74ac25bb7987c9254e6bcb122b2f4c2447128f029910c789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba7b3a2dd815fdf74ac25bb7987c9254e6bcb122b2f4c2447128f029910c789", kill_on_drop: false }` [INFO] [stdout] 1ba7b3a2dd815fdf74ac25bb7987c9254e6bcb122b2f4c2447128f029910c789 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bb9a3f6c1c0b93a22bfb1fcdb26266c9d80eae40ef4c38aa16089caf8094d09 [INFO] running `Command { std: "docker" "start" "-a" "7bb9a3f6c1c0b93a22bfb1fcdb26266c9d80eae40ef4c38aa16089caf8094d09", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling sqlx-core v0.8.1 [INFO] [stderr] Compiling comfy-table v6.2.0 [INFO] [stderr] Compiling shuttle-common v0.44.0 [INFO] [stderr] Compiling shuttle-service v0.44.0 [INFO] [stderr] Compiling shuttle-secrets v0.42.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling axum-extra v0.9.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.8.1 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling sqlx v0.8.1 [INFO] [stderr] Compiling shaderx-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/main.rs:1:85 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::{header::CONTENT_TYPE, Method, StatusCode}, middleware, response::{Html, IntoResponse}, routing::{get, post}, serve, Ext... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Execute` [INFO] [stdout] --> src/routes/shader.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{prelude::FromRow, Execute}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoResponseParts` [INFO] [stdout] --> src/middlewares/token_refresh.rs:1:166 [INFO] [stdout] | [INFO] [stdout] 1 | ...quest::Parts}, middleware::Next, response::{IntoResponse, IntoResponseParts, Response}, Extension}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserProfile` [INFO] [stdout] --> src/middlewares/token_refresh.rs:7:125 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{constants::{ACCESS_COOKIE_EXPIRE_TIME, ACCESS_TOKEN_EXPIRE_TIME}, errors::ApiError, router_state::{RouterState, UserProfile}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session_id` is never read [INFO] [stdout] --> src/middlewares/token_refresh.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 10 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` 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 `user_id` are never read [INFO] [stdout] --> src/middlewares/token_refresh.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 18 | struct RefreshTokenEntry { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 19 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshTokenEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "7bb9a3f6c1c0b93a22bfb1fcdb26266c9d80eae40ef4c38aa16089caf8094d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bb9a3f6c1c0b93a22bfb1fcdb26266c9d80eae40ef4c38aa16089caf8094d09", kill_on_drop: false }` [INFO] [stdout] 7bb9a3f6c1c0b93a22bfb1fcdb26266c9d80eae40ef4c38aa16089caf8094d09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64afe8e6082f643430025ba985dae412e37ff2b3957fb32428a84f4ebb7be188 [INFO] running `Command { std: "docker" "start" "-a" "64afe8e6082f643430025ba985dae412e37ff2b3957fb32428a84f4ebb7be188", kill_on_drop: false }` [INFO] [stderr] Compiling shaderx-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/main.rs:1:85 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::{header::CONTENT_TYPE, Method, StatusCode}, middleware, response::{Html, IntoResponse}, routing::{get, post}, serve, Ext... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Execute` [INFO] [stdout] --> src/routes/shader.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{prelude::FromRow, Execute}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoResponseParts` [INFO] [stdout] --> src/middlewares/token_refresh.rs:1:166 [INFO] [stdout] | [INFO] [stdout] 1 | ...quest::Parts}, middleware::Next, response::{IntoResponse, IntoResponseParts, Response}, Extension}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserProfile` [INFO] [stdout] --> src/middlewares/token_refresh.rs:7:125 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{constants::{ACCESS_COOKIE_EXPIRE_TIME, ACCESS_TOKEN_EXPIRE_TIME}, errors::ApiError, router_state::{RouterState, UserProfile}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session_id` is never read [INFO] [stdout] --> src/middlewares/token_refresh.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 10 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` 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 `user_id` are never read [INFO] [stdout] --> src/middlewares/token_refresh.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 18 | struct RefreshTokenEntry { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 19 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefreshTokenEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "64afe8e6082f643430025ba985dae412e37ff2b3957fb32428a84f4ebb7be188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64afe8e6082f643430025ba985dae412e37ff2b3957fb32428a84f4ebb7be188", kill_on_drop: false }` [INFO] [stdout] 64afe8e6082f643430025ba985dae412e37ff2b3957fb32428a84f4ebb7be188 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 815525baa309fa122929bd7c9bc56ddd38243116132eb93c0d85c5d9323010bf [INFO] running `Command { std: "docker" "start" "-a" "815525baa309fa122929bd7c9bc56ddd38243116132eb93c0d85c5d9323010bf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Html` [INFO] [stderr] --> src/main.rs:1:85 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::{http::{header::CONTENT_TYPE, Method, StatusCode}, middleware, response::{Html, IntoResponse}, routing::{get, post}, serve, Ext... [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Execute` [INFO] [stderr] --> src/routes/shader.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | use sqlx::{prelude::FromRow, Execute}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IntoResponseParts` [INFO] [stderr] --> src/middlewares/token_refresh.rs:1:166 [INFO] [stderr] | [INFO] [stderr] 1 | ...quest::Parts}, middleware::Next, response::{IntoResponse, IntoResponseParts, Response}, Extension}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UserProfile` [INFO] [stderr] --> src/middlewares/token_refresh.rs:7:125 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::{constants::{ACCESS_COOKIE_EXPIRE_TIME, ACCESS_TOKEN_EXPIRE_TIME}, errors::ApiError, router_state::{RouterState, UserProfile}}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `session_id` is never read [INFO] [stderr] --> src/middlewares/token_refresh.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 10 | struct Session { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | pub session_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Session` 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 `user_id` are never read [INFO] [stderr] --> src/middlewares/token_refresh.rs:19:7 [INFO] [stderr] | [INFO] [stderr] 18 | struct RefreshTokenEntry { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 19 | pub id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 20 | pub user_id: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RefreshTokenEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `shaderx-backend` (bin "shaderx-backend" test) generated 6 warnings (run `cargo fix --bin "shaderx-backend" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shaderx_backend-00ec4828358ef6e2) [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" "815525baa309fa122929bd7c9bc56ddd38243116132eb93c0d85c5d9323010bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815525baa309fa122929bd7c9bc56ddd38243116132eb93c0d85c5d9323010bf", kill_on_drop: false }` [INFO] [stdout] 815525baa309fa122929bd7c9bc56ddd38243116132eb93c0d85c5d9323010bf