[INFO] fetching crate ni-daqmx-sys 20.7.1... [INFO] checking ni-daqmx-sys-20.7.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ni-daqmx-sys 20.7.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ni-daqmx-sys 20.7.1 [INFO] finished tweaking crates.io crate ni-daqmx-sys 20.7.1 [INFO] tweaked toml for crates.io crate ni-daqmx-sys 20.7.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ni-daqmx-sys 20.7.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.60.1 (available: v0.72.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a9da9fe5ae70b86d8a3fc16d49c3ff8dccaddeb9ae993d4c8a0241894e3a989 [INFO] running `Command { std: "docker" "start" "-a" "5a9da9fe5ae70b86d8a3fc16d49c3ff8dccaddeb9ae993d4c8a0241894e3a989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a9da9fe5ae70b86d8a3fc16d49c3ff8dccaddeb9ae993d4c8a0241894e3a989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a9da9fe5ae70b86d8a3fc16d49c3ff8dccaddeb9ae993d4c8a0241894e3a989", kill_on_drop: false }` [INFO] [stdout] 5a9da9fe5ae70b86d8a3fc16d49c3ff8dccaddeb9ae993d4c8a0241894e3a989 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6e32cca24a2e498a7300456c8d2db65fb9e205137e6f2b3f4791a9a66b7b128 [INFO] running `Command { std: "docker" "start" "-a" "e6e32cca24a2e498a7300456c8d2db65fb9e205137e6f2b3f4791a9a66b7b128", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling ni-daqmx-sys v20.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `windows_ni_path` [INFO] [stdout] --> build.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! windows_ni_path { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | DAQmxGetSysNIDAQMajorVersion(&mut major as *mut u32 ); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^ expected `*mut u64`, found `*mut u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u64` [INFO] [stdout] found raw pointer `*mut u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bindings.rs:21569:12 [INFO] [stdout] | [INFO] [stdout] 21569 | pub fn DAQmxGetSysNIDAQMajorVersion(data: *mut uInt32) -> int32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | DAQmxGetSysNIDAQMinorVersion(&mut minor as *mut u32 ); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^ expected `*mut u64`, found `*mut u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u64` [INFO] [stdout] found raw pointer `*mut u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bindings.rs:21572:12 [INFO] [stdout] | [INFO] [stdout] 21572 | pub fn DAQmxGetSysNIDAQMinorVersion(data: *mut uInt32) -> int32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ni-daqmx-sys` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e6e32cca24a2e498a7300456c8d2db65fb9e205137e6f2b3f4791a9a66b7b128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e32cca24a2e498a7300456c8d2db65fb9e205137e6f2b3f4791a9a66b7b128", kill_on_drop: false }` [INFO] [stdout] e6e32cca24a2e498a7300456c8d2db65fb9e205137e6f2b3f4791a9a66b7b128