[INFO] cloning repository https://github.com/lukasz26671/rust_wifi_password_extractor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukasz26671/rust_wifi_password_extractor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukasz26671%2Frust_wifi_password_extractor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukasz26671%2Frust_wifi_password_extractor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c02e0dbefb36a1190fa5811d31dafc47bf266bf [INFO] testing lukasz26671/rust_wifi_password_extractor against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukasz26671%2Frust_wifi_password_extractor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukasz26671/rust_wifi_password_extractor [INFO] finished tweaking git repo https://github.com/lukasz26671/rust_wifi_password_extractor [INFO] tweaked toml for git repo https://github.com/lukasz26671/rust_wifi_password_extractor written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukasz26671/rust_wifi_password_extractor on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lukasz26671/rust_wifi_password_extractor 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded chrono v0.4.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a10770286c444421339bb7ddf315a396e616da59f893f554dec4e7ab91d64ea [INFO] running `Command { std: "docker" "start" "-a" "9a10770286c444421339bb7ddf315a396e616da59f893f554dec4e7ab91d64ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a10770286c444421339bb7ddf315a396e616da59f893f554dec4e7ab91d64ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a10770286c444421339bb7ddf315a396e616da59f893f554dec4e7ab91d64ea", kill_on_drop: false }` [INFO] [stdout] 9a10770286c444421339bb7ddf315a396e616da59f893f554dec4e7ab91d64ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e2b39710ec18f33d2a6d65d5a7b17f4ddf70365c3fe1982e3e66c94908270f1 [INFO] running `Command { std: "docker" "start" "-a" "8e2b39710ec18f33d2a6d65d5a7b17f4ddf70365c3fe1982e3e66c94908270f1", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling windows-targets v0.52.0 [INFO] [stderr] Compiling windows-core v0.52.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling windows v0.52.0 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling rust_wifi_password_extractor v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ffi::OsString, os::windows::ffi::OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | Some(OsString::from_wide(&string_slice[..null_idx])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 - Some(OsString::from_wide(&string_slice[..null_idx])) [INFO] [stdout] 68 + Some(OsString::from_iter(&string_slice[..null_idx])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HSTRING: From<&OsString>` is not satisfied [INFO] [stdout] --> src/main.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | xml_document.LoadXml(&HSTRING::from(xml))?; [INFO] [stdout] | ^^^^^^^ the trait `From<&OsString>` is not implemented for `HSTRING` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `HSTRING` implements `From<&String>` [INFO] [stdout] `HSTRING` implements `From<&str>` [INFO] [stdout] `HSTRING` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | let node_name = OsString::from_wide(&node.encode_utf16().collect::>()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 82 - let node_name = OsString::from_wide(&node.encode_utf16().collect::>()); [INFO] [stdout] 82 + let node_name = OsString::from_iter(&node.encode_utf16().collect::>()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_os_string` found for struct `HSTRING` in the current scope [INFO] [stdout] --> src/main.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | if element_name.to_os_string() == node_name { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 90 - if element_name.to_os_string() == node_name { [INFO] [stdout] 90 + if element_name.to_string() == node_name { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_os_string` found for struct `HSTRING` in the current scope [INFO] [stdout] --> src/main.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | if element_name.to_os_string().to_string_lossy().to_string() == last_node_name.to_string() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 - if element_name.to_os_string().to_string_lossy().to_string() == last_node_name.to_string() { [INFO] [stdout] 91 + if element_name.to_string().to_string_lossy().to_string() == last_node_name.to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HSTRING: From<&OsString>` is not satisfied [INFO] [stdout] --> src/main.rs:113:72 [INFO] [stdout] | [INFO] [stdout] 113 | ...e(handle, interface_guid, PCWSTR(HSTRING::from(profile_name).as_ptr()), None, &mut profile_xml_data, Some(&mut profile_flags), None) }; [INFO] [stdout] | ^^^^^^^ the trait `From<&OsString>` is not implemented for `HSTRING` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `HSTRING` implements `From<&String>` [INFO] [stdout] `HSTRING` implements `From<&str>` [INFO] [stdout] `HSTRING` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_os_string` found for struct `HSTRING` in the current scope [INFO] [stdout] --> src/main.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(xml_string.to_os_string()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 125 - Ok(xml_string.to_os_string()) [INFO] [stdout] 125 + Ok(xml_string.to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_wifi_password_extractor` (bin "rust_wifi_password_extractor") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "8e2b39710ec18f33d2a6d65d5a7b17f4ddf70365c3fe1982e3e66c94908270f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2b39710ec18f33d2a6d65d5a7b17f4ddf70365c3fe1982e3e66c94908270f1", kill_on_drop: false }` [INFO] [stdout] 8e2b39710ec18f33d2a6d65d5a7b17f4ddf70365c3fe1982e3e66c94908270f1