[INFO] fetching crate escpos 0.16.0... [INFO] checking escpos-0.16.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate escpos 0.16.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate escpos 0.16.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate escpos 0.16.0 [INFO] tweaked toml for crates.io crate escpos 0.16.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate escpos 0.16.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate escpos 0.16.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09b967271b4d03c8b47dc33d457254f5deabcc00836476bb541c28d1f9304682 [INFO] running `Command { std: "docker" "start" "-a" "09b967271b4d03c8b47dc33d457254f5deabcc00836476bb541c28d1f9304682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09b967271b4d03c8b47dc33d457254f5deabcc00836476bb541c28d1f9304682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b967271b4d03c8b47dc33d457254f5deabcc00836476bb541c28d1f9304682", kill_on_drop: false }` [INFO] [stdout] 09b967271b4d03c8b47dc33d457254f5deabcc00836476bb541c28d1f9304682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b67bd79aa097bacee86120239f1b122e8adca2fda5b34fd4d875b9239cebea16 [INFO] running `Command { std: "docker" "start" "-a" "b67bd79aa097bacee86120239f1b122e8adca2fda5b34fd4d875b9239cebea16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking jiff v0.2.6 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Checking escpos v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking reqwest v0.12.20 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rusb` [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] 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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] --> /opt/rustwide/workdir/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]: failed to resolve: could not 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] --> /opt/rustwide/workdir/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]: failed to resolve: use of undeclared type `UsbDriver` [INFO] [stdout] --> examples/usb.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let driver = UsbDriver::open(0x0525, 0xa700, None, None)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `UsbDriver` [INFO] [stdout] | help: a trait with a similar name exists: `Driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nusb` [INFO] [stdout] --> examples/native_usb.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | for device in nusb::list_devices().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]: failed to resolve: use of undeclared type `NativeUsbDriver` [INFO] [stdout] --> examples/native_usb.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let driver = NativeUsbDriver::open(0x0525, 0xa700)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `NativeUsbDriver` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPortDriver` [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]: failed to resolve: could not 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] --> /opt/rustwide/workdir/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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [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]: failed to resolve: use of undeclared type `BitImageOption` [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]: failed to resolve: use of undeclared type `BitImageSize` [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] [stderr] error: could not compile `escpos` (example "serial_port") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "pictures") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "usb") due to 2 previous errors; 1 warning emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `escpos` (example "native_usb") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HidApiDriver` [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] [stderr] error: could not compile `escpos` (example "hidapi") due to 1 previous error; 1 warning emitted [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] 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/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] [stderr] error: could not compile `escpos` (example "ui") due to 2 previous errors [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: 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 `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]: failed to resolve: use of undeclared type `BitImageOption` [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitImageSize` [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] [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 "full") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b67bd79aa097bacee86120239f1b122e8adca2fda5b34fd4d875b9239cebea16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67bd79aa097bacee86120239f1b122e8adca2fda5b34fd4d875b9239cebea16", kill_on_drop: false }` [INFO] [stdout] b67bd79aa097bacee86120239f1b122e8adca2fda5b34fd4d875b9239cebea16