[INFO] fetching crate st7735 0.1.0... [INFO] testing st7735-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate st7735 0.1.0 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate st7735 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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 /workspace/builds/worker-28/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.6.0 [INFO] [stderr] Downloaded sysfs_gpio v0.5.4 [INFO] [stderr] Downloaded spidev v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da0f52af67295c0000ea222cd5057556e715fd37b8ff615d9e68c7a818332a25 [INFO] running `Command { std: "docker" "start" "-a" "da0f52af67295c0000ea222cd5057556e715fd37b8ff615d9e68c7a818332a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da0f52af67295c0000ea222cd5057556e715fd37b8ff615d9e68c7a818332a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0f52af67295c0000ea222cd5057556e715fd37b8ff615d9e68c7a818332a25", kill_on_drop: false }` [INFO] [stdout] da0f52af67295c0000ea222cd5057556e715fd37b8ff615d9e68c7a818332a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 718b843bc7bc72dcf26e6861b03e38124c751229c0eeebab1e2690437e4293b8 [INFO] running `Command { std: "docker" "start" "-a" "718b843bc7bc72dcf26e6861b03e38124c751229c0eeebab1e2690437e4293b8", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling st7735 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "718b843bc7bc72dcf26e6861b03e38124c751229c0eeebab1e2690437e4293b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "718b843bc7bc72dcf26e6861b03e38124c751229c0eeebab1e2690437e4293b8", kill_on_drop: false }` [INFO] [stdout] 718b843bc7bc72dcf26e6861b03e38124c751229c0eeebab1e2690437e4293b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebc56adbb258ba2320f3ac984f53fe1f97c1521ec79466f44508c789d9599738 [INFO] running `Command { std: "docker" "start" "-a" "ebc56adbb258ba2320f3ac984f53fe1f97c1521ec79466f44508c789d9599738", kill_on_drop: false }` [INFO] [stderr] Compiling st7735 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "ebc56adbb258ba2320f3ac984f53fe1f97c1521ec79466f44508c789d9599738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc56adbb258ba2320f3ac984f53fe1f97c1521ec79466f44508c789d9599738", kill_on_drop: false }` [INFO] [stdout] ebc56adbb258ba2320f3ac984f53fe1f97c1521ec79466f44508c789d9599738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ab823b5b308af96e5fe9e6ed9e17e6e1b9fa800e82fba9d9df52dc754457d1f [INFO] running `Command { std: "docker" "start" "-a" "4ab823b5b308af96e5fe9e6ed9e17e6e1b9fa800e82fba9d9df52dc754457d1f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/st7735-7bafeb737d0106e2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests st7735 [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 20 tests [INFO] [stdout] test src/lib.rs - ST7734 (line 53) ... FAILED [INFO] [stdout] test src/color.rs - color::Color::from_hex (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_filled_circle (line 547) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_vertical_line (line 475) ... FAILED [INFO] [stdout] test src/color.rs - color::Color::from_rgb (line 37) ... FAILED [INFO] [stdout] test src/color.rs - color::Color::from_default (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::clear_screen (line 605) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_filled_rect (line 428) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_character (line 567) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_line (line 490) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_circle (line 521) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_pixel (line 413) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_rect (line 444) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::set_orientation (line 395) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::fill_screen (line 592) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::draw_horizontal_line (line 460) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::new (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::new_with_spi (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - ST7734::hard_reset (line 264) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ST7734 (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Orientation` [INFO] [stdout] --> src/lib.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 4 | display.set_orientation(&Orientation::Portrait); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Orientation` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `DefaultColor` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::color::Color; [INFO] [stdout] | [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/color.rs - color::Color::from_hex (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/color.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 3 | let color_green = Color::from_hex(0x00FF00); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::color::Color; [INFO] [stdout] | [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 `ST7734` [INFO] [stdout] --> src/lib.rs:548:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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_vertical_line (line 475) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ST7734` [INFO] [stdout] --> src/lib.rs:476:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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 `Color` [INFO] [stdout] --> src/color.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 3 | let color_red = Color::from_rgb(255, 0, 0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::color::Color; [INFO] [stdout] | [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_default (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `DefaultColor` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/color.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 3 | let color_red = Color::from_default(DefaultColor::Red); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::color::Color; [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 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 `Orientation` [INFO] [stdout] --> src/lib.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 4 | display.set_orientation(&Orientation::Portrait); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Orientation` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `DefaultColor` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::color::Color; [INFO] [stdout] | [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::clear_screen (line 605) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ST7734` [INFO] [stdout] --> src/lib.rs:606:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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 `ST7734` [INFO] [stdout] --> src/lib.rs:429:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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_character (line 567) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ST7734` [INFO] [stdout] --> src/lib.rs:568:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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::draw_line (line 490) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ST7734` [INFO] [stdout] --> src/lib.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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 `ST7734` [INFO] [stdout] --> src/lib.rs:522:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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 `ST7734` [INFO] [stdout] --> src/lib.rs:414:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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 `ST7734` [INFO] [stdout] --> src/lib.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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 `Orientation` [INFO] [stdout] --> src/lib.rs:397:26 [INFO] [stdout] | [INFO] [stdout] 4 | display.set_orientation(&Orientation::Portrait); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Orientation` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ST7734` [INFO] [stdout] --> src/lib.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [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 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 `ST7734` [INFO] [stdout] --> src/lib.rs:593:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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 `ST7734` [INFO] [stdout] --> src/lib.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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 `ST7734` [INFO] [stdout] --> src/lib.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(None, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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_with_spi (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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::hard_reset (line 264) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ST7734` [INFO] [stdout] --> src/lib.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 3 | let display = ST7734::new(21, 24, 25, 23); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use st7735::ST7734; [INFO] [stdout] | [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; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "4ab823b5b308af96e5fe9e6ed9e17e6e1b9fa800e82fba9d9df52dc754457d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab823b5b308af96e5fe9e6ed9e17e6e1b9fa800e82fba9d9df52dc754457d1f", kill_on_drop: false }` [INFO] [stdout] 4ab823b5b308af96e5fe9e6ed9e17e6e1b9fa800e82fba9d9df52dc754457d1f