[INFO] fetching crate codesigned 0.0.2... [INFO] checking codesigned-0.0.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate codesigned 0.0.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate codesigned 0.0.2 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 crates.io crate codesigned 0.0.2 [INFO] finished tweaking crates.io crate codesigned 0.0.2 [INFO] tweaked toml for crates.io crate codesigned 0.0.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate codesigned 0.0.2 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v1.0.0-beta.1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 621e35700e405b8f8012f9f22e0206835c13f730337fc25f1bc0dd14c7450ddc [INFO] running `Command { std: "docker" "start" "-a" "621e35700e405b8f8012f9f22e0206835c13f730337fc25f1bc0dd14c7450ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "621e35700e405b8f8012f9f22e0206835c13f730337fc25f1bc0dd14c7450ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621e35700e405b8f8012f9f22e0206835c13f730337fc25f1bc0dd14c7450ddc", kill_on_drop: false }` [INFO] [stdout] 621e35700e405b8f8012f9f22e0206835c13f730337fc25f1bc0dd14c7450ddc [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40becd57680d1b10babd05ac44ebe2b345600f1d688eca4f2319a5d3aa8475a0 [INFO] running `Command { std: "docker" "start" "-a" "40becd57680d1b10babd05ac44ebe2b345600f1d688eca4f2319a5d3aa8475a0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking widestring v1.0.0-beta.1 [INFO] [stderr] Checking codesigned v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::oids::*` [INFO] [stdout] --> src/winapi/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::oids::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::oids::*` [INFO] [stdout] --> src/winapi/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::oids::*; [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/winapi/mod.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | wtfi.file_path = path.as_ptr(); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^ expected `*const u16`, found `*const u32` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [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/winapi/mod.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | wtfi.file_path = path.as_ptr(); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^ expected `*const u16`, found `*const u32` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [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/winapi/mod.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | CreateFileW(path.as_ptr(), GENERIC_READ, FILE_SHARE_READ, null(), OPEN_EXISTING, 0, null()) [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] --> src/winapi/mod.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/winapi/mod.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | CreateFileW(path.as_ptr(), GENERIC_READ, FILE_SHARE_READ, null(), OPEN_EXISTING, 0, null()) [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] --> src/winapi/mod.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:187:75 [INFO] [stdout] | [INFO] [stdout] 187 | let cat_path = unsafe { WideCString::from_ptr_str(&cat_info.catalog_file as *const u16) }; [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u32`, found `*const 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 `*const u16` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/widestring-1.0.0-beta.1/src/ucstring.rs:806:1 [INFO] [stdout] | [INFO] [stdout] 806 | / ucstring_common_impl! { [INFO] [stdout] 807 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 808 | | /// [INFO] [stdout] 809 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 966 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 967 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstring_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/lib.rs:187:75 [INFO] [stdout] | [INFO] [stdout] 187 | let cat_path = unsafe { WideCString::from_ptr_str(&cat_info.catalog_file as *const u16) }; [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u32`, found `*const 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 `*const u16` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/widestring-1.0.0-beta.1/src/ucstring.rs:806:1 [INFO] [stdout] | [INFO] [stdout] 806 | / ucstring_common_impl! { [INFO] [stdout] 807 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 808 | | /// [INFO] [stdout] 809 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 966 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 967 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codesigned` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `codesigned` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "40becd57680d1b10babd05ac44ebe2b345600f1d688eca4f2319a5d3aa8475a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40becd57680d1b10babd05ac44ebe2b345600f1d688eca4f2319a5d3aa8475a0", kill_on_drop: false }` [INFO] [stdout] 40becd57680d1b10babd05ac44ebe2b345600f1d688eca4f2319a5d3aa8475a0