[INFO] fetching crate codesigned 0.0.2... [INFO] checking codesigned-0.0.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate codesigned 0.0.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate codesigned 0.0.2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97fa424112794be9e0656cd98fad9ef5745dcee425e8b87d8c183fd9a0fb9118 [INFO] running `Command { std: "docker" "start" "-a" "97fa424112794be9e0656cd98fad9ef5745dcee425e8b87d8c183fd9a0fb9118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97fa424112794be9e0656cd98fad9ef5745dcee425e8b87d8c183fd9a0fb9118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fa424112794be9e0656cd98fad9ef5745dcee425e8b87d8c183fd9a0fb9118", kill_on_drop: false }` [INFO] [stdout] 97fa424112794be9e0656cd98fad9ef5745dcee425e8b87d8c183fd9a0fb9118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5af2233d19b81b683b02653f8f07282bfee52a2bb507b92b5ad0bc6e0783204 [INFO] running `Command { std: "docker" "start" "-a" "d5af2233d19b81b683b02653f8f07282bfee52a2bb507b92b5ad0bc6e0783204", kill_on_drop: false }` [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: the item `ToString` is imported redundantly [INFO] [stdout] --> src/winapi/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/winapi/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [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] [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] [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; 2 warnings 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; 2 warnings 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 test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `codesigned` (lib) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d5af2233d19b81b683b02653f8f07282bfee52a2bb507b92b5ad0bc6e0783204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5af2233d19b81b683b02653f8f07282bfee52a2bb507b92b5ad0bc6e0783204", kill_on_drop: false }` [INFO] [stdout] d5af2233d19b81b683b02653f8f07282bfee52a2bb507b92b5ad0bc6e0783204