[INFO] updating cached repository bvtsang/random_curiosity_encoder [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/bvtsang/random_curiosity_encoder [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/bvtsang/random_curiosity_encoder" "work/ex/clippy-test-run/sources/stable/gh/bvtsang/random_curiosity_encoder"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/bvtsang/random_curiosity_encoder'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/bvtsang/random_curiosity_encoder" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bvtsang/random_curiosity_encoder"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bvtsang/random_curiosity_encoder'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] aa20fbd45be0620a8ad12428f33aa240c8037929 [INFO] sha for GitHub repo bvtsang/random_curiosity_encoder: aa20fbd45be0620a8ad12428f33aa240c8037929 [INFO] validating manifest of bvtsang/random_curiosity_encoder on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of bvtsang/random_curiosity_encoder on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing bvtsang/random_curiosity_encoder [INFO] finished frobbing bvtsang/random_curiosity_encoder [INFO] frobbed toml for bvtsang/random_curiosity_encoder written to work/ex/clippy-test-run/sources/stable/gh/bvtsang/random_curiosity_encoder/Cargo.toml [INFO] started frobbing bvtsang/random_curiosity_encoder [INFO] finished frobbing bvtsang/random_curiosity_encoder [INFO] frobbed toml for bvtsang/random_curiosity_encoder written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bvtsang/random_curiosity_encoder/Cargo.toml [INFO] crate bvtsang/random_curiosity_encoder has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting bvtsang/random_curiosity_encoder against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/bvtsang/random_curiosity_encoder:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 4ddfc0bb089e10bbbdb6f49625388ab35ad0b138cf1dfed3062d70ff3389750d [INFO] running `"docker" "start" "-a" "4ddfc0bb089e10bbbdb6f49625388ab35ad0b138cf1dfed3062d70ff3389750d"` [INFO] [stderr] Compiling cairo-rs v0.1.1 [INFO] [stderr] Compiling gio v0.1.1 [INFO] [stderr] Compiling gdk-pixbuf v0.1.1 [INFO] [stderr] Compiling gdk v0.5.1 [INFO] [stderr] Checking c_vec v1.0.12 [INFO] [stderr] Compiling gtk v0.1.1 [INFO] [stderr] Compiling glib-sys v0.3.2 [INFO] [stderr] Compiling gobject-sys v0.3.2 [INFO] [stderr] Compiling gio-sys v0.3.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.3.2 [INFO] [stderr] Compiling cairo-sys-rs v0.3.2 [INFO] [stderr] Compiling pango-sys v0.3.2 [INFO] [stderr] Compiling atk-sys v0.3.2 [INFO] [stderr] Compiling gdk-sys v0.3.2 [INFO] [stderr] Compiling gtk-sys v0.3.2 [INFO] [stderr] Checking glib v0.1.1 [INFO] [stderr] Checking pango v0.1.1 [INFO] [stderr] Checking random_curiosity_encoder v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | const FFMPEG_MISSING: &'static str = "Please select the location of the ffmpeg executable."; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | const MP4BOX_MISSING: &'static str = "Please select the location of the MP4Box executable."; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | const INPUT_DIR_MISSING: &'static str = "Please select the location of the input video \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | const OUTPUT_DIR_MISSING: &'static str = "Please select the location of the output video \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:27:28 [INFO] [stderr] | [INFO] [stderr] 27 | const ENCODE_BUTTON_TEXT: &'static str = "Encode"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:28:31 [INFO] [stderr] | [INFO] [stderr] 28 | const INPUT_DIR_PERMISSIONS: &'static str = "Please select an input video directory you have \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:30:41 [INFO] [stderr] | [INFO] [stderr] 30 | const CANNOT_FIND_PATH_OF_CURRENT_EXE: &'static str = "Please make sure this program can acquire \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | const CANNOT_WRITE_FILE: &'static str = "Please make sure this program can write to and delete \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | const FFPRESET_FILE: &'static str = "libx264-hq-g120.ffpreset"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | const FFMPEG_MISSING: &'static str = "Please select the location of the ffmpeg executable."; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | const MP4BOX_MISSING: &'static str = "Please select the location of the MP4Box executable."; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | const INPUT_DIR_MISSING: &'static str = "Please select the location of the input video \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | const OUTPUT_DIR_MISSING: &'static str = "Please select the location of the output video \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:27:28 [INFO] [stderr] | [INFO] [stderr] 27 | const ENCODE_BUTTON_TEXT: &'static str = "Encode"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:28:31 [INFO] [stderr] | [INFO] [stderr] 28 | const INPUT_DIR_PERMISSIONS: &'static str = "Please select an input video directory you have \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:30:41 [INFO] [stderr] | [INFO] [stderr] 30 | const CANNOT_FIND_PATH_OF_CURRENT_EXE: &'static str = "Please make sure this program can acquire \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | const CANNOT_WRITE_FILE: &'static str = "Please make sure this program can write to and delete \ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | const FFPRESET_FILE: &'static str = "libx264-hq-g120.ffpreset"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/main.rs:73:31 [INFO] [stderr] | [INFO] [stderr] 73 | let ffmpeg_path = String::from(ffmpeg.to_string_lossy().into_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `ffmpeg.to_string_lossy().into_owned()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/main.rs:145:31 [INFO] [stderr] | [INFO] [stderr] 145 | let mp4box_path = String::from(mp4box.to_string_lossy().into_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `mp4box.to_string_lossy().into_owned()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | std::fs::remove_file(file); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_err()` [INFO] [stderr] --> src/main.rs:239:32 [INFO] [stderr] | [INFO] [stderr] 239 | if let Err(_) = ffpreset_file.write_all(ffpreset) { [INFO] [stderr] | _________________________- ^^^^^^ [INFO] [stderr] 240 | | show_error_dialog(CANNOT_WRITE_FILE, &window); [INFO] [stderr] 241 | | return; [INFO] [stderr] 242 | | } [INFO] [stderr] | |_________________________- help: try this: `if ffpreset_file.write_all(ffpreset).is_err()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:270:20 [INFO] [stderr] | [INFO] [stderr] 270 | if let None = stdout.find("ffmpeg version") { [INFO] [stderr] | _____________- ^^^^ [INFO] [stderr] 271 | | show_error_dialog(FFMPEG_MISSING, &window); [INFO] [stderr] 272 | | return; [INFO] [stderr] 273 | | } [INFO] [stderr] | |_____________- help: try this: `if stdout.find("ffmpeg version").is_none()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:290:20 [INFO] [stderr] | [INFO] [stderr] 290 | if let None = stderr.find("MP4Box - GPAC version") { [INFO] [stderr] | _____________- ^^^^ [INFO] [stderr] 291 | | show_error_dialog(MP4BOX_MISSING, &window); [INFO] [stderr] 292 | | return; [INFO] [stderr] 293 | | } [INFO] [stderr] | |_____________- help: try this: `if stderr.find("MP4Box - GPAC version").is_none()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:300:16 [INFO] [stderr] | [INFO] [stderr] 300 | if let None = input_option { [INFO] [stderr] | _________- ^^^^ [INFO] [stderr] 301 | | show_error_dialog(INPUT_DIR_MISSING, &window); [INFO] [stderr] 302 | | return; [INFO] [stderr] 303 | | } [INFO] [stderr] | |_________- help: try this: `if input_option.is_none()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:306:16 [INFO] [stderr] | [INFO] [stderr] 306 | if let None = output_option { [INFO] [stderr] | _________- ^^^^ [INFO] [stderr] 307 | | show_error_dialog(OUTPUT_DIR_MISSING, &window); [INFO] [stderr] 308 | | return; [INFO] [stderr] 309 | | } [INFO] [stderr] | |_________- help: try this: `if output_option.is_none()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/main.rs:73:31 [INFO] [stderr] | [INFO] [stderr] 73 | let ffmpeg_path = String::from(ffmpeg.to_string_lossy().into_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `ffmpeg.to_string_lossy().into_owned()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/main.rs:145:31 [INFO] [stderr] | [INFO] [stderr] 145 | let mp4box_path = String::from(mp4box.to_string_lossy().into_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `mp4box.to_string_lossy().into_owned()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | std::fs::remove_file(file); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_err()` [INFO] [stderr] --> src/main.rs:239:32 [INFO] [stderr] | [INFO] [stderr] 239 | if let Err(_) = ffpreset_file.write_all(ffpreset) { [INFO] [stderr] | _________________________- ^^^^^^ [INFO] [stderr] 240 | | show_error_dialog(CANNOT_WRITE_FILE, &window); [INFO] [stderr] 241 | | return; [INFO] [stderr] 242 | | } [INFO] [stderr] | |_________________________- help: try this: `if ffpreset_file.write_all(ffpreset).is_err()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:270:20 [INFO] [stderr] | [INFO] [stderr] 270 | if let None = stdout.find("ffmpeg version") { [INFO] [stderr] | _____________- ^^^^ [INFO] [stderr] 271 | | show_error_dialog(FFMPEG_MISSING, &window); [INFO] [stderr] 272 | | return; [INFO] [stderr] 273 | | } [INFO] [stderr] | |_____________- help: try this: `if stdout.find("ffmpeg version").is_none()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:290:20 [INFO] [stderr] | [INFO] [stderr] 290 | if let None = stderr.find("MP4Box - GPAC version") { [INFO] [stderr] | _____________- ^^^^ [INFO] [stderr] 291 | | show_error_dialog(MP4BOX_MISSING, &window); [INFO] [stderr] 292 | | return; [INFO] [stderr] 293 | | } [INFO] [stderr] | |_____________- help: try this: `if stderr.find("MP4Box - GPAC version").is_none()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:300:16 [INFO] [stderr] | [INFO] [stderr] 300 | if let None = input_option { [INFO] [stderr] | _________- ^^^^ [INFO] [stderr] 301 | | show_error_dialog(INPUT_DIR_MISSING, &window); [INFO] [stderr] 302 | | return; [INFO] [stderr] 303 | | } [INFO] [stderr] | |_________- help: try this: `if input_option.is_none()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:306:16 [INFO] [stderr] | [INFO] [stderr] 306 | if let None = output_option { [INFO] [stderr] | _________- ^^^^ [INFO] [stderr] 307 | | show_error_dialog(OUTPUT_DIR_MISSING, &window); [INFO] [stderr] 308 | | return; [INFO] [stderr] 309 | | } [INFO] [stderr] | |_________- help: try this: `if output_option.is_none()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.97s [INFO] running `"docker" "inspect" "4ddfc0bb089e10bbbdb6f49625388ab35ad0b138cf1dfed3062d70ff3389750d"` [INFO] running `"docker" "rm" "-f" "4ddfc0bb089e10bbbdb6f49625388ab35ad0b138cf1dfed3062d70ff3389750d"` [INFO] [stdout] 4ddfc0bb089e10bbbdb6f49625388ab35ad0b138cf1dfed3062d70ff3389750d