[INFO] cloning repository https://github.com/pzmicer/security-lab-2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pzmicer/security-lab-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpzmicer%2Fsecurity-lab-2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpzmicer%2Fsecurity-lab-2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80e6da7398b1b2d6d2f7063a6b3ba24a2a27ec50 [INFO] checking pzmicer/security-lab-2 against master#7606c13961ddc1174b70638e934df0439b7dc515 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpzmicer%2Fsecurity-lab-2" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pzmicer/security-lab-2 on toolchain 7606c13961ddc1174b70638e934df0439b7dc515 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pzmicer/security-lab-2 [INFO] finished tweaking git repo https://github.com/pzmicer/security-lab-2 [INFO] tweaked toml for git repo https://github.com/pzmicer/security-lab-2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pzmicer/security-lab-2 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" "+7606c13961ddc1174b70638e934df0439b7dc515" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking pzmicer/security-lab-2 against try#ae973628c64ab60398819bcc1fd9f08ae68ad5b5 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpzmicer%2Fsecurity-lab-2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pzmicer/security-lab-2 on toolchain ae973628c64ab60398819bcc1fd9f08ae68ad5b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pzmicer/security-lab-2 [INFO] finished tweaking git repo https://github.com/pzmicer/security-lab-2 [INFO] tweaked toml for git repo https://github.com/pzmicer/security-lab-2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pzmicer/security-lab-2 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" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking pzmicer/security-lab-2 against try#ae973628c64ab60398819bcc1fd9f08ae68ad5b5 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpzmicer%2Fsecurity-lab-2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pzmicer/security-lab-2 on toolchain ae973628c64ab60398819bcc1fd9f08ae68ad5b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pzmicer/security-lab-2 [INFO] finished tweaking git repo https://github.com/pzmicer/security-lab-2 [INFO] tweaked toml for git repo https://github.com/pzmicer/security-lab-2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pzmicer/security-lab-2 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" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "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 num_threads v0.1.5 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded unic-langid-impl v0.9.0 [INFO] [stderr] Downloaded strum v0.18.0 [INFO] [stderr] Downloaded piet-direct2d v0.3.0 [INFO] [stderr] Downloaded piet-cairo v0.3.0 [INFO] [stderr] Downloaded glib-sys v0.10.1 [INFO] [stderr] Downloaded pango v0.9.1 [INFO] [stderr] Downloaded console_log v0.2.0 [INFO] [stderr] Downloaded gio v0.9.1 [INFO] [stderr] Downloaded gtk v0.9.2 [INFO] [stderr] Downloaded druid-derive v0.4.0 [INFO] [stderr] Downloaded atk v0.9.0 [INFO] [stderr] Downloaded gdk v0.13.2 [INFO] [stderr] Downloaded gdk-pixbuf v0.9.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Downloaded associative-cache v1.0.1 [INFO] [stderr] Downloaded dwrote v0.11.0 [INFO] [stderr] Downloaded utf16_lit v1.0.1 [INFO] [stderr] Downloaded kurbo v0.7.1 [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded unic-ucd-bidi v0.9.0 [INFO] [stderr] Downloaded unic-bidi v0.9.0 [INFO] [stderr] Downloaded piet v0.3.1 [INFO] [stderr] Downloaded fluent-bundle v0.12.0 [INFO] [stderr] Downloaded fluent-langneg v0.13.0 [INFO] [stderr] Downloaded atk-sys v0.10.0 [INFO] [stderr] Downloaded gdk-sys v0.10.0 [INFO] [stderr] Downloaded gio-sys v0.10.1 [INFO] [stderr] Downloaded pango-sys v0.10.0 [INFO] [stderr] Downloaded gtk-sys v0.10.0 [INFO] [stderr] Downloaded keyboard-types v0.5.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.10.0 [INFO] [stderr] Downloaded glib-macros v0.10.1 [INFO] [stderr] Downloaded glib v0.10.3 [INFO] [stderr] Downloaded system-deps v1.3.2 [INFO] [stderr] Downloaded gobject-sys v0.10.0 [INFO] [stderr] Downloaded cairo-rs v0.9.1 [INFO] [stderr] Downloaded piet-coregraphics v0.3.0 [INFO] [stderr] Downloaded druid v0.7.0 [INFO] [stderr] Downloaded strum_macros v0.18.0 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded xi-unicode v0.2.1 [INFO] [stderr] Downloaded core-text v19.2.0 [INFO] [stderr] Downloaded piet-web v0.3.1 [INFO] [stderr] Downloaded druid-shell v0.7.0 [INFO] [stderr] Downloaded intl_pluralrules v7.0.1 [INFO] [stderr] Downloaded rental v0.5.6 [INFO] [stderr] Downloaded fluent-syntax v0.9.3 [INFO] [stderr] Downloaded flate2 v1.0.23 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded simple_logger v1.16.0 [INFO] [stderr] Downloaded tinystr v0.3.4 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded piet-common v0.3.2 [INFO] [stderr] Downloaded type-map v0.4.0 [INFO] [stderr] Downloaded intl-memoizer v0.5.1 [INFO] [stderr] Downloaded rental-impl v0.5.5 [INFO] [stderr] Downloaded unic-langid v0.9.0 [INFO] [stderr] Downloaded bzip2 v0.4.3 [INFO] [stderr] Downloaded zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Downloaded zip v0.6.2 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded zstd-safe v4.1.4+zstd.1.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b97ec5dbfc7906a9aa3f6793ddafd95683f9ff13090e9ffbaa8aad24d562435c [INFO] running `Command { std: "docker" "start" "-a" "b97ec5dbfc7906a9aa3f6793ddafd95683f9ff13090e9ffbaa8aad24d562435c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b97ec5dbfc7906a9aa3f6793ddafd95683f9ff13090e9ffbaa8aad24d562435c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97ec5dbfc7906a9aa3f6793ddafd95683f9ff13090e9ffbaa8aad24d562435c", kill_on_drop: false }` [INFO] [stdout] b97ec5dbfc7906a9aa3f6793ddafd95683f9ff13090e9ffbaa8aad24d562435c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deef87dc8273fb943244857d55617ba14502edd6077ed48fecf3ec246d10d757 [INFO] running `Command { std: "docker" "start" "-a" "deef87dc8273fb943244857d55617ba14502edd6077ed48fecf3ec246d10d757", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Checking kurbo v0.7.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking piet v0.3.1 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking sha1 v0.10.1 [INFO] [stderr] Checking blake2 v0.10.4 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking pbkdf2 v0.10.1 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking piet-cairo v0.3.0 [INFO] [stderr] Checking piet-common v0.3.2 [INFO] [stderr] Checking zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.2 [INFO] [stderr] Checking druid-shell v0.7.0 [INFO] [stderr] Checking druid v0.7.0 [INFO] [stderr] Checking security-lab-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/payloads.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::BOOL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/payloads.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payloads.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payloads.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::fileapi::GetFileAttributesA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payloads.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::fileapi::SetFileAttributesA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payloads.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winnt::FILE_ATTRIBUTE_HIDDEN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::windows` [INFO] [stdout] --> src/gui.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{payloads, windows}; [INFO] [stdout] | ^^^^^^^ no `windows` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::windows` [INFO] [stdout] --> src/payloads.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::windows; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `windows` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/payloads.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::BOOL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/payloads.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payloads.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payloads.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::fileapi::GetFileAttributesA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payloads.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::fileapi::SetFileAttributesA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/payloads.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winnt::FILE_ATTRIBUTE_HIDDEN; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::windows` [INFO] [stdout] --> src/gui.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{payloads, windows}; [INFO] [stdout] | ^^^^^^^ no `windows` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::windows` [INFO] [stdout] --> src/payloads.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::windows; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `windows` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/payloads.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/payloads.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `make_hidden` in this scope [INFO] [stdout] --> src/payloads.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | let admin_should_hide = if state.should_hide { make_hidden(path).is_err() } else { false }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `make_hidden` in this scope [INFO] [stdout] --> src/payloads.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | let admin_should_hide = if state.should_hide { make_hidden(path).is_err() } else { false }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | windows::show_message(&e.to_string()); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | windows::show_message(&e.to_string()); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if windows::is_elevated() { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if windows::is_elevated() { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | windows::show_message("You can't run this app as administrator!"); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows` [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | windows::show_message("You can't run this app as administrator!"); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `security-lab-2` (bin "security-lab-2") due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `security-lab-2` (bin "security-lab-2" test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "deef87dc8273fb943244857d55617ba14502edd6077ed48fecf3ec246d10d757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deef87dc8273fb943244857d55617ba14502edd6077ed48fecf3ec246d10d757", kill_on_drop: false }` [INFO] [stdout] deef87dc8273fb943244857d55617ba14502edd6077ed48fecf3ec246d10d757