[INFO] fetching crate rust_pixel 1.0.7... [INFO] testing rust_pixel-1.0.7 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rust_pixel 1.0.7 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rust_pixel 1.0.7 [INFO] finished tweaking crates.io crate rust_pixel 1.0.7 [INFO] tweaked toml for crates.io crate rust_pixel 1.0.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_pixel 1.0.7 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust_pixel 1.0.7 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d450fbf89babbb539506f84d5d78d2c68102c2fdf86845ebe1f1dfa79ed0521b [INFO] running `Command { std: "docker" "start" "-a" "d450fbf89babbb539506f84d5d78d2c68102c2fdf86845ebe1f1dfa79ed0521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d450fbf89babbb539506f84d5d78d2c68102c2fdf86845ebe1f1dfa79ed0521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d450fbf89babbb539506f84d5d78d2c68102c2fdf86845ebe1f1dfa79ed0521b", kill_on_drop: false }` [INFO] [stdout] d450fbf89babbb539506f84d5d78d2c68102c2fdf86845ebe1f1dfa79ed0521b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2919ede323f5144142935d55e767c9fbeadaa242f74a08c5ab2edc1b2d0abac [INFO] running `Command { std: "docker" "start" "-a" "d2919ede323f5144142935d55e767c9fbeadaa242f74a08c5ab2edc1b2d0abac", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling rust_pixel v1.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling keyframe v1.1.1 [INFO] [stderr] Compiling keyframe_derive v1.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rand_xoshiro v0.7.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling deltae v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling lab v0.11.0 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.4 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling rodio v0.21.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/asset.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stdout] 148 + pub fn get(&mut self, loc: &str) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "d2919ede323f5144142935d55e767c9fbeadaa242f74a08c5ab2edc1b2d0abac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2919ede323f5144142935d55e767c9fbeadaa242f74a08c5ab2edc1b2d0abac", kill_on_drop: false }` [INFO] [stdout] d2919ede323f5144142935d55e767c9fbeadaa242f74a08c5ab2edc1b2d0abac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 148bb1ea67773e9b0289aeead84c342e6aaff16bbfac17b3d151c91e5150b7b5 [INFO] running `Command { std: "docker" "start" "-a" "148bb1ea67773e9b0289aeead84c342e6aaff16bbfac17b3d151c91e5150b7b5", kill_on_drop: false }` [INFO] [stderr] Compiling rust_pixel v1.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/asset.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stdout] 148 + pub fn get(&mut self, loc: &str) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/asset.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stdout] 148 + pub fn get(&mut self, loc: &str) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.02s [INFO] running `Command { std: "docker" "inspect" "148bb1ea67773e9b0289aeead84c342e6aaff16bbfac17b3d151c91e5150b7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148bb1ea67773e9b0289aeead84c342e6aaff16bbfac17b3d151c91e5150b7b5", kill_on_drop: false }` [INFO] [stdout] 148bb1ea67773e9b0289aeead84c342e6aaff16bbfac17b3d151c91e5150b7b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91fa1f240cde2ba55aa48bbfb49bf41b8377e3ef96b55766758d422a25c5a29a [INFO] running `Command { std: "docker" "start" "-a" "91fa1f240cde2ba55aa48bbfb49bf41b8377e3ef96b55766758d422a25c5a29a", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/asset.rs:148:57 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 148 - pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stderr] 148 + pub fn get(&mut self, loc: &str) -> Option<&mut Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rust_pixel` (lib) generated 1 warning (run `cargo fix --lib -p rust_pixel` to apply 1 suggestion) [INFO] [stderr] warning: `rust_pixel` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_pixel-637ad08ae7dc0043) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test event::tests::test_thread_local_implementation ... ok [INFO] [stdout] test algorithm::tests::test_remove_nv ... ok [INFO] [stdout] test event::tests::test_timer_implementation ... ok [INFO] [stdout] test event_mutex::tests::test_mutex_implementation ... ok [INFO] [stdout] test event_mutex::tests::test_timer_mutex_implementation ... ok [INFO] [stdout] test render::buffer::tests::it_translates_to_and_from_coordinates ... ok [INFO] [stdout] test render::style::tests::combined_patch_gives_same_result_as_individual_patch ... ok [INFO] [stdout] test event::tests::benchmark_thread_local_performance ... ok [INFO] [stdout] test event_mutex::tests::benchmark_mutex_performance ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests tools/cargo-pixel/src/main.rs (/opt/rustwide/target/debug/deps/cargo_pixel-60c0236db6536a03) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_pixel [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/asset.rs:148:57 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 148 - pub fn get(&mut self, loc: &str) -> Option<&mut Box<(dyn Asset)>> { [INFO] [stderr] 148 + pub fn get(&mut self, loc: &str) -> Option<&mut Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/algorithm/astar.rs - algorithm::astar (line 7) - compile ... ok [INFO] [stdout] test src/lib.rs - pixel_game (line 67) ... FAILED [INFO] [stdout] test src/render/style/color_pro.rs - render::style::color_pro::FromPrimitive (line 24) ... FAILED [INFO] [stdout] test src/render/buffer.rs - render::buffer (line 10) ... FAILED [INFO] [stdout] test src/render/symbols.rs - render::symbols::calculate_mse (line 920) ... FAILED [INFO] [stdout] test src/render/style/color_pro.rs - render::style::color_pro::FromPrimitive (line 37) ... FAILED [INFO] [stdout] test src/render/buffer.rs - render::buffer (line 42) ... FAILED [INFO] [stdout] test src/util.rs - util::get_project_path (line 45) ... ok [INFO] [stdout] test src/render/buffer.rs - render::buffer (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - ui (line 263) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - pixel_game (line 67) stdout ---- [INFO] [stdout] error: expected identifier, found `{` [INFO] [stdout] --> src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct {Name}Game { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/render/style/color_pro.rs - render::style::color_pro::FromPrimitive (line 24) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 6 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColorPro` [INFO] [stdout] --> src/render/style/color_pro.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 4 | let color = ColorPro::from_space_f64(SRGBA, 1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ColorPro` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorPro; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRGBA` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 4 | let color = ColorPro::from_space_f64(SRGBA, 1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorSpace::SRGBA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLOR_SPACE_COUNT` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 5 | for i in 0..COLOR_SPACE_COUNT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::COLOR_SPACE_COUNT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/render/buffer.rs - render::buffer (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `my_buffer` in this scope [INFO] [stdout] --> src/render/buffer.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 3 | my_buffer.set_str(0, 0, "Hello world 😃.", [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Style` [INFO] [stdout] --> src/render/buffer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | Style::default().fg(Color::Red).bg(Color::Reset)) [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Style; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Style; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/render/buffer.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 4 | Style::default().fg(Color::Red).bg(Color::Reset)) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/render/buffer.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 4 | Style::default().fg(Color::Red).bg(Color::Reset)) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/render/symbols.rs - render::symbols::calculate_mse (line 920) stdout ---- [INFO] [stdout] error: unknown start of token: \u{b2} [INFO] [stdout] --> src/render/symbols.rs:921:40 [INFO] [stdout] | [INFO] [stdout] 1 | MSE = sqrt(Σ(feature1[i] - feature2[i])²) for i = 0 to 9 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `=` [INFO] [stdout] --> src/render/symbols.rs:921:5 [INFO] [stdout] | [INFO] [stdout] 1 | MSE = sqrt(Σ(feature1[i] - feature2[i])²) for i = 0 to 9 [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/render/style/color_pro.rs - render::style::color_pro::FromPrimitive (line 37) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 8 | info!("d76...{}, d2000...{}", d1, d2); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColorPro` [INFO] [stdout] --> src/render/style/color_pro.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 4 | let c1 = ColorPro::from_space_f64(LabA, 50.0, 0.8, -80.0, 1.0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ColorPro` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorPro; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LabA` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 4 | let c1 = ColorPro::from_space_f64(LabA, 50.0, 0.8, -80.0, 1.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorSpace::LabA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColorPro` [INFO] [stdout] --> src/render/style/color_pro.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 5 | let c2 = ColorPro::from_space_f64(LabA, 100.0, 1.2, 90.0, 1.0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ColorPro` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorPro; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LabA` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 5 | let c2 = ColorPro::from_space_f64(LabA, 100.0, 1.2, 90.0, 1.0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorSpace::LabA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delta_e_cie76` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 6 | let d1 = delta_e_cie76(c1[LabA].unwrap(), c2[LabA].unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::delta_e_cie76; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LabA` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 6 | let d1 = delta_e_cie76(c1[LabA].unwrap(), c2[LabA].unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorSpace::LabA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LabA` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 6 | let d1 = delta_e_cie76(c1[LabA].unwrap(), c2[LabA].unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorSpace::LabA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delta_e_ciede2000` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 7 | let d2 = delta_e_ciede2000(c1[LabA].unwrap(), c2[LabA].unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::delta_e_ciede2000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LabA` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 7 | let d2 = delta_e_ciede2000(c1[LabA].unwrap(), c2[LabA].unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorSpace::LabA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LabA` in this scope [INFO] [stdout] --> src/render/style/color_pro.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 7 | let d2 = delta_e_ciede2000(c1[LabA].unwrap(), c2[LabA].unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::style::ColorSpace::LabA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/render/buffer.rs - render::buffer (line 42) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `my_buffer` in this scope [INFO] [stdout] --> src/render/buffer.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 3 | my_buffer.set_str_tex(0, 0, "Hello world.", [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Style` [INFO] [stdout] --> src/render/buffer.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 4 | Style::default().fg(Color::Red), 0) [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Style; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Style; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/render/buffer.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 4 | Style::default().fg(Color::Red), 0) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/render/buffer.rs - render::buffer (line 32) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `my_buffer` in this scope [INFO] [stdout] --> src/render/buffer.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 3 | my_buffer.set_str_tex(0, 0, sdlsym(0), Style::default().fg(Color::Red), 1) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Style` [INFO] [stdout] --> src/render/buffer.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 3 | my_buffer.set_str_tex(0, 0, sdlsym(0), Style::default().fg(Color::Red), 1) [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Style; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Style; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/render/buffer.rs:33:60 [INFO] [stdout] | [INFO] [stdout] 3 | my_buffer.set_str_tex(0, 0, sdlsym(0), Style::default().fg(Color::Red), 1) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sdlsym` in this scope [INFO] [stdout] --> src/render/buffer.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 3 | my_buffer.set_str_tex(0, 0, sdlsym(0), Style::default().fg(Color::Red), 1) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ui (line 263) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> src/lib.rs:268:28 [INFO] [stdout] | [INFO] [stdout] 8 | let mut panel = Panel::new(Rect::new(0, 0, 80, 25)); [INFO] [stdout] | ^^^^ use of undeclared type `Rect` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use image::math::Rect; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::util::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Style` [INFO] [stdout] --> src/lib.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 12 | .style(Style::default().fg(Color::Green)) [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Style; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Style; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Style; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/lib.rs:272:36 [INFO] [stdout] | [INFO] [stdout] 12 | .style(Style::default().fg(Color::Green)) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use log4rs::encode::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use rust_pixel::render::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut app = UIApp::new(); [INFO] [stdout] | ^^^^^^^^^^-- two arguments of type `u16` and `u16` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ui/app.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(width: u16, height: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 7 | let mut app = UIApp::new(/* u16 */, /* u16 */); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut panel = Panel::new(Rect::new(0, 0, 80, 25)); [INFO] [stdout] | ^^^^^^^^^^ ----------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ui/components/panel.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 8 - let mut panel = Panel::new(Rect::new(0, 0, 80, 25)); [INFO] [stdout] 8 + let mut panel = Panel::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `style` found for struct `rust_pixel::ui::Label` in the current scope [INFO] [stdout] --> src/lib.rs:272:10 [INFO] [stdout] | [INFO] [stdout] 11 | / Label::new("Hello UI Framework!") [INFO] [stdout] 12 | | .style(Style::default().fg(Color::Green)) [INFO] [stdout] | |_________-^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_style` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | .with_style(Style::default().fg(Color::Green)) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 0 arguments, but it takes 1 argument [INFO] [stdout] --> src/lib.rs:277:10 [INFO] [stdout] | [INFO] [stdout] 17 | .on_click(|_| println!("Button clicked!")) [INFO] [stdout] | ^^^^^^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 0 arguments [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_root` found for struct `rust_pixel::ui::UIApp` in the current scope [INFO] [stdout] --> src/lib.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 20 | app.set_root(Box::new(panel)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_root_widget` with a similar name [INFO] [stdout] | [INFO] [stdout] 20 | app.set_root_widget(Box::new(panel)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for struct `rust_pixel::ui::UIApp` in the current scope [INFO] [stdout] --> src/lib.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 21 | app.run(); [INFO] [stdout] | ^^^ method not found in `rust_pixel::ui::UIApp` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0593, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - pixel_game (line 67) [INFO] [stdout] src/lib.rs - ui (line 263) [INFO] [stdout] src/render/buffer.rs - render::buffer (line 10) [INFO] [stdout] src/render/buffer.rs - render::buffer (line 32) [INFO] [stdout] src/render/buffer.rs - render::buffer (line 42) [INFO] [stdout] src/render/style/color_pro.rs - render::style::color_pro::FromPrimitive (line 24) [INFO] [stdout] src/render/style/color_pro.rs - render::style::color_pro::FromPrimitive (line 37) [INFO] [stdout] src/render/symbols.rs - render::symbols::calculate_mse (line 920) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "91fa1f240cde2ba55aa48bbfb49bf41b8377e3ef96b55766758d422a25c5a29a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fa1f240cde2ba55aa48bbfb49bf41b8377e3ef96b55766758d422a25c5a29a", kill_on_drop: false }` [INFO] [stdout] 91fa1f240cde2ba55aa48bbfb49bf41b8377e3ef96b55766758d422a25c5a29a