[INFO] cloning repository https://github.com/BRA1L0R/raspberrypi-1-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BRA1L0R/raspberrypi-1-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBRA1L0R%2Fraspberrypi-1-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBRA1L0R%2Fraspberrypi-1-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 538d588d3db48d84debfcc7086d05a78d94c1d82 [INFO] checking BRA1L0R/raspberrypi-1-rust against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBRA1L0R%2Fraspberrypi-1-rust" "/workspace/builds/worker-92/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-92/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BRA1L0R/raspberrypi-1-rust on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-92/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/BRA1L0R/raspberrypi-1-rust [INFO] finished tweaking git repo https://github.com/BRA1L0R/raspberrypi-1-rust [INFO] tweaked toml for git repo https://github.com/BRA1L0R/raspberrypi-1-rust written to /workspace/builds/worker-92/source/Cargo.toml [INFO] crate git repo https://github.com/BRA1L0R/raspberrypi-1-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.benchmark [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9da4b2d305715a049403f397bfcc2080c4d6f34c17cc7d6d9466624d3f1d174 [INFO] running `Command { std: "docker" "start" "-a" "f9da4b2d305715a049403f397bfcc2080c4d6f34c17cc7d6d9466624d3f1d174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9da4b2d305715a049403f397bfcc2080c4d6f34c17cc7d6d9466624d3f1d174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9da4b2d305715a049403f397bfcc2080c4d6f34c17cc7d6d9466624d3f1d174", kill_on_drop: false }` [INFO] [stdout] f9da4b2d305715a049403f397bfcc2080c4d6f34c17cc7d6d9466624d3f1d174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f18121eefdcd226388645efcdb9cfc1adce2490b0c5c73107f57b9db7636892 [INFO] running `Command { std: "docker" "start" "-a" "3f18121eefdcd226388645efcdb9cfc1adce2490b0c5c73107f57b9db7636892", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.benchmark [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rpi-video v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::bases` [INFO] [stdout] --> src/utils/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bases; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bases` [INFO] [stdout] --> src/utils/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bases; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | fn panic_handler(info: &PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib [INFO] [stdout] = note: second definition in the local crate (`rpi_video`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUS_ADDR` [INFO] [stdout] --> src/bases.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BUS_ADDR: u32 = 0x7E000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pitch` [INFO] [stdout] --> src/drivers/video/buffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pitch: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/drivers/video/buffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | rows: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pitch` [INFO] [stdout] --> src/drivers/video/buffer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_pitch(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rows` [INFO] [stdout] --> src/drivers/video/buffer.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_rows(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_rgb` [INFO] [stdout] --> src/drivers/video/painter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn pixel_rgb(&mut self, x: u32, y: u32, rgb: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_u32` [INFO] [stdout] --> src/drivers/video/pixel.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpi-video` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3f18121eefdcd226388645efcdb9cfc1adce2490b0c5c73107f57b9db7636892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f18121eefdcd226388645efcdb9cfc1adce2490b0c5c73107f57b9db7636892", kill_on_drop: false }` [INFO] [stdout] 3f18121eefdcd226388645efcdb9cfc1adce2490b0c5c73107f57b9db7636892