[INFO] fetching crate winipt 0.2.0... [INFO] building winipt-0.2.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate winipt 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate winipt 0.2.0 [INFO] finished tweaking crates.io crate winipt 0.2.0 [INFO] tweaked toml for crates.io crate winipt 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate winipt 0.2.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding num_enum v0.4.3 (available: v0.7.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98045871a921cc22bc95413f60c5059e02fd23c6182d593174760dfd86c01f54 [INFO] running `Command { std: "docker" "start" "-a" "98045871a921cc22bc95413f60c5059e02fd23c6182d593174760dfd86c01f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98045871a921cc22bc95413f60c5059e02fd23c6182d593174760dfd86c01f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98045871a921cc22bc95413f60c5059e02fd23c6182d593174760dfd86c01f54", kill_on_drop: false }` [INFO] [stdout] 98045871a921cc22bc95413f60c5059e02fd23c6182d593174760dfd86c01f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e07942c930314ab191c9f0480973a7476fa912936b74ec3c90f7f1fd2c53e621 [INFO] running `Command { std: "docker" "start" "-a" "e07942c930314ab191c9f0480973a7476fa912936b74ec3c90f7f1fd2c53e621", kill_on_drop: false }` [INFO] [stderr] Compiling winipt v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/process.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::raw::HANDLE; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/thread.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::raw::HANDLE; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winsvc; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winipt_sys` [INFO] [stdout] --> src/options.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winipt_sys::IPT_OPTIONS; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitflags` [INFO] [stdout] --> src/settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bitflags::bitflags; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bitflags` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitflags`, use `cargo add bitflags` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winipt_sys` [INFO] [stdout] --> src/settings.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winipt_sys::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::settings::TimingSettings`, `crate::settings::MatchSettings`, `crate::settings::ModeSettings` [INFO] [stdout] --> src/options.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::settings::{ TimingSettings, MatchSettings, ModeSettings }; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `ModeSettings` in `settings` [INFO] [stdout] | | | [INFO] [stdout] | | no `MatchSettings` in `settings` [INFO] [stdout] | no `TimingSettings` in `settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/process.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { res = winipt_sys::StartProcessIptTracing(self.proc, opt.0) }; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/process.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { res = winipt_sys::GetProcessIptTrace( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/process.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | res = winipt_sys::QueryProcessIptTracing(self.proc, &mut opt.0); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/thread.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { res = winipt_sys::PauseThreadIptTracing(self.thread, &mut pbres); } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/thread.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { res = winipt_sys::ResumeThreadIptTracing(self.thread, &mut pbres); } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/core.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | res = winipt_sys::StartCoreIptTracing(opt.0, tries, duration); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/process.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { res = winipt_sys::GetProcessIptTraceSize(self.proc, &mut sz); } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/process.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { res = winipt_sys::StopProcessIptTracing(self.proc); } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/lib.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe { res = winipt_sys::GetIptBufferVersion(&mut ver); } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/lib.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { res = winipt_sys::GetIptTraceVersion(&mut ver); } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/core.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { res = winipt_sys::QueryCoreIptTracing(&mut opt.0); } [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/lib.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 70 | let img_path_raw = OsStr::new(img_path) [INFO] [stdout] | ________________________- [INFO] [stdout] 71 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/lib.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 32 | let ipt_wstr: Vec = OsStr::new("Ipt") [INFO] [stdout] | __________________________________- [INFO] [stdout] 33 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/lib.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 76 | let filtered_path_raw = OsStr::new(filtered_path) [INFO] [stdout] | _____________________________- [INFO] [stdout] 77 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { res = winipt_sys::RegisterExtendedImageForIptTracing( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `winipt_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winipt_sys`, use `cargo add winipt_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winipt` (lib) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "e07942c930314ab191c9f0480973a7476fa912936b74ec3c90f7f1fd2c53e621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e07942c930314ab191c9f0480973a7476fa912936b74ec3c90f7f1fd2c53e621", kill_on_drop: false }` [INFO] [stdout] e07942c930314ab191c9f0480973a7476fa912936b74ec3c90f7f1fd2c53e621