[INFO] fetching crate netmap-rs 0.3.0... [INFO] testing netmap-rs-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate netmap-rs 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate netmap-rs 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate netmap-rs 0.3.0 [INFO] tweaked toml for crates.io crate netmap-rs 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate netmap-rs 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate netmap-rs 0.3.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8bcff18d97c1c12b83ef6c93e2d76603d84e6015feb81536e5793ef70350c41 [INFO] running `Command { std: "docker" "start" "-a" "b8bcff18d97c1c12b83ef6c93e2d76603d84e6015feb81536e5793ef70350c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8bcff18d97c1c12b83ef6c93e2d76603d84e6015feb81536e5793ef70350c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8bcff18d97c1c12b83ef6c93e2d76603d84e6015feb81536e5793ef70350c41", kill_on_drop: false }` [INFO] [stdout] b8bcff18d97c1c12b83ef6c93e2d76603d84e6015feb81536e5793ef70350c41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5101bd29c1f9f5bec8481f51c2725d37cdb272d16b8e180120995756bbfeda80 [INFO] running `Command { std: "docker" "start" "-a" "5101bd29c1f9f5bec8481f51c2725d37cdb272d16b8e180120995756bbfeda80", kill_on_drop: false }` [INFO] [stderr] Compiling netmap-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.58s [INFO] running `Command { std: "docker" "inspect" "5101bd29c1f9f5bec8481f51c2725d37cdb272d16b8e180120995756bbfeda80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5101bd29c1f9f5bec8481f51c2725d37cdb272d16b8e180120995756bbfeda80", kill_on_drop: false }` [INFO] [stdout] 5101bd29c1f9f5bec8481f51c2725d37cdb272d16b8e180120995756bbfeda80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28aaf97f5802ac0d0e710b7f57ba4cb6b48a386bff1ff5b42b3d4182ea333397 [INFO] running `Command { std: "docker" "start" "-a" "28aaf97f5802ac0d0e710b7f57ba4cb6b48a386bff1ff5b42b3d4182ea333397", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling netmap-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ctrlc v3.5.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] error[E0432]: unresolved import `core_affinity` [INFO] [stdout] --> examples/thread_per_ring.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core_affinity::CoreId; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_affinity`, use `cargo add core_affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_affinity` [INFO] [stdout] --> examples/thread_per_ring.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let core_ids = core_affinity::get_core_ids().unwrap_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_affinity`, use `cargo add core_affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_affinity` [INFO] [stdout] --> examples/thread_per_ring.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | if core_affinity::set_for_current(core_id) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_affinity`, use `cargo add core_affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `core_affinity` [INFO] [stdout] --> examples/thread_per_ring.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if core_affinity::set_for_current(core_id) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `core_affinity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `core_affinity`, use `cargo add core_affinity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error` [INFO] [stdout] --> tests/tests.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::error::Error; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `core::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::frame` [INFO] [stdout] --> tests/tests.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::frame::Frame; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `netmap_rs::frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "thread_per_ring") due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `crate::error` [INFO] [stdout] --> tests/tests.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | use crate::error::Error; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `core::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `tokio_pipe_async` [INFO] [stdout] --> examples/tokio_pipe_async.rs:154:2 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/tokio_pipe_async.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "tokio_pipe_async") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `ping_pong` [INFO] [stdout] --> examples/ping_pong.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 41 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/ping_pong.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "ping_pong") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "fec") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `sliding_window_arq` [INFO] [stdout] --> examples/sliding_window_arq.rs:118:2 [INFO] [stdout] | [INFO] [stdout] 118 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/sliding_window_arq.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `netmap_rs::prelude::*` [INFO] [stdout] --> examples/host_receive.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use netmap_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `fec` [INFO] [stdout] --> examples/fec.rs:122:2 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/fec.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `netmap_rs::prelude::*` [INFO] [stdout] --> examples/pipe_sender_process.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use netmap_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/host_receive.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let nm_desc = NetmapBuilder::new(if_name) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/pipe_sender_process.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let pipe_ep = NetmapBuilder::new(PIPE_NAME) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/host_receive.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if frame.is_empty() { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (test "tests") due to 3 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `netmap-rs` (example "sliding_window_arq") due to 1 previous error [INFO] [stdout] warning: unused import: `netmap_rs::prelude::*` [INFO] [stdout] --> examples/pipe_receiver_process.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use netmap_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `SocketAddr` [INFO] [stdout] --> examples/host_transmit.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | use std::net::{IpAddr, Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `netmap_rs::prelude::*` [INFO] [stdout] --> examples/host_transmit.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use netmap_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/pipe_receiver_process.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let pipe_ep = NetmapBuilder::new(PIPE_NAME) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `netmap_rs::prelude::*` [INFO] [stdout] --> examples/poll_basic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use netmap_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pipe_receiver_process.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if frame.is_empty() { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/poll_basic.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let mut pipe_a = NetmapBuilder::new(PIPE_NAME_POLL) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Netmap` in this scope [INFO] [stdout] --> examples/pipe_threads.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | mut tx_pipe_ep: Netmap, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/poll_basic.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut pipe_b = NetmapBuilder::new(PIPE_NAME_POLL) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Netmap` in this scope [INFO] [stdout] --> examples/pipe_threads.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | mut rx_pipe_ep: Netmap, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `netmap_rs::prelude::*` [INFO] [stdout] --> examples/pipe_threads.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use netmap_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/host_transmit.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let nm_desc = NetmapBuilder::new(if_name) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "pipe_receiver_process") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pipe_threads.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if frame.is_empty() { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/pipe_threads.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | let pipe_ep1 = NetmapBuilder::new(PIPE_NAME) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/pipe_threads.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let pipe_ep2 = NetmapBuilder::new(PIPE_NAME) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "host_receive") due to 2 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "host_transmit") due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> examples/example.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/example.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> examples/example.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | NetmapBuilder::new("lo") // Use loopback interface for testing [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | println!(" - TX rings: {}", nm.num_tx_rings()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | match tx_ring.send(test_packet) { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | rx_ring.sync(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:59:69 [INFO] [stdout] | [INFO] [stdout] 59 | ... println!("✓ Received packet: {} bytes", frame.len()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | ... match batch.packet(i, packet_data.len()) { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/example.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | ... buf.copy_from_slice(packet_data.as_bytes()); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "pipe_sender_process") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/poll_basic.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | match poller.wait(&mut events, Some(Duration::from_millis(0))) { // Non-blocking check [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `&mut Events`, found `&mut Vec<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Events` [INFO] [stdout] found mutable reference `&mut Vec<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polling-3.11.0/src/lib.rs:731:12 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn wait(&self, events: &mut Events, timeout: Option) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> examples/poll_basic.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | ... Err(Error::InsufficientSpace) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 106 | Err(::InsufficientSpace) => { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/poll_basic.rs:150:36 [INFO] [stdout] | [INFO] [stdout] 150 | ... if frame.is_empty() { continue; } [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0433, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "pipe_threads") due to 5 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `netmap-rs` (example "poll_basic") due to 5 previous errors; 1 warning emitted [INFO] [stdout] error[E0277]: the trait bound `netmap_rs::Frame<'_>: Clone` is not satisfied [INFO] [stdout] --> examples/example.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | let mut recv_batch = vec![Frame::new_owned(vec![0u8; 1500]); 10]; [INFO] [stdout] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | the trait `Clone` is not implemented for `netmap_rs::Frame<'_>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `from_elem` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/mod.rs:3456:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "example") due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "28aaf97f5802ac0d0e710b7f57ba4cb6b48a386bff1ff5b42b3d4182ea333397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28aaf97f5802ac0d0e710b7f57ba4cb6b48a386bff1ff5b42b3d4182ea333397", kill_on_drop: false }` [INFO] [stdout] 28aaf97f5802ac0d0e710b7f57ba4cb6b48a386bff1ff5b42b3d4182ea333397