[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 try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJarneClarysse%2Ftest_project" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 77% (2286/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: 83% (2451/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 ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-13/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f1c6d22a71107fc84469a2443832eb878ac2c8357f986b74471799fb90d12fd [INFO] running `Command { std: "docker" "start" "-a" "4f1c6d22a71107fc84469a2443832eb878ac2c8357f986b74471799fb90d12fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f1c6d22a71107fc84469a2443832eb878ac2c8357f986b74471799fb90d12fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1c6d22a71107fc84469a2443832eb878ac2c8357f986b74471799fb90d12fd", kill_on_drop: false }` [INFO] [stdout] 4f1c6d22a71107fc84469a2443832eb878ac2c8357f986b74471799fb90d12fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4347aff1af62804806538e24a75f5073f84ae80ca2a4659550e60a98d005966 [INFO] running `Command { std: "docker" "start" "-a" "f4347aff1af62804806538e24a75f5073f84ae80ca2a4659550e60a98d005966", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling nix v0.13.0 [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: 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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [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: 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: field is never read: `gpio_map_` [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | gpio_map_: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gpio_read_bits_` [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | gpio_read_bits_: *mut u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.83s [INFO] running `Command { std: "docker" "inspect" "f4347aff1af62804806538e24a75f5073f84ae80ca2a4659550e60a98d005966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4347aff1af62804806538e24a75f5073f84ae80ca2a4659550e60a98d005966", kill_on_drop: false }` [INFO] [stdout] f4347aff1af62804806538e24a75f5073f84ae80ca2a4659550e60a98d005966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4381c859dd1a13000c3bd1d3ed6eb1cc2a58e1c0f7e0959c331622d6bef7bd9 [INFO] running `Command { std: "docker" "start" "-a" "c4381c859dd1a13000c3bd1d3ed6eb1cc2a58e1c0f7e0959c331622d6bef7bd9", kill_on_drop: false }` [INFO] [stderr] Compiling rust_project v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [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: 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: field is never read: `gpio_map_` [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | gpio_map_: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gpio_read_bits_` [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | gpio_read_bits_: *mut u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "c4381c859dd1a13000c3bd1d3ed6eb1cc2a58e1c0f7e0959c331622d6bef7bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4381c859dd1a13000c3bd1d3ed6eb1cc2a58e1c0f7e0959c331622d6bef7bd9", kill_on_drop: false }` [INFO] [stdout] c4381c859dd1a13000c3bd1d3ed6eb1cc2a58e1c0f7e0959c331622d6bef7bd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59df2ea1ac3bb243d9027ffacc65b566c81816fbafa978961bec16755c628cd3 [INFO] running `Command { std: "docker" "start" "-a" "59df2ea1ac3bb243d9027ffacc65b566c81816fbafa978961bec16755c628cd3", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:532:70 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 532 | fn read_pixel(cursor: &mut Cursor>) -> Result> { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [INFO] [stderr] [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [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 issue #80165 [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: 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] [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:568:96 [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: field is never read: `gpio_map_` [INFO] [stderr] --> src/main.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | gpio_map_: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `gpio_read_bits_` [INFO] [stderr] --> src/main.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | gpio_read_bits_: *mut u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 27 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_project-3bfe7c9e340413c2) [INFO] running `Command { std: "docker" "inspect" "59df2ea1ac3bb243d9027ffacc65b566c81816fbafa978961bec16755c628cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59df2ea1ac3bb243d9027ffacc65b566c81816fbafa978961bec16755c628cd3", kill_on_drop: false }` [INFO] [stdout] 59df2ea1ac3bb243d9027ffacc65b566c81816fbafa978961bec16755c628cd3