[INFO] fetching crate blkio 0.5.1... [INFO] testing blkio-0.5.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate blkio 0.5.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate blkio 0.5.1 [INFO] finished tweaking crates.io crate blkio 0.5.1 [INFO] tweaked toml for crates.io crate blkio 0.5.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate blkio 0.5.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] [stderr] Adding io-uring v0.6.4 (available: v0.7.8) [INFO] [stderr] Adding rustix v0.38.44 (available: v1.0.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pci-driver v0.1.4 [INFO] [stderr] Downloaded virtio-driver v0.6.1 [INFO] [stderr] Downloaded io-uring v0.6.4 [INFO] [stderr] Downloaded virtio-bindings v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ef0e357fae298515f4b9f794085d7b2802c165194317e985766faea511a22f4 [INFO] running `Command { std: "docker" "start" "-a" "7ef0e357fae298515f4b9f794085d7b2802c165194317e985766faea511a22f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ef0e357fae298515f4b9f794085d7b2802c165194317e985766faea511a22f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef0e357fae298515f4b9f794085d7b2802c165194317e985766faea511a22f4", kill_on_drop: false }` [INFO] [stdout] 7ef0e357fae298515f4b9f794085d7b2802c165194317e985766faea511a22f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 31214f45ba2b2c5f4caabd24e7385ca5ebf39ae2ac4f220b25e13060c870279b [INFO] running `Command { std: "docker" "start" "-a" "31214f45ba2b2c5f4caabd24e7385ca5ebf39ae2ac4f220b25e13060c870279b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling virtio-bindings v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pci-driver v0.1.4 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let ret = unsafe { ioctl(fd, CMD) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 69 | define_ioctl!(vfio_get_api_version, 0); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 21 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap()) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let ret = unsafe { ioctl(fd, CMD, $arg_name) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 70 | define_ioctl!(vfio_check_extension, 1, extension: usize); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 28 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let ret = unsafe { ioctl(fd, CMD, $arg_name) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 71 | define_ioctl!(vfio_set_iommu, 2, iommu_type: usize); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 28 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 73 | define_ioctl!(vfio_group_get_status, 3, status: *mut vfio_group_status); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 74 | define_ioctl!(vfio_group_set_container, 4, fd: *const i32); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 75 | define_ioctl!(vfio_group_get_device_fd, 6, address: *const c_char); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 77 | define_ioctl!(vfio_device_get_info, 7, info: *mut vfio_device_info); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 78 | define_ioctl!(vfio_device_get_region_info, 8, info: *mut vfio_region_info); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 79 | define_ioctl!(vfio_device_get_irq_info, 9, info: *mut vfio_irq_info); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 80 | define_ioctl!(vfio_device_set_irqs, 10, set: *const vfio_irq_set); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let ret = unsafe { ioctl(fd, CMD) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 81 | define_ioctl!(vfio_device_reset, 11); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 21 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap()) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 83 | define_ioctl!(vfio_iommu_get_info, 12, info: *mut vfio_iommu_type1_info); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 84 | / define_ioctl!( [INFO] [stdout] 85 | | vfio_iommu_map_dma, [INFO] [stdout] 86 | | 13, [INFO] [stdout] 87 | | info: *const vfio_iommu_type1_dma_map [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pci-driver-0.1.4/src/backends/vfio/ioctl.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD, $arg_name as *const _) }; [INFO] [stdout] | ----- ^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 89 | / define_ioctl!( [INFO] [stdout] 90 | | vfio_iommu_unmap_dma, [INFO] [stdout] 91 | | 14, [INFO] [stdout] 92 | | info: *mut vfio_iommu_type1_dma_unmap [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `define_ioctl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | let ret = unsafe { ioctl(fd, CMD.try_into().unwrap(), $arg_name as *const _) }; [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 `pci-driver` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "31214f45ba2b2c5f4caabd24e7385ca5ebf39ae2ac4f220b25e13060c870279b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31214f45ba2b2c5f4caabd24e7385ca5ebf39ae2ac4f220b25e13060c870279b", kill_on_drop: false }` [INFO] [stdout] 31214f45ba2b2c5f4caabd24e7385ca5ebf39ae2ac4f220b25e13060c870279b