[INFO] cloning repository https://github.com/kleborgn/wifipassdump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kleborgn/wifipassdump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkleborgn%2Fwifipassdump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkleborgn%2Fwifipassdump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23274e3c9dc635e51c9582187c5cee1d42dedd2d [INFO] testing kleborgn/wifipassdump against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkleborgn%2Fwifipassdump" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kleborgn/wifipassdump [INFO] finished tweaking git repo https://github.com/kleborgn/wifipassdump [INFO] tweaked toml for git repo https://github.com/kleborgn/wifipassdump written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kleborgn/wifipassdump on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kleborgn/wifipassdump 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 869426291c734b003124125579bfc2e83e30b8d544346c586adebd6eb4878534 [INFO] running `Command { std: "docker" "start" "-a" "869426291c734b003124125579bfc2e83e30b8d544346c586adebd6eb4878534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "869426291c734b003124125579bfc2e83e30b8d544346c586adebd6eb4878534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869426291c734b003124125579bfc2e83e30b8d544346c586adebd6eb4878534", kill_on_drop: false }` [INFO] [stdout] 869426291c734b003124125579bfc2e83e30b8d544346c586adebd6eb4878534 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb31a9dadd8f544bc4bf54c5805c0e0f1a3ea92e6bfc184fcb2b43823bfcf4b1 [INFO] running `Command { std: "docker" "start" "-a" "eb31a9dadd8f544bc4bf54c5805c0e0f1a3ea92e6bfc184fcb2b43823bfcf4b1", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.0 [INFO] [stderr] Compiling windows-targets v0.52.0 [INFO] [stderr] Compiling windows-core v0.52.0 [INFO] [stderr] Compiling windows v0.52.0 [INFO] [stderr] Compiling wifipassdump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [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:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | Some(OsString::from_wide(&string_slice[..null_index])) [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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - Some(OsString::from_wide(&string_slice[..null_index])) [INFO] [stdout] 50 + Some(OsString::from_iter(&string_slice[..null_index])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HSTRING: From<&OsString>` is not satisfied [INFO] [stdout] --> src/main.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | 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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/strings/hstring.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | impl std::convert::From<&str> for HSTRING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HSTRING` implements `From<&str>` [INFO] [stdout] ... [INFO] [stdout] 158 | impl std::convert::From for HSTRING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HSTRING` implements `From` [INFO] [stdout] ... [INFO] [stdout] 164 | impl std::convert::From<&std::string::String> for HSTRING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HSTRING` implements `From<&String>` [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:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | 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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 - let node_name = OsString::from_wide(&node.encode_utf16().collect::>()); [INFO] [stdout] 64 + 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:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | 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] 72 - if element_name.to_os_string() ==node_name { [INFO] [stdout] 72 + 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:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | 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] 73 - if element_name.to_os_string().to_string_lossy().to_string() == last_node_name.to_string() { [INFO] [stdout] 73 + 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:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | PCWSTR(HSTRING::from(profile_name).as_ptr()), [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-core-0.52.0/src/strings/hstring.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | impl std::convert::From<&str> for HSTRING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HSTRING` implements `From<&str>` [INFO] [stdout] ... [INFO] [stdout] 158 | impl std::convert::From for HSTRING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HSTRING` implements `From` [INFO] [stdout] ... [INFO] [stdout] 164 | impl std::convert::From<&std::string::String> for HSTRING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HSTRING` implements `From<&String>` [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:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | 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] 111 - Ok(xml_string.to_os_string()) [INFO] [stdout] 111 + 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 `wifipassdump` (bin "wifipassdump") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "eb31a9dadd8f544bc4bf54c5805c0e0f1a3ea92e6bfc184fcb2b43823bfcf4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb31a9dadd8f544bc4bf54c5805c0e0f1a3ea92e6bfc184fcb2b43823bfcf4b1", kill_on_drop: false }` [INFO] [stdout] eb31a9dadd8f544bc4bf54c5805c0e0f1a3ea92e6bfc184fcb2b43823bfcf4b1