[INFO] cloning repository https://github.com/sciretta/spacial-audio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sciretta/spacial-audio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsciretta%2Fspacial-audio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsciretta%2Fspacial-audio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efb679ac18ba637c8869c4de5e516f87f5096369 [INFO] checking sciretta/spacial-audio 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%2Fsciretta%2Fspacial-audio" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sciretta/spacial-audio [INFO] finished tweaking git repo https://github.com/sciretta/spacial-audio [INFO] tweaked toml for git repo https://github.com/sciretta/spacial-audio written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sciretta/spacial-audio 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/sciretta/spacial-audio 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d280535c6edb156c78090208f7193bd95108574062e7fbfdd9efa0ddd4eed56c [INFO] running `Command { std: "docker" "start" "-a" "d280535c6edb156c78090208f7193bd95108574062e7fbfdd9efa0ddd4eed56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d280535c6edb156c78090208f7193bd95108574062e7fbfdd9efa0ddd4eed56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d280535c6edb156c78090208f7193bd95108574062e7fbfdd9efa0ddd4eed56c", kill_on_drop: false }` [INFO] [stdout] d280535c6edb156c78090208f7193bd95108574062e7fbfdd9efa0ddd4eed56c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 40da015285697a4bdb0ffd264a1b22363c62c14aa34739a2bb77a9ee18b904f0 [INFO] running `Command { std: "docker" "start" "-a" "40da015285697a4bdb0ffd264a1b22363c62c14aa34739a2bb77a9ee18b904f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking random-string v1.1.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking spacial-audio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers.rs:182:62 [INFO] [stdout] | [INFO] [stdout] 182 | async fn remove_session_private_method(session_code: String, state: Arc) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers.rs:182:62 [INFO] [stdout] | [INFO] [stdout] 182 | async fn remove_session_private_method(session_code: String, state: Arc) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:23:97 [INFO] [stdout] | [INFO] [stdout] 23 | async fn router(req: Request, state: Arc) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 24 | | match (req.uri().path(), req.method()) { [INFO] [stdout] 25 | | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] 26 | | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [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, Infallible> [INFO] [stdout] --> src/main.rs:23:97 [INFO] [stdout] | [INFO] [stdout] 23 | async fn router(req: Request, state: Arc) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 24 | | match (req.uri().path(), req.method()) { [INFO] [stdout] 25 | | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] 26 | | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / match (req.uri().path(), req.method()) { [INFO] [stdout] 25 | | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] 26 | | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] 27 | | ("/get-session", &Method::GET) => handlers::get_session(req, state).await, [INFO] [stdout] ... | [INFO] [stdout] 30 | | _ => Ok(Response::new(Body::from("Invalid path or method"))), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:25:84 [INFO] [stdout] | [INFO] [stdout] 25 | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:26:76 [INFO] [stdout] | [INFO] [stdout] 26 | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | ("/get-session", &Method::GET) => handlers::get_session(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | ("/get-session", &Method::GET) => handlers::get_session(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | ("/get-session", &Method::GET) => handlers::get_session(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | ("/subscribe-guest", &Method::GET) => handlers::sse_handler(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:28:81 [INFO] [stdout] | [INFO] [stdout] 28 | ("/subscribe-guest", &Method::GET) => handlers::sse_handler(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | ("/subscribe-guest", &Method::GET) => handlers::sse_handler(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | ("/set-finished", &Method::POST) => handlers::set_finished(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:29:80 [INFO] [stdout] | [INFO] [stdout] 29 | ("/set-finished", &Method::POST) => handlers::set_finished(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | ("/set-finished", &Method::POST) => handlers::set_finished(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | _ => Ok(Response::new(Body::from("Invalid path or method"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | async move { Ok::<_, Infallible>(service_fn(move |req| router(req, state.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | async move { Ok::<_, Infallible>(service_fn(move |req| router(req, state.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 14 | | let code_charset = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] 15 | | let session_code = generate(8, code_charset); [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(Response::new(Body::from(response_body.to_string()))) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 14 | | let code_charset = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] 15 | | let session_code = generate(8, code_charset); [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(Response::new(Body::from(response_body.to_string()))) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(Response::new(Body::from(response_body.to_string()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 43 | | let session_code = req [INFO] [stdout] 44 | | .headers() [INFO] [stdout] 45 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 43 | | let session_code = req [INFO] [stdout] 44 | | .headers() [INFO] [stdout] 45 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / match session { [INFO] [stdout] 56 | | Some(session) => { [INFO] [stdout] 57 | | if session.connected_guests == (session.audio_buffer.len() + 1) as u8 { [INFO] [stdout] 58 | | session.is_session_finished = true; [INFO] [stdout] ... | [INFO] [stdout] 65 | | None => return Ok(Response::new(Body::from("Session not found"))), [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | Some(session) => { [INFO] [stdout] | __________________________^ [INFO] [stdout] 57 | | if session.connected_guests == (session.audio_buffer.len() + 1) as u8 { [INFO] [stdout] 58 | | session.is_session_finished = true; [INFO] [stdout] ... | [INFO] [stdout] 63 | | ))) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / Ok(Response::new(Body::from( [INFO] [stdout] 62 | | "Audio buffer added successfully to the session", [INFO] [stdout] 63 | | ))) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | None => return Ok(Response::new(Body::from("Session not found"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spacial-audio` (bin "spacial-audio") due to 51 previous errors; 1 warning emitted [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | let session_code = req [INFO] [stdout] 74 | | .headers() [INFO] [stdout] 75 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | let session_code = req [INFO] [stdout] 74 | | .headers() [INFO] [stdout] 75 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / match session { [INFO] [stdout] 85 | | Some(session) => { [INFO] [stdout] 86 | | println!("SESSION {:?}", session); [INFO] [stdout] 87 | | if !session.is_session_finished { [INFO] [stdout] ... | [INFO] [stdout] 98 | | None => Ok(Response::new(Body::from("Session not found"))), [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | Some(session) => { [INFO] [stdout] | __________________________^ [INFO] [stdout] 86 | | println!("SESSION {:?}", session); [INFO] [stdout] 87 | | if !session.is_session_finished { [INFO] [stdout] 88 | | return Ok(Response::new(Body::from("Session not finished yet"))); [INFO] [stdout] ... | [INFO] [stdout] 96 | | Ok(Response::new(Body::from(audio_buffer))) [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | return Ok(Response::new(Body::from("Session not finished yet"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(Response::new(Body::from(audio_buffer))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | None => Ok(Response::new(Body::from("Session not found"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 106 | | let session_code = req [INFO] [stdout] 107 | | .headers() [INFO] [stdout] 108 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 106 | | let session_code = req [INFO] [stdout] 107 | | .headers() [INFO] [stdout] 108 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / if let Some(tx) = subscribers.get(&session_code) { [INFO] [stdout] 126 | | let mut rx = tx.subscribe(); [INFO] [stdout] 127 | | [INFO] [stdout] 128 | | let (mut sender, body) = Body::channel(); [INFO] [stdout] ... | [INFO] [stdout] 153 | | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:125:54 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(tx) = subscribers.get(&session_code) { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 126 | | let mut rx = tx.subscribe(); [INFO] [stdout] 127 | | [INFO] [stdout] 128 | | let (mut sender, body) = Body::channel(); [INFO] [stdout] ... | [INFO] [stdout] 151 | | .unwrap()) [INFO] [stdout] 152 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | / Ok(Response::builder() [INFO] [stdout] 147 | | .header("Content-Type", "text/event-stream") [INFO] [stdout] 148 | | .header("Cache-Control", "no-cache") [INFO] [stdout] 149 | | .header("Connection", "keep-alive") [INFO] [stdout] 150 | | .body(body) [INFO] [stdout] 151 | | .unwrap()) [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 153 | | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:160:41 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 161 | | let session_code = req [INFO] [stdout] 162 | | .headers() [INFO] [stdout] 163 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:160:41 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 161 | | let session_code = req [INFO] [stdout] 162 | | .headers() [INFO] [stdout] 163 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / if let Some(_) = sessions.get_mut(&session_code) { [INFO] [stdout] 171 | | let subscribers = state.subscribers.lock().await; [INFO] [stdout] 172 | | if let Some(tx) = subscribers.get(&session_code) { [INFO] [stdout] 173 | | let _ = tx.send("session_finished".to_string()); [INFO] [stdout] ... | [INFO] [stdout] 178 | | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] 179 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:170:54 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(_) = sessions.get_mut(&session_code) { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 171 | | let subscribers = state.subscribers.lock().await; [INFO] [stdout] 172 | | if let Some(tx) = subscribers.get(&session_code) { [INFO] [stdout] 173 | | let _ = tx.send("session_finished".to_string()); [INFO] [stdout] ... | [INFO] [stdout] 176 | | Ok(Response::new(Body::from("Session finished"))) [INFO] [stdout] 177 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | Ok(Response::new(Body::from("Session finished"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 178 | | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] 179 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:23:97 [INFO] [stdout] | [INFO] [stdout] 23 | async fn router(req: Request, state: Arc) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 24 | | match (req.uri().path(), req.method()) { [INFO] [stdout] 25 | | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] 26 | | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [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, Infallible> [INFO] [stdout] --> src/main.rs:23:97 [INFO] [stdout] | [INFO] [stdout] 23 | async fn router(req: Request, state: Arc) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 24 | | match (req.uri().path(), req.method()) { [INFO] [stdout] 25 | | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] 26 | | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / match (req.uri().path(), req.method()) { [INFO] [stdout] 25 | | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] 26 | | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] 27 | | ("/get-session", &Method::GET) => handlers::get_session(req, state).await, [INFO] [stdout] ... | [INFO] [stdout] 30 | | _ => Ok(Response::new(Body::from("Invalid path or method"))), [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:25:84 [INFO] [stdout] | [INFO] [stdout] 25 | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | ("/create-session", &Method::POST) => handlers::create_session(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:26:76 [INFO] [stdout] | [INFO] [stdout] 26 | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | ("/add-buffer", &Method::POST) => handlers::add_buffer(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | ("/get-session", &Method::GET) => handlers::get_session(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | ("/get-session", &Method::GET) => handlers::get_session(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | ("/get-session", &Method::GET) => handlers::get_session(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | ("/subscribe-guest", &Method::GET) => handlers::sse_handler(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:28:81 [INFO] [stdout] | [INFO] [stdout] 28 | ("/subscribe-guest", &Method::GET) => handlers::sse_handler(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | ("/subscribe-guest", &Method::GET) => handlers::sse_handler(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | ("/set-finished", &Method::POST) => handlers::set_finished(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:29:80 [INFO] [stdout] | [INFO] [stdout] 29 | ("/set-finished", &Method::POST) => handlers::set_finished(req, state).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | ("/set-finished", &Method::POST) => handlers::set_finished(req, state).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | _ => Ok(Response::new(Body::from("Invalid path or method"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | async move { Ok::<_, Infallible>(service_fn(move |req| router(req, state.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | async move { Ok::<_, Infallible>(service_fn(move |req| router(req, state.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 14 | | let code_charset = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] 15 | | let session_code = generate(8, code_charset); [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(Response::new(Body::from(response_body.to_string()))) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 14 | | let code_charset = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] 15 | | let session_code = generate(8, code_charset); [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(Response::new(Body::from(response_body.to_string()))) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(Response::new(Body::from(response_body.to_string()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 43 | | let session_code = req [INFO] [stdout] 44 | | .headers() [INFO] [stdout] 45 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 43 | | let session_code = req [INFO] [stdout] 44 | | .headers() [INFO] [stdout] 45 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / match session { [INFO] [stdout] 56 | | Some(session) => { [INFO] [stdout] 57 | | if session.connected_guests == (session.audio_buffer.len() + 1) as u8 { [INFO] [stdout] 58 | | session.is_session_finished = true; [INFO] [stdout] ... | [INFO] [stdout] 65 | | None => return Ok(Response::new(Body::from("Session not found"))), [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | Some(session) => { [INFO] [stdout] | __________________________^ [INFO] [stdout] 57 | | if session.connected_guests == (session.audio_buffer.len() + 1) as u8 { [INFO] [stdout] 58 | | session.is_session_finished = true; [INFO] [stdout] ... | [INFO] [stdout] 63 | | ))) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spacial-audio` (bin "spacial-audio" test) due to 51 previous errors; 1 warning emitted [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / Ok(Response::new(Body::from( [INFO] [stdout] 62 | | "Audio buffer added successfully to the session", [INFO] [stdout] 63 | | ))) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | None => return Ok(Response::new(Body::from("Session not found"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | let session_code = req [INFO] [stdout] 74 | | .headers() [INFO] [stdout] 75 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | let session_code = req [INFO] [stdout] 74 | | .headers() [INFO] [stdout] 75 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / match session { [INFO] [stdout] 85 | | Some(session) => { [INFO] [stdout] 86 | | println!("SESSION {:?}", session); [INFO] [stdout] 87 | | if !session.is_session_finished { [INFO] [stdout] ... | [INFO] [stdout] 98 | | None => Ok(Response::new(Body::from("Session not found"))), [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | Some(session) => { [INFO] [stdout] | __________________________^ [INFO] [stdout] 86 | | println!("SESSION {:?}", session); [INFO] [stdout] 87 | | if !session.is_session_finished { [INFO] [stdout] 88 | | return Ok(Response::new(Body::from("Session not finished yet"))); [INFO] [stdout] ... | [INFO] [stdout] 96 | | Ok(Response::new(Body::from(audio_buffer))) [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | return Ok(Response::new(Body::from("Session not finished yet"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(Response::new(Body::from(audio_buffer))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | None => Ok(Response::new(Body::from("Session not found"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 106 | | let session_code = req [INFO] [stdout] 107 | | .headers() [INFO] [stdout] 108 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 106 | | let session_code = req [INFO] [stdout] 107 | | .headers() [INFO] [stdout] 108 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / if let Some(tx) = subscribers.get(&session_code) { [INFO] [stdout] 126 | | let mut rx = tx.subscribe(); [INFO] [stdout] 127 | | [INFO] [stdout] 128 | | let (mut sender, body) = Body::channel(); [INFO] [stdout] ... | [INFO] [stdout] 153 | | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:125:54 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(tx) = subscribers.get(&session_code) { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 126 | | let mut rx = tx.subscribe(); [INFO] [stdout] 127 | | [INFO] [stdout] 128 | | let (mut sender, body) = Body::channel(); [INFO] [stdout] ... | [INFO] [stdout] 151 | | .unwrap()) [INFO] [stdout] 152 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | / Ok(Response::builder() [INFO] [stdout] 147 | | .header("Content-Type", "text/event-stream") [INFO] [stdout] 148 | | .header("Cache-Control", "no-cache") [INFO] [stdout] 149 | | .header("Connection", "keep-alive") [INFO] [stdout] 150 | | .body(body) [INFO] [stdout] 151 | | .unwrap()) [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 153 | | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:160:41 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 161 | | let session_code = req [INFO] [stdout] 162 | | .headers() [INFO] [stdout] 163 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:160:41 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 161 | | let session_code = req [INFO] [stdout] 162 | | .headers() [INFO] [stdout] 163 | | .get("sessioncode") [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / if let Some(_) = sessions.get_mut(&session_code) { [INFO] [stdout] 171 | | let subscribers = state.subscribers.lock().await; [INFO] [stdout] 172 | | if let Some(tx) = subscribers.get(&session_code) { [INFO] [stdout] 173 | | let _ = tx.send("session_finished".to_string()); [INFO] [stdout] ... | [INFO] [stdout] 178 | | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] 179 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:170:54 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(_) = sessions.get_mut(&session_code) { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 171 | | let subscribers = state.subscribers.lock().await; [INFO] [stdout] 172 | | if let Some(tx) = subscribers.get(&session_code) { [INFO] [stdout] 173 | | let _ = tx.send("session_finished".to_string()); [INFO] [stdout] ... | [INFO] [stdout] 176 | | Ok(Response::new(Body::from("Session finished"))) [INFO] [stdout] 177 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | Ok(Response::new(Body::from("Session finished"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 178 | | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] 179 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handlers.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(Response::new(Body::from("Session not found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "40da015285697a4bdb0ffd264a1b22363c62c14aa34739a2bb77a9ee18b904f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40da015285697a4bdb0ffd264a1b22363c62c14aa34739a2bb77a9ee18b904f0", kill_on_drop: false }` [INFO] [stdout] 40da015285697a4bdb0ffd264a1b22363c62c14aa34739a2bb77a9ee18b904f0