[INFO] fetching crate stealth 0.0.0... [INFO] checking stealth-0.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate stealth 0.0.0 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate stealth 0.0.0 [INFO] finished tweaking crates.io crate stealth 0.0.0 [INFO] tweaked toml for crates.io crate stealth 0.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stealth 0.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stealth 0.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a224c622db09f56677d2f3800a3aa910746ca1e4f2519b5ae5c4323b2842dd8 [INFO] running `Command { std: "docker" "start" "-a" "3a224c622db09f56677d2f3800a3aa910746ca1e4f2519b5ae5c4323b2842dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a224c622db09f56677d2f3800a3aa910746ca1e4f2519b5ae5c4323b2842dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a224c622db09f56677d2f3800a3aa910746ca1e4f2519b5ae5c4323b2842dd8", kill_on_drop: false }` [INFO] [stdout] 3a224c622db09f56677d2f3800a3aa910746ca1e4f2519b5ae5c4323b2842dd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 954a61dc268c440d722b5bdf7f9e9117f07cbcbcb528e11892bf09ade7c6ff7c [INFO] running `Command { std: "docker" "start" "-a" "954a61dc268c440d722b5bdf7f9e9117f07cbcbcb528e11892bf09ade7c6ff7c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stealth_macro v0.0.0 [INFO] [stderr] Checking stealth v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> examples/hello_world.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows_sys::Win32::UI::WindowsAndMessaging::MB_OK; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `stealth::debug`, `stealth::import` [INFO] [stdout] --> examples/hello_world.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | debug::{check_being_debugged, check_debug_port, check_nt_global_flag}, [INFO] [stdout] | ^^^^^ could not find `debug` in `stealth` [INFO] [stdout] 5 | hash::fnv1a_ci, [INFO] [stdout] 6 | import::{get_function, get_module}, [INFO] [stdout] | ^^^^^^ could not find `import` in `stealth` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 5 | pub mod debug; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 7 | pub mod import; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] --> examples/hello_world.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe extern "system" fn(windows_sys::core::PCSTR) -> windows_sys::Win32::Foundation::HMODULE; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_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 `windows_sys` [INFO] [stdout] --> examples/hello_world.rs:11:60 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe extern "system" fn(windows_sys::core::PCSTR) -> windows_sys::Win32::Foundation::HMODULE; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_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 `windows_sys` [INFO] [stdout] --> examples/hello_world.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | windows_sys::Win32::Foundation::HWND, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_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 `windows_sys` [INFO] [stdout] --> examples/hello_world.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | windows_sys::core::PCSTR, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_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 `windows_sys` [INFO] [stdout] --> examples/hello_world.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | windows_sys::core::PCSTR, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_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 `windows_sys` [INFO] [stdout] --> examples/hello_world.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | windows_sys::Win32::UI::WindowsAndMessaging::MESSAGEBOX_STYLE, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_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 `windows_sys` [INFO] [stdout] --> examples/hello_world.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | -> windows_sys::Win32::UI::WindowsAndMessaging::MESSAGEBOX_RESULT; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::fnv1a_ci` and `string::hs` [INFO] [stdout] --> examples/hello_world.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | hash::fnv1a_ci, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | import::{get_function, get_module}, [INFO] [stdout] 7 | string::hs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stealth` (example "hello_world") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "954a61dc268c440d722b5bdf7f9e9117f07cbcbcb528e11892bf09ade7c6ff7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "954a61dc268c440d722b5bdf7f9e9117f07cbcbcb528e11892bf09ade7c6ff7c", kill_on_drop: false }` [INFO] [stdout] 954a61dc268c440d722b5bdf7f9e9117f07cbcbcb528e11892bf09ade7c6ff7c