[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] checking OneMoreByte/pd-spectra-driver against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOneMoreByte%2Fpd-spectra-driver" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OneMoreByte/pd-spectra-driver on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.17 [INFO] [stderr] Downloaded weezl v0.1.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded bytemuck v1.4.1 [INFO] [stderr] Downloaded num-rational v0.3.0 [INFO] [stderr] Downloaded deflate v0.8.6 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded image v0.23.10 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded rayon-core v1.8.1 [INFO] [stderr] Downloaded either v1.6.1 [INFO] [stderr] Downloaded rayon v1.4.1 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded spidev v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38c93f82fb51e37cb471b04c7e9fdcda413a355c5101cc6a6db54d55e3d4d10d [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" "38c93f82fb51e37cb471b04c7e9fdcda413a355c5101cc6a6db54d55e3d4d10d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38c93f82fb51e37cb471b04c7e9fdcda413a355c5101cc6a6db54d55e3d4d10d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38c93f82fb51e37cb471b04c7e9fdcda413a355c5101cc6a6db54d55e3d4d10d", kill_on_drop: false }` [INFO] [stdout] 38c93f82fb51e37cb471b04c7e9fdcda413a355c5101cc6a6db54d55e3d4d10d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3d135119f0e6e5b68de68ed3658587fcb7d074ac97ef520728fa8c0c7d7962a [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" "e3d135119f0e6e5b68de68ed3658587fcb7d074ac97ef520728fa8c0c7d7962a", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking spidev v0.4.0 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Checking 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: 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[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[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 crate::io::sys::futex::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 crate::io::sys::futex::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 crate::io::sys::futex::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 crate::io::sys::futex::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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GenericImage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GenericImage` [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 crate::io::sys::futex::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 crate::io::sys::futex::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 crate::io::sys::futex::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 crate::io::sys::futex::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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GenericImage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GenericImage` [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] 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] 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] 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: build failed [INFO] running `Command { std: "docker" "inspect" "e3d135119f0e6e5b68de68ed3658587fcb7d074ac97ef520728fa8c0c7d7962a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d135119f0e6e5b68de68ed3658587fcb7d074ac97ef520728fa8c0c7d7962a", kill_on_drop: false }` [INFO] [stdout] e3d135119f0e6e5b68de68ed3658587fcb7d074ac97ef520728fa8c0c7d7962a