[INFO] cloning repository https://github.com/JarneClarysse/test_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JarneClarysse/test_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJarneClarysse%2Ftest_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJarneClarysse%2Ftest_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 319c3f3de0df825f9286626ab6aa6bdf2d6126df [INFO] building JarneClarysse/test_project against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJarneClarysse%2Ftest_project" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 81% (2383/2941) Updating files: 82% (2412/2941) Updating files: 83% (2442/2941) Updating files: 84% (2471/2941) Updating files: 85% (2500/2941) Updating files: 86% (2530/2941) Updating files: 87% (2559/2941) Updating files: 88% (2589/2941) Updating files: 89% (2618/2941) Updating files: 90% (2647/2941) Updating files: 91% (2677/2941) Updating files: 92% (2706/2941) Updating files: 93% (2736/2941) Updating files: 94% (2765/2941) Updating files: 95% (2794/2941) Updating files: 96% (2824/2941) Updating files: 97% (2853/2941) Updating files: 98% (2883/2941) Updating files: 99% (2912/2941) Updating files: 100% (2941/2941) Updating files: 100% (2941/2941), done. [INFO] validating manifest of git repo https://github.com/JarneClarysse/test_project on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JarneClarysse/test_project [INFO] finished tweaking git repo https://github.com/JarneClarysse/test_project [INFO] tweaked toml for git repo https://github.com/JarneClarysse/test_project written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JarneClarysse/test_project 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mmap v0.1.1 [INFO] [stderr] Downloaded shuteye v0.3.3 [INFO] [stderr] Downloaded redox_syscall v0.1.54 [INFO] [stderr] Downloaded cc v1.0.35 [INFO] [stderr] Downloaded simple-error v0.1.13 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60ff88fd18356fdee2a7339401e1d67f57c91134afe3693390cdabfb247aaaa2 [INFO] running `Command { std: "docker" "start" "-a" "60ff88fd18356fdee2a7339401e1d67f57c91134afe3693390cdabfb247aaaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60ff88fd18356fdee2a7339401e1d67f57c91134afe3693390cdabfb247aaaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60ff88fd18356fdee2a7339401e1d67f57c91134afe3693390cdabfb247aaaa2", kill_on_drop: false }` [INFO] [stdout] 60ff88fd18356fdee2a7339401e1d67f57c91134afe3693390cdabfb247aaaa2 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 237bb8ff5c599ee489f21a9084bc37ce1b3f7e7a78e69eddc0870b43f7055f69 [INFO] running `Command { std: "docker" "start" "-a" "237bb8ff5c599ee489f21a9084bc37ce1b3f7e7a78e69eddc0870b43f7055f69", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling simple-error v0.1.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling shuteye v0.3.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling mmap v0.1.1 [INFO] [stderr] Compiling ctrlc v3.1.1 [INFO] [stderr] Compiling rust_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | b'0'...b'9' => { v.push(c[0]); } [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:732:74 [INFO] [stdout] | [INFO] [stdout] 732 | image.pixels = resize(alle_pix,w as u32,h as u32 ,32,16);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 931 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:532:70 [INFO] [stdout] | [INFO] [stdout] 532 | fn read_pixel(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 532 | fn read_pixel(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:541:68 [INFO] [stdout] | [INFO] [stdout] 541 | fn read_num(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 541 | fn read_num(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:581:92 [INFO] [stdout] | [INFO] [stdout] 581 | fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 581 | fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:155:66 [INFO] [stdout] | [INFO] [stdout] 155 | Err(why) => panic!("couldn't open /dev/mem: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:554:96 [INFO] [stdout] | [INFO] [stdout] 554 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:568:96 [INFO] [stdout] | [INFO] [stdout] 568 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:590:84 [INFO] [stdout] | [INFO] [stdout] 590 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:617:96 [INFO] [stdout] | [INFO] [stdout] 617 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:641:96 [INFO] [stdout] | [INFO] [stdout] 641 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:666:96 [INFO] [stdout] | [INFO] [stdout] 666 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:694:96 [INFO] [stdout] | [INFO] [stdout] 694 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:713:96 [INFO] [stdout] | [INFO] [stdout] 713 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:834:78 [INFO] [stdout] | [INFO] [stdout] 834 | Err(why) => panic!("Woops time did not elapse well: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:856:74 [INFO] [stdout] | [INFO] [stdout] 856 | Err(why) => panic!("Woops time did not elapse well: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:906:41 [INFO] [stdout] | [INFO] [stdout] 906 | ... display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:918:71 [INFO] [stdout] | [INFO] [stdout] 918 | Err(why) => panic!("Could not parse PPM file - Desc: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:959:45 [INFO] [stdout] | [INFO] [stdout] 959 | ... display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:971:75 [INFO] [stdout] | [INFO] [stdout] 971 | Err(why) => panic!("Could not parse PPM file - Desc: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | let mut d = ROWS / SUB_PANELS_; [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/main.rs:805:25 [INFO] [stdout] | [INFO] [stdout] 805 | let mut top: Pixel = frame.pixels[row_loop as usize][col as usize]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:806:25 [INFO] [stdout] | [INFO] [stdout] 806 | let mut bot: Pixel = frame.pixels[(ROWS / 2 + row_loop) as usize][col as usize]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::::offset` that must be used [INFO] [stdout] --> src/main.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | timer.timereg.offset(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: returns a new pointer rather than modifying its argument [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 401 | let _ = timer.timereg.offset(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:954:44 [INFO] [stdout] | [INFO] [stdout] 954 | path = Path::new(image_names[index].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "237bb8ff5c599ee489f21a9084bc37ce1b3f7e7a78e69eddc0870b43f7055f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237bb8ff5c599ee489f21a9084bc37ce1b3f7e7a78e69eddc0870b43f7055f69", kill_on_drop: false }` [INFO] [stdout] 237bb8ff5c599ee489f21a9084bc37ce1b3f7e7a78e69eddc0870b43f7055f69 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a845a15b69f0770f1a722333d5f88bc6deb5fc101fc084afbbc21c74c4040543 [INFO] running `Command { std: "docker" "start" "-a" "a845a15b69f0770f1a722333d5f88bc6deb5fc101fc084afbbc21c74c4040543", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rust_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | b'0'...b'9' => { v.push(c[0]); } [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:732:74 [INFO] [stdout] | [INFO] [stdout] 732 | image.pixels = resize(alle_pix,w as u32,h as u32 ,32,16);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 931 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:532:70 [INFO] [stdout] | [INFO] [stdout] 532 | fn read_pixel(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 532 | fn read_pixel(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:541:68 [INFO] [stdout] | [INFO] [stdout] 541 | fn read_num(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 541 | fn read_num(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:581:92 [INFO] [stdout] | [INFO] [stdout] 581 | fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 581 | fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:155:66 [INFO] [stdout] | [INFO] [stdout] 155 | Err(why) => panic!("couldn't open /dev/mem: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:554:96 [INFO] [stdout] | [INFO] [stdout] 554 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:568:96 [INFO] [stdout] | [INFO] [stdout] 568 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:590:84 [INFO] [stdout] | [INFO] [stdout] 590 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:617:96 [INFO] [stdout] | [INFO] [stdout] 617 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:641:96 [INFO] [stdout] | [INFO] [stdout] 641 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:666:96 [INFO] [stdout] | [INFO] [stdout] 666 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:694:96 [INFO] [stdout] | [INFO] [stdout] 694 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:713:96 [INFO] [stdout] | [INFO] [stdout] 713 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:834:78 [INFO] [stdout] | [INFO] [stdout] 834 | Err(why) => panic!("Woops time did not elapse well: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:856:74 [INFO] [stdout] | [INFO] [stdout] 856 | Err(why) => panic!("Woops time did not elapse well: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:906:41 [INFO] [stdout] | [INFO] [stdout] 906 | ... display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:918:71 [INFO] [stdout] | [INFO] [stdout] 918 | Err(why) => panic!("Could not parse PPM file - Desc: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:959:45 [INFO] [stdout] | [INFO] [stdout] 959 | ... display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:971:75 [INFO] [stdout] | [INFO] [stdout] 971 | Err(why) => panic!("Could not parse PPM file - Desc: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | let mut d = ROWS / SUB_PANELS_; [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/main.rs:805:25 [INFO] [stdout] | [INFO] [stdout] 805 | let mut top: Pixel = frame.pixels[row_loop as usize][col as usize]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:806:25 [INFO] [stdout] | [INFO] [stdout] 806 | let mut bot: Pixel = frame.pixels[(ROWS / 2 + row_loop) as usize][col as usize]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::::offset` that must be used [INFO] [stdout] --> src/main.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | timer.timereg.offset(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: returns a new pointer rather than modifying its argument [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 401 | let _ = timer.timereg.offset(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:954:44 [INFO] [stdout] | [INFO] [stdout] 954 | path = Path::new(image_names[index].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "a845a15b69f0770f1a722333d5f88bc6deb5fc101fc084afbbc21c74c4040543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a845a15b69f0770f1a722333d5f88bc6deb5fc101fc084afbbc21c74c4040543", kill_on_drop: false }` [INFO] [stdout] a845a15b69f0770f1a722333d5f88bc6deb5fc101fc084afbbc21c74c4040543