[INFO] fetching crate escpos 0.17.0... [INFO] testing escpos-0.17.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate escpos 0.17.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate escpos 0.17.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate escpos 0.17.0 [INFO] tweaked toml for crates.io crate escpos 0.17.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate escpos 0.17.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate escpos 0.17.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded libudev-sys v0.1.4 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded rusb v0.9.4 [INFO] [stderr] Downloaded env_filter v0.1.3 [INFO] [stderr] Downloaded simd-adler32 v0.3.7 [INFO] [stderr] Downloaded version-compare v0.2.0 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded env_logger v0.11.8 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded jiff-static v0.2.15 [INFO] [stderr] Downloaded cc v1.2.37 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded hidapi v2.6.3 [INFO] [stderr] Downloaded wasip2 v1.0.0+wasi-0.2.4 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded nusb v0.2.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.5 [INFO] [stderr] Downloaded exr v1.73.0 [INFO] [stderr] Downloaded image v0.25.8 [INFO] [stderr] Downloaded indexmap v2.11.1 [INFO] [stderr] Downloaded libusb1-sys v0.7.0 [INFO] [stderr] Downloaded portable-atomic-util v0.2.4 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded tempfile v3.22.0 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded weezl v0.1.10 [INFO] [stderr] Downloaded wasi v0.14.5+wasi-0.2.4 [INFO] [stderr] Downloaded bitstream-io v2.6.0 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded rgb v0.8.52 [INFO] [stderr] Downloaded io-kit-sys v0.4.1 [INFO] [stderr] Downloaded serialport v4.7.3 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.16 [INFO] [stderr] Downloaded thiserror v2.0.16 [INFO] [stderr] Downloaded unescaper v0.1.6 [INFO] [stderr] Downloaded jiff v0.2.15 [INFO] [stderr] Downloaded pxfm v0.1.23 [INFO] [stderr] Downloaded rav1e v0.7.1 [INFO] [stderr] Downloaded windows-sys v0.61.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e0b8b9c65305115e634ba681be8d496f41547bac9666321296b30691230179d [INFO] running `Command { std: "docker" "start" "-a" "3e0b8b9c65305115e634ba681be8d496f41547bac9666321296b30691230179d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e0b8b9c65305115e634ba681be8d496f41547bac9666321296b30691230179d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0b8b9c65305115e634ba681be8d496f41547bac9666321296b30691230179d", kill_on_drop: false }` [INFO] [stdout] 3e0b8b9c65305115e634ba681be8d496f41547bac9666321296b30691230179d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acefe837c9de61e4fda8078c43b90563f0355f3ad6ded715997d7261ec7d24f6 [INFO] running `Command { std: "docker" "start" "-a" "acefe837c9de61e4fda8078c43b90563f0355f3ad6ded715997d7261ec7d24f6", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling escpos v0.17.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "acefe837c9de61e4fda8078c43b90563f0355f3ad6ded715997d7261ec7d24f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acefe837c9de61e4fda8078c43b90563f0355f3ad6ded715997d7261ec7d24f6", kill_on_drop: false }` [INFO] [stdout] acefe837c9de61e4fda8078c43b90563f0355f3ad6ded715997d7261ec7d24f6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bdb2cdb7380b47e339e347a30a9fa1579ed7377402fe1fcc8078246c1106ba1 [INFO] running `Command { std: "docker" "start" "-a" "9bdb2cdb7380b47e339e347a30a9fa1579ed7377402fe1fcc8078246c1106ba1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling escpos v0.17.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stdout] error[E0433]: cannot find `ui` in `escpos` [INFO] [stdout] --> examples/full.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use escpos::ui::line::{LineBuilder, LineStyle}; [INFO] [stdout] | ^^ could not find `ui` in `escpos` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | #[cfg(feature = "ui")] [INFO] [stdout] | -------------- the item is gated behind the `ui` feature [INFO] [stdout] 202 | pub mod ui { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `ui` in `escpos` [INFO] [stdout] --> examples/ui.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use escpos::ui::line::{LineBuilder, LineStyle}; [INFO] [stdout] | ^^ could not find `ui` in `escpos` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | #[cfg(feature = "ui")] [INFO] [stdout] | -------------- the item is gated behind the `ui` feature [INFO] [stdout] 202 | pub mod ui { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nusb` [INFO] [stdout] --> examples/native_usb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nusb::MaybeFuture; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `nusb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nusb`, use `cargo add nusb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `escpos::driver::*` [INFO] [stdout] --> examples/serial_port.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use escpos::driver::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SerialPortDriver` in this scope [INFO] [stdout] --> examples/serial_port.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let driver = SerialPortDriver::open("/dev/ttyUSB0", 115_200, Some(Duration::from_secs(5)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SerialPortDriver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `ui` in `escpos` [INFO] [stdout] --> examples/receipt.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use escpos::ui::line::{LineBuilder, LineStyle}; [INFO] [stdout] | ^^ could not find `ui` in `escpos` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | #[cfg(feature = "ui")] [INFO] [stdout] | -------------- the item is gated behind the `ui` feature [INFO] [stdout] 202 | pub mod ui { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `escpos::driver::*` [INFO] [stdout] --> examples/usb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use escpos::driver::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rusb` in this scope [INFO] [stdout] --> examples/usb.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | for device in rusb::devices().unwrap().iter() { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rusb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusb`, use `cargo add rusb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UsbDriver` in this scope [INFO] [stdout] --> examples/usb.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let driver = UsbDriver::open(0x0525, 0xa700, None, None)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `UsbDriver` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 22 - let driver = UsbDriver::open(0x0525, 0xa700, None, None)?; [INFO] [stdout] 22 + let driver = Driver::open(0x0525, 0xa700, None, None)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw_line` found for mutable reference `&mut escpos::printer::Printer` in the current scope [INFO] [stdout] --> examples/full.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 13 | / printer [INFO] [stdout] 14 | | .debug_mode(Some(DebugMode::Dec)) [INFO] [stdout] 15 | | .init()? [INFO] [stdout] 16 | | .smoothing(true)? [INFO] [stdout] ... | [INFO] [stdout] 28 | | .underline(UnderlineMode::None)? [INFO] [stdout] 29 | | .draw_line(LineBuilder::new().style(LineStyle::Double).build())? [INFO] [stdout] | | -^^^^^^^^^ method not found in `&mut escpos::printer::Printer` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BitImageOption` in this scope [INFO] [stdout] --> examples/full.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | BitImageOption::new(Some(128), None, BitImageSize::Normal)?, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BitImageOption` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "usb") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: cannot find type `BitImageSize` in this scope [INFO] [stdout] --> examples/full.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | BitImageOption::new(Some(128), None, BitImageSize::Normal)?, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `BitImageSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `escpos` (example "serial_port") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `draw_line` found for mutable reference `&mut escpos::printer::Printer` in the current scope [INFO] [stdout] --> examples/ui.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 30 | / printer [INFO] [stdout] 31 | | .init()? [INFO] [stdout] 32 | | .writeln("UI Components")? [INFO] [stdout] 33 | | .feed()? [INFO] [stdout] 34 | | .writeln("Lines")? [INFO] [stdout] 35 | | .draw_line(line_double)? [INFO] [stdout] | | -^^^^^^^^^ method not found in `&mut escpos::printer::Printer` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `escpos::driver::*` [INFO] [stdout] --> examples/hidapi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use escpos::driver::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "ui") due to 2 previous errors [INFO] [stdout] error[E0433]: cannot find type `HidApiDriver` in this scope [INFO] [stdout] --> examples/hidapi.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let driver = HidApiDriver::open(0x0525, 0xa700)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `HidApiDriver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `escpos::driver::*` [INFO] [stdout] --> examples/native_usb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use escpos::driver::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "full") due to 4 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `nusb` in this scope [INFO] [stdout] --> examples/native_usb.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | for device in nusb::list_devices().wait().unwrap() { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `nusb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nusb`, use `cargo add nusb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `NativeUsbDriver` in this scope [INFO] [stdout] --> examples/native_usb.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let driver = NativeUsbDriver::open(0x0525, 0xa700)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `NativeUsbDriver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "hidapi") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `draw_line` found for mutable reference `&mut escpos::printer::Printer` in the current scope [INFO] [stdout] --> examples/receipt.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 47 | / printer [INFO] [stdout] 48 | | .bold(true)? [INFO] [stdout] 49 | | .size(2, 2)? [INFO] [stdout] 50 | | .writeln("My Shop")? [INFO] [stdout] ... | [INFO] [stdout] 57 | | .writeln("2023-11-13 13:22")? [INFO] [stdout] 58 | | .draw_line(simple_line.clone())? [INFO] [stdout] | | -^^^^^^^^^ method not found in `&mut escpos::printer::Printer` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw_line` found for struct `escpos::printer::Printer` in the current scope [INFO] [stdout] --> examples/receipt.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | printer.draw_line(double_line)?; [INFO] [stdout] | ^^^^^^^^^ method not found in `escpos::printer::Printer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "native_usb") due to 3 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "receipt") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `bit_image` found for mutable reference `&mut escpos::printer::Printer` in the current scope [INFO] [stdout] --> examples/pictures.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 20 | / printer [INFO] [stdout] 21 | | .init()? [INFO] [stdout] 22 | | .justify(JustifyMode::CENTER)? [INFO] [stdout] 23 | | .bit_image(&(repo_root_dir + "/resources/images/rust-logo-small.png"))? [INFO] [stdout] | | -^^^^^^^^^ method not found in `&mut escpos::printer::Printer` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BitImageOption` in this scope [INFO] [stdout] --> examples/pictures.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | BitImageOption::new(Some(128), None, BitImageSize::Normal)?, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BitImageOption` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BitImageSize` in this scope [INFO] [stdout] --> examples/pictures.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | BitImageOption::new(Some(128), None, BitImageSize::Normal)?, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `BitImageSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "pictures") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "9bdb2cdb7380b47e339e347a30a9fa1579ed7377402fe1fcc8078246c1106ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bdb2cdb7380b47e339e347a30a9fa1579ed7377402fe1fcc8078246c1106ba1", kill_on_drop: false }` [INFO] [stdout] 9bdb2cdb7380b47e339e347a30a9fa1579ed7377402fe1fcc8078246c1106ba1