[INFO] cloning repository https://github.com/aloisrtr/embedded-varvara [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aloisrtr/embedded-varvara" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faloisrtr%2Fembedded-varvara", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faloisrtr%2Fembedded-varvara'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e041b9c94b36a740d12a20567ad946daa6c2a7c [INFO] checking aloisrtr/embedded-varvara against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faloisrtr%2Fembedded-varvara" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aloisrtr/embedded-varvara [INFO] finished tweaking git repo https://github.com/aloisrtr/embedded-varvara [INFO] tweaked toml for git repo https://github.com/aloisrtr/embedded-varvara written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aloisrtr/embedded-varvara on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aloisrtr/embedded-varvara already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded baryuxn v0.1.1 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1bab259338646c853899edf41546c07d29c679bf0b934f453537a54617cd7c6 [INFO] running `Command { std: "docker" "start" "-a" "a1bab259338646c853899edf41546c07d29c679bf0b934f453537a54617cd7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1bab259338646c853899edf41546c07d29c679bf0b934f453537a54617cd7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1bab259338646c853899edf41546c07d29c679bf0b934f453537a54617cd7c6", kill_on_drop: false }` [INFO] [stdout] a1bab259338646c853899edf41546c07d29c679bf0b934f453537a54617cd7c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4878bc5cf53ea6afc4fec4e903d3e71be88408a3d32582eb4010f66e90544fbf [INFO] running `Command { std: "docker" "start" "-a" "4878bc5cf53ea6afc4fec4e903d3e71be88408a3d32582eb4010f66e90544fbf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling defmt-macros v0.3.9 [INFO] [stderr] Compiling defmt v0.3.8 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking baryuxn v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking embedded-varvara v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screen.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 84 | self.canvas.fill_solid( [INFO] [stdout] | ---------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 89 | colour, [INFO] [stdout] | ^^^^^^ expected associated type, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `::Color` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.4.0/src/draw_target/mod.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | fn fill_solid(&mut self, area: &Rectangle, color: Self::Color) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider constraining the associated type `::Color` to `u8` [INFO] [stdout] | [INFO] [stdout] 66 | C: DrawTarget, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screen.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 95 | self.canvas.fill_solid( [INFO] [stdout] | ---------- arguments to this method are incorrect [INFO] [stdout] 96 | &Rectangle::new(Point::new(self.x as i32, self.y as i32), Size::new(1, 1)), [INFO] [stdout] 97 | colour, [INFO] [stdout] | ^^^^^^ expected associated type, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `::Color` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.4.0/src/draw_target/mod.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | fn fill_solid(&mut self, area: &Rectangle, color: Self::Color) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider constraining the associated type `::Color` to `u8` [INFO] [stdout] | [INFO] [stdout] 66 | C: DrawTarget, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Local` [INFO] [stdout] --> src/lib.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let time = Local::now(); [INFO] [stdout] | ^^^^^ use of undeclared type `Local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dimensions` [INFO] [stdout] --> src/screen.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | geometry::{Dimensions, Point, Size}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.output` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/console.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | self.output.write(bytes) [INFO] [stdout] | ^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 15 | pub fn write(&mut self, bytes: &[u8]) -> Result::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.error` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/console.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.error.write(bytes) [INFO] [stdout] | ^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 23 | pub fn write_error(&mut self, bytes: &[u8]) -> Result::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.input` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/console.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | self.input.read(dest) [INFO] [stdout] | ^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read(&mut self, dest: &mut [u8]) -> Result::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.input` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/console.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | self.input.read_exact(dest) [INFO] [stdout] | ^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 36 | &mut self, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `0_u8..=5_u8`, `7_u8` and `15_u8..=u8::MAX` not covered [INFO] [stdout] --> src/lib.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | 0x20 => match port { [INFO] [stdout] | ^^^^ patterns `0_u8..=5_u8`, `7_u8` and `15_u8..=u8::MAX` not covered [INFO] [stdout] | [INFO] [stdout] = note: the matched value is of type `u8` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 187 ~ }, [INFO] [stdout] 188 + 0_u8..=5_u8 | 7_u8 | 15_u8..=u8::MAX => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screen.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 84 | self.canvas.fill_solid( [INFO] [stdout] | ---------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 89 | colour, [INFO] [stdout] | ^^^^^^ expected associated type, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `::Color` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.4.0/src/draw_target/mod.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | fn fill_solid(&mut self, area: &Rectangle, color: Self::Color) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider constraining the associated type `::Color` to `u8` [INFO] [stdout] | [INFO] [stdout] 66 | C: DrawTarget, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0308, E0433, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/screen.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 95 | self.canvas.fill_solid( [INFO] [stdout] | ---------- arguments to this method are incorrect [INFO] [stdout] 96 | &Rectangle::new(Point::new(self.x as i32, self.y as i32), Size::new(1, 1)), [INFO] [stdout] 97 | colour, [INFO] [stdout] | ^^^^^^ expected associated type, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `::Color` [INFO] [stdout] found type `u8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-graphics-core-0.4.0/src/draw_target/mod.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | fn fill_solid(&mut self, area: &Rectangle, color: Self::Color) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider constraining the associated type `::Color` to `u8` [INFO] [stdout] | [INFO] [stdout] 66 | C: DrawTarget, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Local` [INFO] [stdout] --> src/lib.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let time = Local::now(); [INFO] [stdout] | ^^^^^ use of undeclared type `Local` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-varvara` (lib) due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Dimensions` [INFO] [stdout] --> src/screen.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | geometry::{Dimensions, Point, Size}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.output` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/console.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | self.output.write(bytes) [INFO] [stdout] | ^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 15 | pub fn write(&mut self, bytes: &[u8]) -> Result::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.error` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/console.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.error.write(bytes) [INFO] [stdout] | ^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 23 | pub fn write_error(&mut self, bytes: &[u8]) -> Result::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.input` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/console.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | self.input.read(dest) [INFO] [stdout] | ^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read(&mut self, dest: &mut [u8]) -> Result::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.input` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/console.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | self.input.read_exact(dest) [INFO] [stdout] | ^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 36 | &mut self, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `0_u8..=5_u8`, `7_u8` and `15_u8..=u8::MAX` not covered [INFO] [stdout] --> src/lib.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | 0x20 => match port { [INFO] [stdout] | ^^^^ patterns `0_u8..=5_u8`, `7_u8` and `15_u8..=u8::MAX` not covered [INFO] [stdout] | [INFO] [stdout] = note: the matched value is of type `u8` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 187 ~ }, [INFO] [stdout] 188 + 0_u8..=5_u8 | 7_u8 | 15_u8..=u8::MAX => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0308, E0433, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-varvara` (lib test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4878bc5cf53ea6afc4fec4e903d3e71be88408a3d32582eb4010f66e90544fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4878bc5cf53ea6afc4fec4e903d3e71be88408a3d32582eb4010f66e90544fbf", kill_on_drop: false }` [INFO] [stdout] 4878bc5cf53ea6afc4fec4e903d3e71be88408a3d32582eb4010f66e90544fbf