[INFO] cloning repository https://github.com/korneevDev/project_management_system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/korneevDev/project_management_system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkorneevDev%2Fproject_management_system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkorneevDev%2Fproject_management_system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf04f6bdacca3e24201e75ddcc89566daba3017b [INFO] building korneevDev/project_management_system against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkorneevDev%2Fproject_management_system" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/korneevDev/project_management_system [INFO] finished tweaking git repo https://github.com/korneevDev/project_management_system [INFO] tweaked toml for git repo https://github.com/korneevDev/project_management_system written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/korneevDev/project_management_system 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/korneevDev/project_management_system 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 migrations_internals v2.2.0 [INFO] [stderr] Downloaded diesel_migrations v2.2.0 [INFO] [stderr] Downloaded migrations_macros v2.2.0 [INFO] [stderr] Downloaded actix-web-httpauth v0.8.2 [INFO] [stderr] Downloaded fake v2.10.0 [INFO] [stderr] Downloaded diesel_derives v2.2.6 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded dummy v0.8.0 [INFO] [stderr] Downloaded diesel v2.2.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4919e81004bb260bcb7c886c349aeb7ebae016f90eab1783ff106a8b0aa3e68d [INFO] running `Command { std: "docker" "start" "-a" "4919e81004bb260bcb7c886c349aeb7ebae016f90eab1783ff106a8b0aa3e68d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4919e81004bb260bcb7c886c349aeb7ebae016f90eab1783ff106a8b0aa3e68d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4919e81004bb260bcb7c886c349aeb7ebae016f90eab1783ff106a8b0aa3e68d", kill_on_drop: false }` [INFO] [stdout] 4919e81004bb260bcb7c886c349aeb7ebae016f90eab1783ff106a8b0aa3e68d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 31c5aeb3e1b28e20403f1a36d4a51fd0bc0c82ccd14c05dcca33e5424b55973f [INFO] running `Command { std: "docker" "start" "-a" "31c5aeb3e1b28e20403f1a36d4a51fd0bc0c82ccd14c05dcca33e5424b55973f", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.6 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling diesel v2.2.11 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling actix-web-httpauth v0.8.2 [INFO] [stderr] Compiling diesel_migrations v2.2.0 [INFO] [stderr] Compiling project_management_system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DecodingKey` and `decode` [INFO] [stdout] --> src/auth.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{encode, decode, Header, EncodingKey, DecodingKey}; [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: `DbPool` [INFO] [stdout] --> src/auth.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::repositories::{Repository, DbPool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_COST` and `hash` [INFO] [stdout] --> src/auth.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use bcrypt::{verify, hash, DEFAULT_COST}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey` and `decode` [INFO] [stdout] --> src/auth.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{encode, decode, Header, EncodingKey, DecodingKey}; [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: `DbPool` [INFO] [stdout] --> src/auth.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::repositories::{Repository, DbPool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_COST` and `hash` [INFO] [stdout] --> src/auth.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use bcrypt::{verify, hash, DEFAULT_COST}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Project` is never constructed [INFO] [stdout] --> src/models.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Project { [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 `Task` is never constructed [INFO] [stdout] --> src/models.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskHistory` is never constructed [INFO] [stdout] --> src/models.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TaskHistory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `projects` and `tasks` are never read [INFO] [stdout] --> src/repositories/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Repository { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | pub users: UserRepository, [INFO] [stdout] 19 | pub projects: ProjectRepository, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub tasks: TaskRepository, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_user` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserRepository { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_user(&self, email: &str, password_hash: &str, role: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/project_repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProjectRepository { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 8 | pool: DbPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_project`, `get_project_by_id`, and `list_projects` are never used [INFO] [stdout] --> src/repositories/project_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ProjectRepository { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_project(&self, name: &str, description: Option<&str>, creator_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_project_by_id(&self, project_id: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn list_projects(&self, status_filter: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/task_repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TaskRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pool: DbPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_task`, `update_task_status`, and `get_task_history` are never used [INFO] [stdout] --> src/repositories/task_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TaskRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_task( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn update_task_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_task_history(&self, task_id: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "31c5aeb3e1b28e20403f1a36d4a51fd0bc0c82ccd14c05dcca33e5424b55973f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c5aeb3e1b28e20403f1a36d4a51fd0bc0c82ccd14c05dcca33e5424b55973f", kill_on_drop: false }` [INFO] [stdout] 31c5aeb3e1b28e20403f1a36d4a51fd0bc0c82ccd14c05dcca33e5424b55973f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 83e8df50ab6d0a1997c036c56513fd520e63d8c205173126e91f4832e314969b [INFO] running `Command { std: "docker" "start" "-a" "83e8df50ab6d0a1997c036c56513fd520e63d8c205173126e91f4832e314969b", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dummy v0.8.0 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stdout] warning: unused imports: `DecodingKey` and `decode` [INFO] [stdout] --> src/auth.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{encode, decode, Header, EncodingKey, DecodingKey}; [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: `DbPool` [INFO] [stdout] --> src/auth.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::repositories::{Repository, DbPool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_COST` and `hash` [INFO] [stdout] --> src/auth.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use bcrypt::{verify, hash, DEFAULT_COST}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey` and `decode` [INFO] [stdout] --> src/auth.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{encode, decode, Header, EncodingKey, DecodingKey}; [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: `DbPool` [INFO] [stdout] --> src/auth.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::repositories::{Repository, DbPool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_COST` and `hash` [INFO] [stdout] --> src/auth.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use bcrypt::{verify, hash, DEFAULT_COST}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Project` is never constructed [INFO] [stdout] --> src/models.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Project { [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 `Task` is never constructed [INFO] [stdout] --> src/models.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskHistory` is never constructed [INFO] [stdout] --> src/models.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TaskHistory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `projects` and `tasks` are never read [INFO] [stdout] --> src/repositories/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Repository { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | pub users: UserRepository, [INFO] [stdout] 19 | pub projects: ProjectRepository, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub tasks: TaskRepository, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_user` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserRepository { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_user(&self, email: &str, password_hash: &str, role: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/project_repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProjectRepository { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 8 | pool: DbPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_project`, `get_project_by_id`, and `list_projects` are never used [INFO] [stdout] --> src/repositories/project_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ProjectRepository { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_project(&self, name: &str, description: Option<&str>, creator_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_project_by_id(&self, project_id: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn list_projects(&self, status_filter: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/task_repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TaskRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pool: DbPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_task`, `update_task_status`, and `get_task_history` are never used [INFO] [stdout] --> src/repositories/task_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TaskRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_task( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn update_task_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_task_history(&self, task_id: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fake v2.10.0 [INFO] [stderr] Compiling project_management_system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `establish_test_connection` and `models::User` [INFO] [stdout] --> tests/repository_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | models::User, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | establish_test_connection [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 imports: `DecodingKey` and `decode` [INFO] [stdout] --> src/auth.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{encode, decode, Header, EncodingKey, DecodingKey}; [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: `DbPool` [INFO] [stdout] --> src/auth.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::repositories::{Repository, DbPool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_COST` and `hash` [INFO] [stdout] --> src/auth.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use bcrypt::{verify, hash, DEFAULT_COST}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey` and `decode` [INFO] [stdout] --> src/auth.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{encode, decode, Header, EncodingKey, DecodingKey}; [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: `DbPool` [INFO] [stdout] --> src/auth.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::repositories::{Repository, DbPool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_COST` and `hash` [INFO] [stdout] --> src/auth.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use bcrypt::{verify, hash, DEFAULT_COST}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Project` is never constructed [INFO] [stdout] --> src/models.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Project { [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 `Task` is never constructed [INFO] [stdout] --> src/models.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskHistory` is never constructed [INFO] [stdout] --> src/models.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TaskHistory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `projects` and `tasks` are never read [INFO] [stdout] --> src/repositories/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Repository { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | pub users: UserRepository, [INFO] [stdout] 19 | pub projects: ProjectRepository, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub tasks: TaskRepository, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_user` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserRepository { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_user(&self, email: &str, password_hash: &str, role: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/project_repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProjectRepository { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 8 | pool: DbPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_project`, `get_project_by_id`, and `list_projects` are never used [INFO] [stdout] --> src/repositories/project_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ProjectRepository { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_project(&self, name: &str, description: Option<&str>, creator_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_project_by_id(&self, project_id: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn list_projects(&self, status_filter: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/task_repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TaskRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pool: DbPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_task`, `update_task_status`, and `get_task_history` are never used [INFO] [stdout] --> src/repositories/task_repo.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TaskRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn create_task( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn update_task_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_task_history(&self, task_id: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.46s [INFO] running `Command { std: "docker" "inspect" "83e8df50ab6d0a1997c036c56513fd520e63d8c205173126e91f4832e314969b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e8df50ab6d0a1997c036c56513fd520e63d8c205173126e91f4832e314969b", kill_on_drop: false }` [INFO] [stdout] 83e8df50ab6d0a1997c036c56513fd520e63d8c205173126e91f4832e314969b