[INFO] cloning repository https://github.com/27factorial/xenon-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/27factorial/xenon-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F27factorial%2Fxenon-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F27factorial%2Fxenon-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f55ee7da7439e5c197a76105469bdba655f4d3e [INFO] building 27factorial/xenon-api against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F27factorial%2Fxenon-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/27factorial/xenon-api [INFO] finished tweaking git repo https://github.com/27factorial/xenon-api [INFO] tweaked toml for git repo https://github.com/27factorial/xenon-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/27factorial/xenon-api on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/27factorial/xenon-api 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54fd54e6291a78cb958bffef246b2f61db139ba28791b6f6a38d372a1eb02d02 [INFO] running `Command { std: "docker" "start" "-a" "54fd54e6291a78cb958bffef246b2f61db139ba28791b6f6a38d372a1eb02d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54fd54e6291a78cb958bffef246b2f61db139ba28791b6f6a38d372a1eb02d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54fd54e6291a78cb958bffef246b2f61db139ba28791b6f6a38d372a1eb02d02", kill_on_drop: false }` [INFO] [stdout] 54fd54e6291a78cb958bffef246b2f61db139ba28791b6f6a38d372a1eb02d02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 465f7f37a666646b00953d8d48bcec906ea1f71bcbf9f710c34b8d4cfb6da954 [INFO] running `Command { std: "docker" "start" "-a" "465f7f37a666646b00953d8d48bcec906ea1f71bcbf9f710c34b8d4cfb6da954", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling portable-atomic v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling static_cell v2.1.0 [INFO] [stderr] Compiling critical-section v1.1.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling embedded-graphics v0.8.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling xenon-firmware v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WakerRef` [INFO] [stdout] --> src/asynch/task.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | task::{waker_ref, ArcWake, WakerRef}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `Poll`, and `Waker` [INFO] [stdout] --> src/asynch/task.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | task::{Context, Poll, Wake, Waker}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ffi/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tuple::Tuple3` [INFO] [stdout] --> src/ffi/widget.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::tuple::Tuple3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print` [INFO] [stdout] --> src/io/stdio.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `println` [INFO] [stdout] --> src/io/stdio.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! println { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `eprint` [INFO] [stdout] --> src/io/stdio.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! eprint { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `eprintln` [INFO] [stdout] --> src/io/stdio.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! eprintln { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi` [INFO] [stdout] --> src/panic.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ffi, syscalls}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Drawable` [INFO] [stdout] --> src/widget/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Drawable, Pixel, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/widget/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ffi::{self, widget::clear_buffer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `CornerRadiiBuilder`, `Point`, `PrimitiveStyleBuilder`, and `Size` [INFO] [stdout] --> src/widget/eg.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::{Angle, Point, Size}, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] 4 | primitives::{ [INFO] [stdout] 5 | Arc, Circle, CornerRadii, CornerRadiiBuilder, Ellipse, Line, PrimitiveStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | PrimitiveStyleBuilder, Rectangle, RoundedRectangle, Sector, StrokeAlignment, Styled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> src/widget/image.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.53s [INFO] running `Command { std: "docker" "inspect" "465f7f37a666646b00953d8d48bcec906ea1f71bcbf9f710c34b8d4cfb6da954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465f7f37a666646b00953d8d48bcec906ea1f71bcbf9f710c34b8d4cfb6da954", kill_on_drop: false }` [INFO] [stdout] 465f7f37a666646b00953d8d48bcec906ea1f71bcbf9f710c34b8d4cfb6da954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c7ec01fce06d201747e5d7fd75410a9dc57ffea6c8004e4e02840d35996d91bf [INFO] running `Command { std: "docker" "start" "-a" "c7ec01fce06d201747e5d7fd75410a9dc57ffea6c8004e4e02840d35996d91bf", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `WakerRef` [INFO] [stdout] --> src/asynch/task.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | task::{waker_ref, ArcWake, WakerRef}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `Poll`, and `Waker` [INFO] [stdout] --> src/asynch/task.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | task::{Context, Poll, Wake, Waker}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ffi/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tuple::Tuple3` [INFO] [stdout] --> src/ffi/widget.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::tuple::Tuple3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print` [INFO] [stdout] --> src/io/stdio.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `println` [INFO] [stdout] --> src/io/stdio.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! println { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `eprint` [INFO] [stdout] --> src/io/stdio.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! eprint { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `eprintln` [INFO] [stdout] --> src/io/stdio.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! eprintln { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi` [INFO] [stdout] --> src/panic.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ffi, syscalls}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Drawable` [INFO] [stdout] --> src/widget/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Drawable, Pixel, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/widget/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ffi::{self, widget::clear_buffer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xenon-firmware v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Angle`, `CornerRadiiBuilder`, `Point`, `PrimitiveStyleBuilder`, and `Size` [INFO] [stdout] --> src/widget/eg.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::{Angle, Point, Size}, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] 4 | primitives::{ [INFO] [stdout] 5 | Arc, Circle, CornerRadii, CornerRadiiBuilder, Ellipse, Line, PrimitiveStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | PrimitiveStyleBuilder, Rectangle, RoundedRectangle, Sector, StrokeAlignment, Styled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> src/widget/image.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WakerRef` [INFO] [stdout] --> src/asynch/task.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | task::{waker_ref, ArcWake, WakerRef}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `Poll`, and `Waker` [INFO] [stdout] --> src/asynch/task.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | task::{Context, Poll, Wake, Waker}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ffi/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tuple::Tuple3` [INFO] [stdout] --> src/ffi/widget.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::tuple::Tuple3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print` [INFO] [stdout] --> src/io/stdio.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! print { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `println` [INFO] [stdout] --> src/io/stdio.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! println { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `eprint` [INFO] [stdout] --> src/io/stdio.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! eprint { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `eprintln` [INFO] [stdout] --> src/io/stdio.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! eprintln { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi` [INFO] [stdout] --> src/panic.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ffi, syscalls}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Drawable` [INFO] [stdout] --> src/widget/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Drawable, Pixel, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/widget/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ffi::{self, widget::clear_buffer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `CornerRadiiBuilder`, `Point`, `PrimitiveStyleBuilder`, and `Size` [INFO] [stdout] --> src/widget/eg.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::{Angle, Point, Size}, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] 4 | primitives::{ [INFO] [stdout] 5 | Arc, Circle, CornerRadii, CornerRadiiBuilder, Ellipse, Line, PrimitiveStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | PrimitiveStyleBuilder, Rectangle, RoundedRectangle, Sector, StrokeAlignment, Styled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> src/widget/image.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xenon-firmware` (lib test) due to 1 previous error; 13 warnings emitted [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "__xenon_start" "--export" "_critical_section_1_0_acquire" "--export" "_critical_section_1_0_release" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libstatic_cell-099d8f63e7a34adb,libportable_atomic-a0a37aeff37719c0,libthiserror-afed12e49e1a346b,libheapless-0747b743bf798320,libhash32-f9e5af1a2039ec09,libembedded_graphics-8ab7197ff6bdf65a,libbyteorder-724208724ef3bd1b,libfloat_cmp-af69d287a4cdf003,libnum_traits-da0ab5bbde21bcc9,libmicromath-fe8410cbed964e01,libembedded_graphics_core-d060aa2241fbe672,libaz-9074360d3eda9268,librand-d422cca6281013de,librand_core-512e272d4ecb92d6,liblog-b98f2dc96346a89c,libfutures-73645481b7b79aa9,libfutures_executor-dfbc0d640691b5aa,libfutures_util-ea6d8636e3bf9714,libmemchr-9a2f103f6d32a3e4,libfutures_io-3b478a0d3a83b51e,libslab-593762f5b295a14d,libfutures_channel-916326ae9a612a6b,libpin_project_lite-31e2d3f271086d5c,libfutures_sink-cb2d0794a79a9e26,libfutures_task-ebcbd3ef72b78f65,libpin_utils-14025d01bce6a479,libfutures_core-fa02aa4faf453d97,libcritical_section-d13354918340aa5e}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/xenon_firmware-581bd876e0762f7f.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/xenon_firmware-581bd876e0762f7f.xenon_firmware.de0850595b58ac37-cgu.0.rcgu.o: undefined symbol: main [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c7ec01fce06d201747e5d7fd75410a9dc57ffea6c8004e4e02840d35996d91bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7ec01fce06d201747e5d7fd75410a9dc57ffea6c8004e4e02840d35996d91bf", kill_on_drop: false }` [INFO] [stdout] c7ec01fce06d201747e5d7fd75410a9dc57ffea6c8004e4e02840d35996d91bf