[INFO] crate st7735 0.1.0 is already in cache [INFO] testing st7735-0.1.0 against beta-2019-09-28 for beta-1.39-1 [INFO] extracting crate st7735 0.1.0 into work/builds/worker-11/source [INFO] validating manifest of crates.io crate st7735 0.1.0 on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate st7735 0.1.0 [INFO] finished tweaking crates.io crate st7735 0.1.0 [INFO] tweaked toml for crates.io crate st7735 0.1.0 written to work/builds/worker-11/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] eeef344dc797d1d4e1e15a6acbd53cb5dd92061296fd43e2f9d460bd7fd97117 [INFO] running `"docker" "start" "-a" "eeef344dc797d1d4e1e15a6acbd53cb5dd92061296fd43e2f9d460bd7fd97117"` [INFO] [stderr] Compiling st7735 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `"docker" "inspect" "eeef344dc797d1d4e1e15a6acbd53cb5dd92061296fd43e2f9d460bd7fd97117"` [INFO] running `"docker" "rm" "-f" "eeef344dc797d1d4e1e15a6acbd53cb5dd92061296fd43e2f9d460bd7fd97117"` [INFO] [stdout] eeef344dc797d1d4e1e15a6acbd53cb5dd92061296fd43e2f9d460bd7fd97117 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 586b86af58408b28819be6c0251e49d89dca58e5cdad7a9f98c4e0a182072f47 [INFO] running `"docker" "start" "-a" "586b86af58408b28819be6c0251e49d89dca58e5cdad7a9f98c4e0a182072f47"` [INFO] [stderr] Compiling st7735 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `"docker" "inspect" "586b86af58408b28819be6c0251e49d89dca58e5cdad7a9f98c4e0a182072f47"` [INFO] running `"docker" "rm" "-f" "586b86af58408b28819be6c0251e49d89dca58e5cdad7a9f98c4e0a182072f47"` [INFO] [stdout] 586b86af58408b28819be6c0251e49d89dca58e5cdad7a9f98c4e0a182072f47 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] eb3c41ea1884da09ba82f1bd68db83a7d21c31071aa8e043fe75d2ef98576c5f [INFO] running `"docker" "start" "-a" "eb3c41ea1884da09ba82f1bd68db83a7d21c31071aa8e043fe75d2ef98576c5f"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/st7735-8598b123da139dd3 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests st7735 [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/color.rs - color::Color::from_default (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::clear_screen (line 605) ... FAILED [INFO] [stdout] test src/color.rs - color::Color::from_hex (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_line (line 490) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_rect (line 444) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_filled_circle (line 547) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_filled_rect (line 428) ... FAILED [INFO] [stdout] test src/color.rs - color::Color::from_rgb (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_horizontal_line (line 460) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_circle (line 521) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::fill_screen (line 592) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_pixel (line 413) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_vertical_line (line 475) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734 (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_character (line 567) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::hard_reset (line 264) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::new (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::set_orientation (line 395) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::new_with_spi (line 90) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/color.rs - color::Color::from_default (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Color` [INFO] [stdout] --> src/color.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 3 | let color_red = Color::from_default(DefaultColor::Red); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Color` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DefaultColor` [INFO] [stdout] --> src/color.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 3 | let color_red = Color::from_default(DefaultColor::Red); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `DefaultColor` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::clear_screen (line 605) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:606:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/color.rs - color::Color::from_hex (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Color` [INFO] [stdout] --> src/color.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 3 | let color_green = Color::from_hex(0x00FF00); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Color` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_line (line 490) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_rect (line 444) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_filled_circle (line 547) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:548:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_filled_rect (line 428) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:429:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/color.rs - color::Color::from_rgb (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Color` [INFO] [stdout] --> src/color.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 3 | let color_red = Color::from_rgb(255, 0, 0); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Color` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_horizontal_line (line 460) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_circle (line 521) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:522:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::fill_screen (line 592) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:593:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_pixel (line 413) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:414:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut display = ST7734::new_with_spi("/dev/spidev0.0", 25); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Orientation` [INFO] [stdout] --> src/lib.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 4 | display.set_orientation(&Orientation::Portrait); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `Orientation` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Color` [INFO] [stdout] --> src/lib.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 5 | display.draw_rect(30, 30, 60, 70, &Color::from_default(DefaultColor::Blue)); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Color` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DefaultColor` [INFO] [stdout] --> src/lib.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 5 | display.draw_rect(30, 30, 60, 70, &Color::from_default(DefaultColor::Blue)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `DefaultColor` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_vertical_line (line 475) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:476:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734 (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut display = ST7734::new_with_spi("/dev/spidev0.0", 25); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Orientation` [INFO] [stdout] --> src/lib.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 4 | display.set_orientation(&Orientation::Portrait); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `Orientation` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Color` [INFO] [stdout] --> src/lib.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 5 | display.draw_rect(30, 30, 60, 70, &Color::from_default(DefaultColor::Blue)); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Color` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DefaultColor` [INFO] [stdout] --> src/lib.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 5 | display.draw_rect(30, 30, 60, 70, &Color::from_default(DefaultColor::Blue)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `DefaultColor` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::draw_character (line 567) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:568:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Font57` in this scope [INFO] [stdout] --> src/lib.rs:569:47 [INFO] [stdout] | [INFO] [stdout] 4 | display.draw_character(50, 20, 10, 0xFF0000, &Font57); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lib.rs - ST7734::hard_reset (line 264) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(21, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::new (line 122) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::set_orientation (line 395) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Orientation` [INFO] [stdout] --> src/lib.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 4 | display.set_orientation(&Orientation::Portrait); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `Orientation` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ST7734::new_with_spi (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ST7734` [INFO] [stdout] --> src/lib.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut display = ST7734::new_with_spi("/dev/spidev0.0", 25); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ST7734` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/color.rs - color::Color::from_default (line 24) [INFO] [stdout] src/color.rs - color::Color::from_hex (line 13) [INFO] [stdout] src/color.rs - color::Color::from_rgb (line 37) [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - ST7734 (line 53) [INFO] [stdout] src/lib.rs - ST7734::clear_screen (line 605) [INFO] [stdout] src/lib.rs - ST7734::draw_character (line 567) [INFO] [stdout] src/lib.rs - ST7734::draw_circle (line 521) [INFO] [stdout] src/lib.rs - ST7734::draw_filled_circle (line 547) [INFO] [stdout] src/lib.rs - ST7734::draw_filled_rect (line 428) [INFO] [stdout] src/lib.rs - ST7734::draw_horizontal_line (line 460) [INFO] [stdout] src/lib.rs - ST7734::draw_line (line 490) [INFO] [stdout] src/lib.rs - ST7734::draw_pixel (line 413) [INFO] [stdout] src/lib.rs - ST7734::draw_rect (line 444) [INFO] [stdout] src/lib.rs - ST7734::draw_vertical_line (line 475) [INFO] [stdout] src/lib.rs - ST7734::fill_screen (line 592) [INFO] [stdout] src/lib.rs - ST7734::hard_reset (line 264) [INFO] [stdout] src/lib.rs - ST7734::new (line 122) [INFO] [stdout] src/lib.rs - ST7734::new_with_spi (line 90) [INFO] [stdout] src/lib.rs - ST7734::set_orientation (line 395) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "eb3c41ea1884da09ba82f1bd68db83a7d21c31071aa8e043fe75d2ef98576c5f"` [INFO] running `"docker" "rm" "-f" "eb3c41ea1884da09ba82f1bd68db83a7d21c31071aa8e043fe75d2ef98576c5f"` [INFO] [stdout] eb3c41ea1884da09ba82f1bd68db83a7d21c31071aa8e043fe75d2ef98576c5f