[INFO] fetching crate pci-driver 0.1.4... [INFO] testing pci-driver-0.1.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pci-driver 0.1.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pci-driver 0.1.4 [INFO] finished tweaking crates.io crate pci-driver 0.1.4 [INFO] tweaked toml for crates.io crate pci-driver 0.1.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pci-driver 0.1.4 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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding byte-strings v0.2.2 (available: v0.3.1) [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 byte-strings-proc_macros v0.2.2 [INFO] [stderr] Downloaded byte-strings v0.2.2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a8e9564243c6c19f1c8b5352a57d024ace016eda6529d983d962b5d3312c0a1 [INFO] running `Command { std: "docker" "start" "-a" "4a8e9564243c6c19f1c8b5352a57d024ace016eda6529d983d962b5d3312c0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a8e9564243c6c19f1c8b5352a57d024ace016eda6529d983d962b5d3312c0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a8e9564243c6c19f1c8b5352a57d024ace016eda6529d983d962b5d3312c0a1", kill_on_drop: false }` [INFO] [stdout] 4a8e9564243c6c19f1c8b5352a57d024ace016eda6529d983d962b5d3312c0a1 [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: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] c6bd7d8d5bcb122c017599c9a66bb48f28e9e92a66e8e9dc8923d9d87a15b895 [INFO] running `Command { std: "docker" "start" "-a" "c6bd7d8d5bcb122c017599c9a66bb48f28e9e92a66e8e9dc8923d9d87a15b895", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling pci-driver v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] running `Command { std: "docker" "inspect" "c6bd7d8d5bcb122c017599c9a66bb48f28e9e92a66e8e9dc8923d9d87a15b895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6bd7d8d5bcb122c017599c9a66bb48f28e9e92a66e8e9dc8923d9d87a15b895", kill_on_drop: false }` [INFO] [stdout] c6bd7d8d5bcb122c017599c9a66bb48f28e9e92a66e8e9dc8923d9d87a15b895