[INFO] cloning repository https://github.com/stefanha-ai/libblkio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stefanha-ai/libblkio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanha-ai%2Flibblkio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanha-ai%2Flibblkio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aef5166af5497f567723ba3d90ab5728c55fcd55 [INFO] testing stefanha-ai/libblkio against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanha-ai%2Flibblkio" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stefanha-ai/libblkio [INFO] finished tweaking git repo https://github.com/stefanha-ai/libblkio [INFO] tweaked toml for git repo https://github.com/stefanha-ai/libblkio written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stefanha-ai/libblkio 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] crate git repo https://github.com/stefanha-ai/libblkio 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded pci-driver v0.1.4 [INFO] [stderr] Downloaded virtio-bindings v0.2.1 [INFO] [stderr] Downloaded io-uring v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3334952992d987f972a2a78ccf1e3fc645a174b6c03d09fe84e73ff952852480 [INFO] running `Command { std: "docker" "start" "-a" "3334952992d987f972a2a78ccf1e3fc645a174b6c03d09fe84e73ff952852480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3334952992d987f972a2a78ccf1e3fc645a174b6c03d09fe84e73ff952852480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3334952992d987f972a2a78ccf1e3fc645a174b6c03d09fe84e73ff952852480", kill_on_drop: false }` [INFO] [stdout] 3334952992d987f972a2a78ccf1e3fc645a174b6c03d09fe84e73ff952852480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dcc5eb9057037eae912eb796996b382a3909d80b15463a0f395398b268c5e16e [INFO] running `Command { std: "docker" "start" "-a" "dcc5eb9057037eae912eb796996b382a3909d80b15463a0f395398b268c5e16e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling io-uring v0.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling virtio-bindings v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling pci-driver v0.1.4 [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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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.153/src/unix/linux_like/linux/musl/mod.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::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" "dcc5eb9057037eae912eb796996b382a3909d80b15463a0f395398b268c5e16e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc5eb9057037eae912eb796996b382a3909d80b15463a0f395398b268c5e16e", kill_on_drop: false }` [INFO] [stdout] dcc5eb9057037eae912eb796996b382a3909d80b15463a0f395398b268c5e16e