[INFO] cloning repository https://github.com/ramp-stack/wgpu_canvas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ramp-stack/wgpu_canvas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framp-stack%2Fwgpu_canvas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framp-stack%2Fwgpu_canvas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9141d06f9259e5d56f98572ced52c673e6c83c9e [INFO] testing ramp-stack/wgpu_canvas against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framp-stack%2Fwgpu_canvas" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ramp-stack/wgpu_canvas [INFO] finished tweaking git repo https://github.com/ramp-stack/wgpu_canvas [INFO] tweaked toml for git repo https://github.com/ramp-stack/wgpu_canvas written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ramp-stack/wgpu_canvas on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ramp-stack/wgpu_canvas 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu_dyn_buffer v3.0.0 [INFO] [stderr] Downloaded codespan-reporting v0.12.0 [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v25.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-windows-linux-android v25.0.0 [INFO] [stderr] Downloaded ravif v0.11.12 [INFO] [stderr] Downloaded avif-serialize v0.8.3 [INFO] [stderr] Downloaded arbitrary v1.4.1 [INFO] [stderr] Downloaded image-webp v0.2.2 [INFO] [stderr] Downloaded wgpu-core-deps-apple v25.0.0 [INFO] [stderr] Downloaded zune-jpeg v0.4.17 [INFO] [stderr] Downloaded wgpu-types v25.0.0 [INFO] [stderr] Downloaded wgpu v25.0.2 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.9 [INFO] [stderr] Downloaded fast_image_resize v5.1.4 [INFO] [stderr] Downloaded wgpu-core v25.0.2 [INFO] [stderr] Downloaded wgpu-hal v25.0.2 [INFO] [stderr] Downloaded naga v25.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca308e391918654fa449ddd86513a34831f9df647dd6b19906495c827a8b34fe [INFO] running `Command { std: "docker" "start" "-a" "ca308e391918654fa449ddd86513a34831f9df647dd6b19906495c827a8b34fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca308e391918654fa449ddd86513a34831f9df647dd6b19906495c827a8b34fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca308e391918654fa449ddd86513a34831f9df647dd6b19906495c827a8b34fe", kill_on_drop: false }` [INFO] [stdout] ca308e391918654fa449ddd86513a34831f9df647dd6b19906495c827a8b34fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd2497d9e814344521476f421d75024d3d7eea1a89ad90dd3f7cc98e89e50f08 [INFO] running `Command { std: "docker" "start" "-a" "dd2497d9e814344521476f421d75024d3d7eea1a89ad90dd3f7cc98e89e50f08", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling wgpu-hal v25.0.2 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling wgpu-core v25.0.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling wgpu v25.0.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling image-webp v0.2.2 [INFO] [stderr] Compiling zune-jpeg v0.4.17 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling wgpu-types v25.0.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling fast_image_resize v5.1.4 [INFO] [stderr] Compiling wgpu-core-deps-windows-linux-android v25.0.0 [INFO] [stderr] Compiling wgpu_dyn_buffer v3.0.0 [INFO] [stderr] Compiling wgpu_canvas v4.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/text.rs:344:57 [INFO] [stdout] | [INFO] [stdout] 344 | self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [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] 344 - self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [INFO] [stdout] 344 + self.fonts = self.fonts.drain().filter(|(k, _)| Arc::strong_count(k) > 1).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "dd2497d9e814344521476f421d75024d3d7eea1a89ad90dd3f7cc98e89e50f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2497d9e814344521476f421d75024d3d7eea1a89ad90dd3f7cc98e89e50f08", kill_on_drop: false }` [INFO] [stdout] dd2497d9e814344521476f421d75024d3d7eea1a89ad90dd3f7cc98e89e50f08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8160a3ccd210d83b7da7719e9f520fb82da610132afdf1056bc57b62b8b83c46 [INFO] running `Command { std: "docker" "start" "-a" "8160a3ccd210d83b7da7719e9f520fb82da610132afdf1056bc57b62b8b83c46", kill_on_drop: false }` [INFO] [stderr] Compiling wgpu_canvas v4.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/text.rs:344:57 [INFO] [stdout] | [INFO] [stdout] 344 | self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [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] 344 - self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [INFO] [stdout] 344 + self.fonts = self.fonts.drain().filter(|(k, _)| Arc::strong_count(k) > 1).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/text.rs:344:57 [INFO] [stdout] | [INFO] [stdout] 344 | self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [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] 344 - self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [INFO] [stdout] 344 + self.fonts = self.fonts.drain().filter(|(k, _)| Arc::strong_count(k) > 1).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "8160a3ccd210d83b7da7719e9f520fb82da610132afdf1056bc57b62b8b83c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8160a3ccd210d83b7da7719e9f520fb82da610132afdf1056bc57b62b8b83c46", kill_on_drop: false }` [INFO] [stdout] 8160a3ccd210d83b7da7719e9f520fb82da610132afdf1056bc57b62b8b83c46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 578d29be8b4c0cc8d140324b98416a9ea1287bbe42f492a45a2ee45b095b2f2b [INFO] running `Command { std: "docker" "start" "-a" "578d29be8b4c0cc8d140324b98416a9ea1287bbe42f492a45a2ee45b095b2f2b", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/text.rs:344:57 [INFO] [stderr] | [INFO] [stderr] 344 | self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [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] 344 - self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [INFO] [stderr] 344 + self.fonts = self.fonts.drain().filter(|(k, _)| Arc::strong_count(k) > 1).collect(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wgpu_canvas` (lib) generated 1 warning (run `cargo fix --lib -p wgpu_canvas` to apply 1 suggestion) [INFO] [stderr] warning: `wgpu_canvas` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wgpu_canvas-b2ca124c7bd30374) [INFO] [stdout] [INFO] [stderr] Doc-tests wgpu_canvas [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] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/text.rs:344:57 [INFO] [stderr] | [INFO] [stderr] 344 | self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [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] 344 - self.fonts = self.fonts.drain().filter(|(k, _)| (Arc::strong_count(k) > 1)).collect(); [INFO] [stderr] 344 + self.fonts = self.fonts.drain().filter(|(k, _)| Arc::strong_count(k) > 1).collect(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/color.rs - color::Color::from_hex (line 18) ... FAILED [INFO] [stdout] test src/text.rs - text::Span (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/color.rs - color::Color::from_hex (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/color.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 3 | let pink = Color::from_hex("#FF006E", 255); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu_canvas::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/text.rs - text::Span (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span` [INFO] [stdout] --> src/text.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 3 | let span = Span::new("Hello, World!", 24.0, None, my_font, Color::from_hex("005EFF", 255), 0.0); [INFO] [stdout] | ^^^^ use of undeclared type `Span` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu_canvas::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_font` in this scope [INFO] [stdout] --> src/text.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 3 | let span = Span::new("Hello, World!", 24.0, None, my_font, Color::from_hex("005EFF", 255), 0.0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/text.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 3 | let span = Span::new("Hello, World!", 24.0, None, my_font, Color::from_hex("005EFF", 255), 0.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu::Color; [INFO] [stdout] | [INFO] [stdout] 2 + use wgpu_canvas::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] [INFO] [stdout] failures: [INFO] [stdout] src/color.rs - color::Color::from_hex (line 18) [INFO] [stdout] src/text.rs - text::Span (line 27) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "578d29be8b4c0cc8d140324b98416a9ea1287bbe42f492a45a2ee45b095b2f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "578d29be8b4c0cc8d140324b98416a9ea1287bbe42f492a45a2ee45b095b2f2b", kill_on_drop: false }` [INFO] [stdout] 578d29be8b4c0cc8d140324b98416a9ea1287bbe42f492a45a2ee45b095b2f2b