[INFO] fetching crate injectors 0.1.6... [INFO] checking injectors-0.1.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate injectors 0.1.6 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate injectors 0.1.6 [INFO] finished tweaking crates.io crate injectors 0.1.6 [INFO] tweaked toml for crates.io crate injectors 0.1.6 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate injectors 0.1.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.60.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa1e1e7a8fc44b3ae0ed82825dff4155d7d4313024c180ed3796560731cb47d1 [INFO] running `Command { std: "docker" "start" "-a" "fa1e1e7a8fc44b3ae0ed82825dff4155d7d4313024c180ed3796560731cb47d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa1e1e7a8fc44b3ae0ed82825dff4155d7d4313024c180ed3796560731cb47d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa1e1e7a8fc44b3ae0ed82825dff4155d7d4313024c180ed3796560731cb47d1", kill_on_drop: false }` [INFO] [stdout] fa1e1e7a8fc44b3ae0ed82825dff4155d7d4313024c180ed3796560731cb47d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49aee2190aa86a439dc508497d523860b779c15e3cdd2fc36d1c898e1368de9a [INFO] running `Command { std: "docker" "start" "-a" "49aee2190aa86a439dc508497d523860b779c15e3cdd2fc36d1c898e1368de9a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking widestring v1.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking windows-sys v0.48.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking injectors v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/library.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | let h_inst = unsafe { LoadLibraryW(module_name_cstr.as_ptr()) }; [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u16`, found `*const u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-sys-0.48.0/src/Windows/Win32/System/LibraryLoader/mod.rs:73:144 [INFO] [stdout] | [INFO] [stdout] 73 | ..."Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] fn LoadLibraryW ( lplibfilename : ::windows_sys::core::PCWSTR ) -> super::su... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/library.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(WideCStr::from_slice_truncate(&full_path_buf) [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^ expected `&[u32]`, found `&[u16; 4096]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u32]` [INFO] [stdout] found reference `&[u16; 4096]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-1.2.0/src/ucstr.rs:1110:1 [INFO] [stdout] | [INFO] [stdout] 1110 | / ucstr_common_impl! { [INFO] [stdout] 1111 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1112 | | /// [INFO] [stdout] 1113 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1278 | | fn display() -> {} [INFO] [stdout] 1279 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/library.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | let h_inst = unsafe { LoadLibraryW(module_name_cstr.as_ptr()) }; [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u16`, found `*const u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u16` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-sys-0.48.0/src/Windows/Win32/System/LibraryLoader/mod.rs:73:144 [INFO] [stdout] | [INFO] [stdout] 73 | ..."Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] fn LoadLibraryW ( lplibfilename : ::windows_sys::core::PCWSTR ) -> super::su... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { WideCStr::from_ptr(uni_string.Buffer, uni_string.Length as usize / 2) } [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^ expected `*const u32`, found `*mut u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u32` [INFO] [stdout] found raw pointer `*mut u16` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-1.2.0/src/ucstr.rs:1110:1 [INFO] [stdout] | [INFO] [stdout] 1110 | / ucstr_common_impl! { [INFO] [stdout] 1111 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1112 | | /// [INFO] [stdout] 1113 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1278 | | fn display() -> {} [INFO] [stdout] 1279 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/library.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(WideCStr::from_slice_truncate(&full_path_buf) [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^ expected `&[u32]`, found `&[u16; 4096]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u32]` [INFO] [stdout] found reference `&[u16; 4096]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-1.2.0/src/ucstr.rs:1110:1 [INFO] [stdout] | [INFO] [stdout] 1110 | / ucstr_common_impl! { [INFO] [stdout] 1111 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1112 | | /// [INFO] [stdout] 1113 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1278 | | fn display() -> {} [INFO] [stdout] 1279 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { WideCStr::from_ptr(uni_string.Buffer, uni_string.Length as usize / 2) } [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^ expected `*const u32`, found `*mut u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u32` [INFO] [stdout] found raw pointer `*mut u16` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-1.2.0/src/ucstr.rs:1110:1 [INFO] [stdout] | [INFO] [stdout] 1110 | / ucstr_common_impl! { [INFO] [stdout] 1111 | | /// C-style 32-bit wide string slice for [`U32CString`][crate::U32CString]. [INFO] [stdout] 1112 | | /// [INFO] [stdout] 1113 | | /// [`U32CStr`] is to [`U32CString`][crate::U32CString] as [`CStr`][std::ffi::CStr] is to [INFO] [stdout] ... | [INFO] [stdout] 1278 | | fn display() -> {} [INFO] [stdout] 1279 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstr_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `injectors` (lib test) due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `injectors` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "49aee2190aa86a439dc508497d523860b779c15e3cdd2fc36d1c898e1368de9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49aee2190aa86a439dc508497d523860b779c15e3cdd2fc36d1c898e1368de9a", kill_on_drop: false }` [INFO] [stdout] 49aee2190aa86a439dc508497d523860b779c15e3cdd2fc36d1c898e1368de9a