[INFO] fetching crate winipt 0.2.0... [INFO] checking winipt-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate winipt 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate winipt 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.52.0 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cexpr v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding clang-sys v0.28.1 (available: v1.8.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.1.0) [INFO] [stderr] Adding libloading v0.5.2 (available: v0.8.5) [INFO] [stderr] Adding nom v4.2.3 (available: v7.1.3) [INFO] [stderr] Adding num_enum v0.4.3 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.4.3 (available: v0.7.3) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.2.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding shlex v0.1.1 (available: v1.3.0) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding version_check v0.1.5 (available: v0.9.5) [INFO] [stderr] Adding which v3.1.1 (available: v6.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.52.0 [INFO] [stderr] Downloaded winipt-sys v0.1.1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52ec0821c307a6e52acebb2dc748f4e08333847f8aa74dd9869e8923652a9714 [INFO] running `Command { std: "docker" "start" "-a" "52ec0821c307a6e52acebb2dc748f4e08333847f8aa74dd9869e8923652a9714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ec0821c307a6e52acebb2dc748f4e08333847f8aa74dd9869e8923652a9714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ec0821c307a6e52acebb2dc748f4e08333847f8aa74dd9869e8923652a9714", kill_on_drop: false }` [INFO] [stdout] 52ec0821c307a6e52acebb2dc748f4e08333847f8aa74dd9869e8923652a9714 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71b1df504b57240d7fce3b690cf9522c586f2665b1e704d4eaddce8ec84f2ce2 [INFO] running `Command { std: "docker" "start" "-a" "71b1df504b57240d7fce3b690cf9522c586f2665b1e704d4eaddce8ec84f2ce2", kill_on_drop: false }` [INFO] [stderr] Checking 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winsvc; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | use std::os::windows::io::AsRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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 undeclared crate or module `bitflags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winsvc; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [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 undeclared crate or module `winipt_sys` [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 undeclared crate or module `bitflags` [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 undeclared crate or module `winipt_sys` [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[E0432]: unresolved import `winipt_sys` [INFO] [stdout] --> src/settings.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winipt_sys::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `winipt_sys` [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] warning: unused import: `self::settings::*` [INFO] [stdout] --> src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use self::settings::*; [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 crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winipt_sys` [INFO] [stdout] --> src/process.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { res = winipt_sys::GetProcessIptTrace( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winipt_sys` [INFO] [stdout] --> src/process.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { res = winipt_sys::GetProcessIptTrace( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [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[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [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[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `winipt_sys` [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 undeclared crate or module `winipt_sys` [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { res = winipt_sys::RegisterExtendedImageForIptTracing( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `winipt_sys` [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: aborting due to 23 previous errors [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] [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 undeclared crate or module `winipt_sys` [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { res = winipt_sys::RegisterExtendedImageForIptTracing( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `winipt_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchSettings` [INFO] [stdout] --> src/lib.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | .match_settings(MatchSettings::MATCH_BY_ANY_APP) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MatchSettings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimingSettings` [INFO] [stdout] --> src/lib.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | .timing_settings(TimingSettings::NO_TIMING_PACKETS) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TimingSettings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModeSettings` [INFO] [stdout] --> src/lib.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | .mode_settings(ModeSettings::CTL_USERMODE_ONLY) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ModeSettings` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `winipt` (lib) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for struct `Child` in the current scope [INFO] [stdout] --> src/lib.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | let hwnd = target.as_raw_handle(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:146:58 [INFO] [stdout] | [INFO] [stdout] 146 | let tracer = ProcessTracer::new_start(hwnd, opt).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/process.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ProcessTracer { proc: HANDLE } [INFO] [stdout] | ------------------------ doesn't satisfy `process::ProcessTracer: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `process::ProcessTracer: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 1 warning emitted [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 test) due to 30 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "71b1df504b57240d7fce3b690cf9522c586f2665b1e704d4eaddce8ec84f2ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b1df504b57240d7fce3b690cf9522c586f2665b1e704d4eaddce8ec84f2ce2", kill_on_drop: false }` [INFO] [stdout] 71b1df504b57240d7fce3b690cf9522c586f2665b1e704d4eaddce8ec84f2ce2