[INFO] cloning repository https://github.com/jorgeandrecastro/embassy-st7789v-graphics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jorgeandrecastro/embassy-st7789v-graphics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgeandrecastro%2Fembassy-st7789v-graphics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgeandrecastro%2Fembassy-st7789v-graphics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54012428534d81d098ffc2ae14f818ff62a0b7a9
[INFO] testing jorgeandrecastro/embassy-st7789v-graphics against 1.97.0-beta.1 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgeandrecastro%2Fembassy-st7789v-graphics" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jorgeandrecastro/embassy-st7789v-graphics
[INFO] finished tweaking git repo https://github.com/jorgeandrecastro/embassy-st7789v-graphics
[INFO] tweaked toml for git repo https://github.com/jorgeandrecastro/embassy-st7789v-graphics written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jorgeandrecastro/embassy-st7789v-graphics on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jorgeandrecastro/embassy-st7789v-graphics 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" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2ae7382bc97e547f4559bb1bccbbc7712cd58fc0a17c029a8eeab992c9ccc6e
[INFO] running `Command { std: "docker" "start" "-a" "c2ae7382bc97e547f4559bb1bccbbc7712cd58fc0a17c029a8eeab992c9ccc6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2ae7382bc97e547f4559bb1bccbbc7712cd58fc0a17c029a8eeab992c9ccc6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2ae7382bc97e547f4559bb1bccbbc7712cd58fc0a17c029a8eeab992c9ccc6e", kill_on_drop: false }`
[INFO] [stdout] c2ae7382bc97e547f4559bb1bccbbc7712cd58fc0a17c029a8eeab992c9ccc6e
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 628e32c42f68933266cfe8a8f00f8f37ab63e1825343fe9dbae0b221ae2b5481
[INFO] running `Command { std: "docker" "start" "-a" "628e32c42f68933266cfe8a8f00f8f37ab63e1825343fe9dbae0b221ae2b5481", kill_on_drop: false }`
[INFO] [stderr]    Compiling embassy-time-driver v0.2.2
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling embassy-time v0.5.1
[INFO] [stderr]    Compiling embassy-st7789v v0.1.0
[INFO] [stderr]    Compiling embassy-st7789v-graphics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s
[INFO] running `Command { std: "docker" "inspect" "628e32c42f68933266cfe8a8f00f8f37ab63e1825343fe9dbae0b221ae2b5481", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "628e32c42f68933266cfe8a8f00f8f37ab63e1825343fe9dbae0b221ae2b5481", kill_on_drop: false }`
[INFO] [stdout] 628e32c42f68933266cfe8a8f00f8f37ab63e1825343fe9dbae0b221ae2b5481
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a80c02250ea202fe1ba8ca84c7170c19afb00aaadf0e7eb4c6aa777420e466b6
[INFO] running `Command { std: "docker" "start" "-a" "a80c02250ea202fe1ba8ca84c7170c19afb00aaadf0e7eb4c6aa777420e466b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling embassy-st7789v-graphics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "a80c02250ea202fe1ba8ca84c7170c19afb00aaadf0e7eb4c6aa777420e466b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a80c02250ea202fe1ba8ca84c7170c19afb00aaadf0e7eb4c6aa777420e466b6", kill_on_drop: false }`
[INFO] [stdout] a80c02250ea202fe1ba8ca84c7170c19afb00aaadf0e7eb4c6aa777420e466b6
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9829ac8d95994fdd828fc76cdffee69c6dfc8782c8bb12b9940594291f58135b
[INFO] running `Command { std: "docker" "start" "-a" "9829ac8d95994fdd828fc76cdffee69c6dfc8782c8bb12b9940594291f58135b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embassy_st7789v_graphics-0dc8a231602f98ef)
[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 embassy_st7789v_graphics
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - fill_triangle (line 523) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - triangle (line 337) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - bezier_quad (line 469) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Graphics (line 94) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 57) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - ellipse (line 377) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - circle (line 238) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - line (line 181) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - fill_circle (line 289) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - fill_triangle (line 523) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:524:20
[INFO] [stdout]     |
[INFO] [stdout] 524 | fill_triangle(&mut gfx, 120, 10, 20, 310, 220, 310, Color::YELLOW).await;
[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:524:68
[INFO] [stdout]     |
[INFO] [stdout] 523 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_523_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 524 | fill_triangle(&mut gfx, 120, 10, 20, 310, 220, 310, Color::YELLOW).await;
[INFO] [stdout]     |                                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:524:53
[INFO] [stdout]     |
[INFO] [stdout] 524 | fill_triangle(&mut gfx, 120, 10, 20, 310, 220, 310, Color::YELLOW).await;
[INFO] [stdout]     |                                                     ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fill_triangle` in this scope
[INFO] [stdout]    --> src/lib.rs:524:1
[INFO] [stdout]     |
[INFO] [stdout] 524 | fill_triangle(&mut gfx, 120, 10, 20, 310, 220, 310, Color::YELLOW).await;
[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, 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 - triangle (line 337) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:338:15
[INFO] [stdout]     |
[INFO] [stdout] 338 | triangle(&mut gfx, 120, 10, 20, 310, 220, 310, Color::GREEN).await;
[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:338:62
[INFO] [stdout]     |
[INFO] [stdout] 337 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_337_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 338 | triangle(&mut gfx, 120, 10, 20, 310, 220, 310, Color::GREEN).await;
[INFO] [stdout]     |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:338:48
[INFO] [stdout]     |
[INFO] [stdout] 338 | triangle(&mut gfx, 120, 10, 20, 310, 220, 310, Color::GREEN).await;
[INFO] [stdout]     |                                                ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `triangle` in this scope
[INFO] [stdout]    --> src/lib.rs:338:1
[INFO] [stdout]     |
[INFO] [stdout] 338 | triangle(&mut gfx, 120, 10, 20, 310, 220, 310, Color::GREEN).await;
[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, 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 - bezier_quad (line 469) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:471:18
[INFO] [stdout]     |
[INFO] [stdout] 471 | bezier_quad(&mut gfx, 10, 280, 120, 40, 230, 280, 24, Color::ORANGE).await;
[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:471:70
[INFO] [stdout]     |
[INFO] [stdout] 469 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_469_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 470 | // Arche : point de contrôle en haut au centre
[INFO] [stdout] 471 | bezier_quad(&mut gfx, 10, 280, 120, 40, 230, 280, 24, Color::ORANGE).await;
[INFO] [stdout]     |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:471:55
[INFO] [stdout]     |
[INFO] [stdout] 471 | bezier_quad(&mut gfx, 10, 280, 120, 40, 230, 280, 24, Color::ORANGE).await;
[INFO] [stdout]     |                                                       ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `bezier_quad` in this scope
[INFO] [stdout]    --> src/lib.rs:471:1
[INFO] [stdout]     |
[INFO] [stdout] 471 | bezier_quad(&mut gfx, 10, 280, 120, 40, 230, 280, 24, Color::ORANGE).await;
[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, 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 - Graphics (line 94) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `ecran` in this scope
[INFO] [stdout]   --> src/lib.rs:95:34
[INFO] [stdout]    |
[INFO] [stdout] 95 | let mut gfx = Graphics::new(&mut ecran);
[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:96:44
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_94_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 95 | let mut gfx = Graphics::new(&mut ecran);
[INFO] [stdout] 96 | line(&mut gfx, 0, 0, 239, 319, Color::RED).await;
[INFO] [stdout]    |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Graphics` in this scope
[INFO] [stdout]   --> src/lib.rs:95:15
[INFO] [stdout]    |
[INFO] [stdout] 95 | let mut gfx = Graphics::new(&mut ecran);
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared type `Graphics`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/lib.rs:96:32
[INFO] [stdout]    |
[INFO] [stdout] 96 | line(&mut gfx, 0, 0, 239, 319, Color::RED).await;
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `line`
[INFO] [stdout]   --> src/lib.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 96 | line(&mut gfx, 0, 0, 239, 319, Color::RED).await;
[INFO] [stdout]    | ^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 96 | line!(&mut gfx, 0, 0, 239, 319, Color::RED).await;
[INFO] [stdout]    |     +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 57) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `ecran` in this scope
[INFO] [stdout]   --> src/lib.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     ecran.fill_screen(Color::BLACK).await.unwrap();
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ecran` in this scope
[INFO] [stdout]   --> src/lib.rs:61:42
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut gfx = Graphics::new(&mut ecran);
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ecran` in this scope
[INFO] [stdout]   --> src/lib.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     ecran.draw_str(8, 10, b"BONJOUR", Color::YELLOW, Color::BLACK).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:59:37
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 58 | loop {
[INFO] [stdout] 59 |     ecran.fill_screen(Color::BLACK).await.unwrap();
[INFO] [stdout]    |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 62 |         line(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;
[INFO] [stdout]    |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:63:53
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 63 |         circle(&mut gfx, 120, 160, 60, Color::CYAN).await;
[INFO] [stdout]    |                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:65:68
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 65 |     ecran.draw_str(8, 10, b"BONJOUR", Color::YELLOW, Color::BLACK).await.unwrap();
[INFO] [stdout]    |                                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/lib.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |     ecran.fill_screen(Color::BLACK).await.unwrap();
[INFO] [stdout]    |                       ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Graphics` in this scope
[INFO] [stdout]   --> src/lib.rs:61:23
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut gfx = Graphics::new(&mut ecran);
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type `Graphics`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/lib.rs:62:40
[INFO] [stdout]    |
[INFO] [stdout] 62 |         line(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;
[INFO] [stdout]    |                                        ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `line`
[INFO] [stdout]   --> src/lib.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         line(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;
[INFO] [stdout]    |         ^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 62 |         line!(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/lib.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |         circle(&mut gfx, 120, 160, 60, Color::CYAN).await;
[INFO] [stdout]    |                                        ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `circle` in this scope
[INFO] [stdout]   --> src/lib.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         circle(&mut gfx, 120, 160, 60, Color::CYAN).await;
[INFO] [stdout]    |         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/lib.rs:65:39
[INFO] [stdout]    |
[INFO] [stdout] 65 |     ecran.draw_str(8, 10, b"BONJOUR", Color::YELLOW, Color::BLACK).await.unwrap();
[INFO] [stdout]    |                                       ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/lib.rs:65:54
[INFO] [stdout]    |
[INFO] [stdout] 65 |     ecran.draw_str(8, 10, b"BONJOUR", Color::YELLOW, Color::BLACK).await.unwrap();
[INFO] [stdout]    |                                                      ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ellipse (line 377) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:378:14
[INFO] [stdout]     |
[INFO] [stdout] 378 | ellipse(&mut gfx, 120, 160, 100, 60, Color::MAGENTA).await; // ellipse large
[INFO] [stdout]     |              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:379:14
[INFO] [stdout]     |
[INFO] [stdout] 379 | ellipse(&mut gfx, 120, 160, 40, 40, Color::WHITE).await;
[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:378:54
[INFO] [stdout]     |
[INFO] [stdout] 377 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_377_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 378 | ellipse(&mut gfx, 120, 160, 100, 60, Color::MAGENTA).await; // ellipse large
[INFO] [stdout]     |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:379:51
[INFO] [stdout]     |
[INFO] [stdout] 377 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_377_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 378 | ellipse(&mut gfx, 120, 160, 100, 60, Color::MAGENTA).await; // ellipse large
[INFO] [stdout] 379 | ellipse(&mut gfx, 120, 160, 40, 40, Color::WHITE).await;
[INFO] [stdout]     |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:378:38
[INFO] [stdout]     |
[INFO] [stdout] 378 | ellipse(&mut gfx, 120, 160, 100, 60, Color::MAGENTA).await; // ellipse large
[INFO] [stdout]     |                                      ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ellipse` in this scope
[INFO] [stdout]    --> src/lib.rs:378:1
[INFO] [stdout]     |
[INFO] [stdout] 378 | ellipse(&mut gfx, 120, 160, 100, 60, Color::MAGENTA).await; // ellipse large
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:379:37
[INFO] [stdout]     |
[INFO] [stdout] 379 | ellipse(&mut gfx, 120, 160, 40, 40, Color::WHITE).await;
[INFO] [stdout]     |                                     ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ellipse` in this scope
[INFO] [stdout]    --> src/lib.rs:379:1
[INFO] [stdout]     |
[INFO] [stdout] 379 | ellipse(&mut gfx, 120, 160, 40, 40, Color::WHITE).await;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, 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 - circle (line 238) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:239:13
[INFO] [stdout]     |
[INFO] [stdout] 239 | circle(&mut gfx, 120, 160, 60, Color::CYAN).await;
[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:239:45
[INFO] [stdout]     |
[INFO] [stdout] 238 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_238_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 239 | circle(&mut gfx, 120, 160, 60, Color::CYAN).await;
[INFO] [stdout]     |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:239:32
[INFO] [stdout]     |
[INFO] [stdout] 239 | circle(&mut gfx, 120, 160, 60, Color::CYAN).await;
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `circle` in this scope
[INFO] [stdout]    --> src/lib.rs:239:1
[INFO] [stdout]     |
[INFO] [stdout] 239 | circle(&mut gfx, 120, 160, 60, Color::CYAN).await;
[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, 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 (line 181) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:182:11
[INFO] [stdout]     |
[INFO] [stdout] 182 | line(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;  // diagonale complète
[INFO] [stdout]     |           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:183:11
[INFO] [stdout]     |
[INFO] [stdout] 183 | line(&mut gfx, 0, 0, 239, 319, Color::BLACK).await;
[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:182:46
[INFO] [stdout]     |
[INFO] [stdout] 181 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_181_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 182 | line(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;  // diagonale complète
[INFO] [stdout]     |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:183:46
[INFO] [stdout]     |
[INFO] [stdout] 181 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_181_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 182 | line(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;  // diagonale complète
[INFO] [stdout] 183 | line(&mut gfx, 0, 0, 239, 319, Color::BLACK).await;
[INFO] [stdout]     |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:182:32
[INFO] [stdout]     |
[INFO] [stdout] 182 | line(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;  // diagonale complète
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `line`
[INFO] [stdout]    --> src/lib.rs:182:1
[INFO] [stdout]     |
[INFO] [stdout] 182 | line(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;  // diagonale complète
[INFO] [stdout]     | ^^^^ not a function
[INFO] [stdout]     |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 182 | line!(&mut gfx, 0, 0, 239, 319, Color::WHITE).await;  // diagonale complète
[INFO] [stdout]     |     +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:183:32
[INFO] [stdout]     |
[INFO] [stdout] 183 | line(&mut gfx, 0, 0, 239, 319, Color::BLACK).await;
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `line`
[INFO] [stdout]    --> src/lib.rs:183:1
[INFO] [stdout]     |
[INFO] [stdout] 183 | line(&mut gfx, 0, 0, 239, 319, Color::BLACK).await;
[INFO] [stdout]     | ^^^^ not a function
[INFO] [stdout]     |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 183 | line!(&mut gfx, 0, 0, 239, 319, Color::BLACK).await;
[INFO] [stdout]     |     +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - fill_circle (line 289) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gfx` in this scope
[INFO] [stdout]    --> src/lib.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 290 | fill_circle(&mut gfx, 120, 160, 50, Color::BLUE).await;
[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:290:50
[INFO] [stdout]     |
[INFO] [stdout] 289 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_289_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 290 | fill_circle(&mut gfx, 120, 160, 50, Color::BLUE).await;
[INFO] [stdout]     |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:290:37
[INFO] [stdout]     |
[INFO] [stdout] 290 | fill_circle(&mut gfx, 120, 160, 50, Color::BLUE).await;
[INFO] [stdout]     |                                     ^^^^^ use of undeclared type `Color`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `fill_circle` in this scope
[INFO] [stdout]    --> src/lib.rs:290:1
[INFO] [stdout]     |
[INFO] [stdout] 290 | fill_circle(&mut gfx, 120, 160, 50, Color::BLUE).await;
[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, E0728.
[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/lib.rs - (line 57)
[INFO] [stdout]     src/lib.rs - Graphics (line 94)
[INFO] [stdout]     src/lib.rs - bezier_quad (line 469)
[INFO] [stdout]     src/lib.rs - circle (line 238)
[INFO] [stdout]     src/lib.rs - ellipse (line 377)
[INFO] [stdout]     src/lib.rs - fill_circle (line 289)
[INFO] [stdout]     src/lib.rs - fill_triangle (line 523)
[INFO] [stdout]     src/lib.rs - line (line 181)
[INFO] [stdout]     src/lib.rs - triangle (line 337)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.70s; merged doctests compilation took 0.24s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9829ac8d95994fdd828fc76cdffee69c6dfc8782c8bb12b9940594291f58135b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9829ac8d95994fdd828fc76cdffee69c6dfc8782c8bb12b9940594291f58135b", kill_on_drop: false }`
[INFO] [stdout] 9829ac8d95994fdd828fc76cdffee69c6dfc8782c8bb12b9940594291f58135b
