[INFO] cloning repository https://github.com/S-Hochberg/RustIM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S-Hochberg/RustIM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Hochberg%2FRustIM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Hochberg%2FRustIM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa50a8cafc03c6417a49b899a3129945af47611b [INFO] checking S-Hochberg/RustIM/fa50a8cafc03c6417a49b899a3129945af47611b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Hochberg%2FRustIM" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S-Hochberg/RustIM on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S-Hochberg/RustIM [INFO] finished tweaking git repo https://github.com/S-Hochberg/RustIM [INFO] tweaked toml for git repo https://github.com/S-Hochberg/RustIM written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/S-Hochberg/RustIM 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9ce81ac3c64f60db331a21d3ebdf841b177642a14064488cd2c903a0e87aa79 [INFO] running `Command { std: "docker" "start" "-a" "b9ce81ac3c64f60db331a21d3ebdf841b177642a14064488cd2c903a0e87aa79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9ce81ac3c64f60db331a21d3ebdf841b177642a14064488cd2c903a0e87aa79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ce81ac3c64f60db331a21d3ebdf841b177642a14064488cd2c903a0e87aa79", kill_on_drop: false }` [INFO] [stdout] b9ce81ac3c64f60db331a21d3ebdf841b177642a14064488cd2c903a0e87aa79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0a7a138bb27e0c9ff9fcc1c7effdc743ca91718ce5e1c8c591e8df8ace4edee [INFO] running `Command { std: "docker" "start" "-a" "f0a7a138bb27e0c9ff9fcc1c7effdc743ca91718ce5e1c8c591e8df8ace4edee", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking display_via_debug v0.1.0 (/opt/rustwide/workdir/display_via_debug) [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rust_im v0.1.0 (/opt/rustwide/workdir/rust_im) [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> rust_im/src/repo/users_repo/db/users_postgres_db.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | _ => Err(e) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> rust_im/src/repo/users_repo/db/users_postgres_db.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | _ => Err(e) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Debug` in module `self` [INFO] [stdout] --> rust_im/src/models/user/user.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self::Debug{} [INFO] [stdout] | ^^^^^ not found in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Debug` in module `self` [INFO] [stdout] --> rust_im/src/models/user/user.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self::Debug{} [INFO] [stdout] | ^^^^^ not found in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `StatusCode`, `response::IntoResponse`, and `routing::get` [INFO] [stdout] --> rust_im/src/api/router.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 3 | ...d, Request, Response, StatusCode, Version}, middleware::{self, Next}, response::IntoResponse, routing::get, Json, Router}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImResponse` [INFO] [stdout] --> rust_im/src/api/router.rs:11:98 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{controllers::{controller::Controller, users_controller::UsersController}, response::{ImResponse}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> rust_im/src/api/controllers/users_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `StatusCode`, `response::IntoResponse`, and `routing::get` [INFO] [stdout] --> rust_im/src/api/router.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 3 | ...d, Request, Response, StatusCode, Version}, middleware::{self, Next}, response::IntoResponse, routing::get, Json, Router}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImResponse` [INFO] [stdout] --> rust_im/src/api/router.rs:11:98 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{controllers::{controller::Controller, users_controller::UsersController}, response::{ImResponse}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_handler` and `response::IntoResponse` [INFO] [stdout] --> rust_im/src/api/controllers/users_controller.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{debug_handler, extract::Path, http::StatusCode, response::IntoResponse, routing::{get, post}, extract, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> rust_im/src/operations/users/create_user_operation.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::{http::StatusCode, response::IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpError` [INFO] [stdout] --> rust_im/src/operations/users/create_user_operation.rs:7:104 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{ api::response::ImResponse, models::user::user::{User, UserInput}, operations::operation::{OpError, Operation}, repo::{users_... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> rust_im/src/api/controllers/users_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultState` [INFO] [stdout] --> rust_im/src/operations/users/user_errors.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::operations::operation::{DefaultState, OpError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `operation::DefaultState` [INFO] [stdout] --> rust_im/src/repo/users_repo/db/users_postgres_db.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{models::user::user::User, operations::{operation::DefaultState, users::user_errors::UserErrors}, CONFIG, IO}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_handler` and `response::IntoResponse` [INFO] [stdout] --> rust_im/src/api/controllers/users_controller.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{debug_handler, extract::Path, http::StatusCode, response::IntoResponse, routing::{get, post}, extract, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> rust_im/src/operations/users/create_user_operation.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::{http::StatusCode, response::IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpError` [INFO] [stdout] --> rust_im/src/operations/users/create_user_operation.rs:7:104 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{ api::response::ImResponse, models::user::user::{User, UserInput}, operations::operation::{OpError, Operation}, repo::{users_... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultState` [INFO] [stdout] --> rust_im/src/operations/users/user_errors.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::operations::operation::{DefaultState, OpError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `operation::DefaultState` [INFO] [stdout] --> rust_im/src/repo/users_repo/db/users_postgres_db.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{models::user::user::User, operations::{operation::DefaultState, users::user_errors::UserErrors}, CONFIG, IO}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_im/src/repo/users_repo/db/users_postgres_db.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | Err(UserErrors::DuplicateUser((), input)) [INFO] [stdout] | ------------------------- ^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> rust_im/src/operations/users/user_errors.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | DuplicateUser(String, State) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_im/src/repo/users_repo/db/users_postgres_db.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | Err(UserErrors::DuplicateUser((), input)) [INFO] [stdout] | ------------------------- ^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> rust_im/src/operations/users/user_errors.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | DuplicateUser(String, State) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_im` (bin "rust_im" test) due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_im` (bin "rust_im") due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0a7a138bb27e0c9ff9fcc1c7effdc743ca91718ce5e1c8c591e8df8ace4edee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a7a138bb27e0c9ff9fcc1c7effdc743ca91718ce5e1c8c591e8df8ace4edee", kill_on_drop: false }` [INFO] [stdout] f0a7a138bb27e0c9ff9fcc1c7effdc743ca91718ce5e1c8c591e8df8ace4edee