[INFO] cloning repository https://github.com/dalamud/dalamud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dalamud/dalamud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdalamud%2Fdalamud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdalamud%2Fdalamud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17c4ed679329925cf04d13288f6b8e5db74f3614 [INFO] checking dalamud/dalamud/17c4ed679329925cf04d13288f6b8e5db74f3614 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdalamud%2Fdalamud" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dalamud/dalamud on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dalamud/dalamud [INFO] finished tweaking git repo https://github.com/dalamud/dalamud [INFO] tweaked toml for git repo https://github.com/dalamud/dalamud written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dalamud/dalamud 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlopen v0.1.8 [INFO] [stderr] Downloaded dlopen_derive v0.1.4 [INFO] [stderr] Downloaded simple_logger v1.9.0 [INFO] [stderr] Downloaded widestring v0.4.2 [INFO] [stderr] Downloaded syn v1.0.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63f0caab250f4b37e437cd2cc2525f3637d8b341ae66b85735d74b6141596499 [INFO] running `Command { std: "docker" "start" "-a" "63f0caab250f4b37e437cd2cc2525f3637d8b341ae66b85735d74b6141596499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63f0caab250f4b37e437cd2cc2525f3637d8b341ae66b85735d74b6141596499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f0caab250f4b37e437cd2cc2525f3637d8b341ae66b85735d74b6141596499", kill_on_drop: false }` [INFO] [stdout] 63f0caab250f4b37e437cd2cc2525f3637d8b341ae66b85735d74b6141596499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a03bc7934ff6bacced8bf99ca720d8374f5af5d70775829b1f86c3a0dec12d1 [INFO] running `Command { std: "docker" "start" "-a" "9a03bc7934ff6bacced8bf99ca720d8374f5af5d70775829b1f86c3a0dec12d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling nethost-sys v0.1.0 (/opt/rustwide/workdir/src/nethost-sys) [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking widestring v0.4.2 [INFO] [stderr] Checking hostfxr-sys v0.1.0 (/opt/rustwide/workdir/src/hostfxr-sys) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/hostfxr-sys/src/binding.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | &(*(::std::ptr::null::())).size as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/hostfxr-sys/src/binding.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | &(*(::std::ptr::null::())).host_path as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/hostfxr-sys/src/binding.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | &(*(::std::ptr::null::())).dotnet_root as *const _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/nethost-sys/src/binding.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { &(*(::std::ptr::null::())).size as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/nethost-sys/src/binding.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | &(*(::std::ptr::null::())).assembly_path as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/nethost-sys/src/binding.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | &(*(::std::ptr::null::())).dotnet_root as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking simple_logger v1.9.0 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking dalamud_boot v0.1.0 (/opt/rustwide/workdir/src/dalamud_boot) [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/dalamud_boot/src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/dalamud_boot/src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::error::*` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::error::*` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | let status: Status = unsafe { neth::get_hostfxr_path(buf.as_mut_ptr(), &mut buf_len, ptr::null()) }.into(); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^ expected `*mut u16`, found `*mut u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u16` [INFO] [stdout] found raw pointer `*mut u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/nethost-sys/src/binding.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_hostfxr_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | let status: Status = unsafe { neth::get_hostfxr_path(buf.as_mut_ptr(), &mut buf_len, ptr::null()) }.into(); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^ expected `*mut u16`, found `*mut u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u16` [INFO] [stdout] found raw pointer `*mut u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/nethost-sys/src/binding.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_hostfxr_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:131:57 [INFO] [stdout] | [INFO] [stdout] 30 | let result: Status = ($fn.unwrap())( [INFO] [stdout] | -------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 131 | call_dotnet!(lib.initialize_for_runtime_config, path.as_ptr(), ptr::null(), &mut handle)?; [INFO] [stdout] | ^^^^^^^^^^^^^ expected `*const u16`, found `*const u32` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:131:57 [INFO] [stdout] | [INFO] [stdout] 30 | let result: Status = ($fn.unwrap())( [INFO] [stdout] | -------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 131 | call_dotnet!(lib.initialize_for_runtime_config, path.as_ptr(), ptr::null(), &mut handle)?; [INFO] [stdout] | ^^^^^^^^^^^^^ expected `*const u16`, found `*const u32` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | let result: Status = ($fn.unwrap())( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / call_dotnet!( [INFO] [stdout] 173 | | mem::transmute::<_, load_assembly_and_get_function_pointer_fn>(get_func_ptr), [INFO] [stdout] 174 | | asm_path.as_ptr(), [INFO] [stdout] 175 | | ty.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 179 | | &mut func [INFO] [stdout] 180 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: expected `*const u16`, found `*const u32` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | asm_path.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: expected `*const u16`, found `*const u32` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ty.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: expected `*const u16`, found `*const u32` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | method.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: expected `*const u16`, found `*const u32` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | pdelegate_type, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] = note: this error originates in the macro `call_dotnet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | let result: Status = ($fn.unwrap())( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / call_dotnet!( [INFO] [stdout] 173 | | mem::transmute::<_, load_assembly_and_get_function_pointer_fn>(get_func_ptr), [INFO] [stdout] 174 | | asm_path.as_ptr(), [INFO] [stdout] 175 | | ty.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 179 | | &mut func [INFO] [stdout] 180 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: expected `*const u16`, found `*const u32` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | asm_path.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: expected `*const u16`, found `*const u32` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ty.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: expected `*const u16`, found `*const u32` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | method.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: expected `*const u16`, found `*const u32` [INFO] [stdout] --> src/dalamud_boot/src/dotnet/hostfxr.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | pdelegate_type, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] = note: this error originates in the macro `call_dotnet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dalamud_boot` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dalamud_boot` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9a03bc7934ff6bacced8bf99ca720d8374f5af5d70775829b1f86c3a0dec12d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a03bc7934ff6bacced8bf99ca720d8374f5af5d70775829b1f86c3a0dec12d1", kill_on_drop: false }` [INFO] [stdout] 9a03bc7934ff6bacced8bf99ca720d8374f5af5d70775829b1f86c3a0dec12d1