[INFO] fetching crate dll-hijack 1.0.1...
[INFO] checking dll-hijack-1.0.1 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate dll-hijack 1.0.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate dll-hijack 1.0.1 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dll-hijack 1.0.1
[INFO] finished tweaking crates.io crate dll-hijack 1.0.1
[INFO] tweaked toml for crates.io crate dll-hijack 1.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 14 packages to latest compatible versions
[INFO] [stderr]       Adding windows-sys v0.48.0 (available: v0.59.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dll-hijack-derive v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 844068961e217a1165573305fd2378e0e0bd4483c9f87460f1dc3946205568e1
[INFO] running `Command { std: "docker" "start" "-a" "844068961e217a1165573305fd2378e0e0bd4483c9f87460f1dc3946205568e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "844068961e217a1165573305fd2378e0e0bd4483c9f87460f1dc3946205568e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "844068961e217a1165573305fd2378e0e0bd4483c9f87460f1dc3946205568e1", kill_on_drop: false }`
[INFO] [stdout] 844068961e217a1165573305fd2378e0e0bd4483c9f87460f1dc3946205568e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6449c4f5941115f6632ee2cf12cbcc4a5780d109b6779a04bc8f23a69b849c28
[INFO] running `Command { std: "docker" "start" "-a" "6449c4f5941115f6632ee2cf12cbcc4a5780d109b6779a04bc8f23a69b849c28", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.48.5
[INFO] [stderr]     Checking windows-targets v0.48.5
[INFO] [stderr]     Checking windows-sys v0.48.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling dll-hijack-derive v1.0.0
[INFO] [stderr]     Checking dll-hijack v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:54:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:46:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:101:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/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:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:54:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:46:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:101:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:100:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/lib.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let mut evil_dll_name: Vec<u16> = OsString::from_str(evil_dll_name)
[INFO] [stdout]    |  _______________________________________-
[INFO] [stdout] 82 | |         .unwrap()
[INFO] [stdout] 83 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/lib.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let mut evil_dll_name: Vec<u16> = OsString::from_str(evil_dll_name)
[INFO] [stdout]    |  _______________________________________-
[INFO] [stdout] 82 | |         .unwrap()
[INFO] [stdout] 83 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/lib.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let mut orig_dll_name: Vec<u16> = OsString::from_str(orig_dll_name)
[INFO] [stdout]    |  _______________________________________-
[INFO] [stdout] 86 | |         .unwrap()
[INFO] [stdout] 87 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/lib.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let mut orig_dll_name: Vec<u16> = OsString::from_str(orig_dll_name)
[INFO] [stdout]    |  _______________________________________-
[INFO] [stdout] 86 | |         .unwrap()
[INFO] [stdout] 87 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |             let mut data = entry as *mut LdrDataTableEntry;
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |             let mut data = entry as *mut LdrDataTableEntry;
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dll-hijack` (lib) due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `dll-hijack` (lib test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "6449c4f5941115f6632ee2cf12cbcc4a5780d109b6779a04bc8f23a69b849c28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6449c4f5941115f6632ee2cf12cbcc4a5780d109b6779a04bc8f23a69b849c28", kill_on_drop: false }`
[INFO] [stdout] 6449c4f5941115f6632ee2cf12cbcc4a5780d109b6779a04bc8f23a69b849c28
