[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] checking Nanopro/file-dialog against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanopro%2Ffile-dialog" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nanopro/file-dialog on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 794dc919e0f65e68faad6741fdc1e49b666abaaf572caebdb79a005b055b8899 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "794dc919e0f65e68faad6741fdc1e49b666abaaf572caebdb79a005b055b8899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "794dc919e0f65e68faad6741fdc1e49b666abaaf572caebdb79a005b055b8899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794dc919e0f65e68faad6741fdc1e49b666abaaf572caebdb79a005b055b8899", kill_on_drop: false }` [INFO] [stdout] 794dc919e0f65e68faad6741fdc1e49b666abaaf572caebdb79a005b055b8899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 208b77444fc2e0a96b2eab2527f0ec2063932ce518bb20d8f3b8a7af342ef066 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "208b77444fc2e0a96b2eab2527f0ec2063932ce518bb20d8f3b8a7af342ef066", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking 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] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^ help: remove these parentheses [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "208b77444fc2e0a96b2eab2527f0ec2063932ce518bb20d8f3b8a7af342ef066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208b77444fc2e0a96b2eab2527f0ec2063932ce518bb20d8f3b8a7af342ef066", kill_on_drop: false }` [INFO] [stdout] 208b77444fc2e0a96b2eab2527f0ec2063932ce518bb20d8f3b8a7af342ef066