[INFO] fetching crate ag-lcd 0.3.0... [INFO] testing ag-lcd-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ag-lcd 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ag-lcd 0.3.0 [INFO] finished tweaking crates.io crate ag-lcd 0.3.0 [INFO] tweaked toml for crates.io crate ag-lcd 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ag-lcd 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding shared-bus v0.2.5 (available: v0.3.1) [INFO] [stderr] Adding ufmt v0.1.2 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-macros v0.2.0 [INFO] [stderr] Downloaded port-expander v0.6.5 [INFO] [stderr] Downloaded shared-bus v0.2.5 [INFO] [stderr] Downloaded ufmt v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4c089fe81d411ad68d575b70f5a6fb90d64a241ab1323c29c1c35b26a40f6b9 [INFO] running `Command { std: "docker" "start" "-a" "d4c089fe81d411ad68d575b70f5a6fb90d64a241ab1323c29c1c35b26a40f6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4c089fe81d411ad68d575b70f5a6fb90d64a241ab1323c29c1c35b26a40f6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c089fe81d411ad68d575b70f5a6fb90d64a241ab1323c29c1c35b26a40f6b9", kill_on_drop: false }` [INFO] [stdout] d4c089fe81d411ad68d575b70f5a6fb90d64a241ab1323c29c1c35b26a40f6b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caa352a9d3a296e7d4ebe3630f0059cacdea48ea9afba5a4a581082c7abb3b7f [INFO] running `Command { std: "docker" "start" "-a" "caa352a9d3a296e7d4ebe3630f0059cacdea48ea9afba5a4a581082c7abb3b7f", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling shared-bus v0.2.5 [INFO] [stderr] Compiling ag-lcd v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "caa352a9d3a296e7d4ebe3630f0059cacdea48ea9afba5a4a581082c7abb3b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa352a9d3a296e7d4ebe3630f0059cacdea48ea9afba5a4a581082c7abb3b7f", kill_on_drop: false }` [INFO] [stdout] caa352a9d3a296e7d4ebe3630f0059cacdea48ea9afba5a4a581082c7abb3b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 704337d70fda5c7bda4281c6c4e04a29545cae5a3143dcd9014fee233ca03e96 [INFO] running `Command { std: "docker" "start" "-a" "704337d70fda5c7bda4281c6c4e04a29545cae5a3143dcd9014fee233ca03e96", kill_on_drop: false }` [INFO] [stderr] Compiling ag-lcd v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "704337d70fda5c7bda4281c6c4e04a29545cae5a3143dcd9014fee233ca03e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704337d70fda5c7bda4281c6c4e04a29545cae5a3143dcd9014fee233ca03e96", kill_on_drop: false }` [INFO] [stdout] 704337d70fda5c7bda4281c6c4e04a29545cae5a3143dcd9014fee233ca03e96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] baaf626090c8d672150a05c9102db0b14275c918e816d5fe8c65c1e872b368a6 [INFO] running `Command { std: "docker" "start" "-a" "baaf626090c8d672150a05c9102db0b14275c918e816d5fe8c65c1e872b368a6", 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/ag_lcd-2b29d753ade97135) [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 ag_lcd [INFO] [stdout] [INFO] [stdout] running 52 tests [INFO] [stdout] test src/display.rs - display::LcdDisplay::cursor_on (line 862) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::autoscroll_off (line 936) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::display_off (line 850) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::cursor_off (line 874) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::autoscroll_on (line 924) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::blink_off (line 898) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::blink_on (line 886) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::display (line 980) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::cursor (line 996) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::autoscroll (line 1028) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::clear (line 764) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::display_on (line 838) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::exists (line 1205) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::home (line 777) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::build (line 492) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::layout (line 964) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::pulse (line 1173) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::blink (line 1012) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::command (line 1104) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::lines (line 1044) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::new (line 185) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::error (line 1064) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set_autoscroll (line 712) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::print (line 1076) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::layout_left_to_right (line 814) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set_character (line 733) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::send (line 1116) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set_blink (line 686) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::scroll_right (line 790) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::scroll_left (line 802) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set_position (line 576) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set (line 1185) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set_scroll (line 612) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::layout_right_to_left (line 826) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::mode (line 948) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_autoscroll (line 434) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::update (line 1142) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_blink (line 409) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set_cursor (line 668) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set_display (line 650) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_rw (line 297) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_lines (line 332) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_half_bus (line 247) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::write (line 1090) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_full_bus (line 271) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_reliable_init (line 461) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_layout (line 352) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_cursor (line 390) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_display (line 371) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::set_layout (line 632) ... FAILED [INFO] [stdout] test src/display.rs - display::LcdDisplay::with_size (line 313) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::cursor_on (line 862) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:863:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:863:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:863:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::autoscroll_off (line 936) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:937:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:937:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:937:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::display_off (line 850) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:851:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:851:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:851:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::cursor_off (line 874) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:875:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:875:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:875:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::autoscroll_on (line 924) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:925:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:925:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:925:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::blink_off (line 898) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:899:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:899:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:899:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::blink_on (line 886) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:887:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:887:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:887:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::display (line 980) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:981:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:981:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:981:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::cursor (line 996) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:997:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:997:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:997:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::autoscroll (line 1028) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:1029:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:1029:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:1029:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::clear (line 764) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:765:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:765:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:765:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::display_on (line 838) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:839:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:839:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:839:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::exists (line 1205) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:1207:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:1207:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/display.rs:1206:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_display_rs_1205_0() { [INFO] [stdout] | ----------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | if self.exists(RS) { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RS` in this scope [INFO] [stdout] --> src/display.rs:1206:16 [INFO] [stdout] | [INFO] [stdout] 3 | if self.exists(RS) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::home (line 777) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:778:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:778:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:778:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::build (line 492) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/display.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 8 | let pins = arduino_hal::pins!(peripherals); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/display.rs:496:19 [INFO] [stdout] | [INFO] [stdout] 7 | let peripherals = arduino_hal::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arduino_hal`, use `cargo add arduino_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/display.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 9 | let delay = arduino_hal::Delay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arduino_hal`, use `cargo add arduino_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/display.rs - display::LcdDisplay::layout (line 964) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:965:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:965:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:965:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::pulse (line 1173) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/display.rs:1174:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_display_rs_1173_0() { [INFO] [stdout] | ----------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | self.pulse(); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::blink (line 1012) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:1013:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:1013:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:1013:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::command (line 1104) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/display.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_display_rs_1104_0() { [INFO] [stdout] | ----------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | self.command(Command::SetDisplayCtrl as u8 | self.display_ctrl); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/display.rs:1105:14 [INFO] [stdout] | [INFO] [stdout] 3 | self.command(Command::SetDisplayCtrl as u8 | self.display_ctrl); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Command` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/display.rs:1105:46 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_display_rs_1104_0() { [INFO] [stdout] | ----------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | self.command(Command::SetDisplayCtrl as u8 | self.display_ctrl); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::lines (line 1044) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:1045:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:1045:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:1045:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::new (line 185) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/display.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 4 | let pins = arduino_hal::pins!(peripherals); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/display.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 3 | let peripherals = arduino_hal::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arduino_hal`, use `cargo add arduino_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/display.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 5 | let delay = arduino_hal::Delay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arduino_hal`, use `cargo add arduino_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 15 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 15 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blink` [INFO] [stdout] --> src/display.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 17 | .with_blink(Blink::On) [INFO] [stdout] | ^^^^^ use of undeclared type `Blink` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::Blink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/display.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 18 | .with_cursor(Cursor::Off) [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d10` in this scope [INFO] [stdout] --> src/display.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 19 | .with_rw(d10) // optional (set lcd pin to GND if not provided) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::error (line 1064) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:1065:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:1065:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:1065:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::set_autoscroll (line 712) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:713:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:713:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:713:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AutoScroll` [INFO] [stdout] --> src/display.rs:715:20 [INFO] [stdout] | [INFO] [stdout] 5 | lcd.set_autoscroll(AutoScroll::On); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AutoScroll` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::AutoScroll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::print (line 1076) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:1077:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:1077:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:1077:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::layout_left_to_right (line 814) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:815:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:815:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:815:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::set_character (line 733) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:734:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::send (line 1116) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/display.rs:1117:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_display_rs_1116_0() { [INFO] [stdout] | ----------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | self.send(value, true); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/display.rs:1117:11 [INFO] [stdout] | [INFO] [stdout] 3 | self.send(value, true); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::set_blink (line 686) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:687:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:687:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:687:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blink` [INFO] [stdout] --> src/display.rs:689:15 [INFO] [stdout] | [INFO] [stdout] 5 | lcd.set_blink(Blink::On); [INFO] [stdout] | ^^^^^ use of undeclared type `Blink` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::Blink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::scroll_right (line 790) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:791:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:791:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:791:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::scroll_left (line 802) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:803:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:803:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:803:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::set_position (line 576) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:577:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::set (line 1185) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/display.rs:1186:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_display_rs_1185_0() { [INFO] [stdout] | ----------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | self.set(RS, true); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RS` in this scope [INFO] [stdout] --> src/display.rs:1186:10 [INFO] [stdout] | [INFO] [stdout] 3 | self.set(RS, true); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::set_scroll (line 612) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:613:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:613:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:613:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scroll` [INFO] [stdout] --> src/display.rs:615:17 [INFO] [stdout] | [INFO] [stdout] 5 | let direction = Scroll::Left; [INFO] [stdout] | ^^^^^^ use of undeclared type `Scroll` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::Scroll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::layout_right_to_left (line 826) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:827:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:827:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:827:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::mode (line 948) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:949:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:949:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:949:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::with_autoscroll (line 434) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:436:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:436:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:436:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:436:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:436:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:437:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:437:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:437:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:437:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AutoScroll` [INFO] [stdout] --> src/display.rs:438:22 [INFO] [stdout] | [INFO] [stdout] 6 | .with_autoscroll(AutoScroll::Off) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AutoScroll` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::AutoScroll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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/display.rs - display::LcdDisplay::update (line 1142) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/display.rs:1143:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_display_rs_1142_0() { [INFO] [stdout] | ----------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | self.update(byte); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `byte` in this scope [INFO] [stdout] --> src/display.rs:1143:13 [INFO] [stdout] | [INFO] [stdout] 3 | self.update(byte); [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: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::with_blink (line 409) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:411:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:411:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:411:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:411:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:411:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:412:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:412:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:412:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:412:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blink` [INFO] [stdout] --> src/display.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 6 | .with_blink(Blink::Off) [INFO] [stdout] | ^^^^^ use of undeclared type `Blink` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::Blink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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/display.rs - display::LcdDisplay::set_cursor (line 668) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:669:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:669:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/display.rs:671:16 [INFO] [stdout] | [INFO] [stdout] 5 | lcd.set_cursor(Cursor::On); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::set_display (line 650) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:651:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:651:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:651:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> src/display.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 5 | lcd.set_display(Display::Off); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::os_str::Display; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Display; [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Display; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Display; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::with_rw (line 297) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:299:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:299:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:299:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:299:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:300:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d10` in this scope [INFO] [stdout] --> src/display.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 6 | .with_rw(d10) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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/display.rs - display::LcdDisplay::with_lines (line 332) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:334:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:334:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:334:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:334:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lines` [INFO] [stdout] --> src/display.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 6 | .with_lines(Lines::OneLine) [INFO] [stdout] | ^^^^^ use of undeclared type `Lines` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Lines; [INFO] [stdout] | [INFO] [stdout] 2 + use std::str::Lines; [INFO] [stdout] | [INFO] [stdout] 2 + use core::str::Lines; [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::Lines; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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/display.rs - display::LcdDisplay::with_half_bus (line 247) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:249:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:249:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 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/display.rs - display::LcdDisplay::write (line 1090) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:1091:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:1091:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:1091:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::with_full_bus (line 271) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:273:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:273:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:273:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:273:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d0` in this scope [INFO] [stdout] --> src/display.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_full_bus(d0, d1, d4, d5, d6, d7, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d1` in this scope [INFO] [stdout] --> src/display.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_full_bus(d0, d1, d4, d5, d6, d7, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_full_bus(d0, d1, d4, d5, d6, d7, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:274:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_full_bus(d0, d1, d4, d5, d6, d7, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 5 | .with_full_bus(d0, d1, d4, d5, d6, d7, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:274:40 [INFO] [stdout] | [INFO] [stdout] 5 | .with_full_bus(d0, d1, d4, d5, d6, d7, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:274:44 [INFO] [stdout] | [INFO] [stdout] 5 | .with_full_bus(d0, d1, d4, d5, d6, d7, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:274:48 [INFO] [stdout] | [INFO] [stdout] 5 | .with_full_bus(d0, d1, d4, d5, d6, d7, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 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/display.rs - display::LcdDisplay::with_reliable_init (line 461) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:462:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:462:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:462:48 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:462:52 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:462:56 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:463:20 [INFO] [stdout] | [INFO] [stdout] 4 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:463:24 [INFO] [stdout] | [INFO] [stdout] 4 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:463:28 [INFO] [stdout] | [INFO] [stdout] 4 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 4 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::with_layout (line 352) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:354:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:354:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:354:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:354:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:355:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:355:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layout` [INFO] [stdout] --> src/display.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 6 | .with_layout(Layout::LeftToRight) [INFO] [stdout] | ^^^^^^ use of undeclared type `Layout` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::alloc::Layout; [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::Layout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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 - (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 8 | let pins = arduino_hal::pins!(peripherals); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/lib.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 7 | let peripherals = arduino_hal::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arduino_hal`, use `cargo add arduino_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 9 | let delay = arduino_hal::Delay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `arduino_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arduino_hal`, use `cargo add arduino_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d10` in this scope [INFO] [stdout] --> src/lib.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 29 | .with_rw(d10) // optional (set to GND if not provided) [INFO] [stdout] | ^^^ not found in this scope [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/display.rs - display::LcdDisplay::with_cursor (line 390) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:392:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:392:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:392:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:392:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:393:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:393:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cursor` [INFO] [stdout] --> src/display.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 6 | .with_cursor(Cursor::Off) [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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/display.rs - display::LcdDisplay::with_display (line 371) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:373:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:373:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:373:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:373:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:374:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:374:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Display` [INFO] [stdout] --> src/display.rs:375:19 [INFO] [stdout] | [INFO] [stdout] 6 | .with_display(Display::On) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Display` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::os_str::Display; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Display; [INFO] [stdout] | [INFO] [stdout] 2 + use std::path::Display; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Display; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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/display.rs - display::LcdDisplay::set_layout (line 632) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:633:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/display.rs:633:32 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] 3 + let mut lcd: LcdDisplay<_,_> = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LcdDisplay` in this scope [INFO] [stdout] --> src/display.rs:633:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lcd: LcdDisplay<_,_> = ...; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Layout` [INFO] [stdout] --> src/display.rs:635:16 [INFO] [stdout] | [INFO] [stdout] 5 | lcd.set_layout(Layout::LeftToRight); [INFO] [stdout] | ^^^^^^ use of undeclared type `Layout` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::alloc::Layout; [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::Layout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/display.rs - display::LcdDisplay::with_size (line 313) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/display.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 3 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - ... [INFO] [stdout] 3 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/display.rs:315:1 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/display.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^ --------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LcdDisplay` [INFO] [stdout] --> src/display.rs:315:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LcdDisplay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::LcdDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rs` in this scope [INFO] [stdout] --> src/display.rs:315:48 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `en` in this scope [INFO] [stdout] --> src/display.rs:315:52 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/display.rs:315:56 [INFO] [stdout] | [INFO] [stdout] 4 | let mut lcd: LcdDisplay<_,_> = LcdDisplay::new(rs, en, delay) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d4` in this scope [INFO] [stdout] --> src/display.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d5` in this scope [INFO] [stdout] --> src/display.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d6` in this scope [INFO] [stdout] --> src/display.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d7` in this scope [INFO] [stdout] --> src/display.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 5 | .with_half_bus(d4, d5, d6, d7) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/display.rs:317:16 [INFO] [stdout] | [INFO] [stdout] 6 | .with_size(Size::Dots5x8) [INFO] [stdout] | ^^^^ use of undeclared type `Size` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | .with_size(Sized::Dots5x8) [INFO] [stdout] | + [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ag_lcd::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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/display.rs - display::LcdDisplay::autoscroll (line 1028) [INFO] [stdout] src/display.rs - display::LcdDisplay::autoscroll_off (line 936) [INFO] [stdout] src/display.rs - display::LcdDisplay::autoscroll_on (line 924) [INFO] [stdout] src/display.rs - display::LcdDisplay::blink (line 1012) [INFO] [stdout] src/display.rs - display::LcdDisplay::blink_off (line 898) [INFO] [stdout] src/display.rs - display::LcdDisplay::blink_on (line 886) [INFO] [stdout] src/display.rs - display::LcdDisplay::build (line 492) [INFO] [stdout] src/display.rs - display::LcdDisplay::clear (line 764) [INFO] [stdout] src/display.rs - display::LcdDisplay::command (line 1104) [INFO] [stdout] src/display.rs - display::LcdDisplay::cursor (line 996) [INFO] [stdout] src/display.rs - display::LcdDisplay::cursor_off (line 874) [INFO] [stdout] src/display.rs - display::LcdDisplay::cursor_on (line 862) [INFO] [stdout] src/display.rs - display::LcdDisplay::display (line 980) [INFO] [stdout] src/display.rs - display::LcdDisplay::display_off (line 850) [INFO] [stdout] src/display.rs - display::LcdDisplay::display_on (line 838) [INFO] [stdout] src/display.rs - display::LcdDisplay::error (line 1064) [INFO] [stdout] src/display.rs - display::LcdDisplay::exists (line 1205) [INFO] [stdout] src/display.rs - display::LcdDisplay::home (line 777) [INFO] [stdout] src/display.rs - display::LcdDisplay::layout (line 964) [INFO] [stdout] src/display.rs - display::LcdDisplay::layout_left_to_right (line 814) [INFO] [stdout] src/display.rs - display::LcdDisplay::layout_right_to_left (line 826) [INFO] [stdout] src/display.rs - display::LcdDisplay::lines (line 1044) [INFO] [stdout] src/display.rs - display::LcdDisplay::mode (line 948) [INFO] [stdout] src/display.rs - display::LcdDisplay::new (line 185) [INFO] [stdout] src/display.rs - display::LcdDisplay::print (line 1076) [INFO] [stdout] src/display.rs - display::LcdDisplay::pulse (line 1173) [INFO] [stdout] src/display.rs - display::LcdDisplay::scroll_left (line 802) [INFO] [stdout] src/display.rs - display::LcdDisplay::scroll_right (line 790) [INFO] [stdout] src/display.rs - display::LcdDisplay::send (line 1116) [INFO] [stdout] src/display.rs - display::LcdDisplay::set (line 1185) [INFO] [stdout] src/display.rs - display::LcdDisplay::set_autoscroll (line 712) [INFO] [stdout] src/display.rs - display::LcdDisplay::set_blink (line 686) [INFO] [stdout] src/display.rs - display::LcdDisplay::set_character (line 733) [INFO] [stdout] src/display.rs - display::LcdDisplay::set_cursor (line 668) [INFO] [stdout] src/display.rs - display::LcdDisplay::set_display (line 650) [INFO] [stdout] src/display.rs - display::LcdDisplay::set_layout (line 632) [INFO] [stdout] src/display.rs - display::LcdDisplay::set_position (line 576) [INFO] [stdout] src/display.rs - display::LcdDisplay::set_scroll (line 612) [INFO] [stdout] src/display.rs - display::LcdDisplay::update (line 1142) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_autoscroll (line 434) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_blink (line 409) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_cursor (line 390) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_display (line 371) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_full_bus (line 271) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_half_bus (line 247) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_layout (line 352) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_lines (line 332) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_reliable_init (line 461) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_rw (line 297) [INFO] [stdout] src/display.rs - display::LcdDisplay::with_size (line 313) [INFO] [stdout] src/display.rs - display::LcdDisplay::write (line 1090) [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 52 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "baaf626090c8d672150a05c9102db0b14275c918e816d5fe8c65c1e872b368a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baaf626090c8d672150a05c9102db0b14275c918e816d5fe8c65c1e872b368a6", kill_on_drop: false }` [INFO] [stdout] baaf626090c8d672150a05c9102db0b14275c918e816d5fe8c65c1e872b368a6