[INFO] cloning repository https://github.com/ssalonen/webcam-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssalonen/webcam-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssalonen%2Fwebcam-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssalonen%2Fwebcam-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] caaf4094dc0c0424278b1efd03e964639dbb4104 [INFO] checking ssalonen/webcam-proxy 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%2Fssalonen%2Fwebcam-proxy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ssalonen/webcam-proxy [INFO] finished tweaking git repo https://github.com/ssalonen/webcam-proxy [INFO] tweaked toml for git repo https://github.com/ssalonen/webcam-proxy written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ssalonen/webcam-proxy 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/ssalonen/webcam-proxy 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6b3088703524dac275e850523bcaed2da073272e55ceec1ef97c354119b5be8a [INFO] running `Command { std: "docker" "start" "-a" "6b3088703524dac275e850523bcaed2da073272e55ceec1ef97c354119b5be8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b3088703524dac275e850523bcaed2da073272e55ceec1ef97c354119b5be8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b3088703524dac275e850523bcaed2da073272e55ceec1ef97c354119b5be8a", kill_on_drop: false }` [INFO] [stdout] 6b3088703524dac275e850523bcaed2da073272e55ceec1ef97c354119b5be8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 53b35aa47e29f3676f9d8a902006ceea75bce74ae336ac98dc4ad3fe26589bae [INFO] running `Command { std: "docker" "start" "-a" "53b35aa47e29f3676f9d8a902006ceea75bce74ae336ac98dc4ad3fe26589bae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking nanorand v0.6.1 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking strength_reduce v0.2.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking transpose v0.1.0 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking rustfft v3.0.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking png v0.17.3 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking tiff v0.7.1 [INFO] [stderr] Checking typenum v1.15.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking rustdct v0.4.0 [INFO] [stderr] Checking transpose v0.2.1 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking jpeg-decoder v0.2.2 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking tracing-subscriber v0.3.9 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.11 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking img_hash v3.2.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking imageproc v0.23.0 [INFO] [stderr] Checking webcam-proxy v0.1.8-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:393:52 [INFO] [stdout] | [INFO] [stdout] 393 | move |_socket: &AddrStream| async move { Ok::<_, Infallible>(service_fn(handler)) }, [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/lib.rs:393:54 [INFO] [stdout] | [INFO] [stdout] 393 | move |_socket: &AddrStream| async move { Ok::<_, Infallible>(service_fn(handler)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:477:45 [INFO] [stdout] | [INFO] [stdout] 477 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 478 | | debug!( [INFO] [stdout] 479 | | "Request in, user-agent: {:?}", [INFO] [stdout] 480 | | request.headers().get("user-agent") [INFO] [stdout] ... | [INFO] [stdout] 576 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:477:45 [INFO] [stdout] | [INFO] [stdout] 477 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 478 | | debug!( [INFO] [stdout] 479 | | "Request in, user-agent: {:?}", [INFO] [stdout] 480 | | request.headers().get("user-agent") [INFO] [stdout] ... | [INFO] [stdout] 576 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:495:24 [INFO] [stdout] | [INFO] [stdout] 495 | return Ok(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 496 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 497 | | .body(Body::from("Unauthorized")) [INFO] [stdout] 498 | | .expect("Could not create response")); [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 502 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 503 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 504 | | .body(Body::from("Invalid query string")) [INFO] [stdout] 505 | | .expect("Could not create response")); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | / match request.uri().path() { [INFO] [stdout] 509 | | "/snapshot" => { [INFO] [stdout] 510 | | debug!("Acquiring image_data lock"); [INFO] [stdout] 511 | | let image_bytes = { [INFO] [stdout] ... | [INFO] [stdout] 574 | | .expect("Could not create response")), [INFO] [stdout] 575 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | "/snapshot" => { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 510 | | debug!("Acquiring image_data lock"); [INFO] [stdout] 511 | | let image_bytes = { [INFO] [stdout] 512 | | let image_data = self.image_data.read().await; [INFO] [stdout] ... | [INFO] [stdout] 523 | | .expect("Could not create response")) [INFO] [stdout] 524 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | / Ok(Response::builder() [INFO] [stdout] 518 | | .header("Cache-Control", "no-cache") [INFO] [stdout] 519 | | .header("Connection", "close") [INFO] [stdout] 520 | | .header("Content-Type", "image/jpeg") [INFO] [stdout] 521 | | .header("Pragma", "no-cache") [INFO] [stdout] 522 | | .body(Body::from(image_bytes)) [INFO] [stdout] 523 | | .expect("Could not create response")) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:525:26 [INFO] [stdout] | [INFO] [stdout] 525 | "/stream" => { [INFO] [stdout] | __________________________^ [INFO] [stdout] 526 | | let image_stream = // flatten Stream> to Stream [INFO] [stdout] 527 | | futures::stream::StreamExt::flatten(futures::stream::unfold( [INFO] [stdout] 528 | | self.broadcast_rx.clone(), [INFO] [stdout] ... | [INFO] [stdout] 569 | | .expect("Could not create response")) [INFO] [stdout] 570 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | / Ok(Response::builder() [INFO] [stdout] 561 | | .header("Cache-Control", "no-cache") [INFO] [stdout] 562 | | .header("Connection", "close") [INFO] [stdout] 563 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 568 | | .body(body) [INFO] [stdout] 569 | | .expect("Could not create response")) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:571:18 [INFO] [stdout] | [INFO] [stdout] 571 | _ => Ok(Response::builder() [INFO] [stdout] | __________________^ [INFO] [stdout] 572 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 573 | | .body(Body::from("Invalid path")) [INFO] [stdout] 574 | | .expect("Could not create response")), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:393:52 [INFO] [stdout] | [INFO] [stdout] 393 | move |_socket: &AddrStream| async move { Ok::<_, Infallible>(service_fn(handler)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webcam-proxy` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:393:54 [INFO] [stdout] | [INFO] [stdout] 393 | move |_socket: &AddrStream| async move { Ok::<_, Infallible>(service_fn(handler)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:477:45 [INFO] [stdout] | [INFO] [stdout] 477 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 478 | | debug!( [INFO] [stdout] 479 | | "Request in, user-agent: {:?}", [INFO] [stdout] 480 | | request.headers().get("user-agent") [INFO] [stdout] ... | [INFO] [stdout] 576 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:477:45 [INFO] [stdout] | [INFO] [stdout] 477 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 478 | | debug!( [INFO] [stdout] 479 | | "Request in, user-agent: {:?}", [INFO] [stdout] 480 | | request.headers().get("user-agent") [INFO] [stdout] ... | [INFO] [stdout] 576 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:495:24 [INFO] [stdout] | [INFO] [stdout] 495 | return Ok(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 496 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 497 | | .body(Body::from("Unauthorized")) [INFO] [stdout] 498 | | .expect("Could not create response")); [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 502 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 503 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 504 | | .body(Body::from("Invalid query string")) [INFO] [stdout] 505 | | .expect("Could not create response")); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | / match request.uri().path() { [INFO] [stdout] 509 | | "/snapshot" => { [INFO] [stdout] 510 | | debug!("Acquiring image_data lock"); [INFO] [stdout] 511 | | let image_bytes = { [INFO] [stdout] ... | [INFO] [stdout] 574 | | .expect("Could not create response")), [INFO] [stdout] 575 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | "/snapshot" => { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 510 | | debug!("Acquiring image_data lock"); [INFO] [stdout] 511 | | let image_bytes = { [INFO] [stdout] 512 | | let image_data = self.image_data.read().await; [INFO] [stdout] ... | [INFO] [stdout] 523 | | .expect("Could not create response")) [INFO] [stdout] 524 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | / Ok(Response::builder() [INFO] [stdout] 518 | | .header("Cache-Control", "no-cache") [INFO] [stdout] 519 | | .header("Connection", "close") [INFO] [stdout] 520 | | .header("Content-Type", "image/jpeg") [INFO] [stdout] 521 | | .header("Pragma", "no-cache") [INFO] [stdout] 522 | | .body(Body::from(image_bytes)) [INFO] [stdout] 523 | | .expect("Could not create response")) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:525:26 [INFO] [stdout] | [INFO] [stdout] 525 | "/stream" => { [INFO] [stdout] | __________________________^ [INFO] [stdout] 526 | | let image_stream = // flatten Stream> to Stream [INFO] [stdout] 527 | | futures::stream::StreamExt::flatten(futures::stream::unfold( [INFO] [stdout] 528 | | self.broadcast_rx.clone(), [INFO] [stdout] ... | [INFO] [stdout] 569 | | .expect("Could not create response")) [INFO] [stdout] 570 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | / Ok(Response::builder() [INFO] [stdout] 561 | | .header("Cache-Control", "no-cache") [INFO] [stdout] 562 | | .header("Connection", "close") [INFO] [stdout] 563 | | .header( [INFO] [stdout] ... | [INFO] [stdout] 568 | | .body(body) [INFO] [stdout] 569 | | .expect("Could not create response")) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:571:18 [INFO] [stdout] | [INFO] [stdout] 571 | _ => Ok(Response::builder() [INFO] [stdout] | __________________^ [INFO] [stdout] 572 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 573 | | .body(Body::from("Invalid path")) [INFO] [stdout] 574 | | .expect("Could not create response")), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webcam-proxy` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "53b35aa47e29f3676f9d8a902006ceea75bce74ae336ac98dc4ad3fe26589bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b35aa47e29f3676f9d8a902006ceea75bce74ae336ac98dc4ad3fe26589bae", kill_on_drop: false }` [INFO] [stdout] 53b35aa47e29f3676f9d8a902006ceea75bce74ae336ac98dc4ad3fe26589bae