[INFO] fetching crate graphicility 0.2.0... [INFO] testing graphicility-0.2.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] extracting crate graphicility 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate graphicility 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate graphicility 0.2.0 [INFO] tweaked toml for crates.io crate graphicility 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate graphicility 0.2.0 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate graphicility 0.2.0 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ecc03d0198a2496c224529ca4dd7e0b612c56f9cc5ffb1f5907afa9a151f525 [INFO] running `Command { std: "docker" "start" "-a" "2ecc03d0198a2496c224529ca4dd7e0b612c56f9cc5ffb1f5907afa9a151f525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ecc03d0198a2496c224529ca4dd7e0b612c56f9cc5ffb1f5907afa9a151f525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ecc03d0198a2496c224529ca4dd7e0b612c56f9cc5ffb1f5907afa9a151f525", kill_on_drop: false }` [INFO] [stdout] 2ecc03d0198a2496c224529ca4dd7e0b612c56f9cc5ffb1f5907afa9a151f525 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] b0f48d4547f5e354e9fc04f32c1d4a4a9f43d8f38c8c14d22a5e297f88c3e884 [INFO] running `Command { std: "docker" "start" "-a" "b0f48d4547f5e354e9fc04f32c1d4a4a9f43d8f38c8c14d22a5e297f88c3e884", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.10 [INFO] [stderr] Compiling wayland-cursor v0.31.12 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.10 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling pixels v0.14.0 [INFO] [stderr] Compiling winit_input_helper v0.17.0 [INFO] [stderr] Compiling graphicility v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "b0f48d4547f5e354e9fc04f32c1d4a4a9f43d8f38c8c14d22a5e297f88c3e884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0f48d4547f5e354e9fc04f32c1d4a4a9f43d8f38c8c14d22a5e297f88c3e884", kill_on_drop: false }` [INFO] [stdout] b0f48d4547f5e354e9fc04f32c1d4a4a9f43d8f38c8c14d22a5e297f88c3e884 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 17efe8053e81a015f1488adedad1efaaaf6775c7c40b61d332df9334214c9975 [INFO] running `Command { std: "docker" "start" "-a" "17efe8053e81a015f1488adedad1efaaaf6775c7c40b61d332df9334214c9975", kill_on_drop: false }` [INFO] [stderr] Compiling graphicility v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.53s [INFO] running `Command { std: "docker" "inspect" "17efe8053e81a015f1488adedad1efaaaf6775c7c40b61d332df9334214c9975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17efe8053e81a015f1488adedad1efaaaf6775c7c40b61d332df9334214c9975", kill_on_drop: false }` [INFO] [stdout] 17efe8053e81a015f1488adedad1efaaaf6775c7c40b61d332df9334214c9975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] f1b44ee254caf550e751b9d46c066731e1cf1c95c5e8be83cf671a5258051930 [INFO] running `Command { std: "docker" "start" "-a" "f1b44ee254caf550e751b9d46c066731e1cf1c95c5e8be83cf671a5258051930", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/graphicility/f9698622489fae1c/deps/graphicility-f9698622489fae1c) [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 graphicility [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - run (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - run_with (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - run (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run` in this scope [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | run(|ctx|{ [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 49 + use graphicility::run; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - run_with (line 63) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/lib.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | let config = Config::builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 63 + use graphicility::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_with` in this scope [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | run_with(config, |g|{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 63 + use graphicility::run_with; [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 55) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `Graphicility` [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use Graphicility::{Color, KeyCode}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Graphicility` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphicility` [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Graphicility::run(|ctx| { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Graphicility` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | Graphicility::run(|ctx| { [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | let (g, input) = ctx.split(); // Split the context so we draw and read input without raging the barrow checker. [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | Graphicility::run(|ctx: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | g.clear(Color::WHITE); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | if input.key_pressed(KeyCode::Escape){ // Pressed only triggers once. [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `Graphicility` [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use Graphicility::{Color, Vec2 }; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Graphicility` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphicility` [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | Graphicility::run(|ctx| { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Graphicility` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | Graphicility::run(|ctx| { [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | let g = ctx.graphics(); // We are only gonna draw so lets get the graphics handle [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 46 | Graphicility::run(|ctx: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error: expected `;`, found `g` [INFO] [stdout] --> src/lib.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | g.clear(Color::WHITE) // Lets Clear our canvas at the start of the frame [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 29 | g.pixel((5,5), Color::RED); // Draw a single pixel in cords x:5 y:5 [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Graphicility` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use Graphicility::{Color }; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Graphicility` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphicility` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Graphicility::run(|ctx| { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Graphicility` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | Graphicility::run(|ctx| { [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | let g = ctx.graphics(); // We are only gonna draw so lets get the graphics handle [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | Graphicility::run(|ctx: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] src/lib.rs - (line 55) [INFO] [stdout] src/lib.rs - run (line 49) [INFO] [stdout] src/lib.rs - run_with (line 63) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.50s; merged doctests compilation took 0.16s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f1b44ee254caf550e751b9d46c066731e1cf1c95c5e8be83cf671a5258051930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b44ee254caf550e751b9d46c066731e1cf1c95c5e8be83cf671a5258051930", kill_on_drop: false }` [INFO] [stdout] f1b44ee254caf550e751b9d46c066731e1cf1c95c5e8be83cf671a5258051930