[INFO] cloning repository https://github.com/OneMoreByte/pd-spectra-driver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OneMoreByte/pd-spectra-driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOneMoreByte%2Fpd-spectra-driver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOneMoreByte%2Fpd-spectra-driver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb713b3ee7c8d10f2d8f8925a8b030ad147f038e [INFO] testing OneMoreByte/pd-spectra-driver against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOneMoreByte%2Fpd-spectra-driver" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OneMoreByte/pd-spectra-driver on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OneMoreByte/pd-spectra-driver [INFO] finished tweaking git repo https://github.com/OneMoreByte/pd-spectra-driver [INFO] tweaked toml for git repo https://github.com/OneMoreByte/pd-spectra-driver written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/OneMoreByte/pd-spectra-driver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b85518e9d5ee7374c02a5cc6c1ef7c45c8439f994569da1e6ddb39a80b5b80ad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b85518e9d5ee7374c02a5cc6c1ef7c45c8439f994569da1e6ddb39a80b5b80ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b85518e9d5ee7374c02a5cc6c1ef7c45c8439f994569da1e6ddb39a80b5b80ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85518e9d5ee7374c02a5cc6c1ef7c45c8439f994569da1e6ddb39a80b5b80ad", kill_on_drop: false }` [INFO] [stdout] b85518e9d5ee7374c02a5cc6c1ef7c45c8439f994569da1e6ddb39a80b5b80ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f260dbca1804aefe276c6b12bf956020d1539ece1f26623bbd7528a7189ae67e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f260dbca1804aefe276c6b12bf956020d1539ece1f26623bbd7528a7189ae67e", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling spidev v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling eink-info-display v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:244:53 [INFO] [stdout] | [INFO] [stdout] 244 | let image: EinkImage = EinkImage::new(raw_image) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 245 | let display = EinkDisplay::new(x, y); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | thread::sleep(five_ms); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | thread::sleep(five_ms); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | thread::sleep(ten_ms); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | thread::sleep(five_ms); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | thread::sleep(five_ms); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | thread::sleep(time::Duration::from_millis(150)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | thread::sleep(time::Duration::from_millis(5)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_bw_layers` in this scope [INFO] [stdout] --> src/main.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | bw_layers: get_bw_layers(image), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `five_ms` in this scope [INFO] [stdout] --> src/main.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | five_ms = time::Duration::from_millis(5); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/main.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | five_ms = time::Duration::from_millis(5); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ten_ms` in this scope [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | ten_ms = time::Duration::from_millis(10); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/main.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | ten_ms = time::Duration::from_millis(10); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `five_ms` in this scope [INFO] [stdout] --> src/main.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | thread::sleep(five_ms); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `five_ms` in this scope [INFO] [stdout] --> src/main.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | thread::sleep(five_ms); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ten_ms` in this scope [INFO] [stdout] --> src/main.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | thread::sleep(ten_ms); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `five_ms` in this scope [INFO] [stdout] --> src/main.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | thread::sleep(five_ms); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `five_ms` in this scope [INFO] [stdout] --> src/main.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | thread::sleep(five_ms); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/main.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | thread::sleep(time::Duration::from_millis(150)); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/main.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | thread::sleep(time::Duration::from_millis(5)); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_spi` in this scope [INFO] [stdout] --> src/main.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | spi: create_spi(spi_path), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `spi_path` in this scope [INFO] [stdout] --> src/main.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | spi: create_spi(spi_path), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpidevTransfer` [INFO] [stdout] --> src/main.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use spidev::{Spidev, SpidevOptions, SpidevTransfer, SpiModeFlags}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | image: GenericImage, [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - image: GenericImage, [INFO] [stdout] 57 + image: dyn GenericImage, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated types `InnerImageView` (from trait `GenericImageView`), `InnerImage` (from trait `GenericImage`), `Pixel` (from trait `GenericImageView`) must be specified [INFO] [stdout] --> src/main.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | image: GenericImage, [INFO] [stdout] | ^^^^^^^^^^^^ help: specify the associated types: `GenericImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | fn new(image: GenericImage) -> EinkImage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn new(image: GenericImage) -> EinkImage { [INFO] [stdout] 64 + fn new(image: dyn GenericImage) -> EinkImage { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated types `InnerImageView` (from trait `GenericImageView`), `InnerImage` (from trait `GenericImage`), `Pixel` (from trait `GenericImageView`) must be specified [INFO] [stdout] --> src/main.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | fn new(image: GenericImage) -> EinkImage { [INFO] [stdout] | ^^^^^^^^^^^^ help: specify the associated types: `GenericImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_layers(image: GenericImage) -> [[u8; 15000]; 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - fn get_layers(image: GenericImage) -> [[u8; 15000]; 2] { [INFO] [stdout] 77 + fn get_layers(image: dyn GenericImage) -> [[u8; 15000]; 2] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated types `InnerImageView` (from trait `GenericImageView`), `InnerImage` (from trait `GenericImage`), `Pixel` (from trait `GenericImageView`) must be specified [INFO] [stdout] --> src/main.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_layers(image: GenericImage) -> [[u8; 15000]; 2] { [INFO] [stdout] | ^^^^^^^^^^^^ help: specify the associated types: `GenericImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eink-info-display` due to 26 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f260dbca1804aefe276c6b12bf956020d1539ece1f26623bbd7528a7189ae67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f260dbca1804aefe276c6b12bf956020d1539ece1f26623bbd7528a7189ae67e", kill_on_drop: false }` [INFO] [stdout] f260dbca1804aefe276c6b12bf956020d1539ece1f26623bbd7528a7189ae67e