[INFO] cloning repository https://github.com/Nanopro/file-dialog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nanopro/file-dialog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanopro%2Ffile-dialog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanopro%2Ffile-dialog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08746e485384b5a93a60d770f9ad1386a44d8e6a [INFO] testing Nanopro/file-dialog against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanopro%2Ffile-dialog" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nanopro/file-dialog on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nanopro/file-dialog [INFO] finished tweaking git repo https://github.com/Nanopro/file-dialog [INFO] tweaked toml for git repo https://github.com/Nanopro/file-dialog written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Nanopro/file-dialog already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eaa24ab9d761b7e3e0327ae6114fdc9d8e80fa0a0c05f9a7d00cb261af0d5b3b [INFO] running `Command { std: "docker" "start" "-a" "eaa24ab9d761b7e3e0327ae6114fdc9d8e80fa0a0c05f9a7d00cb261af0d5b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaa24ab9d761b7e3e0327ae6114fdc9d8e80fa0a0c05f9a7d00cb261af0d5b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa24ab9d761b7e3e0327ae6114fdc9d8e80fa0a0c05f9a7d00cb261af0d5b3b", kill_on_drop: false }` [INFO] [stdout] eaa24ab9d761b7e3e0327ae6114fdc9d8e80fa0a0c05f9a7d00cb261af0d5b3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dade083630207075a1d3291bdb9653e879f3d43b30a5694b3c4093b8ba9f5cfd [INFO] running `Command { std: "docker" "start" "-a" "dade083630207075a1d3291bdb9653e879f3d43b30a5694b3c4093b8ba9f5cfd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling file-dialog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope [INFO] [stdout] --> src/lib.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let mut open: OPENFILENAMEA = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope [INFO] [stdout] --> src/lib.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn open_dialog(hwnd: *mut T) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `, OPENFILENAMEA` [INFO] [stdout] ... [INFO] [stdout] 24 | open.lStructSize = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOpenFileNameA` in this scope [INFO] [stdout] --> src/lib.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let res = unsafe { GetOpenFileNameA(&mut open) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope [INFO] [stdout] --> src/lib.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let mut open: OPENFILENAMEA = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope [INFO] [stdout] --> src/lib.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn open_dialog_windowless() -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 41 | open.lStructSize = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOpenFileNameA` in this scope [INFO] [stdout] --> src/lib.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let res = unsafe { GetOpenFileNameA(&mut open) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope [INFO] [stdout] --> src/lib.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let mut open: OPENFILENAMEA = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope [INFO] [stdout] --> src/lib.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn save_dialog(hwnd: *mut T) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `, OPENFILENAMEA` [INFO] [stdout] ... [INFO] [stdout] 57 | open.lStructSize = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSaveFileNameA` in this scope [INFO] [stdout] --> src/lib.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let res = unsafe { GetSaveFileNameA(&mut open) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope [INFO] [stdout] --> src/lib.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | let mut open: OPENFILENAMEA = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope [INFO] [stdout] --> src/lib.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn save_dialog_windowless() -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 73 | open.lStructSize = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSaveFileNameA` in this scope [INFO] [stdout] --> src/lib.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | let res = unsafe { GetSaveFileNameA(&mut open) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString`, `OsString`, `c_void` [INFO] [stdout] --> src/lib.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{CStr, CString, c_void, OsString}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | if (res != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - if (res != 0) { [INFO] [stdout] 30 + if res != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | if (res != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if (res != 0) { [INFO] [stdout] 46 + if res != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if (res != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - if (res != 0) { [INFO] [stdout] 63 + if res != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | if (res != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (res != 0) { [INFO] [stdout] 78 + if res != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file-dialog` due to 14 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dade083630207075a1d3291bdb9653e879f3d43b30a5694b3c4093b8ba9f5cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dade083630207075a1d3291bdb9653e879f3d43b30a5694b3c4093b8ba9f5cfd", kill_on_drop: false }` [INFO] [stdout] dade083630207075a1d3291bdb9653e879f3d43b30a5694b3c4093b8ba9f5cfd