[INFO] fetching crate embassy-st7789v-graphics 0.1.0...
[INFO] testing embassy-st7789v-graphics-0.1.0 against 1.97.0-beta.1 for beta-1.97-1
[INFO] extracting crate embassy-st7789v-graphics 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate embassy-st7789v-graphics 0.1.0
[INFO] finished tweaking crates.io crate embassy-st7789v-graphics 0.1.0
[INFO] tweaked toml for crates.io crate embassy-st7789v-graphics 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate embassy-st7789v-graphics 0.1.0 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 crates.io crate embassy-st7789v-graphics 0.1.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" "+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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cf8abb5fa03e82382cd7f68a0eaae7a0ad7b699d28f387cb8dfc8e0483060a11
[INFO] running `Command { std: "docker" "start" "-a" "cf8abb5fa03e82382cd7f68a0eaae7a0ad7b699d28f387cb8dfc8e0483060a11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf8abb5fa03e82382cd7f68a0eaae7a0ad7b699d28f387cb8dfc8e0483060a11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf8abb5fa03e82382cd7f68a0eaae7a0ad7b699d28f387cb8dfc8e0483060a11", kill_on_drop: false }`
[INFO] [stdout] cf8abb5fa03e82382cd7f68a0eaae7a0ad7b699d28f387cb8dfc8e0483060a11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3ebf64425568394295e771d5d3f7f73381628b72247aa58f9b79913830fff849
[INFO] running `Command { std: "docker" "start" "-a" "3ebf64425568394295e771d5d3f7f73381628b72247aa58f9b79913830fff849", kill_on_drop: false }`
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling embassy-time-driver v0.2.2
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.32
[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.03s
[INFO] running `Command { std: "docker" "inspect" "3ebf64425568394295e771d5d3f7f73381628b72247aa58f9b79913830fff849", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ebf64425568394295e771d5d3f7f73381628b72247aa58f9b79913830fff849", kill_on_drop: false }`
[INFO] [stdout] 3ebf64425568394295e771d5d3f7f73381628b72247aa58f9b79913830fff849
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] de02575147ad13dfcccabc035978178e29f1106e18e17bc7d95fb6f6e0e619fd
[INFO] running `Command { std: "docker" "start" "-a" "de02575147ad13dfcccabc035978178e29f1106e18e17bc7d95fb6f6e0e619fd", 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.27s
[INFO] running `Command { std: "docker" "inspect" "de02575147ad13dfcccabc035978178e29f1106e18e17bc7d95fb6f6e0e619fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de02575147ad13dfcccabc035978178e29f1106e18e17bc7d95fb6f6e0e619fd", kill_on_drop: false }`
[INFO] [stdout] de02575147ad13dfcccabc035978178e29f1106e18e17bc7d95fb6f6e0e619fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 825f9d2125c5c9779a186a8ea6a5be2420fbbaa0227fc6f059f54ec073f7f661
[INFO] running `Command { std: "docker" "start" "-a" "825f9d2125c5c9779a186a8ea6a5be2420fbbaa0227fc6f059f54ec073f7f661", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[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 - triangle (line 337) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - fill_triangle (line 523) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - line (line 181) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - circle (line 238) - 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 - fill_circle (line 289) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - ellipse (line 377) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - bezier_quad (line 469) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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 - 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 - 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 - 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 - 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 - 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] ---- 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 - 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] 
[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.18s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.39s; merged doctests compilation took 0.21s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "825f9d2125c5c9779a186a8ea6a5be2420fbbaa0227fc6f059f54ec073f7f661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "825f9d2125c5c9779a186a8ea6a5be2420fbbaa0227fc6f059f54ec073f7f661", kill_on_drop: false }`
[INFO] [stdout] 825f9d2125c5c9779a186a8ea6a5be2420fbbaa0227fc6f059f54ec073f7f661
