[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] testing JarneClarysse/test_project against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJarneClarysse%2Ftest_project" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 77% (2288/2941) Updating files: 78% (2294/2941) Updating files: 79% (2324/2941) Updating files: 80% (2353/2941) Updating files: 81% (2383/2941) Updating files: 82% (2412/2941) Updating files: 83% (2442/2941) Updating files: 84% (2471/2941) Updating files: 84% (2491/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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-11/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff19f5d7527350b5210395c32d9414a73bedcbc80205161a3aad7e29079e73db [INFO] running `Command { std: "docker" "start" "-a" "ff19f5d7527350b5210395c32d9414a73bedcbc80205161a3aad7e29079e73db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff19f5d7527350b5210395c32d9414a73bedcbc80205161a3aad7e29079e73db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff19f5d7527350b5210395c32d9414a73bedcbc80205161a3aad7e29079e73db", kill_on_drop: false }` [INFO] [stdout] ff19f5d7527350b5210395c32d9414a73bedcbc80205161a3aad7e29079e73db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 748c4ff9290430f16b61abdd883f3e011af32071457b5ddc1ee2863dde220df1 [INFO] running `Command { std: "docker" "start" "-a" "748c4ff9290430f16b61abdd883f3e011af32071457b5ddc1ee2863dde220df1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling byteorder v1.3.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 time v0.1.42 [INFO] [stderr] Compiling shuteye v0.3.3 [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 532 - fn read_pixel(cursor: &mut Cursor>) -> Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 541 - fn read_num(cursor: &mut Cursor>) -> Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 581 - fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: returns a new pointer rather than modifying its argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.06s [INFO] running `Command { std: "docker" "inspect" "748c4ff9290430f16b61abdd883f3e011af32071457b5ddc1ee2863dde220df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748c4ff9290430f16b61abdd883f3e011af32071457b5ddc1ee2863dde220df1", kill_on_drop: false }` [INFO] [stdout] 748c4ff9290430f16b61abdd883f3e011af32071457b5ddc1ee2863dde220df1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38d886a3ed7acdd937b9887b4891e234cee6eaf21fbeb911023a3c696da2fc76 [INFO] running `Command { std: "docker" "start" "-a" "38d886a3ed7acdd937b9887b4891e234cee6eaf21fbeb911023a3c696da2fc76", kill_on_drop: false }` [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 532 - fn read_pixel(cursor: &mut Cursor>) -> Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 541 - fn read_num(cursor: &mut Cursor>) -> Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 581 - fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: returns a new pointer rather than modifying its argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.92s [INFO] running `Command { std: "docker" "inspect" "38d886a3ed7acdd937b9887b4891e234cee6eaf21fbeb911023a3c696da2fc76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d886a3ed7acdd937b9887b4891e234cee6eaf21fbeb911023a3c696da2fc76", kill_on_drop: false }` [INFO] [stdout] 38d886a3ed7acdd937b9887b4891e234cee6eaf21fbeb911023a3c696da2fc76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8cc7de1e13e74bb8830b540e9d891363944af8b1c5218a5bf9976eebc4e458d [INFO] running `Command { std: "docker" "start" "-a" "f8cc7de1e13e74bb8830b540e9d891363944af8b1c5218a5bf9976eebc4e458d", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/main.rs:564:21 [INFO] [stderr] | [INFO] [stderr] 564 | b'0'...b'9' => { v.push(c[0]); } [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/main.rs:732:74 [INFO] [stderr] | [INFO] [stderr] 732 | image.pixels = resize(alle_pix,w as u32,h as u32 ,32,16);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/main.rs:931:5 [INFO] [stderr] | [INFO] [stderr] 931 | ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:532:70 [INFO] [stderr] | [INFO] [stderr] 532 | fn read_pixel(cursor: &mut Cursor>) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 532 - fn read_pixel(cursor: &mut Cursor>) -> Result> { [INFO] [stderr] 532 + fn read_pixel(cursor: &mut Cursor>) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:541:68 [INFO] [stderr] | [INFO] [stderr] 541 | fn read_num(cursor: &mut Cursor>) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 541 - fn read_num(cursor: &mut Cursor>) -> Result> { [INFO] [stderr] 541 + fn read_num(cursor: &mut Cursor>) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:581:92 [INFO] [stderr] | [INFO] [stderr] 581 | fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 581 - fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [INFO] [stderr] 581 + fn decode_ppm_image(cursor: &mut Cursor>, count_int: i32) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:155:66 [INFO] [stderr] | [INFO] [stderr] 155 | Err(why) => panic!("couldn't open /dev/mem: {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:554:96 [INFO] [stderr] | [INFO] [stderr] 554 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/main.rs:568:96 [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 568 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:590:84 [INFO] [stderr] | [INFO] [stderr] 590 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:617:96 [INFO] [stderr] | [INFO] [stderr] 617 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:641:96 [INFO] [stderr] | [INFO] [stderr] 641 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:666:96 [INFO] [stderr] | [INFO] [stderr] 666 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:694:96 [INFO] [stderr] | [INFO] [stderr] 694 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:713:96 [INFO] [stderr] | [INFO] [stderr] 713 | Err(why) => panic!("something happened while parsing header - {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:834:78 [INFO] [stderr] | [INFO] [stderr] 834 | Err(why) => panic!("Woops time did not elapse well: {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:856:74 [INFO] [stderr] | [INFO] [stderr] 856 | Err(why) => panic!("Woops time did not elapse well: {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:906:41 [INFO] [stderr] | [INFO] [stderr] 906 | ... display, why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:918:71 [INFO] [stderr] | [INFO] [stderr] 918 | Err(why) => panic!("Could not parse PPM file - Desc: {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:959:45 [INFO] [stderr] | [INFO] [stderr] 959 | ... display, why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:971:75 [INFO] [stderr] | [INFO] [stderr] 971 | Err(why) => panic!("Could not parse PPM file - Desc: {}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:319:25 [INFO] [stderr] | [INFO] [stderr] 319 | let mut d = ROWS / SUB_PANELS_; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:805:25 [INFO] [stderr] | [INFO] [stderr] 805 | let mut top: Pixel = frame.pixels[row_loop as usize][col as usize]; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:806:25 [INFO] [stderr] | [INFO] [stderr] 806 | let mut bot: Pixel = frame.pixels[(ROWS / 2 + row_loop) as usize][col as usize]; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused return value of `ptr::mut_ptr::::offset` that must be used [INFO] [stderr] --> src/main.rs:401:21 [INFO] [stderr] | [INFO] [stderr] 401 | timer.timereg.offset(2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: returns a new pointer rather than modifying its argument [INFO] [stderr] [INFO] [stderr] warning: `rust_project` (bin "rust_project" test) generated 25 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_project-c00c9e2b14e8e20f) [INFO] running `Command { std: "docker" "inspect" "f8cc7de1e13e74bb8830b540e9d891363944af8b1c5218a5bf9976eebc4e458d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8cc7de1e13e74bb8830b540e9d891363944af8b1c5218a5bf9976eebc4e458d", kill_on_drop: false }` [INFO] [stdout] f8cc7de1e13e74bb8830b540e9d891363944af8b1c5218a5bf9976eebc4e458d