[INFO] cloning repository https://github.com/Gankro/winres-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gankro/winres-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGankro%2Fwinres-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGankro%2Fwinres-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d004f7266f06584a9ff660f6d225a3acd04f879 [INFO] checking Gankro/winres-test against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGankro%2Fwinres-test" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gankro/winres-test on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Gankro/winres-test [INFO] finished tweaking git repo https://github.com/Gankro/winres-test [INFO] tweaked toml for git repo https://github.com/Gankro/winres-test written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Gankro/winres-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 717e59f6fdd9413ffa31990aacdba6b7d2afe632a78038dcd74571585babc326 [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" "717e59f6fdd9413ffa31990aacdba6b7d2afe632a78038dcd74571585babc326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "717e59f6fdd9413ffa31990aacdba6b7d2afe632a78038dcd74571585babc326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "717e59f6fdd9413ffa31990aacdba6b7d2afe632a78038dcd74571585babc326", kill_on_drop: false }` [INFO] [stdout] 717e59f6fdd9413ffa31990aacdba6b7d2afe632a78038dcd74571585babc326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 82cc6ce3d3cccbfe1226f280f305e44eb73eec28e18f6c3d8571ec6b1ae4d013 [INFO] running `Command { std: "docker" "start" "-a" "82cc6ce3d3cccbfe1226f280f305e44eb73eec28e18f6c3d8571ec6b1ae4d013", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking winres v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `winapi::wingdi` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::wingdi::DEVMODEW; [INFO] [stdout] | ^^^^^^ could not find `wingdi` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplaySettingsW` in crate `user32` [INFO] [stdout] --> src/main.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | while user32::EnumDisplaySettingsW(ptr::null(), idx, &mut stats) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | .. mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::wingdi` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::wingdi::DEVMODEW; [INFO] [stdout] | ^^^^^^ could not find `wingdi` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winres` [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplaySettingsW` in crate `user32` [INFO] [stdout] --> src/main.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | while user32::EnumDisplaySettingsW(ptr::null(), idx, &mut stats) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | .. mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "82cc6ce3d3cccbfe1226f280f305e44eb73eec28e18f6c3d8571ec6b1ae4d013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82cc6ce3d3cccbfe1226f280f305e44eb73eec28e18f6c3d8571ec6b1ae4d013", kill_on_drop: false }` [INFO] [stdout] 82cc6ce3d3cccbfe1226f280f305e44eb73eec28e18f6c3d8571ec6b1ae4d013