[INFO] cloning repository https://github.com/rymis/httpcam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rymis/httpcam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frymis%2Fhttpcam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frymis%2Fhttpcam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5e77272387df48428c184ed620459c453dd63e9 [INFO] checking rymis/httpcam against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frymis%2Fhttpcam" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rymis/httpcam on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rymis/httpcam [INFO] finished tweaking git repo https://github.com/rymis/httpcam [INFO] tweaked toml for git repo https://github.com/rymis/httpcam written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rymis/httpcam 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chunked_transfer v1.4.1 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded nokhwa v0.10.4 [INFO] [stderr] Downloaded nokhwa-core v0.1.2 [INFO] [stderr] Downloaded thiserror v1.0.50 [INFO] [stderr] Downloaded nasm-rs v0.2.5 [INFO] [stderr] Downloaded rgb v0.8.37 [INFO] [stderr] Downloaded futures-sink v0.3.29 [INFO] [stderr] Downloaded futures-core v0.3.29 [INFO] [stderr] Downloaded core-media-sys v0.1.2 [INFO] [stderr] Downloaded shlex v0.1.1 [INFO] [stderr] Downloaded v4l2-sys-mit v0.2.0 [INFO] [stderr] Downloaded nokhwa-bindings-linux v0.1.0 [INFO] [stderr] Downloaded bindgen v0.56.0 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded argh_derive v0.1.12 [INFO] [stderr] Downloaded nokhwa-bindings-windows v0.4.0 [INFO] [stderr] Downloaded serde v1.0.190 [INFO] [stderr] Downloaded argh_shared v0.1.12 [INFO] [stderr] Downloaded core-graphics v0.19.2 [INFO] [stderr] Downloaded core-video-sys v0.1.4 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded argh v0.1.12 [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded core-foundation v0.9.3 [INFO] [stderr] Downloaded core-graphics-types v0.1.2 [INFO] [stderr] Downloaded cocoa-foundation v0.1.2 [INFO] [stderr] Downloaded mozjpeg-sys v1.1.1 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded metal v0.18.0 [INFO] [stderr] Downloaded nokhwa-bindings-macos v0.2.1 [INFO] [stderr] Downloaded mozjpeg v0.9.8 [INFO] [stderr] Downloaded tinyjson v2.5.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.50 [INFO] [stderr] Downloaded serde_derive v1.0.190 [INFO] [stderr] Downloaded v4l v0.13.1 [INFO] [stderr] Downloaded windows v0.43.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b94a75856fd7921612d73999384727da08e66a5d4ecd4ebbbef0892414f45db3 [INFO] running `Command { std: "docker" "start" "-a" "b94a75856fd7921612d73999384727da08e66a5d4ecd4ebbbef0892414f45db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b94a75856fd7921612d73999384727da08e66a5d4ecd4ebbbef0892414f45db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94a75856fd7921612d73999384727da08e66a5d4ecd4ebbbef0892414f45db3", kill_on_drop: false }` [INFO] [stdout] b94a75856fd7921612d73999384727da08e66a5d4ecd4ebbbef0892414f45db3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf0dcc5500879faba7495e904666cc63e8e26bc10829f74f14b622fb7c05457d [INFO] running `Command { std: "docker" "start" "-a" "cf0dcc5500879faba7495e904666cc63e8e26bc10829f74f14b622fb7c05457d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling nokhwa-bindings-macos v0.2.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling httpcam v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Compiling mozjpeg-sys v1.1.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking mozjpeg v0.9.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking nokhwa-core v0.1.2 [INFO] [stderr] Checking nokhwa-bindings-windows v0.4.0 [INFO] [stderr] Compiling v4l2-sys-mit v0.2.0 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking v4l v0.13.1 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking nokhwa-bindings-linux v0.1.0 [INFO] [stderr] Checking nokhwa v0.10.4 [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/archive.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn add_image(&self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/archive.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn add_image(&self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shrx.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let mut m = self.check_impl(s, p, rule_idx + 1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shrx.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let mut m = self.check_impl(s, p, rule_idx + 1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/shrx.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | Some(x) => ok, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut camera = Camera::new(info.index().clone(), requested); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam` [INFO] [stdout] --> src/main.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | fn api_set_control(cam: &mut Camera, req: &JsonValue) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | fn api_set_control(cam: &mut Camera, req: &JsonValue) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut camera = Camera::new(info.index().clone(), requested); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam` [INFO] [stdout] --> src/main.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | fn api_set_control(cam: &mut Camera, req: &JsonValue) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | fn api_set_control(cam: &mut Camera, req: &JsonValue) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn save_file(name: &str, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `fps`, and `max_age` are never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct CmdLine { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | max_age: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_age` and `max_len` are never read [INFO] [stdout] --> src/archive.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Impl { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | path: String, [INFO] [stdout] 17 | max_age: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | fps: u32, [INFO] [stdout] 19 | max_len: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avi_file`, `width`, `height`, and `fps` are never read [INFO] [stdout] --> src/mjpeg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AviWriter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 55 | // aviFile is the name of the file to write the result to [INFO] [stdout] 56 | avi_file: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | // width is the width of the video [INFO] [stdout] 58 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | // height is the height of the video [INFO] [stdout] 60 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | // fps is the frames/second (the "speed") of the video [INFO] [stdout] 62 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn save_file(name: &str, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `fps`, and `max_age` are never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct CmdLine { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | max_age: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_age` and `max_len` are never read [INFO] [stdout] --> src/archive.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Impl { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | path: String, [INFO] [stdout] 17 | max_age: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | fps: u32, [INFO] [stdout] 19 | max_len: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avi_file`, `width`, `height`, and `fps` are never read [INFO] [stdout] --> src/mjpeg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AviWriter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 55 | // aviFile is the name of the file to write the result to [INFO] [stdout] 56 | avi_file: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | // width is the width of the video [INFO] [stdout] 58 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | // height is the height of the video [INFO] [stdout] 60 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | // fps is the frames/second (the "speed") of the video [INFO] [stdout] 62 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | arch.run(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 246 | let _ = arch.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/archive.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | shrx::Pattern::new("xxx"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = shrx::Pattern::new("xxx"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/archive.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | t.expect("Internal error").join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = t.expect("Internal error").join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | arch.run(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 246 | let _ = arch.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/archive.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | shrx::Pattern::new("xxx"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = shrx::Pattern::new("xxx"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/archive.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | t.expect("Internal error").join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = t.expect("Internal error").join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.10s [INFO] running `Command { std: "docker" "inspect" "cf0dcc5500879faba7495e904666cc63e8e26bc10829f74f14b622fb7c05457d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf0dcc5500879faba7495e904666cc63e8e26bc10829f74f14b622fb7c05457d", kill_on_drop: false }` [INFO] [stdout] cf0dcc5500879faba7495e904666cc63e8e26bc10829f74f14b622fb7c05457d [INFO] checking rymis/httpcam against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frymis%2Fhttpcam" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rymis/httpcam on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rymis/httpcam [INFO] finished tweaking git repo https://github.com/rymis/httpcam [INFO] tweaked toml for git repo https://github.com/rymis/httpcam written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rymis/httpcam 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e5ea25540c43b5d8a95015c1fbd77ff2c6501f9399d87419e7d60186d8e39b2 [INFO] running `Command { std: "docker" "start" "-a" "6e5ea25540c43b5d8a95015c1fbd77ff2c6501f9399d87419e7d60186d8e39b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e5ea25540c43b5d8a95015c1fbd77ff2c6501f9399d87419e7d60186d8e39b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e5ea25540c43b5d8a95015c1fbd77ff2c6501f9399d87419e7d60186d8e39b2", kill_on_drop: false }` [INFO] [stdout] 6e5ea25540c43b5d8a95015c1fbd77ff2c6501f9399d87419e7d60186d8e39b2 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d76c371340b418cb33d2da9669128042db25fd6af1f59571959ff240ce0cae9f [INFO] running `Command { std: "docker" "start" "-a" "d76c371340b418cb33d2da9669128042db25fd6af1f59571959ff240ce0cae9f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling nokhwa-bindings-macos v0.2.1 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling httpcam v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Compiling mozjpeg-sys v1.1.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking mozjpeg v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking nokhwa-core v0.1.2 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking nokhwa-bindings-windows v0.4.0 [INFO] [stderr] Compiling v4l2-sys-mit v0.2.0 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking v4l v0.13.1 [INFO] [stderr] Checking nokhwa-bindings-linux v0.1.0 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking nokhwa v0.10.4 [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/archive.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn add_image(&self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/archive.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn add_image(&self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shrx.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let mut m = self.check_impl(s, p, rule_idx + 1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shrx.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let mut m = self.check_impl(s, p, rule_idx + 1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/shrx.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | Some(x) => ok, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut camera = Camera::new(info.index().clone(), requested); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam` [INFO] [stdout] --> src/main.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | fn api_set_control(cam: &mut Camera, req: &JsonValue) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | fn api_set_control(cam: &mut Camera, req: &JsonValue) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn save_file(name: &str, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `fps`, and `max_age` are never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct CmdLine { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | max_age: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_age` and `max_len` are never read [INFO] [stdout] --> src/archive.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Impl { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | path: String, [INFO] [stdout] 17 | max_age: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | fps: u32, [INFO] [stdout] 19 | max_len: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avi_file`, `width`, `height`, and `fps` are never read [INFO] [stdout] --> src/mjpeg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AviWriter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 55 | // aviFile is the name of the file to write the result to [INFO] [stdout] 56 | avi_file: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | // width is the width of the video [INFO] [stdout] 58 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | // height is the height of the video [INFO] [stdout] 60 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | // fps is the frames/second (the "speed") of the video [INFO] [stdout] 62 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 204 | fn api(mut cb: F, req: &JsonValue) -> JsonValue [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | match cb(req) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut camera = Camera::new(info.index().clone(), requested); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | arch.run(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 246 | let _ = arch.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam` [INFO] [stdout] --> src/main.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | fn api_set_control(cam: &mut Camera, req: &JsonValue) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | fn api_set_control(cam: &mut Camera, req: &JsonValue) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/archive.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 66 | fn run_thread(arch: Arc>) -> std::thread::JoinHandle<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | std::thread::spawn(move || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 78 | | let now = now_ms(); [INFO] [stdout] 79 | | let n_ms = now % 1000; [INFO] [stdout] 80 | | let mut tpidx = 0; [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/archive.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 119 | let imp = Arc::new(Mutex::new(Impl{ [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(ImageArchive { [INFO] [stdout] | ____________^ [INFO] [stdout] 129 | | thread: vec![], [INFO] [stdout] 130 | | imp: imp.clone(), [INFO] [stdout] 131 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/archive.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | shrx::Pattern::new("xxx"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = shrx::Pattern::new("xxx"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/archive.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | t.expect("Internal error").join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = t.expect("Internal error").join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/web.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 157 | srv: Arc, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | let s = Box::new(sender.clone()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | std::thread::spawn(move || srv.worker(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn save_file(name: &str, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `fps`, and `max_age` are never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct CmdLine { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | max_age: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_age` and `max_len` are never read [INFO] [stdout] --> src/archive.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Impl { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | path: String, [INFO] [stdout] 17 | max_age: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | fps: u32, [INFO] [stdout] 19 | max_len: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `avi_file`, `width`, `height`, and `fps` are never read [INFO] [stdout] --> src/mjpeg.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AviWriter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 55 | // aviFile is the name of the file to write the result to [INFO] [stdout] 56 | avi_file: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | // width is the width of the video [INFO] [stdout] 58 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | // height is the height of the video [INFO] [stdout] 60 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | // fps is the frames/second (the "speed") of the video [INFO] [stdout] 62 | fps: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 204 | fn api(mut cb: F, req: &JsonValue) -> JsonValue [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | match cb(req) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | arch.run(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 246 | let _ = arch.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/archive.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 66 | fn run_thread(arch: Arc>) -> std::thread::JoinHandle<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | std::thread::spawn(move || { [INFO] [stdout] | ________________________^ [INFO] [stdout] 78 | | let now = now_ms(); [INFO] [stdout] 79 | | let n_ms = now % 1000; [INFO] [stdout] 80 | | let mut tpidx = 0; [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/archive.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 119 | let imp = Arc::new(Mutex::new(Impl{ [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(ImageArchive { [INFO] [stdout] | ____________^ [INFO] [stdout] 129 | | thread: vec![], [INFO] [stdout] 130 | | imp: imp.clone(), [INFO] [stdout] 131 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/archive.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | shrx::Pattern::new("xxx"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = shrx::Pattern::new("xxx"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/archive.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | t.expect("Internal error").join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = t.expect("Internal error").join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `httpcam` (bin "httpcam") due to 5 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/web.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 157 | srv: Arc, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | let s = Box::new(sender.clone()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | std::thread::spawn(move || srv.worker(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `httpcam` (bin "httpcam" test) due to 5 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d76c371340b418cb33d2da9669128042db25fd6af1f59571959ff240ce0cae9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d76c371340b418cb33d2da9669128042db25fd6af1f59571959ff240ce0cae9f", kill_on_drop: false }` [INFO] [stdout] d76c371340b418cb33d2da9669128042db25fd6af1f59571959ff240ce0cae9f