[INFO] fetching crate ql-label 0.2.1... [INFO] testing ql-label-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate ql-label 0.2.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ql-label 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ql-label 0.2.1 [INFO] tweaked toml for crates.io crate ql-label 0.2.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ql-label 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ql-label 0.2.1 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded checked_int_cast v1.0.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.0 [INFO] [stderr] Downloaded cc v1.2.35 [INFO] [stderr] Downloaded rusb v0.9.4 [INFO] [stderr] Downloaded libusb1-sys v0.7.0 [INFO] [stderr] Downloaded qrcode v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fb11e1b06f43f1f01c0dba0074adcac9bc2c3c0959792c4330c3b323564ae94 [INFO] running `Command { std: "docker" "start" "-a" "8fb11e1b06f43f1f01c0dba0074adcac9bc2c3c0959792c4330c3b323564ae94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fb11e1b06f43f1f01c0dba0074adcac9bc2c3c0959792c4330c3b323564ae94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb11e1b06f43f1f01c0dba0074adcac9bc2c3c0959792c4330c3b323564ae94", kill_on_drop: false }` [INFO] [stdout] 8fb11e1b06f43f1f01c0dba0074adcac9bc2c3c0959792c4330c3b323564ae94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4d5a20dfa1cd383758df720eb993348ee2f36d6f7964afa841f2a4698e78eed [INFO] running `Command { std: "docker" "start" "-a" "a4d5a20dfa1cd383758df720eb993348ee2f36d6f7964afa841f2a4698e78eed", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ql-label v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.28s [INFO] running `Command { std: "docker" "inspect" "a4d5a20dfa1cd383758df720eb993348ee2f36d6f7964afa841f2a4698e78eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d5a20dfa1cd383758df720eb993348ee2f36d6f7964afa841f2a4698e78eed", kill_on_drop: false }` [INFO] [stdout] a4d5a20dfa1cd383758df720eb993348ee2f36d6f7964afa841f2a4698e78eed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dd59cb9b3081ee71a202dc7590607d0480cfe034f2b9538b1daa262ccc16ad5 [INFO] running `Command { std: "docker" "start" "-a" "3dd59cb9b3081ee71a202dc7590607d0480cfe034f2b9538b1daa262ccc16ad5", kill_on_drop: false }` [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling qrcode v0.12.0 [INFO] [stderr] Compiling ql-label v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> examples/print_rust.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | struct Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.58s [INFO] running `Command { std: "docker" "inspect" "3dd59cb9b3081ee71a202dc7590607d0480cfe034f2b9538b1daa262ccc16ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dd59cb9b3081ee71a202dc7590607d0480cfe034f2b9538b1daa262ccc16ad5", kill_on_drop: false }` [INFO] [stdout] 3dd59cb9b3081ee71a202dc7590607d0480cfe034f2b9538b1daa262ccc16ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f2b61a37932544c03565e7ad7057941555e8b357d3f6b872057cbeba7662fdd [INFO] running `Command { std: "docker" "start" "-a" "1f2b61a37932544c03565e7ad7057941555e8b357d3f6b872057cbeba7662fdd", kill_on_drop: false }` [INFO] [stderr] warning: struct `Label` is never constructed [INFO] [stderr] --> examples/print_rust.rs:159:8 [INFO] [stderr] | [INFO] [stderr] 159 | struct Label { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ql-label` (example "print_rust") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ql_label-152bf2b8a2546b5a) [INFO] [stdout] [INFO] [stderr] Doc-tests ql_label [INFO] [stdout] running 2 tests [INFO] [stdout] test printer::tests::test_pack_bits_compression ... ok [INFO] [stdout] test printer::tests::test_pack_bits_edge_cases ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/printer.rs - printer::Config::new (line 968) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Config::cut_at_end (line 1033) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Config::set_feed_in_dots (line 1077) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Config::disable_auto_cut (line 1014) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Config::two_colors (line 1096) - compile ... FAILED [INFO] [stdout] test src/utils.rs - utils::TwoColorMatrix::to_alternating_matrix (line 65) ... FAILED [INFO] [stdout] test src/printer.rs - printer::Config::high_resolution (line 1055) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Printer::new (line 47) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Printer::print (line 184) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Config::enable_auto_cut (line 996) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Printer::cancel (line 126) - compile ... FAILED [INFO] [stdout] test src/printer.rs - printer::Printer::check_status (line 150) - compile ... FAILED [INFO] [stdout] test src/utils.rs - utils::TwoColorMatrix::new (line 33) ... FAILED [INFO] [stdout] test src/printer.rs - printer::Printer::print_two_color (line 231) - compile ... FAILED [INFO] [stdout] test src/utils.rs - utils::step_filter_normal (line 101) ... FAILED [INFO] [stdout] test src/utils.rs - utils::step_filter_wide (line 129) ... FAILED [INFO] [stdout] test src/printer.rs - printer::Config::compress (line 1115) - compile ... FAILED [INFO] [stdout] test src/utils.rs - utils::convert_rgb_to_two_color (line 190) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/printer.rs - printer::Config::new (line 968) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:969:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, ContinuousType, Media, Model}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Config::cut_at_end (line 1033) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:1034:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Config::set_feed_in_dots (line 1077) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:1078:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Config::disable_auto_cut (line 1014) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:1015:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, ContinuousType, Media, Model, Printer}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Config::two_colors (line 1096) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:1097:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::TwoColorMatrix::to_alternating_matrix (line 65) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/utils.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{TwoColorMatrix, Matrix}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Config::high_resolution (line 1055) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:1056:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Printer::new (line 47) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType, Printer}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] --> src/printer.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 7 | Ok::<(), ptouch::Error>(()) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Printer::print (line 184) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType, Printer, Matrix}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] --> src/printer.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 12 | Ok::<(), ptouch::Error>(()) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Config::enable_auto_cut (line 996) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:997:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Printer::cancel (line 126) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType, Printer}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] --> src/printer.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 8 | Ok::<(), ptouch::Error>(()) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Printer::check_status (line 150) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType, Printer}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] --> src/printer.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 11 | Ok::<(), ptouch::Error>(()) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::TwoColorMatrix::new (line 33) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/utils.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{TwoColorMatrix, Matrix}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Printer::print_two_color (line 231) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType, Printer, TwoColorMatrix}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::step_filter_normal (line 101) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/utils.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{step_filter_normal, Matrix}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::step_filter_wide (line 129) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/utils.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{step_filter_wide, Matrix, WIDE_PRINTER_WIDTH}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printer.rs - printer::Config::compress (line 1115) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/printer.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{Config, Model, Media, ContinuousType}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::convert_rgb_to_two_color (line 190) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ptouch` [INFO] [stdout] --> src/utils.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ptouch::{convert_rgb_to_two_color}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ptouch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptouch`, use `cargo add ptouch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] src/printer.rs - printer::Config::compress (line 1115) [INFO] [stdout] src/printer.rs - printer::Config::cut_at_end (line 1033) [INFO] [stdout] src/printer.rs - printer::Config::disable_auto_cut (line 1014) [INFO] [stdout] src/printer.rs - printer::Config::enable_auto_cut (line 996) [INFO] [stdout] src/printer.rs - printer::Config::high_resolution (line 1055) [INFO] [stdout] src/printer.rs - printer::Config::new (line 968) [INFO] [stdout] src/printer.rs - printer::Config::set_feed_in_dots (line 1077) [INFO] [stdout] src/printer.rs - printer::Config::two_colors (line 1096) [INFO] [stdout] src/printer.rs - printer::Printer::cancel (line 126) [INFO] [stdout] src/printer.rs - printer::Printer::check_status (line 150) [INFO] [stdout] src/printer.rs - printer::Printer::new (line 47) [INFO] [stdout] src/printer.rs - printer::Printer::print (line 184) [INFO] [stdout] src/printer.rs - printer::Printer::print_two_color (line 231) [INFO] [stdout] src/utils.rs - utils::TwoColorMatrix::new (line 33) [INFO] [stdout] src/utils.rs - utils::TwoColorMatrix::to_alternating_matrix (line 65) [INFO] [stdout] src/utils.rs - utils::convert_rgb_to_two_color (line 190) [INFO] [stdout] src/utils.rs - utils::step_filter_normal (line 101) [INFO] [stdout] src/utils.rs - utils::step_filter_wide (line 129) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1f2b61a37932544c03565e7ad7057941555e8b357d3f6b872057cbeba7662fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2b61a37932544c03565e7ad7057941555e8b357d3f6b872057cbeba7662fdd", kill_on_drop: false }` [INFO] [stdout] 1f2b61a37932544c03565e7ad7057941555e8b357d3f6b872057cbeba7662fdd