[INFO] fetching crate termdraw 0.1.6... [INFO] testing termdraw-0.1.6 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate termdraw 0.1.6 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate termdraw 0.1.6 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cda3aa786a9e2ddadf6fd32d613c2b3b58cac8a396ec39fb3273eef2ad36ff3f [INFO] running `Command { std: "docker" "start" "-a" "cda3aa786a9e2ddadf6fd32d613c2b3b58cac8a396ec39fb3273eef2ad36ff3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cda3aa786a9e2ddadf6fd32d613c2b3b58cac8a396ec39fb3273eef2ad36ff3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda3aa786a9e2ddadf6fd32d613c2b3b58cac8a396ec39fb3273eef2ad36ff3f", kill_on_drop: false }` [INFO] [stdout] cda3aa786a9e2ddadf6fd32d613c2b3b58cac8a396ec39fb3273eef2ad36ff3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff33f4e3cab357ed9d1b80a63c1deaa74742a78b6454504bf5bd309c33995dee [INFO] running `Command { std: "docker" "start" "-a" "ff33f4e3cab357ed9d1b80a63c1deaa74742a78b6454504bf5bd309c33995dee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling log v0.4.20 [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 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 2.90s [INFO] running `Command { std: "docker" "inspect" "ff33f4e3cab357ed9d1b80a63c1deaa74742a78b6454504bf5bd309c33995dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff33f4e3cab357ed9d1b80a63c1deaa74742a78b6454504bf5bd309c33995dee", kill_on_drop: false }` [INFO] [stdout] ff33f4e3cab357ed9d1b80a63c1deaa74742a78b6454504bf5bd309c33995dee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cca4a1170953692b4c7df2361eae05752a4ab9813c9e79dd3a62ad183594b5c5 [INFO] running `Command { std: "docker" "start" "-a" "cca4a1170953692b4c7df2361eae05752a4ab9813c9e79dd3a62ad183594b5c5", 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.25s [INFO] running `Command { std: "docker" "inspect" "cca4a1170953692b4c7df2361eae05752a4ab9813c9e79dd3a62ad183594b5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca4a1170953692b4c7df2361eae05752a4ab9813c9e79dd3a62ad183594b5c5", kill_on_drop: false }` [INFO] [stdout] cca4a1170953692b4c7df2361eae05752a4ab9813c9e79dd3a62ad183594b5c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec072c99827226e3fe9a3188a69f7ae80b4b8fe864dfdba045ecd32e2fe3be92 [INFO] running `Command { std: "docker" "start" "-a" "ec072c99827226e3fe9a3188a69f7ae80b4b8fe864dfdba045ecd32e2fe3be92", 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/termdraw-df3fe782aaaef0d5) [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-e839fe4265262099) [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 183) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Rect (line 178) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Background (line 20) ... FAILED [INFO] [stdout] test src/shape.rs - shape::CustomShape (line 137) ... FAILED [INFO] [stdout] test src/shape.rs - shape::CustomShape (line 125) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Circle (line 217) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Line (line 76) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Rect (line 173) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Line (line 81) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Point (line 51) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Point (line 56) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Background (line 25) ... FAILED [INFO] [stdout] test src/shape.rs - shape::Circle (line 222) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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::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]: cannot find type `Color` in this scope [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]: cannot find type `Color` in this scope [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::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::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]: cannot find type `Color` in this scope [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]: cannot find type `Color` in this scope [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::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]: cannot find type `Color` in this scope [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]: cannot find type `Color` in this scope [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::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]: cannot find type `Color` in this scope [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]: cannot find type `Color` in this scope [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::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]: cannot find type `Color` in this scope [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]: cannot find type `Color` in this scope [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] ---- 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::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]: cannot find type `Color` in this scope [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]: cannot find type `Color` in this scope [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::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::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 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] [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.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ec072c99827226e3fe9a3188a69f7ae80b4b8fe864dfdba045ecd32e2fe3be92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec072c99827226e3fe9a3188a69f7ae80b4b8fe864dfdba045ecd32e2fe3be92", kill_on_drop: false }` [INFO] [stdout] ec072c99827226e3fe9a3188a69f7ae80b4b8fe864dfdba045ecd32e2fe3be92