[INFO] cloning repository https://github.com/nZeloT/filebase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nZeloT/filebase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnZeloT%2Ffilebase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnZeloT%2Ffilebase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e7c7334e2f7034e93f0ba94a5b4869627d66ab2 [INFO] checking nZeloT/filebase 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%2FnZeloT%2Ffilebase" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nZeloT/filebase [INFO] finished tweaking git repo https://github.com/nZeloT/filebase [INFO] tweaked toml for git repo https://github.com/nZeloT/filebase written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nZeloT/filebase 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/nZeloT/filebase 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1cb59b447f6cc5c8bccc8e92347118a500cb9ebe8d059f214ad430461dfa4fea [INFO] running `Command { std: "docker" "start" "-a" "1cb59b447f6cc5c8bccc8e92347118a500cb9ebe8d059f214ad430461dfa4fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cb59b447f6cc5c8bccc8e92347118a500cb9ebe8d059f214ad430461dfa4fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb59b447f6cc5c8bccc8e92347118a500cb9ebe8d059f214ad430461dfa4fea", kill_on_drop: false }` [INFO] [stdout] 1cb59b447f6cc5c8bccc8e92347118a500cb9ebe8d059f214ad430461dfa4fea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dfec1ae22dfc39ff7e0b2a1b287c74742413163b716d592c4c52a4afad1c940f [INFO] running `Command { std: "docker" "start" "-a" "dfec1ae22dfc39ff7e0b2a1b287c74742413163b716d592c4c52a4afad1c940f", 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 memchr v2.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling new_mime_guess v2.1.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.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 mio v0.7.13 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking mutate_once v0.1.1 [INFO] [stderr] Checking kamadak-exif v0.5.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking filebase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:38:102 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn handle_list_items(fs: FileSystem) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________________^ [INFO] [stdout] 39 | | match fs.list().await { [INFO] [stdout] 40 | | Ok(items) => { [INFO] [stdout] 41 | | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [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: std::result::Result [INFO] [stdout] --> src/api_handler.rs:38:102 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn handle_list_items(fs: FileSystem) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________________^ [INFO] [stdout] 39 | | match fs.list().await { [INFO] [stdout] 40 | | Ok(items) => { [INFO] [stdout] 41 | | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / match fs.list().await { [INFO] [stdout] 40 | | Ok(items) => { [INFO] [stdout] 41 | | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(items) => { [INFO] [stdout] | ______________________^ [INFO] [stdout] 41 | | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] 42 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 44 | | Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:49:116 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn handle_load_item(image_id: u64, fs: FileSystem) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________________________________^ [INFO] [stdout] 50 | | match fs.read(image_id).await { [INFO] [stdout] 51 | | Ok(data) => { [INFO] [stdout] 52 | | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:49:116 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn handle_load_item(image_id: u64, fs: FileSystem) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________________________________^ [INFO] [stdout] 50 | | match fs.read(image_id).await { [INFO] [stdout] 51 | | Ok(data) => { [INFO] [stdout] 52 | | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / match fs.read(image_id).await { [INFO] [stdout] 51 | | Ok(data) => { [INFO] [stdout] 52 | | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(data) => { [INFO] [stdout] | _____________________^ [INFO] [stdout] 52 | | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:58:130 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn handle_discard_items(fs: FileSystem, body: DiscardMediaItems) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 59 | | match fs.discard(body.ids).await { [INFO] [stdout] 60 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 61 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:58:130 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn handle_discard_items(fs: FileSystem, body: DiscardMediaItems) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 59 | | match fs.discard(body.ids).await { [INFO] [stdout] 60 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 61 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / match fs.discard(body.ids).await { [INFO] [stdout] 60 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 61 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:65:103 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn handle_discard_all(fs: FileSystem) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 66 | | match fs.discard_all().await { [INFO] [stdout] 67 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 68 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:65:103 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn handle_discard_all(fs: FileSystem) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 66 | | match fs.discard_all().await { [INFO] [stdout] 67 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 68 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / match fs.discard_all().await { [INFO] [stdout] 67 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 68 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 69 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:72:130 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn handle_confirm_items(fs: FileSystem, body: ConfirmMediaItems) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 73 | | match fs.confirm(&body.destination, body.ids).await { [INFO] [stdout] 74 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 75 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:72:130 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn handle_confirm_items(fs: FileSystem, body: ConfirmMediaItems) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 73 | | match fs.confirm(&body.destination, body.ids).await { [INFO] [stdout] 74 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 75 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / match fs.confirm(&body.destination, body.ids).await { [INFO] [stdout] 74 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 75 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:79:109 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn handle_list_destinations(fs: FileSystem) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________________________^ [INFO] [stdout] 80 | | Ok(reply(json(&fs.list_confirm_destinations().await), APPL_JSON, StatusCode::OK)) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:79:109 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn handle_list_destinations(fs: FileSystem) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________________________^ [INFO] [stdout] 80 | | Ok(reply(json(&fs.list_confirm_destinations().await), APPL_JSON, StatusCode::OK)) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(reply(json(&fs.list_confirm_destinations().await), APPL_JSON, StatusCode::OK)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `filebase` (bin "filebase") due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:38:102 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn handle_list_items(fs: FileSystem) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________________^ [INFO] [stdout] 39 | | match fs.list().await { [INFO] [stdout] 40 | | Ok(items) => { [INFO] [stdout] 41 | | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [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: std::result::Result [INFO] [stdout] --> src/api_handler.rs:38:102 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn handle_list_items(fs: FileSystem) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________________^ [INFO] [stdout] 39 | | match fs.list().await { [INFO] [stdout] 40 | | Ok(items) => { [INFO] [stdout] 41 | | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / match fs.list().await { [INFO] [stdout] 40 | | Ok(items) => { [INFO] [stdout] 41 | | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(items) => { [INFO] [stdout] | ______________________^ [INFO] [stdout] 41 | | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] 42 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(reply(json(&items), APPL_JSON, StatusCode::OK)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 44 | | Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:49:116 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn handle_load_item(image_id: u64, fs: FileSystem) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________________________________^ [INFO] [stdout] 50 | | match fs.read(image_id).await { [INFO] [stdout] 51 | | Ok(data) => { [INFO] [stdout] 52 | | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:49:116 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn handle_load_item(image_id: u64, fs: FileSystem) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________________________________^ [INFO] [stdout] 50 | | match fs.read(image_id).await { [INFO] [stdout] 51 | | Ok(data) => { [INFO] [stdout] 52 | | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / match fs.read(image_id).await { [INFO] [stdout] 51 | | Ok(data) => { [INFO] [stdout] 52 | | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(data) => { [INFO] [stdout] | _____________________^ [INFO] [stdout] 52 | | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(reply(data, IMAGE_JPG, StatusCode::OK)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:58:130 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn handle_discard_items(fs: FileSystem, body: DiscardMediaItems) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 59 | | match fs.discard(body.ids).await { [INFO] [stdout] 60 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 61 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:58:130 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn handle_discard_items(fs: FileSystem, body: DiscardMediaItems) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 59 | | match fs.discard(body.ids).await { [INFO] [stdout] 60 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 61 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / match fs.discard(body.ids).await { [INFO] [stdout] 60 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 61 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:65:103 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn handle_discard_all(fs: FileSystem) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 66 | | match fs.discard_all().await { [INFO] [stdout] 67 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 68 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:65:103 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn handle_discard_all(fs: FileSystem) -> Result { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 66 | | match fs.discard_all().await { [INFO] [stdout] 67 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 68 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / match fs.discard_all().await { [INFO] [stdout] 67 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 68 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 69 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:72:130 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn handle_confirm_items(fs: FileSystem, body: ConfirmMediaItems) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 73 | | match fs.confirm(&body.destination, body.ids).await { [INFO] [stdout] 74 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 75 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:72:130 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn handle_confirm_items(fs: FileSystem, body: ConfirmMediaItems) -> Result { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 73 | | match fs.confirm(&body.destination, body.ids).await { [INFO] [stdout] 74 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 75 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / match fs.confirm(&body.destination, body.ids).await { [INFO] [stdout] 74 | | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] 75 | | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(_) => Ok(reply("".to_string().into_bytes(), TEXT_PLN, StatusCode::OK)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => Ok(reply(json(&e), APPL_JSON, StatusCode::INTERNAL_SERVER_ERROR)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:79:109 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn handle_list_destinations(fs: FileSystem) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________________________^ [INFO] [stdout] 80 | | Ok(reply(json(&fs.list_confirm_destinations().await), APPL_JSON, StatusCode::OK)) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:79:109 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn handle_list_destinations(fs: FileSystem) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________________________^ [INFO] [stdout] 80 | | Ok(reply(json(&fs.list_confirm_destinations().await), APPL_JSON, StatusCode::OK)) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/api_handler.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(reply(json(&fs.list_confirm_destinations().await), APPL_JSON, StatusCode::OK)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `filebase` (bin "filebase" test) due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "dfec1ae22dfc39ff7e0b2a1b287c74742413163b716d592c4c52a4afad1c940f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfec1ae22dfc39ff7e0b2a1b287c74742413163b716d592c4c52a4afad1c940f", kill_on_drop: false }` [INFO] [stdout] dfec1ae22dfc39ff7e0b2a1b287c74742413163b716d592c4c52a4afad1c940f