Support indirect descriptors in all drivers. #505
Annotations
20 errors and 6 warnings
build:
src/device/input.rs#L38
failed to resolve: use of undeclared type `Features`
|
build:
src/device/input.rs#L44
failed to resolve: use of undeclared type `Features`
|
build:
src/device/input.rs#L212
failed to resolve: use of undeclared type `Features`
|
build:
src/device/socket/vsock.rs#L24
failed to resolve: use of undeclared type `Features`
|
build:
src/device/socket/vsock.rs#L272
failed to resolve: use of undeclared type `Features`
|
build:
src/device/socket/vsock.rs#L278
failed to resolve: use of undeclared type `Features`
|
build:
src/device/socket/vsock.rs#L284
failed to resolve: use of undeclared type `Features`
|
build
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
failed to resolve: use of undeclared type `Features`:
src/device/socket/vsock.rs#L284
error[E0433]: failed to resolve: use of undeclared type `Features`
--> src/device/socket/vsock.rs:284:42
|
284 | negotiated_features.contains(Features::RING_INDIRECT_DESC),
| ^^^^^^^^
| |
| use of undeclared type `Features`
| help: a struct with a similar name exists: `Feature`
|
note: these structs exist but are inaccessible
--> src/device/console.rs:229:1
|
229 | / bitflags! {
230 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
231 | | struct Features: u64 {
232 | | const SIZE = 1 << 0;
... |
251 | | }
252 | | }
| |_^ `crate::device::console::Features`: not accessible
|
::: src/device/net/mod.rs:21:1
|
21 | / bitflags! {
22 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
23 | | struct Features: u64 {
24 | | /// Device handles packets with partial checksum.
... |
80 | | }
81 | | }
| |_^ `crate::device::net::Features`: not accessible
|
::: src/device/gpu.rs:314:1
|
314 | / bitflags! {
315 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
316 | | struct Features: u64 {
317 | | /// virgl 3D mode is supported.
... |
337 | | }
338 | | }
| |_^ `crate::device::gpu::Features`: not accessible
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
failed to resolve: use of undeclared type `Features`:
src/device/socket/vsock.rs#L278
error[E0433]: failed to resolve: use of undeclared type `Features`
--> src/device/socket/vsock.rs:278:42
|
278 | negotiated_features.contains(Features::RING_INDIRECT_DESC),
| ^^^^^^^^
| |
| use of undeclared type `Features`
| help: a struct with a similar name exists: `Feature`
|
note: these structs exist but are inaccessible
--> src/device/console.rs:229:1
|
229 | / bitflags! {
230 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
231 | | struct Features: u64 {
232 | | const SIZE = 1 << 0;
... |
251 | | }
252 | | }
| |_^ `crate::device::console::Features`: not accessible
|
::: src/device/net/mod.rs:21:1
|
21 | / bitflags! {
22 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
23 | | struct Features: u64 {
24 | | /// Device handles packets with partial checksum.
... |
80 | | }
81 | | }
| |_^ `crate::device::net::Features`: not accessible
|
::: src/device/gpu.rs:314:1
|
314 | / bitflags! {
315 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
316 | | struct Features: u64 {
317 | | /// virgl 3D mode is supported.
... |
337 | | }
338 | | }
| |_^ `crate::device::gpu::Features`: not accessible
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
failed to resolve: use of undeclared type `Features`:
src/device/socket/vsock.rs#L272
error[E0433]: failed to resolve: use of undeclared type `Features`
--> src/device/socket/vsock.rs:272:42
|
272 | negotiated_features.contains(Features::RING_INDIRECT_DESC),
| ^^^^^^^^
| |
| use of undeclared type `Features`
| help: a struct with a similar name exists: `Feature`
|
note: these structs exist but are inaccessible
--> src/device/console.rs:229:1
|
229 | / bitflags! {
230 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
231 | | struct Features: u64 {
232 | | const SIZE = 1 << 0;
... |
251 | | }
252 | | }
| |_^ `crate::device::console::Features`: not accessible
|
::: src/device/net/mod.rs:21:1
|
21 | / bitflags! {
22 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
23 | | struct Features: u64 {
24 | | /// Device handles packets with partial checksum.
... |
80 | | }
81 | | }
| |_^ `crate::device::net::Features`: not accessible
|
::: src/device/gpu.rs:314:1
|
314 | / bitflags! {
315 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
316 | | struct Features: u64 {
317 | | /// virgl 3D mode is supported.
... |
337 | | }
338 | | }
| |_^ `crate::device::gpu::Features`: not accessible
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
failed to resolve: use of undeclared type `Features`:
src/device/socket/vsock.rs#L24
error[E0433]: failed to resolve: use of undeclared type `Features`
--> src/device/socket/vsock.rs:24:67
|
24 | const SUPPORTED_FEATURES: Feature = Feature::RING_EVENT_IDX.union(Features::RING_INDIRECT_DESC);
| ^^^^^^^^
| |
| use of undeclared type `Features`
| help: a struct with a similar name exists: `Feature`
|
note: these structs exist but are inaccessible
--> src/device/console.rs:229:1
|
229 | / bitflags! {
230 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
231 | | struct Features: u64 {
232 | | const SIZE = 1 << 0;
... |
251 | | }
252 | | }
| |_^ `crate::device::console::Features`: not accessible
|
::: src/device/net/mod.rs:21:1
|
21 | / bitflags! {
22 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
23 | | struct Features: u64 {
24 | | /// Device handles packets with partial checksum.
... |
80 | | }
81 | | }
| |_^ `crate::device::net::Features`: not accessible
|
::: src/device/gpu.rs:314:1
|
314 | / bitflags! {
315 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
316 | | struct Features: u64 {
317 | | /// virgl 3D mode is supported.
... |
337 | | }
338 | | }
| |_^ `crate::device::gpu::Features`: not accessible
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
failed to resolve: use of undeclared type `Features`:
src/device/input.rs#L212
error[E0433]: failed to resolve: use of undeclared type `Features`
--> src/device/input.rs:212:67
|
212 | const SUPPORTED_FEATURES: Feature = Feature::RING_EVENT_IDX.union(Features::RING_INDIRECT_DESC);
| ^^^^^^^^
| |
| use of undeclared type `Features`
| help: a struct with a similar name exists: `Feature`
|
note: these structs exist but are inaccessible
--> src/device/console.rs:229:1
|
229 | / bitflags! {
230 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
231 | | struct Features: u64 {
232 | | const SIZE = 1 << 0;
... |
251 | | }
252 | | }
| |_^ `crate::device::console::Features`: not accessible
|
::: src/device/net/mod.rs:21:1
|
21 | / bitflags! {
22 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
23 | | struct Features: u64 {
24 | | /// Device handles packets with partial checksum.
... |
80 | | }
81 | | }
| |_^ `crate::device::net::Features`: not accessible
|
::: src/device/gpu.rs:314:1
|
314 | / bitflags! {
315 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
316 | | struct Features: u64 {
317 | | /// virgl 3D mode is supported.
... |
337 | | }
338 | | }
| |_^ `crate::device::gpu::Features`: not accessible
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
failed to resolve: use of undeclared type `Features`:
src/device/input.rs#L44
error[E0433]: failed to resolve: use of undeclared type `Features`
--> src/device/input.rs:44:42
|
44 | negotiated_features.contains(Features::RING_INDIRECT_DESC),
| ^^^^^^^^
| |
| use of undeclared type `Features`
| help: a struct with a similar name exists: `Feature`
|
note: these structs exist but are inaccessible
--> src/device/console.rs:229:1
|
229 | / bitflags! {
230 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
231 | | struct Features: u64 {
232 | | const SIZE = 1 << 0;
... |
251 | | }
252 | | }
| |_^ `crate::device::console::Features`: not accessible
|
::: src/device/net/mod.rs:21:1
|
21 | / bitflags! {
22 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
23 | | struct Features: u64 {
24 | | /// Device handles packets with partial checksum.
... |
80 | | }
81 | | }
| |_^ `crate::device::net::Features`: not accessible
|
::: src/device/gpu.rs:314:1
|
314 | / bitflags! {
315 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
316 | | struct Features: u64 {
317 | | /// virgl 3D mode is supported.
... |
337 | | }
338 | | }
| |_^ `crate::device::gpu::Features`: not accessible
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
failed to resolve: use of undeclared type `Features`:
src/device/input.rs#L38
error[E0433]: failed to resolve: use of undeclared type `Features`
--> src/device/input.rs:38:42
|
38 | negotiated_features.contains(Features::RING_INDIRECT_DESC),
| ^^^^^^^^
| |
| use of undeclared type `Features`
| help: a struct with a similar name exists: `Feature`
|
note: these structs exist but are inaccessible
--> src/device/console.rs:229:1
|
229 | / bitflags! {
230 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
231 | | struct Features: u64 {
232 | | const SIZE = 1 << 0;
... |
251 | | }
252 | | }
| |_^ `crate::device::console::Features`: not accessible
|
::: src/device/net/mod.rs:21:1
|
21 | / bitflags! {
22 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
23 | | struct Features: u64 {
24 | | /// Device handles packets with partial checksum.
... |
80 | | }
81 | | }
| |_^ `crate::device::net::Features`: not accessible
|
::: src/device/gpu.rs:314:1
|
314 | / bitflags! {
315 | | #[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
316 | | struct Features: u64 {
317 | | /// virgl 3D mode is supported.
... |
337 | | }
338 | | }
| |_^ `crate::device::gpu::Features`: not accessible
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
check
could not compile `virtio-drivers` (lib) due to 8 previous errors
|
check
Clippy had exited with the 101 exit code
|
examples (x86_64)
Process completed with exit code 2.
|
examples (aarch64)
Process completed with exit code 2.
|
examples (riscv)
Process completed with exit code 2.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build:
src/queue.rs#L76
unused variable: `indirect`
|
build
`virtio-drivers` (lib) generated 1 warning
|
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|