[INFO] cloning repository https://github.com/rikonaka/pcapture-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rikonaka/pcapture-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frikonaka%2Fpcapture-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frikonaka%2Fpcapture-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41fdc80605e163be70a46b997e357d1733317fe6 [INFO] testing rikonaka/pcapture-rs against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frikonaka%2Fpcapture-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rikonaka/pcapture-rs [INFO] finished tweaking git repo https://github.com/rikonaka/pcapture-rs [INFO] tweaked toml for git repo https://github.com/rikonaka/pcapture-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rikonaka/pcapture-rs on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rikonaka/pcapture-rs 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a93fe52019690bec4eba7b696c894498c0a3a47bb4fb485700a7627468d1ed9c [INFO] running `Command { std: "docker" "start" "-a" "a93fe52019690bec4eba7b696c894498c0a3a47bb4fb485700a7627468d1ed9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a93fe52019690bec4eba7b696c894498c0a3a47bb4fb485700a7627468d1ed9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a93fe52019690bec4eba7b696c894498c0a3a47bb4fb485700a7627468d1ed9c", kill_on_drop: false }` [INFO] [stdout] a93fe52019690bec4eba7b696c894498c0a3a47bb4fb485700a7627468d1ed9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 210c45b81fb4ecbfed19d946f83f336ca35115b5aca28b241f8bcb6a0e07c7a2 [INFO] running `Command { std: "docker" "start" "-a" "210c45b81fb4ecbfed19d946f83f336ca35115b5aca28b241f8bcb6a0e07c7a2", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pnet_sys v0.35.0 [INFO] [stderr] Compiling pnet v0.35.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pnet_macros v0.35.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling subnetwork v0.6.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling pnet_base v0.35.0 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling pnet_macros_support v0.35.0 [INFO] [stderr] Compiling pnet_datalink v0.35.0 [INFO] [stderr] Compiling pnet_packet v0.35.0 [INFO] [stderr] Compiling pcapture v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pnet_transport v0.35.0 [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/libpcap.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::sync::mpsc::Receiver; [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] --> src/libpcap.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn list() -> Result, PcaptureError> { [INFO] [stdout] | ---------------------------------- expected `std::result::Result, PcaptureError>` because of return type [INFO] [stdout] 119 | Libpcap::devices() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Result, PcaptureError>`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result, PcaptureError>` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 119 | Ok(Libpcap::devices()) [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:536:23 [INFO] [stdout] | [INFO] [stdout] 536 | let devices = Libpcap::devices()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Vec` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pnet::datalink::DataLinkReceiver` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use pnet::datalink::DataLinkReceiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pcapture` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "210c45b81fb4ecbfed19d946f83f336ca35115b5aca28b241f8bcb6a0e07c7a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210c45b81fb4ecbfed19d946f83f336ca35115b5aca28b241f8bcb6a0e07c7a2", kill_on_drop: false }` [INFO] [stdout] 210c45b81fb4ecbfed19d946f83f336ca35115b5aca28b241f8bcb6a0e07c7a2