[INFO] fetching crate termdraw 0.1.6... [INFO] testing termdraw-0.1.6 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate termdraw 0.1.6 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate termdraw 0.1.6 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-registry v1.4.1 [INFO] [stderr] Downloaded signal-hook-mio v0.2.3 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded redox_syscall v0.4.1 [INFO] [stderr] Downloaded parking_lot v0.12.1 [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded mio v0.8.10 [INFO] [stderr] Downloaded signal-hook v0.3.17 [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded parking_lot_core v0.9.9 [INFO] [stderr] Downloaded libc v0.2.152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b58460838e5dcc5954a3fb7059bbb696f5b48325ec41a7dd019efcfb966068e7 [INFO] running `Command { std: "docker" "start" "-a" "b58460838e5dcc5954a3fb7059bbb696f5b48325ec41a7dd019efcfb966068e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b58460838e5dcc5954a3fb7059bbb696f5b48325ec41a7dd019efcfb966068e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b58460838e5dcc5954a3fb7059bbb696f5b48325ec41a7dd019efcfb966068e7", kill_on_drop: false }` [INFO] [stdout] b58460838e5dcc5954a3fb7059bbb696f5b48325ec41a7dd019efcfb966068e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4b0f23ea044edb6d76294c83138a9286b5ed5370bc5722bce7fe4d8368872d6 [INFO] running `Command { std: "docker" "start" "-a" "d4b0f23ea044edb6d76294c83138a9286b5ed5370bc5722bce7fe4d8368872d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [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.34s [INFO] running `Command { std: "docker" "inspect" "d4b0f23ea044edb6d76294c83138a9286b5ed5370bc5722bce7fe4d8368872d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b0f23ea044edb6d76294c83138a9286b5ed5370bc5722bce7fe4d8368872d6", kill_on_drop: false }` [INFO] [stdout] d4b0f23ea044edb6d76294c83138a9286b5ed5370bc5722bce7fe4d8368872d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a5027df12478b5f00d11a1444bb9d636bc9b460dcbc42264d99cb7f0cfdde06 [INFO] running `Command { std: "docker" "start" "-a" "3a5027df12478b5f00d11a1444bb9d636bc9b460dcbc42264d99cb7f0cfdde06", 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.35s [INFO] running `Command { std: "docker" "inspect" "3a5027df12478b5f00d11a1444bb9d636bc9b460dcbc42264d99cb7f0cfdde06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5027df12478b5f00d11a1444bb9d636bc9b460dcbc42264d99cb7f0cfdde06", kill_on_drop: false }` [INFO] [stdout] 3a5027df12478b5f00d11a1444bb9d636bc9b460dcbc42264d99cb7f0cfdde06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d285c277dca2868022cb011d7fdf90ad908507b27bfe9eec6fffecad42a87464 [INFO] running `Command { std: "docker" "start" "-a" "d285c277dca2868022cb011d7fdf90ad908507b27bfe9eec6fffecad42a87464", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/termdraw-c743f70033fd96f8) [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] [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::Rect (line 178) ... FAILED [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::CustomShape (line 125) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Point (line 51) ... FAILED [INFO] [stdout] test src/shape.rs - shape::CustomShape (line 137) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Line (line 81) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Background (line 25) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Circle (line 217) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Background (line 20) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Rect (line 183) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Point (line 56) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Rect (line 173) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 180 | 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] 178 + 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] 179 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 178 + 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::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] 224 | 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] 222 + 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] 223 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 222 + 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] 77 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 76 + 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] 78 | 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] 76 + 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] 78 | 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] 76 + 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] 78 | 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] 76 + 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::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] 126 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 125 + 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] 127 | 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] 125 + 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] 128 | Point(0, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 125 + 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] 129 | Point(10, 0), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 125 + 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] 130 | Point(5, 5) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 125 + 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] 132 | 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] 125 + 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] 132 | 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] 125 + 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::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] 52 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 51 + 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] 53 | 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] 51 + 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] 53 | 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] 51 + 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] 53 | 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] 51 + 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::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] 139 | 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] 137 + 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] 138 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 137 + 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 81) stdout ---- [INFO] [stdout] error: cannot find macro `draw_line` in this scope [INFO] [stdout] --> src/shape.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | draw_line!(out, 0, 0, 10, 10, Color::White); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 81 + 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] 82 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 81 + 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::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] 27 | draw_background!(out, Color::Black); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 25 + 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] 26 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 25 + 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::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] 218 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 217 + 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] 219 | 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] 217 + 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] 219 | 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] 217 + 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] 219 | 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] 217 + 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] 21 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 + 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] 22 | 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] 20 + 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] 22 | 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] 20 + 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] 22 | 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] 20 + 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::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] 185 | 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] 183 + 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] 184 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 183 + 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 56) stdout ---- [INFO] [stdout] error: cannot find macro `draw_point` in this scope [INFO] [stdout] --> src/shape.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | draw_point!(out, 0, 0, Color::White); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 56 + 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] 57 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + 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] 174 | let out = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 173 + 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] 175 | 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] 173 + 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] 175 | 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] 173 + 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] 175 | 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] 173 + 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] [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.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d285c277dca2868022cb011d7fdf90ad908507b27bfe9eec6fffecad42a87464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d285c277dca2868022cb011d7fdf90ad908507b27bfe9eec6fffecad42a87464", kill_on_drop: false }` [INFO] [stdout] d285c277dca2868022cb011d7fdf90ad908507b27bfe9eec6fffecad42a87464