[INFO] fetching crate syringe 0.1.0... [INFO] testing syringe-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate syringe 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate syringe 0.1.0 [INFO] finished tweaking crates.io crate syringe 0.1.0 [INFO] tweaked toml for crates.io crate syringe 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate syringe 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate syringe 0.1.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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 257cf3c1b384890a75c0beee2e14baee3216a69e81901b5ccbc89d874c94a399 [INFO] running `Command { std: "docker" "start" "-a" "257cf3c1b384890a75c0beee2e14baee3216a69e81901b5ccbc89d874c94a399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "257cf3c1b384890a75c0beee2e14baee3216a69e81901b5ccbc89d874c94a399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "257cf3c1b384890a75c0beee2e14baee3216a69e81901b5ccbc89d874c94a399", kill_on_drop: false }` [INFO] [stdout] 257cf3c1b384890a75c0beee2e14baee3216a69e81901b5ccbc89d874c94a399 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9fa21c4da7218811a3259adf7586cd2d5f669558734f4afc8f6167183a4420c [INFO] running `Command { std: "docker" "start" "-a" "e9fa21c4da7218811a3259adf7586cd2d5f669558734f4afc8f6167183a4420c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling dunce v1.0.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling syringe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/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/b83b707f97d809763b7861afa7638871f3339a33/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 `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::minwindef::*; [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/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/lib.rs:35:70 [INFO] [stdout] | [INFO] [stdout] 35 | type LPThreadStartRoutineFn = unsafe extern "system" fn(*mut winapi::ctypes::c_void) -> u32; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | let err = 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/lib.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | 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/lib.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | winapi::um::errhandlingapi::GetLastError(); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | process_id: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | process_id: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:88:58 [INFO] [stdout] | [INFO] [stdout] 88 | process_handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.process_id); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 88 - process_handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.process_id); [INFO] [stdout] 88 + process_handle = OpenProcess(PROCESS_ALL_ACCESS, false, self.process_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | if wpm_successful == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 117 - if wpm_successful == FALSE { [INFO] [stdout] 117 + if wpm_successful == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | ) == FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 163 - ) == FALSE [INFO] [stdout] 163 + ) == false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:174:89 [INFO] [stdout] | [INFO] [stdout] 174 | if LookupPrivilegeValueA(ptr::null_mut(), se_debug_name.as_ptr(), &mut luid) == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 174 - if LookupPrivilegeValueA(ptr::null_mut(), se_debug_name.as_ptr(), &mut luid) == FALSE { [INFO] [stdout] 174 + if LookupPrivilegeValueA(ptr::null_mut(), se_debug_name.as_ptr(), &mut luid) == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 187 - FALSE, [INFO] [stdout] 187 + false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 192 | ) == FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 192 - ) == FALSE [INFO] [stdout] 192 + ) == false [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | fn get_pid_from_name(name: &str) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 209 | fn get_pid_from_name(name: &str) -> Option { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:218:44 [INFO] [stdout] | [INFO] [stdout] 218 | while fetch_process_success == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 218 - while fetch_process_success == TRUE { [INFO] [stdout] 218 + while fetch_process_success == true { [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:241:10 [INFO] [stdout] | [INFO] [stdout] 240 | / OsStr::new(val) [INFO] [stdout] 241 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syringe` (lib) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "e9fa21c4da7218811a3259adf7586cd2d5f669558734f4afc8f6167183a4420c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fa21c4da7218811a3259adf7586cd2d5f669558734f4afc8f6167183a4420c", kill_on_drop: false }` [INFO] [stdout] e9fa21c4da7218811a3259adf7586cd2d5f669558734f4afc8f6167183a4420c