[INFO] cloning repository https://github.com/bennyz/qarax-warp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bennyz/qarax-warp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyz%2Fqarax-warp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyz%2Fqarax-warp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83f8f1110b2294bbb800e5eb63bc9c8ac6693c83 [INFO] checking bennyz/qarax-warp against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyz%2Fqarax-warp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bennyz/qarax-warp [INFO] finished tweaking git repo https://github.com/bennyz/qarax-warp [INFO] tweaked toml for git repo https://github.com/bennyz/qarax-warp written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bennyz/qarax-warp on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bennyz/qarax-warp 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 681e4acbee6cc9ccda5f261d3cebec2d0b1058365b8803c71aef034ec0af6c86 [INFO] running `Command { std: "docker" "start" "-a" "681e4acbee6cc9ccda5f261d3cebec2d0b1058365b8803c71aef034ec0af6c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "681e4acbee6cc9ccda5f261d3cebec2d0b1058365b8803c71aef034ec0af6c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681e4acbee6cc9ccda5f261d3cebec2d0b1058365b8803c71aef034ec0af6c86", kill_on_drop: false }` [INFO] [stdout] 681e4acbee6cc9ccda5f261d3cebec2d0b1058365b8803c71aef034ec0af6c86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15d0384e6b5ea8b83da6ab14a60b045b502b30736b00b3e51c4adb5ce949c224 [INFO] running `Command { std: "docker" "start" "-a" "15d0384e6b5ea8b83da6ab14a60b045b502b30736b00b3e51c4adb5ce949c224", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking sqlx-rt v0.5.5 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking sqlx-core v0.5.5 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Checking sqlx v0.5.5 [INFO] [stderr] Checking qarax-warp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let drives = drive_model::list(env.db()).await; [INFO] [stdout] 8 | | match drives { [INFO] [stdout] 9 | | Ok(drives) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let drives = drive_model::list(env.db()).await; [INFO] [stdout] 8 | | match drives { [INFO] [stdout] 9 | | Ok(drives) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / match drives { [INFO] [stdout] 9 | | Ok(drives) => Ok(ApiResponse { [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(drives), [INFO] [stdout] ... | [INFO] [stdout] 16 | | }), [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(drives) => Ok(ApiResponse { [INFO] [stdout] | _______________________^ [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(drives), [INFO] [stdout] 12 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 15 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 16 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:20:93 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(drive: NewDrive, env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 21 | | let drive_id = drive_model::add(env.db(), &drive).await; [INFO] [stdout] 22 | | match drive_id { [INFO] [stdout] 23 | | Ok(drive_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:20:93 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(drive: NewDrive, env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 21 | | let drive_id = drive_model::add(env.db(), &drive).await; [INFO] [stdout] 22 | | match drive_id { [INFO] [stdout] 23 | | Ok(drive_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / match drive_id { [INFO] [stdout] 23 | | Ok(drive_id) => Ok(ApiResponse { [INFO] [stdout] 24 | | code: StatusCode::OK, [INFO] [stdout] 25 | | response: QaraxResponse::Success(drive_id), [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(drive_id) => Ok(ApiResponse { [INFO] [stdout] | _________________________^ [INFO] [stdout] 24 | | code: StatusCode::OK, [INFO] [stdout] 25 | | response: QaraxResponse::Success(drive_id), [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 28 | | code: StatusCode::CONFLICT, [INFO] [stdout] 29 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 30 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:34:92 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(drive_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 35 | | let drive = drive_model::by_id(env.db(), drive_id).await; [INFO] [stdout] 36 | | match drive { [INFO] [stdout] 37 | | Ok(drive) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:34:92 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(drive_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 35 | | let drive = drive_model::by_id(env.db(), drive_id).await; [INFO] [stdout] 36 | | match drive { [INFO] [stdout] 37 | | Ok(drive) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match drive { [INFO] [stdout] 37 | | Ok(drive) => Ok(ApiResponse { [INFO] [stdout] 38 | | code: StatusCode::CREATED, [INFO] [stdout] 39 | | response: QaraxResponse::Success(drive), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }), [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(drive) => Ok(ApiResponse { [INFO] [stdout] | ______________________^ [INFO] [stdout] 38 | | code: StatusCode::CREATED, [INFO] [stdout] 39 | | response: QaraxResponse::Success(drive), [INFO] [stdout] 40 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 42 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 43 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 44 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:8:77 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 9 | | let hosts = host_model::list(env.db()).await; [INFO] [stdout] 10 | | match hosts { [INFO] [stdout] 11 | | Ok(hosts) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:8:77 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 9 | | let hosts = host_model::list(env.db()).await; [INFO] [stdout] 10 | | match hosts { [INFO] [stdout] 11 | | Ok(hosts) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / match hosts { [INFO] [stdout] 11 | | Ok(hosts) => Ok(ApiResponse { [INFO] [stdout] 12 | | code: StatusCode::OK, [INFO] [stdout] 13 | | response: QaraxResponse::Success(hosts), [INFO] [stdout] ... | [INFO] [stdout] 18 | | }), [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(hosts) => Ok(ApiResponse { [INFO] [stdout] | ______________________^ [INFO] [stdout] 12 | | code: StatusCode::OK, [INFO] [stdout] 13 | | response: QaraxResponse::Success(hosts), [INFO] [stdout] 14 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 16 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 17 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:22:91 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn add(host: NewHost, env: Environment) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 23 | | let host_id = host_model::add(env.db(), &host).await; [INFO] [stdout] 24 | | match host_id { [INFO] [stdout] 25 | | Ok(host_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:22:91 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn add(host: NewHost, env: Environment) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 23 | | let host_id = host_model::add(env.db(), &host).await; [INFO] [stdout] 24 | | match host_id { [INFO] [stdout] 25 | | Ok(host_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / match host_id { [INFO] [stdout] 25 | | Ok(host_id) => Ok(ApiResponse { [INFO] [stdout] 26 | | code: StatusCode::CREATED, [INFO] [stdout] 27 | | response: QaraxResponse::Success(host_id), [INFO] [stdout] ... | [INFO] [stdout] 32 | | }), [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(host_id) => Ok(ApiResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 26 | | code: StatusCode::CREATED, [INFO] [stdout] 27 | | response: QaraxResponse::Success(host_id), [INFO] [stdout] 28 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | code: StatusCode::CONFLICT, [INFO] [stdout] 31 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 32 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:36:91 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get(host_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 37 | | let host = host_model::by_id(env.db(), host_id).await; [INFO] [stdout] 38 | | match host { [INFO] [stdout] 39 | | Ok(host) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:36:91 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get(host_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 37 | | let host = host_model::by_id(env.db(), host_id).await; [INFO] [stdout] 38 | | match host { [INFO] [stdout] 39 | | Ok(host) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / match host { [INFO] [stdout] 39 | | Ok(host) => Ok(ApiResponse { [INFO] [stdout] 40 | | code: StatusCode::OK, [INFO] [stdout] 41 | | response: QaraxResponse::Success(host), [INFO] [stdout] ... | [INFO] [stdout] 46 | | }), [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(host) => Ok(ApiResponse { [INFO] [stdout] | _____________________^ [INFO] [stdout] 40 | | code: StatusCode::OK, [INFO] [stdout] 41 | | response: QaraxResponse::Success(host), [INFO] [stdout] 42 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 44 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 45 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 46 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:50:95 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn install(host_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 51 | | let host = if let Ok(host) = host_model::by_id(env.db(), host_id).await { [INFO] [stdout] 52 | | host [INFO] [stdout] 53 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }) [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:50:95 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn install(host_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 51 | | let host = if let Ok(host) = host_model::by_id(env.db(), host_id).await { [INFO] [stdout] 52 | | host [INFO] [stdout] 53 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }) [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | return Ok(ApiResponse { [INFO] [stdout] | ________________^ [INFO] [stdout] 55 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 56 | | response: QaraxResponse::Error(String::from("Host not found")), [INFO] [stdout] 57 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | return Ok(ApiResponse { [INFO] [stdout] | ________________^ [INFO] [stdout] 63 | | code: StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 64 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 65 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / Ok(ApiResponse { [INFO] [stdout] 95 | | code: StatusCode::OK, [INFO] [stdout] 96 | | response: QaraxResponse::Success("started"), [INFO] [stdout] 97 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let kernels = kernel_model::list(env.db()).await; [INFO] [stdout] 8 | | match kernels { [INFO] [stdout] 9 | | Ok(kernels) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let kernels = kernel_model::list(env.db()).await; [INFO] [stdout] 8 | | match kernels { [INFO] [stdout] 9 | | Ok(kernels) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / match kernels { [INFO] [stdout] 9 | | Ok(kernels) => Ok(ApiResponse { [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(kernels), [INFO] [stdout] ... | [INFO] [stdout] 16 | | }), [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(kernels) => Ok(ApiResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(kernels), [INFO] [stdout] 12 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 15 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 16 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:20:95 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(kernel: NewKernel, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 21 | | let kernel_id = kernel_model::add(env.db(), &kernel).await; [INFO] [stdout] 22 | | match kernel_id { [INFO] [stdout] 23 | | Ok(kernel_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:20:95 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(kernel: NewKernel, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 21 | | let kernel_id = kernel_model::add(env.db(), &kernel).await; [INFO] [stdout] 22 | | match kernel_id { [INFO] [stdout] 23 | | Ok(kernel_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / match kernel_id { [INFO] [stdout] 23 | | Ok(kernel_id) => Ok(ApiResponse { [INFO] [stdout] 24 | | code: StatusCode::CREATED, [INFO] [stdout] 25 | | response: QaraxResponse::Success(kernel_id), [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(kernel_id) => Ok(ApiResponse { [INFO] [stdout] | __________________________^ [INFO] [stdout] 24 | | code: StatusCode::CREATED, [INFO] [stdout] 25 | | response: QaraxResponse::Success(kernel_id), [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 28 | | code: StatusCode::CONFLICT, [INFO] [stdout] 29 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 30 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(kernel_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 35 | | let kernel = kernel_model::by_id(env.db(), kernel_id).await; [INFO] [stdout] 36 | | match kernel { [INFO] [stdout] 37 | | Ok(kernel) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(kernel_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 35 | | let kernel = kernel_model::by_id(env.db(), kernel_id).await; [INFO] [stdout] 36 | | match kernel { [INFO] [stdout] 37 | | Ok(kernel) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match kernel { [INFO] [stdout] 37 | | Ok(kernel) => Ok(ApiResponse { [INFO] [stdout] 38 | | code: StatusCode::OK, [INFO] [stdout] 39 | | response: QaraxResponse::Success(kernel), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }), [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(kernel) => Ok(ApiResponse { [INFO] [stdout] | _______________________^ [INFO] [stdout] 38 | | code: StatusCode::OK, [INFO] [stdout] 39 | | response: QaraxResponse::Success(kernel), [INFO] [stdout] 40 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 42 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 43 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 44 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:5:77 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 6 | | let storages = storage_model::list(env.db()).await; [INFO] [stdout] 7 | | match storages { [INFO] [stdout] 8 | | Ok(storages) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:5:77 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 6 | | let storages = storage_model::list(env.db()).await; [INFO] [stdout] 7 | | match storages { [INFO] [stdout] 8 | | Ok(storages) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / match storages { [INFO] [stdout] 8 | | Ok(storages) => Ok(ApiResponse { [INFO] [stdout] 9 | | code: StatusCode::OK, [INFO] [stdout] 10 | | response: QaraxResponse::Success(storages), [INFO] [stdout] ... | [INFO] [stdout] 15 | | }), [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(storages) => Ok(ApiResponse { [INFO] [stdout] | _________________________^ [INFO] [stdout] 9 | | code: StatusCode::OK, [INFO] [stdout] 10 | | response: QaraxResponse::Success(storages), [INFO] [stdout] 11 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 13 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 14 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 15 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:19:97 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn add(storage: NewStorage, env: Environment) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 20 | | let storage_id = storage_model::add(env.db(), &storage).await; [INFO] [stdout] 21 | | match storage_id { [INFO] [stdout] 22 | | Ok(storage_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:19:97 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn add(storage: NewStorage, env: Environment) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 20 | | let storage_id = storage_model::add(env.db(), &storage).await; [INFO] [stdout] 21 | | match storage_id { [INFO] [stdout] 22 | | Ok(storage_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / match storage_id { [INFO] [stdout] 22 | | Ok(storage_id) => Ok(ApiResponse { [INFO] [stdout] 23 | | code: StatusCode::CREATED, [INFO] [stdout] 24 | | response: QaraxResponse::Success(storage_id), [INFO] [stdout] ... | [INFO] [stdout] 29 | | }), [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(storage_id) => Ok(ApiResponse { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 23 | | code: StatusCode::CREATED, [INFO] [stdout] 24 | | response: QaraxResponse::Success(storage_id), [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | code: StatusCode::CONFLICT, [INFO] [stdout] 28 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 29 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:33:94 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get(storage_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 34 | | let storage = storage_model::by_id(env.db(), storage_id).await; [INFO] [stdout] 35 | | match storage { [INFO] [stdout] 36 | | Ok(storage) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:33:94 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get(storage_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 34 | | let storage = storage_model::by_id(env.db(), storage_id).await; [INFO] [stdout] 35 | | match storage { [INFO] [stdout] 36 | | Ok(storage) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / match storage { [INFO] [stdout] 36 | | Ok(storage) => Ok(ApiResponse { [INFO] [stdout] 37 | | code: StatusCode::OK, [INFO] [stdout] 38 | | response: QaraxResponse::Success(storage), [INFO] [stdout] ... | [INFO] [stdout] 43 | | }), [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(storage) => Ok(ApiResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 37 | | code: StatusCode::OK, [INFO] [stdout] 38 | | response: QaraxResponse::Success(storage), [INFO] [stdout] 39 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 41 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 42 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 43 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let vms = vm_model::list(env.db()).await; [INFO] [stdout] 8 | | match vms { [INFO] [stdout] 9 | | Ok(vms) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let vms = vm_model::list(env.db()).await; [INFO] [stdout] 8 | | match vms { [INFO] [stdout] 9 | | Ok(vms) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / match vms { [INFO] [stdout] 9 | | Ok(vms) => Ok(ApiResponse { [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(vms), [INFO] [stdout] ... | [INFO] [stdout] 16 | | }), [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(vms) => Ok(ApiResponse { [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(vms), [INFO] [stdout] 12 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 15 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 16 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:20:87 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(vm: NewVm, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 21 | | let vm_id = vm_model::add(env.db(), &vm).await; [INFO] [stdout] 22 | | match vm_id { [INFO] [stdout] 23 | | Ok(vm_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:20:87 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(vm: NewVm, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 21 | | let vm_id = vm_model::add(env.db(), &vm).await; [INFO] [stdout] 22 | | match vm_id { [INFO] [stdout] 23 | | Ok(vm_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / match vm_id { [INFO] [stdout] 23 | | Ok(vm_id) => Ok(ApiResponse { [INFO] [stdout] 24 | | code: StatusCode::OK, [INFO] [stdout] 25 | | response: QaraxResponse::Success(vm_id), [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(vm_id) => Ok(ApiResponse { [INFO] [stdout] | ______________________^ [INFO] [stdout] 24 | | code: StatusCode::OK, [INFO] [stdout] 25 | | response: QaraxResponse::Success(vm_id), [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 28 | | code: StatusCode::CONFLICT, [INFO] [stdout] 29 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 30 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:34:89 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(vm_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 35 | | let vm = vm_model::by_id(env.db(), vm_id).await; [INFO] [stdout] 36 | | match vm { [INFO] [stdout] 37 | | Ok(vm) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:34:89 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(vm_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 35 | | let vm = vm_model::by_id(env.db(), vm_id).await; [INFO] [stdout] 36 | | match vm { [INFO] [stdout] 37 | | Ok(vm) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match vm { [INFO] [stdout] 37 | | Ok(vm) => Ok(ApiResponse { [INFO] [stdout] 38 | | code: StatusCode::CREATED, [INFO] [stdout] 39 | | response: QaraxResponse::Success(vm), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }), [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(vm) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 38 | | code: StatusCode::CREATED, [INFO] [stdout] 39 | | response: QaraxResponse::Success(vm), [INFO] [stdout] 40 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 42 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 43 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 44 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qarax-warp` (bin "qarax-warp") due to 80 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let drives = drive_model::list(env.db()).await; [INFO] [stdout] 8 | | match drives { [INFO] [stdout] 9 | | Ok(drives) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let drives = drive_model::list(env.db()).await; [INFO] [stdout] 8 | | match drives { [INFO] [stdout] 9 | | Ok(drives) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / match drives { [INFO] [stdout] 9 | | Ok(drives) => Ok(ApiResponse { [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(drives), [INFO] [stdout] ... | [INFO] [stdout] 16 | | }), [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(drives) => Ok(ApiResponse { [INFO] [stdout] | _______________________^ [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(drives), [INFO] [stdout] 12 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 15 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 16 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:20:93 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(drive: NewDrive, env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 21 | | let drive_id = drive_model::add(env.db(), &drive).await; [INFO] [stdout] 22 | | match drive_id { [INFO] [stdout] 23 | | Ok(drive_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:20:93 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(drive: NewDrive, env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 21 | | let drive_id = drive_model::add(env.db(), &drive).await; [INFO] [stdout] 22 | | match drive_id { [INFO] [stdout] 23 | | Ok(drive_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / match drive_id { [INFO] [stdout] 23 | | Ok(drive_id) => Ok(ApiResponse { [INFO] [stdout] 24 | | code: StatusCode::OK, [INFO] [stdout] 25 | | response: QaraxResponse::Success(drive_id), [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(drive_id) => Ok(ApiResponse { [INFO] [stdout] | _________________________^ [INFO] [stdout] 24 | | code: StatusCode::OK, [INFO] [stdout] 25 | | response: QaraxResponse::Success(drive_id), [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 28 | | code: StatusCode::CONFLICT, [INFO] [stdout] 29 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 30 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:34:92 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(drive_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 35 | | let drive = drive_model::by_id(env.db(), drive_id).await; [INFO] [stdout] 36 | | match drive { [INFO] [stdout] 37 | | Ok(drive) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:34:92 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(drive_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 35 | | let drive = drive_model::by_id(env.db(), drive_id).await; [INFO] [stdout] 36 | | match drive { [INFO] [stdout] 37 | | Ok(drive) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match drive { [INFO] [stdout] 37 | | Ok(drive) => Ok(ApiResponse { [INFO] [stdout] 38 | | code: StatusCode::CREATED, [INFO] [stdout] 39 | | response: QaraxResponse::Success(drive), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }), [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(drive) => Ok(ApiResponse { [INFO] [stdout] | ______________________^ [INFO] [stdout] 38 | | code: StatusCode::CREATED, [INFO] [stdout] 39 | | response: QaraxResponse::Success(drive), [INFO] [stdout] 40 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/drives.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 42 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 43 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 44 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:8:77 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 9 | | let hosts = host_model::list(env.db()).await; [INFO] [stdout] 10 | | match hosts { [INFO] [stdout] 11 | | Ok(hosts) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:8:77 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 9 | | let hosts = host_model::list(env.db()).await; [INFO] [stdout] 10 | | match hosts { [INFO] [stdout] 11 | | Ok(hosts) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / match hosts { [INFO] [stdout] 11 | | Ok(hosts) => Ok(ApiResponse { [INFO] [stdout] 12 | | code: StatusCode::OK, [INFO] [stdout] 13 | | response: QaraxResponse::Success(hosts), [INFO] [stdout] ... | [INFO] [stdout] 18 | | }), [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(hosts) => Ok(ApiResponse { [INFO] [stdout] | ______________________^ [INFO] [stdout] 12 | | code: StatusCode::OK, [INFO] [stdout] 13 | | response: QaraxResponse::Success(hosts), [INFO] [stdout] 14 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 16 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 17 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:22:91 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn add(host: NewHost, env: Environment) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 23 | | let host_id = host_model::add(env.db(), &host).await; [INFO] [stdout] 24 | | match host_id { [INFO] [stdout] 25 | | Ok(host_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:22:91 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn add(host: NewHost, env: Environment) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 23 | | let host_id = host_model::add(env.db(), &host).await; [INFO] [stdout] 24 | | match host_id { [INFO] [stdout] 25 | | Ok(host_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / match host_id { [INFO] [stdout] 25 | | Ok(host_id) => Ok(ApiResponse { [INFO] [stdout] 26 | | code: StatusCode::CREATED, [INFO] [stdout] 27 | | response: QaraxResponse::Success(host_id), [INFO] [stdout] ... | [INFO] [stdout] 32 | | }), [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(host_id) => Ok(ApiResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 26 | | code: StatusCode::CREATED, [INFO] [stdout] 27 | | response: QaraxResponse::Success(host_id), [INFO] [stdout] 28 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | code: StatusCode::CONFLICT, [INFO] [stdout] 31 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 32 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:36:91 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get(host_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 37 | | let host = host_model::by_id(env.db(), host_id).await; [INFO] [stdout] 38 | | match host { [INFO] [stdout] 39 | | Ok(host) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:36:91 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get(host_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 37 | | let host = host_model::by_id(env.db(), host_id).await; [INFO] [stdout] 38 | | match host { [INFO] [stdout] 39 | | Ok(host) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / match host { [INFO] [stdout] 39 | | Ok(host) => Ok(ApiResponse { [INFO] [stdout] 40 | | code: StatusCode::OK, [INFO] [stdout] 41 | | response: QaraxResponse::Success(host), [INFO] [stdout] ... | [INFO] [stdout] 46 | | }), [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(host) => Ok(ApiResponse { [INFO] [stdout] | _____________________^ [INFO] [stdout] 40 | | code: StatusCode::OK, [INFO] [stdout] 41 | | response: QaraxResponse::Success(host), [INFO] [stdout] 42 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 44 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 45 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 46 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:50:95 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn install(host_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 51 | | let host = if let Ok(host) = host_model::by_id(env.db(), host_id).await { [INFO] [stdout] 52 | | host [INFO] [stdout] 53 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }) [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:50:95 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn install(host_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 51 | | let host = if let Ok(host) = host_model::by_id(env.db(), host_id).await { [INFO] [stdout] 52 | | host [INFO] [stdout] 53 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }) [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | return Ok(ApiResponse { [INFO] [stdout] | ________________^ [INFO] [stdout] 55 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 56 | | response: QaraxResponse::Error(String::from("Host not found")), [INFO] [stdout] 57 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | return Ok(ApiResponse { [INFO] [stdout] | ________________^ [INFO] [stdout] 63 | | code: StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 64 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 65 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/hosts.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / Ok(ApiResponse { [INFO] [stdout] 95 | | code: StatusCode::OK, [INFO] [stdout] 96 | | response: QaraxResponse::Success("started"), [INFO] [stdout] 97 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let kernels = kernel_model::list(env.db()).await; [INFO] [stdout] 8 | | match kernels { [INFO] [stdout] 9 | | Ok(kernels) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let kernels = kernel_model::list(env.db()).await; [INFO] [stdout] 8 | | match kernels { [INFO] [stdout] 9 | | Ok(kernels) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / match kernels { [INFO] [stdout] 9 | | Ok(kernels) => Ok(ApiResponse { [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(kernels), [INFO] [stdout] ... | [INFO] [stdout] 16 | | }), [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(kernels) => Ok(ApiResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(kernels), [INFO] [stdout] 12 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 15 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 16 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:20:95 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(kernel: NewKernel, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 21 | | let kernel_id = kernel_model::add(env.db(), &kernel).await; [INFO] [stdout] 22 | | match kernel_id { [INFO] [stdout] 23 | | Ok(kernel_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:20:95 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(kernel: NewKernel, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 21 | | let kernel_id = kernel_model::add(env.db(), &kernel).await; [INFO] [stdout] 22 | | match kernel_id { [INFO] [stdout] 23 | | Ok(kernel_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / match kernel_id { [INFO] [stdout] 23 | | Ok(kernel_id) => Ok(ApiResponse { [INFO] [stdout] 24 | | code: StatusCode::CREATED, [INFO] [stdout] 25 | | response: QaraxResponse::Success(kernel_id), [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(kernel_id) => Ok(ApiResponse { [INFO] [stdout] | __________________________^ [INFO] [stdout] 24 | | code: StatusCode::CREATED, [INFO] [stdout] 25 | | response: QaraxResponse::Success(kernel_id), [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 28 | | code: StatusCode::CONFLICT, [INFO] [stdout] 29 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 30 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(kernel_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 35 | | let kernel = kernel_model::by_id(env.db(), kernel_id).await; [INFO] [stdout] 36 | | match kernel { [INFO] [stdout] 37 | | Ok(kernel) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(kernel_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 35 | | let kernel = kernel_model::by_id(env.db(), kernel_id).await; [INFO] [stdout] 36 | | match kernel { [INFO] [stdout] 37 | | Ok(kernel) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match kernel { [INFO] [stdout] 37 | | Ok(kernel) => Ok(ApiResponse { [INFO] [stdout] 38 | | code: StatusCode::OK, [INFO] [stdout] 39 | | response: QaraxResponse::Success(kernel), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }), [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(kernel) => Ok(ApiResponse { [INFO] [stdout] | _______________________^ [INFO] [stdout] 38 | | code: StatusCode::OK, [INFO] [stdout] 39 | | response: QaraxResponse::Success(kernel), [INFO] [stdout] 40 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/kernels.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 42 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 43 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 44 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:5:77 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 6 | | let storages = storage_model::list(env.db()).await; [INFO] [stdout] 7 | | match storages { [INFO] [stdout] 8 | | Ok(storages) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:5:77 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 6 | | let storages = storage_model::list(env.db()).await; [INFO] [stdout] 7 | | match storages { [INFO] [stdout] 8 | | Ok(storages) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / match storages { [INFO] [stdout] 8 | | Ok(storages) => Ok(ApiResponse { [INFO] [stdout] 9 | | code: StatusCode::OK, [INFO] [stdout] 10 | | response: QaraxResponse::Success(storages), [INFO] [stdout] ... | [INFO] [stdout] 15 | | }), [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(storages) => Ok(ApiResponse { [INFO] [stdout] | _________________________^ [INFO] [stdout] 9 | | code: StatusCode::OK, [INFO] [stdout] 10 | | response: QaraxResponse::Success(storages), [INFO] [stdout] 11 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 13 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 14 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 15 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:19:97 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn add(storage: NewStorage, env: Environment) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 20 | | let storage_id = storage_model::add(env.db(), &storage).await; [INFO] [stdout] 21 | | match storage_id { [INFO] [stdout] 22 | | Ok(storage_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:19:97 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn add(storage: NewStorage, env: Environment) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 20 | | let storage_id = storage_model::add(env.db(), &storage).await; [INFO] [stdout] 21 | | match storage_id { [INFO] [stdout] 22 | | Ok(storage_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / match storage_id { [INFO] [stdout] 22 | | Ok(storage_id) => Ok(ApiResponse { [INFO] [stdout] 23 | | code: StatusCode::CREATED, [INFO] [stdout] 24 | | response: QaraxResponse::Success(storage_id), [INFO] [stdout] ... | [INFO] [stdout] 29 | | }), [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(storage_id) => Ok(ApiResponse { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 23 | | code: StatusCode::CREATED, [INFO] [stdout] 24 | | response: QaraxResponse::Success(storage_id), [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | code: StatusCode::CONFLICT, [INFO] [stdout] 28 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 29 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:33:94 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get(storage_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 34 | | let storage = storage_model::by_id(env.db(), storage_id).await; [INFO] [stdout] 35 | | match storage { [INFO] [stdout] 36 | | Ok(storage) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:33:94 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get(storage_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 34 | | let storage = storage_model::by_id(env.db(), storage_id).await; [INFO] [stdout] 35 | | match storage { [INFO] [stdout] 36 | | Ok(storage) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / match storage { [INFO] [stdout] 36 | | Ok(storage) => Ok(ApiResponse { [INFO] [stdout] 37 | | code: StatusCode::OK, [INFO] [stdout] 38 | | response: QaraxResponse::Success(storage), [INFO] [stdout] ... | [INFO] [stdout] 43 | | }), [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(storage) => Ok(ApiResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 37 | | code: StatusCode::OK, [INFO] [stdout] 38 | | response: QaraxResponse::Success(storage), [INFO] [stdout] 39 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/storage.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 41 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 42 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 43 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let vms = vm_model::list(env.db()).await; [INFO] [stdout] 8 | | match vms { [INFO] [stdout] 9 | | Ok(vms) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:6:77 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn list(env: Environment) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 7 | | let vms = vm_model::list(env.db()).await; [INFO] [stdout] 8 | | match vms { [INFO] [stdout] 9 | | Ok(vms) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / match vms { [INFO] [stdout] 9 | | Ok(vms) => Ok(ApiResponse { [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(vms), [INFO] [stdout] ... | [INFO] [stdout] 16 | | }), [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(vms) => Ok(ApiResponse { [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | code: StatusCode::OK, [INFO] [stdout] 11 | | response: QaraxResponse::Success(vms), [INFO] [stdout] 12 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::string::String>, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | code: StatusCode::BAD_REQUEST, [INFO] [stdout] 15 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 16 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:20:87 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(vm: NewVm, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 21 | | let vm_id = vm_model::add(env.db(), &vm).await; [INFO] [stdout] 22 | | match vm_id { [INFO] [stdout] 23 | | Ok(vm_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:20:87 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add(vm: NewVm, env: Environment) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 21 | | let vm_id = vm_model::add(env.db(), &vm).await; [INFO] [stdout] 22 | | match vm_id { [INFO] [stdout] 23 | | Ok(vm_id) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / match vm_id { [INFO] [stdout] 23 | | Ok(vm_id) => Ok(ApiResponse { [INFO] [stdout] 24 | | code: StatusCode::OK, [INFO] [stdout] 25 | | response: QaraxResponse::Success(vm_id), [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(vm_id) => Ok(ApiResponse { [INFO] [stdout] | ______________________^ [INFO] [stdout] 24 | | code: StatusCode::OK, [INFO] [stdout] 25 | | response: QaraxResponse::Success(vm_id), [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 28 | | code: StatusCode::CONFLICT, [INFO] [stdout] 29 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 30 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:34:89 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(vm_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 35 | | let vm = vm_model::by_id(env.db(), vm_id).await; [INFO] [stdout] 36 | | match vm { [INFO] [stdout] 37 | | Ok(vm) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:34:89 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn get(vm_id: Uuid, env: Environment) -> Result { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 35 | | let vm = vm_model::by_id(env.db(), vm_id).await; [INFO] [stdout] 36 | | match vm { [INFO] [stdout] 37 | | Ok(vm) => Ok(ApiResponse { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match vm { [INFO] [stdout] 37 | | Ok(vm) => Ok(ApiResponse { [INFO] [stdout] 38 | | code: StatusCode::CREATED, [INFO] [stdout] 39 | | response: QaraxResponse::Success(vm), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }), [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(vm) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 38 | | code: StatusCode::CREATED, [INFO] [stdout] 39 | | response: QaraxResponse::Success(vm), [INFO] [stdout] 40 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/handlers/vms.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => Ok(ApiResponse { [INFO] [stdout] | ___________________^ [INFO] [stdout] 42 | | code: StatusCode::NOT_FOUND, [INFO] [stdout] 43 | | response: QaraxResponse::Error(e.to_string()), [INFO] [stdout] 44 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qarax-warp` (bin "qarax-warp" test) due to 80 previous errors [INFO] running `Command { std: "docker" "inspect" "15d0384e6b5ea8b83da6ab14a60b045b502b30736b00b3e51c4adb5ce949c224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d0384e6b5ea8b83da6ab14a60b045b502b30736b00b3e51c4adb5ce949c224", kill_on_drop: false }` [INFO] [stdout] 15d0384e6b5ea8b83da6ab14a60b045b502b30736b00b3e51c4adb5ce949c224