[INFO] cloning repository https://github.com/hjleal75/prompt-shelf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hjleal75/prompt-shelf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjleal75%2Fprompt-shelf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjleal75%2Fprompt-shelf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e528b03faf9a9708842943a662ed114b2f27c062 [INFO] building hjleal75/prompt-shelf against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjleal75%2Fprompt-shelf" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hjleal75/prompt-shelf [INFO] finished tweaking git repo https://github.com/hjleal75/prompt-shelf [INFO] tweaked toml for git repo https://github.com/hjleal75/prompt-shelf written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hjleal75/prompt-shelf on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hjleal75/prompt-shelf 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool v0.12.2 [INFO] [stderr] Downloaded mimalloc v0.1.47 [INFO] [stderr] Downloaded deadpool-redis v0.21.1 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.43 [INFO] [stderr] Downloaded redis v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9df88be4b104c144ee655089cd295a47949ebd30e1c0b325486661cb37342521 [INFO] running `Command { std: "docker" "start" "-a" "9df88be4b104c144ee655089cd295a47949ebd30e1c0b325486661cb37342521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df88be4b104c144ee655089cd295a47949ebd30e1c0b325486661cb37342521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df88be4b104c144ee655089cd295a47949ebd30e1c0b325486661cb37342521", kill_on_drop: false }` [INFO] [stdout] 9df88be4b104c144ee655089cd295a47949ebd30e1c0b325486661cb37342521 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1865cd4ca52d1e4f745f1ab0d81637c8792fd40c45e3f6ed452e66744d9bd839 [INFO] running `Command { std: "docker" "start" "-a" "1865cd4ca52d1e4f745f1ab0d81637c8792fd40c45e3f6ed452e66744d9bd839", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling libmimalloc-sys v0.1.43 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling sea-query v0.32.6 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling sea-orm-macros v1.1.12 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling deadpool v0.12.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling redis v0.31.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling mimalloc v0.1.47 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.12 [INFO] [stderr] Compiling deadpool-redis v0.21.1 [INFO] [stderr] Compiling prompt-shelf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::organizations::Entity as Organizations` [INFO] [stdout] --> src/db/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::organizations::Entity as Organizations; [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: `super::prompts::Entity as Prompts` [INFO] [stdout] --> src/db/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::prompts::Entity as Prompts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_organizations::Entity as UserOrganizations` [INFO] [stdout] --> src/db/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::user_organizations::Entity as UserOrganizations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::users::Entity as Users` [INFO] [stdout] --> src/db/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::users::Entity as Users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/routes/common.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/routes/common.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::atomic::AtomicBool` [INFO] [stdout] --> src/routes/config.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{env, sync::atomic::AtomicBool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidateRequestHeader` [INFO] [stdout] --> src/routes/middleware.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | use tower_http::validate_request::{ValidateRequest, ValidateRequestHeader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/routes/middleware.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::common::AppState` [INFO] [stdout] --> src/routes/middleware.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::common::AppState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_err` [INFO] [stdout] --> src/routes/middleware.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let auth_err = Response::builder() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/db/organizations.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relation` is never used [INFO] [stdout] --> src/db/organizations.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Relation {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/db/user_organizations.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relation` is never used [INFO] [stdout] --> src/db/user_organizations.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Relation {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unauthorized`, `Forbidden`, and `NotFound` are never constructed [INFO] [stdout] --> src/routes/common.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum AppCode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | Unauthorized = 401, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppCode` 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: associated function `new` is never used [INFO] [stdout] --> src/routes/common.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl AppResponse { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 82 | pub fn new(code: AppCode, msg: String, result: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/routes/common.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Prompts { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_dir` is never read [INFO] [stdout] --> src/routes/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | pub data_dir: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.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" "1865cd4ca52d1e4f745f1ab0d81637c8792fd40c45e3f6ed452e66744d9bd839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1865cd4ca52d1e4f745f1ab0d81637c8792fd40c45e3f6ed452e66744d9bd839", kill_on_drop: false }` [INFO] [stdout] 1865cd4ca52d1e4f745f1ab0d81637c8792fd40c45e3f6ed452e66744d9bd839 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4ed9afbf06641966c7215718dcebc7b54bb045cc93f66a1ce347c3d9da5da62 [INFO] running `Command { std: "docker" "start" "-a" "f4ed9afbf06641966c7215718dcebc7b54bb045cc93f66a1ce347c3d9da5da62", kill_on_drop: false }` [INFO] [stderr] Compiling prompt-shelf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::organizations::Entity as Organizations` [INFO] [stdout] --> src/db/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::organizations::Entity as Organizations; [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: `super::prompts::Entity as Prompts` [INFO] [stdout] --> src/db/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::prompts::Entity as Prompts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::user_organizations::Entity as UserOrganizations` [INFO] [stdout] --> src/db/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::user_organizations::Entity as UserOrganizations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::users::Entity as Users` [INFO] [stdout] --> src/db/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::users::Entity as Users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/routes/common.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/routes/common.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::atomic::AtomicBool` [INFO] [stdout] --> src/routes/config.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{env, sync::atomic::AtomicBool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidateRequestHeader` [INFO] [stdout] --> src/routes/middleware.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | use tower_http::validate_request::{ValidateRequest, ValidateRequestHeader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/routes/middleware.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::common::AppState` [INFO] [stdout] --> src/routes/middleware.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::common::AppState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_err` [INFO] [stdout] --> src/routes/middleware.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let auth_err = Response::builder() [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/db/organizations.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relation` is never used [INFO] [stdout] --> src/db/organizations.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Relation {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/db/user_organizations.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relation` is never used [INFO] [stdout] --> src/db/user_organizations.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Relation {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unauthorized`, `Forbidden`, and `NotFound` are never constructed [INFO] [stdout] --> src/routes/common.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum AppCode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | Unauthorized = 401, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppCode` 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: associated function `new` is never used [INFO] [stdout] --> src/routes/common.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl AppResponse { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 82 | pub fn new(code: AppCode, msg: String, result: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/routes/common.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Prompts { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_dir` is never read [INFO] [stdout] --> src/routes/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | pub data_dir: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 10.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.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" "f4ed9afbf06641966c7215718dcebc7b54bb045cc93f66a1ce347c3d9da5da62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4ed9afbf06641966c7215718dcebc7b54bb045cc93f66a1ce347c3d9da5da62", kill_on_drop: false }` [INFO] [stdout] f4ed9afbf06641966c7215718dcebc7b54bb045cc93f66a1ce347c3d9da5da62