[INFO] cloning repository https://github.com/jamen/tlse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamen/tlse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamen%2Ftlse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamen%2Ftlse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e04c0b92a66187a90c1f8bc8d329e538b420cdd [INFO] checking jamen/tlse against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamen%2Ftlse" "/workspace/builds/worker-32/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-32/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamen/tlse on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-32/source/.cargo/config [INFO] started tweaking git repo https://github.com/jamen/tlse [INFO] finished tweaking git repo https://github.com/jamen/tlse [INFO] tweaked toml for git repo https://github.com/jamen/tlse written to /workspace/builds/worker-32/source/Cargo.toml [INFO] crate git repo https://github.com/jamen/tlse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hlua v0.4.1 [INFO] [stderr] Downloaded iced-x86 v1.13.0 [INFO] [stderr] Downloaded lua52-sys v0.1.2 [INFO] [stderr] Downloaded hex_table v0.1.4 [INFO] [stderr] Downloaded ilhook v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1edd09b2a82cc8dcde3cab301957b56955e3ae2b915ec87d90cc2283c236b66 [INFO] running `Command { std: "docker" "start" "-a" "c1edd09b2a82cc8dcde3cab301957b56955e3ae2b915ec87d90cc2283c236b66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1edd09b2a82cc8dcde3cab301957b56955e3ae2b915ec87d90cc2283c236b66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1edd09b2a82cc8dcde3cab301957b56955e3ae2b915ec87d90cc2283c236b66", kill_on_drop: false }` [INFO] [stdout] c1edd09b2a82cc8dcde3cab301957b56955e3ae2b915ec87d90cc2283c236b66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77523a9da5a4e5c9a8d715d7f09941f3f9bdc9e90b3f46fe0a5170d5f72feca6 [INFO] running `Command { std: "docker" "start" "-a" "77523a9da5a4e5c9a8d715d7f09941f3f9bdc9e90b3f46fe0a5170d5f72feca6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] winapi v0.3.9: errhandlingapi [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking hex_table v0.1.4 [INFO] [stderr] Checking iced-x86 v1.13.0 [INFO] [stderr] Compiling lua52-sys v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tlse_sys v0.1.0 (/tmp/fixit/tlse_sys) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> tlse_sys/src/display_manager.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::d3d9::{IDirect3D9, IDirect3DDevice9}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> tlse_sys/src/display_manager.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::d3d9caps::D3DCAPS9; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> tlse_sys/src/display_manager.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::d3d9types::{D3DDISPLAYMODE, D3DPRESENT_PARAMETERS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> tlse_sys/src/display_manager.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> tlse_sys/src/system_manager.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> tlse_sys/src/system_manager.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::HINSTANCE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> tlse_sys/src/system_manager.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> tlse_sys/src/system_manager.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::RTL_CRITICAL_SECTION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> tlse_sys/src/system_manager.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::WNDCLASSEXW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> tlse_sys/src/input_event.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::wchar_t; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> tlse_sys/src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | use winapi::shared::minwindef::HINSTANCE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> tlse_sys/src/wide_string.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::ctypes::wchar_t; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirect3D9` in this scope [INFO] [stdout] --> tlse_sys/src/display_manager.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub d3d: *mut IDirect3D9, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice9` in this scope [INFO] [stdout] --> tlse_sys/src/display_manager.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | pub d3d_device: *mut IDirect3DDevice9, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCAPS9` in this scope [INFO] [stdout] --> tlse_sys/src/display_manager.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub d3d_device_caps: D3DCAPS9, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> tlse_sys/src/display_manager.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub window_handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DDISPLAYMODE` in this scope [INFO] [stdout] --> tlse_sys/src/display_manager.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub current_mode: D3DDISPLAYMODE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DPRESENT_PARAMETERS` in this scope [INFO] [stdout] --> tlse_sys/src/display_manager.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | pub present_params: D3DPRESENT_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> tlse_sys/src/display_manager.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | pub window_handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | pub application_guid: GUID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub best_guid: GUID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub p_best_guid: *mut GUID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RTL_CRITICAL_SECTION` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub critical_section: RTL_CRITICAL_SECTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub win_instance_handle: *mut HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | pub application_win_handle: *mut HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub win_class: WNDCLASSEXW, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | pub instance_handle: *mut HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> tlse_sys/src/system_manager.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | pub application_window_handle: *mut HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> tlse_sys/src/lib.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | pub extern "fastcall" fn gf_main(p1: *mut HINSTANCE, p2: *mut c_char, p3: usize) = 0x00402510; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> tlse_sys/src/cxx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> tlse_sys/src/cxx.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_long`, `c_ulong` [INFO] [stdout] --> tlse_sys/src/input_manager.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::{c_long, c_ulong}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoostScopedPtr`, `CBaseClass`, `CCountedPointer`, `CDiskFileWin32`, `CxxVector` [INFO] [stdout] --> tlse_sys/src/input_manager.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{BoostScopedPtr, CBaseClass, CCountedPointer, CDiskFileWin32, CxxVector}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> tlse_sys/src/player_manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::NonNull` [INFO] [stdout] --> tlse_sys/src/player_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::NonNull; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: unions may not contain fields that need dropping [INFO] [stdout] --> tlse_sys/src/input_event.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub character: wchar_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `std::mem::ManuallyDrop` can be used to wrap the type [INFO] [stdout] --> tlse_sys/src/input_event.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub character: wchar_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hlua v0.4.1 [INFO] [stdout] error: aborting due to 30 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tlse_sys` due to 31 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "77523a9da5a4e5c9a8d715d7f09941f3f9bdc9e90b3f46fe0a5170d5f72feca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77523a9da5a4e5c9a8d715d7f09941f3f9bdc9e90b3f46fe0a5170d5f72feca6", kill_on_drop: false }` [INFO] [stdout] 77523a9da5a4e5c9a8d715d7f09941f3f9bdc9e90b3f46fe0a5170d5f72feca6