[INFO] fetching crate netmap-rs 0.2.1... [INFO] checking netmap-rs-0.2.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate netmap-rs 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate netmap-rs 0.2.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate netmap-rs 0.2.1 [INFO] tweaked toml for crates.io crate netmap-rs 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate netmap-rs 0.2.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate netmap-rs 0.2.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] babec6d2e55cca237f39191438e6ea985e42b284e0c68c7c5fc8c6acade1224c [INFO] running `Command { std: "docker" "start" "-a" "babec6d2e55cca237f39191438e6ea985e42b284e0c68c7c5fc8c6acade1224c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "babec6d2e55cca237f39191438e6ea985e42b284e0c68c7c5fc8c6acade1224c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "babec6d2e55cca237f39191438e6ea985e42b284e0c68c7c5fc8c6acade1224c", kill_on_drop: false }` [INFO] [stdout] babec6d2e55cca237f39191438e6ea985e42b284e0c68c7c5fc8c6acade1224c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 304ba080f763934fe0fc22bdc8479f8eb319929919eb04947c19ed4b9e3a0910 [INFO] running `Command { std: "docker" "start" "-a" "304ba080f763934fe0fc22bdc8479f8eb319929919eb04947c19ed4b9e3a0910", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking netmap-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] error: could not compile `netmap-rs` (example "sliding_window_arq") due to 1 previous error [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: no rules expected `:` [INFO] [stdout] --> benches/throughput.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let payload = vec![0u8: *size]; [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `;` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/macros.rs:46:16 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> benches/throughput.rs:56:69 [INFO] [stdout] | [INFO] [stdout] 56 | config = Criterion::default().warm_up_time(Duration::from_secs(!)); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [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] [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] [stderr] error: could not compile `netmap-rs` (bench "throughput") due to 2 previous errors [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] 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)]` on by default [INFO] [stdout] [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "pipe_sender_process") due to 1 previous error; 1 warning emitted [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)]` 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 E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (example "host_receive") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> benches/latency.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | "single_packet_round_trip" | b | { [INFO] [stdout] | ^ help: a local variable with a similar name exists: `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> benches/latency.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | b.iter(|| { [INFO] [stdout] | ^ help: a local variable with a similar name exists: `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `netmap_rs::prelude::*` [INFO] [stdout] --> benches/latency.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use netmap_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> benches/latency.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | let nm = NetmapBuilder::new("netmap:eth0") [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> benches/latency.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | while rx_ring.recv().is_none() { [INFO] [stdout] | _________________^______________________________- [INFO] [stdout] | | | [INFO] [stdout] | |_________________`if` and `else` have incompatible types [INFO] [stdout] | || [INFO] [stdout] 23 | || // spin until the packet is received [INFO] [stdout] 24 | || } [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________________| [INFO] [stdout] | |_________________expected `()`, found `!` [INFO] [stdout] | expected because of this [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found type `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `str | ()` [INFO] [stdout] --> benches/latency.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | "single_packet_round_trip" | b | { [INFO] [stdout] | _________------------------------------_^_- [INFO] [stdout] | | | [INFO] [stdout] | | str [INFO] [stdout] 18 | | b.iter(|| { [INFO] [stdout] 19 | | tx_ring.send(black_box(&payload)).expect("Send failed"); [INFO] [stdout] 20 | | tx_ring.sync(); [INFO] [stdout] ... | [INFO] [stdout] 25 | | }); [INFO] [stdout] 26 | | }, [INFO] [stdout] | |_________- () [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/latency.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | c.bench_function( [INFO] [stdout] | _______^^^^^^^^^^^^^^- [INFO] [stdout] 17 | | "single_packet_round_trip" | b | { [INFO] [stdout] 18 | | b.iter(|| { [INFO] [stdout] 19 | | tx_ring.send(black_box(&payload)).expect("Send failed"); [INFO] [stdout] ... | [INFO] [stdout] 26 | | }, [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_____- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.4.0/src/lib.rs:1145:12 [INFO] [stdout] | [INFO] [stdout] 1145 | pub fn bench_function(&mut self, id: &str, f: F) -> &mut Criterion [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 16 ~ c.bench_function("single_packet_round_trip" | b | { [INFO] [stdout] 17 + b.iter(|| { [INFO] [stdout] 18 + tx_ring.send(black_box(&payload)).expect("Send failed"); [INFO] [stdout] 19 + tx_ring.sync(); [INFO] [stdout] 20 + [INFO] [stdout] 21 + while rx_ring.recv().is_none() { [INFO] [stdout] 22 + // spin until the packet is received [INFO] [stdout] 23 + } [INFO] [stdout] 24 + }); [INFO] [stdout] 25 ~ }, /* f */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetmapBuilder` [INFO] [stdout] --> benches/latency.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | let nm = NetmapBuilder::new("netmap:eth0") [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NetmapBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0369, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netmap-rs` (bench "latency") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "304ba080f763934fe0fc22bdc8479f8eb319929919eb04947c19ed4b9e3a0910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304ba080f763934fe0fc22bdc8479f8eb319929919eb04947c19ed4b9e3a0910", kill_on_drop: false }` [INFO] [stdout] 304ba080f763934fe0fc22bdc8479f8eb319929919eb04947c19ed4b9e3a0910