[INFO] fetching crate termdraw 0.1.6... [INFO] testing termdraw-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate termdraw 0.1.6 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate termdraw 0.1.6 [INFO] finished tweaking crates.io crate termdraw 0.1.6 [INFO] tweaked toml for crates.io crate termdraw 0.1.6 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate termdraw 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate termdraw 0.1.6 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faae667ead53c5b6c7f5531c4cf47ab10007e827ce5772fbfe037849fb8c0401 [INFO] running `Command { std: "docker" "start" "-a" "faae667ead53c5b6c7f5531c4cf47ab10007e827ce5772fbfe037849fb8c0401", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faae667ead53c5b6c7f5531c4cf47ab10007e827ce5772fbfe037849fb8c0401", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faae667ead53c5b6c7f5531c4cf47ab10007e827ce5772fbfe037849fb8c0401", kill_on_drop: false }` [INFO] [stdout] faae667ead53c5b6c7f5531c4cf47ab10007e827ce5772fbfe037849fb8c0401 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45daddcd4c06290e750af733736bedafc10fbe832aba02f7e0c99b9c40c8a4f5 [INFO] running `Command { std: "docker" "start" "-a" "45daddcd4c06290e750af733736bedafc10fbe832aba02f7e0c99b9c40c8a4f5", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling termdraw v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.62s [INFO] running `Command { std: "docker" "inspect" "45daddcd4c06290e750af733736bedafc10fbe832aba02f7e0c99b9c40c8a4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45daddcd4c06290e750af733736bedafc10fbe832aba02f7e0c99b9c40c8a4f5", kill_on_drop: false }` [INFO] [stdout] 45daddcd4c06290e750af733736bedafc10fbe832aba02f7e0c99b9c40c8a4f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8205d1ad1057cd6a2bf8fba1661b9dfdf39a18bd48f6f453bc63a43bce8d5339 [INFO] running `Command { std: "docker" "start" "-a" "8205d1ad1057cd6a2bf8fba1661b9dfdf39a18bd48f6f453bc63a43bce8d5339", kill_on_drop: false }` [INFO] [stderr] Compiling termdraw v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "8205d1ad1057cd6a2bf8fba1661b9dfdf39a18bd48f6f453bc63a43bce8d5339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8205d1ad1057cd6a2bf8fba1661b9dfdf39a18bd48f6f453bc63a43bce8d5339", kill_on_drop: false }` [INFO] [stdout] 8205d1ad1057cd6a2bf8fba1661b9dfdf39a18bd48f6f453bc63a43bce8d5339 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11afe8d4b52057479d924d22de247f1489fe8b764d59329a9b57e6a641ee56cd [INFO] running `Command { std: "docker" "start" "-a" "11afe8d4b52057479d924d22de247f1489fe8b764d59329a9b57e6a641ee56cd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/termdraw-c743f70033fd96f8) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/termdraw-545c90f793025a65) [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 termdraw [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/shape.rs - shape::Circle (line 222) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Line (line 76) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Background (line 20) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Circle (line 217) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Background (line 25) ... FAILED [INFO] [stdout] test src/shape.rs - shape::CustomShape (line 137) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Point (line 51) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Line (line 81) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Rect (line 178) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Rect (line 173) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Point (line 56) ... FAILED [INFO] [stdout] test src/shape.rs - shape::CustomShape (line 125) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Rect (line 183) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/shape.rs - shape::Circle (line 222) stdout ---- [INFO] [stdout] error: cannot find macro `draw_circle` in this scope [INFO] [stdout] --> src/shape.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 4 | draw_circle!(out, 0, 0, 10, Color::White, Color::Black); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::draw_circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Line (line 76) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Line` in this scope [INFO] [stdout] --> src/shape.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 4 | Line(0, 0, 10, 10).draw(&mut out, Color::White, Color::Reset); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::Line; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 4 | Line(0, 0, 10, 10).draw(&mut out, Color::White, Color::Reset); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:78:49 [INFO] [stdout] | [INFO] [stdout] 4 | Line(0, 0, 10, 10).draw(&mut out, Color::White, Color::Reset); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Background (line 20) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Background` in this scope [INFO] [stdout] --> src/shape.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 4 | Background.draw(out, Color::Black, Color::Reset); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::Background; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 4 | Background.draw(out, Color::Black, Color::Reset); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 4 | Background.draw(out, Color::Black, Color::Reset); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Circle (line 217) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Circle` in this scope [INFO] [stdout] --> src/shape.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 4 | Circle(0, 0, 10).draw(&mut out, Color::Black, Color::Reset) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 4 | Circle(0, 0, 10).draw(&mut out, Color::Black, Color::Reset) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:219:47 [INFO] [stdout] | [INFO] [stdout] 4 | Circle(0, 0, 10).draw(&mut out, Color::Black, Color::Reset) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Background (line 25) stdout ---- [INFO] [stdout] error: cannot find macro `draw_background` in this scope [INFO] [stdout] --> src/shape.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 4 | draw_background!(out, Color::Black); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::draw_background; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::CustomShape (line 137) stdout ---- [INFO] [stdout] error: cannot find macro `draw_custom_shape` in this scope [INFO] [stdout] --> src/shape.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 4 | draw_custom_shape!(out, [0, 0, 10, 0, 5, 5], Color::White, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::draw_custom_shape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Point (line 51) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Point` in this scope [INFO] [stdout] --> src/shape.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 4 | Point(0, 0).draw(&mut out, Color::White, Color::Reset); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 4 | Point(0, 0).draw(&mut out, Color::White, Color::Reset); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:53:42 [INFO] [stdout] | [INFO] [stdout] 4 | Point(0, 0).draw(&mut out, Color::White, Color::Reset); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Line (line 81) stdout ---- [INFO] [stdout] error: cannot find macro `draw_line` in this scope [INFO] [stdout] --> src/shape.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 4 | draw_line!(out, 0, 0, 10, 10, Color::White); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::draw_line; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Rect (line 178) stdout ---- [INFO] [stdout] error: cannot find macro `draw_rect` in this scope [INFO] [stdout] --> src/shape.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 4 | draw_rect!(out, 0, 0, 10, 10, Color::White, Color::Black); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::draw_rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Rect (line 173) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rect` in this scope [INFO] [stdout] --> src/shape.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 4 | Rect(0, 0, 10, 10).draw(&mut out, Color::Black, Color::Reset) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 4 | Rect(0, 0, 10, 10).draw(&mut out, Color::Black, Color::Reset) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:175:49 [INFO] [stdout] | [INFO] [stdout] 4 | Rect(0, 0, 10, 10).draw(&mut out, Color::Black, Color::Reset) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::Point (line 56) stdout ---- [INFO] [stdout] error: cannot find macro `draw_point` in this scope [INFO] [stdout] --> src/shape.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 4 | draw_point!(out, 0, 0, Color::White); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::draw_point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape.rs - shape::CustomShape (line 125) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CustomShape` in this scope [INFO] [stdout] --> src/shape.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 4 | let custom_shape = CustomShape(vec![ [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::CustomShape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Point` in this scope [INFO] [stdout] --> src/shape.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 5 | Point(0, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Point` in this scope [INFO] [stdout] --> src/shape.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 6 | Point(10, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Point` in this scope [INFO] [stdout] --> src/shape.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 7 | Point(5, 5) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::shape::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 9 | custom_shape.draw(&mut out, Color::White, Color::Reset); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/shape.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 9 | custom_shape.draw(&mut out, Color::White, Color::Reset); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crossterm::style::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/shape.rs - shape::Rect (line 183) stdout ---- [INFO] [stdout] error: cannot find macro `draw_square` in this scope [INFO] [stdout] --> src/shape.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 4 | draw_square!(out, 0, 0, 10, Color::White, Color::Black); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use termdraw::draw_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/shape.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 3 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/shape.rs - shape::Background (line 20) [INFO] [stdout] src/shape.rs - shape::Background (line 25) [INFO] [stdout] src/shape.rs - shape::Circle (line 217) [INFO] [stdout] src/shape.rs - shape::Circle (line 222) [INFO] [stdout] src/shape.rs - shape::CustomShape (line 125) [INFO] [stdout] src/shape.rs - shape::CustomShape (line 137) [INFO] [stdout] src/shape.rs - shape::Line (line 76) [INFO] [stdout] src/shape.rs - shape::Line (line 81) [INFO] [stdout] src/shape.rs - shape::Point (line 51) [INFO] [stdout] src/shape.rs - shape::Point (line 56) [INFO] [stdout] src/shape.rs - shape::Rect (line 173) [INFO] [stdout] src/shape.rs - shape::Rect (line 178) [INFO] [stdout] src/shape.rs - shape::Rect (line 183) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "11afe8d4b52057479d924d22de247f1489fe8b764d59329a9b57e6a641ee56cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11afe8d4b52057479d924d22de247f1489fe8b764d59329a9b57e6a641ee56cd", kill_on_drop: false }` [INFO] [stdout] 11afe8d4b52057479d924d22de247f1489fe8b764d59329a9b57e6a641ee56cd