[INFO] fetching crate wcanvas 0.0.1... [INFO] testing wcanvas-0.0.1 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate wcanvas 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wcanvas 0.0.1 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wcanvas 0.0.1 [INFO] finished tweaking crates.io crate wcanvas 0.0.1 [INFO] tweaked toml for crates.io crate wcanvas 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate wcanvas 0.0.1 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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45e307de0d2e8582bf98948d16f0ec5eb2bbc60f9e5dbee476e020ac18cf883 [INFO] running `Command { std: "docker" "start" "-a" "a45e307de0d2e8582bf98948d16f0ec5eb2bbc60f9e5dbee476e020ac18cf883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45e307de0d2e8582bf98948d16f0ec5eb2bbc60f9e5dbee476e020ac18cf883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45e307de0d2e8582bf98948d16f0ec5eb2bbc60f9e5dbee476e020ac18cf883", kill_on_drop: false }` [INFO] [stdout] a45e307de0d2e8582bf98948d16f0ec5eb2bbc60f9e5dbee476e020ac18cf883 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9ba3a409ee78fc1d59aaebc469f2cbd660736bd0a58a05f618c5f58360a8886 [INFO] running `Command { std: "docker" "start" "-a" "e9ba3a409ee78fc1d59aaebc469f2cbd660736bd0a58a05f618c5f58360a8886", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling png v0.17.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ttf-parser v0.19.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling profiling v1.0.8 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling exr v1.7.0 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling wgpu-hal v0.17.0 [INFO] [stderr] Compiling wgpu-core v0.17.0 [INFO] [stderr] Compiling wgpu v0.17.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling wcanvas v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::from_image::*` [INFO] [stdout] --> src/bitmap.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::from_image::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "e9ba3a409ee78fc1d59aaebc469f2cbd660736bd0a58a05f618c5f58360a8886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9ba3a409ee78fc1d59aaebc469f2cbd660736bd0a58a05f618c5f58360a8886", kill_on_drop: false }` [INFO] [stdout] e9ba3a409ee78fc1d59aaebc469f2cbd660736bd0a58a05f618c5f58360a8886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb7fc55c131e5541b10bebfe47c3bcbb34ed9e58f900a27f702698231675ac8e [INFO] running `Command { std: "docker" "start" "-a" "eb7fc55c131e5541b10bebfe47c3bcbb34ed9e58f900a27f702698231675ac8e", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling exr v1.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling wgpu-hal v0.17.0 [INFO] [stderr] Compiling wgpu-core v0.17.0 [INFO] [stderr] Compiling wgpu v0.17.0 [INFO] [stderr] Compiling wcanvas v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::from_image::*` [INFO] [stdout] --> src/bitmap.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::from_image::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::from_image::*` [INFO] [stdout] --> src/bitmap.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::from_image::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 43.63s [INFO] running `Command { std: "docker" "inspect" "eb7fc55c131e5541b10bebfe47c3bcbb34ed9e58f900a27f702698231675ac8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7fc55c131e5541b10bebfe47c3bcbb34ed9e58f900a27f702698231675ac8e", kill_on_drop: false }` [INFO] [stdout] eb7fc55c131e5541b10bebfe47c3bcbb34ed9e58f900a27f702698231675ac8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e725337ecc4a1e9826ba6ec215ad9973e9a8e734fadfb3ab228e07550765dc9 [INFO] running `Command { std: "docker" "start" "-a" "7e725337ecc4a1e9826ba6ec215ad9973e9a8e734fadfb3ab228e07550765dc9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self::from_image::*` [INFO] [stderr] --> src/bitmap.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use self::from_image::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wcanvas` (lib) generated 1 warning (run `cargo fix --lib -p wcanvas` to apply 1 suggestion) [INFO] [stderr] warning: `wcanvas` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wcanvas-8a89041c584c8452) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests wcanvas [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/lib.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 6 | let mut canvas = window.create_canvas().await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 5 | use wcanvas::canvas::CanvasBackend; [INFO] [stdout] 6 | let mut canvas = window.create_canvas().await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 39) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `event_loop` in this scope [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 3 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlFlow` [INFO] [stdout] --> src/lib.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 4 | *control_flow = ControlFlow::Wait; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ControlFlow` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::ControlFlow; [INFO] [stdout] | [INFO] [stdout] 2 + use winit::event_loop::ControlFlow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 7 | Event::RedrawRequested(window_id) if window_id == canvas.window().id() => { [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use winit::event::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `canvas` in this scope [INFO] [stdout] --> src/lib.rs:44:59 [INFO] [stdout] | [INFO] [stdout] 7 | Event::RedrawRequested(window_id) if window_id == canvas.window().id() => { [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 - (line 55) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `canvas` in this scope [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 3 | canvas.draw_frame(|context| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Brush` [INFO] [stdout] --> src/lib.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 4 | context.set_brush(&Brush::solid(&(0, 255, 0).into())); // color = green [INFO] [stdout] | ^^^^^ use of undeclared type `Brush` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wcanvas::brush::Brush; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/lib.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 6 | let event_loop = EventLoop::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use winit::event_loop::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WindowBuilder` [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 7 | let window = WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `WindowBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogicalSize` [INFO] [stdout] --> src/lib.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 9 | .with_inner_size(LogicalSize::new(600, 600)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `LogicalSize` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use winit::dpi::LogicalSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] src/lib.rs - (line 55) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7e725337ecc4a1e9826ba6ec215ad9973e9a8e734fadfb3ab228e07550765dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e725337ecc4a1e9826ba6ec215ad9973e9a8e734fadfb3ab228e07550765dc9", kill_on_drop: false }` [INFO] [stdout] 7e725337ecc4a1e9826ba6ec215ad9973e9a8e734fadfb3ab228e07550765dc9