[INFO] cloning repository https://github.com/ramauditplus/print_pdf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ramauditplus/print_pdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framauditplus%2Fprint_pdf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framauditplus%2Fprint_pdf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 43846f2834ec866677bacc4ae71be2cdbe83eb59
[INFO] checking ramauditplus/print_pdf against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framauditplus%2Fprint_pdf" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ramauditplus/print_pdf
[INFO] finished tweaking git repo https://github.com/ramauditplus/print_pdf
[INFO] tweaked toml for git repo https://github.com/ramauditplus/print_pdf written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ramauditplus/print_pdf on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ramauditplus/print_pdf 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "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 xattr v1.5.1
[INFO] [stderr]   Downloaded libredox v0.1.8
[INFO] [stderr]   Downloaded windows-targets v0.53.3
[INFO] [stderr]   Downloaded errno v0.3.13
[INFO] [stderr]   Downloaded bitflags v2.9.1
[INFO] [stderr]   Downloaded xml v0.8.20
[INFO] [stderr]   Downloaded proc-macro-crate v3.3.0
[INFO] [stderr]   Downloaded slab v0.4.10
[INFO] [stderr]   Downloaded fmt-derive-proc v0.1.2
[INFO] [stderr]   Downloaded potential_utf v0.1.2
[INFO] [stderr]   Downloaded security-framework-sys v2.14.0
[INFO] [stderr]   Downloaded rustversion v1.0.21
[INFO] [stderr]   Downloaded cfg-if v1.0.1
[INFO] [stderr]   Downloaded tempfile v3.20.0
[INFO] [stderr]   Downloaded hyper-util v0.1.16
[INFO] [stderr]   Downloaded rustls-webpki v0.103.4
[INFO] [stderr]   Downloaded openssl-sys v0.9.109
[INFO] [stderr]   Downloaded tokio-util v0.7.15
[INFO] [stderr]   Downloaded winnow v0.7.12
[INFO] [stderr]   Downloaded h2 v0.4.11
[INFO] [stderr]   Downloaded reqwest v0.12.22
[INFO] [stderr]   Downloaded openssl v0.10.73
[INFO] [stderr]   Downloaded hashbrown v0.15.4
[INFO] [stderr]   Downloaded serde_json v1.0.141
[INFO] [stderr]   Downloaded syn v2.0.104
[INFO] [stderr]   Downloaded zerovec v0.11.2
[INFO] [stderr]   Downloaded rustls v0.23.29
[INFO] [stderr]   Downloaded rustix v1.0.8
[INFO] [stderr]   Downloaded cc v1.2.30
[INFO] [stderr]   Downloaded memchr v2.7.5
[INFO] [stderr]   Downloaded backtrace v0.3.75
[INFO] [stderr]   Downloaded io-uring v0.7.9
[INFO] [stderr]   Downloaded indexmap v2.10.0
[INFO] [stderr]   Downloaded schannel v0.1.27
[INFO] [stderr]   Downloaded fmt-derive v0.1.2
[INFO] [stderr]   Downloaded tokio v1.47.0
[INFO] [stderr]   Downloaded winprint v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3f2e157b06b3b2722747ffa2387ea8f14aa550be9788722c40a201152c7936f
[INFO] running `Command { std: "docker" "start" "-a" "a3f2e157b06b3b2722747ffa2387ea8f14aa550be9788722c40a201152c7936f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3f2e157b06b3b2722747ffa2387ea8f14aa550be9788722c40a201152c7936f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3f2e157b06b3b2722747ffa2387ea8f14aa550be9788722c40a201152c7936f", kill_on_drop: false }`
[INFO] [stdout] a3f2e157b06b3b2722747ffa2387ea8f14aa550be9788722c40a201152c7936f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 147e100ac6ef72a48e03c2b0cd427ca2c0f8b31ec62a0ab00598a1b7ace2cdcc
[INFO] running `Command { std: "docker" "start" "-a" "147e100ac6ef72a48e03c2b0cd427ca2c0f8b31ec62a0ab00598a1b7ace2cdcc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling tokio v1.47.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking xml-rs v0.8.27
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking xml v0.8.20
[INFO] [stderr]    Compiling xattr v1.5.1
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[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 windows-interface v0.58.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling fmt-derive-proc v0.1.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]     Checking fmt-derive v0.1.2
[INFO] [stderr]     Checking windows-core v0.58.0
[INFO] [stderr]    Compiling h2 v0.4.11
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking windows v0.58.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[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 tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.22
[INFO] [stderr]    Compiling winprint v0.2.0
[INFO] [stderr]     Checking rust-pro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]  --> src/def_pr.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Win32::Graphics::Printing::{GetDefaultPrinterW},
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winprint::printer`
[INFO] [stdout]  --> src/test_print.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winprint::printer::{PrinterDevice, PdfiumPrinter, FilePrinter};
[INFO] [stdout]   |               ^^^^^^^ could not find `printer` in `winprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]  --> src/def_pr.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Win32::Graphics::Printing::{GetDefaultPrinterW},
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winprint::printer`
[INFO] [stdout]  --> src/test_print.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winprint::printer::{PrinterDevice, PdfiumPrinter, FilePrinter};
[INFO] [stdout]   |               ^^^^^^^ could not find `printer` in `winprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/def_pr.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/std/src/os/mod.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/std/src/os/mod.rs:120:9
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/def_pr.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::core::PWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winprint::printer`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winprint::printer::PrinterDevice;
[INFO] [stdout]   |               ^^^^^^^ could not find `printer` in `winprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/test_print.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/test_print.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |             .find(|d| {
[INFO] [stdout]    |                    ^
[INFO] [stdout] ...
[INFO] [stdout] 29 |                     .map(|n| d.name() == n)
[INFO] [stdout]    |                              - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 26 |             .find(|d: /* Type */| {
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/def_pr.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let printer_name = OsString::from_wide(&buffer[..end]);
[INFO] [stdout]    |                                      ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/std/src/ffi/os_str.rs:141:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 38 -         let printer_name = OsString::from_wide(&buffer[..end]);
[INFO] [stdout] 38 +         let printer_name = OsString::from_iter(&buffer[..end]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/def_pr.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/std/src/os/mod.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/std/src/os/mod.rs:120:9
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/def_pr.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::core::PWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winprint::printer`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winprint::printer::PrinterDevice;
[INFO] [stdout]   |               ^^^^^^^ could not find `printer` in `winprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/test_print.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod test_print;
[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 `rust-pro` (bin "rust-pro" test) due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/test_print.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |             .find(|d| {
[INFO] [stdout]    |                    ^
[INFO] [stdout] ...
[INFO] [stdout] 29 |                     .map(|n| d.name() == n)
[INFO] [stdout]    |                              - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 26 |             .find(|d: /* Type */| {
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/def_pr.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let printer_name = OsString::from_wide(&buffer[..end]);
[INFO] [stdout]    |                                      ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]   --> /rustc/0cb362313295507a2f4321c0e30cea0168f2fe71/library/std/src/ffi/os_str.rs:141:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 38 -         let printer_name = OsString::from_wide(&buffer[..end]);
[INFO] [stdout] 38 +         let printer_name = OsString::from_iter(&buffer[..end]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-pro` (bin "rust-pro") due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "147e100ac6ef72a48e03c2b0cd427ca2c0f8b31ec62a0ab00598a1b7ace2cdcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "147e100ac6ef72a48e03c2b0cd427ca2c0f8b31ec62a0ab00598a1b7ace2cdcc", kill_on_drop: false }`
[INFO] [stdout] 147e100ac6ef72a48e03c2b0cd427ca2c0f8b31ec62a0ab00598a1b7ace2cdcc
