[INFO] cloning repository https://github.com/JonCooperWorks/wiretap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonCooperWorks/wiretap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonCooperWorks%2Fwiretap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonCooperWorks%2Fwiretap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bf2f8aadc6f578ec6c1f595b5f8b7844e8189c3 [INFO] checking JonCooperWorks/wiretap/9bf2f8aadc6f578ec6c1f595b5f8b7844e8189c3 against master#4068bafedd8ba724e332a5221c06a6fa531a30d2 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonCooperWorks%2Fwiretap" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/JonCooperWorks/wiretap [INFO] finished tweaking git repo https://github.com/JonCooperWorks/wiretap [INFO] tweaked toml for git repo https://github.com/JonCooperWorks/wiretap written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JonCooperWorks/wiretap on toolchain 4068bafedd8ba724e332a5221c06a6fa531a30d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/alessandrod/aya` [INFO] [stderr] Updating git repository `https://github.com/aya-rs/aya` [INFO] [stderr] Updating git submodule `https://github.com/libbpf/libbpf` [INFO] [stderr] Locking 216 packages to latest compatible versions [INFO] [stderr] Adding futures-batch v0.6.1 (available: v0.7.0) [INFO] [stderr] Adding rusoto_core v0.47.0 (available: v0.48.0) [INFO] [stderr] Adding rusoto_s3 v0.47.0 (available: v0.48.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/wiretap/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/wiretap/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_s3` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv-core v0.1.13 [INFO] [stderr] Downloaded futures-batch v0.6.1 [INFO] [stderr] Downloaded rusoto_core v0.47.0 [INFO] [stderr] Downloaded rusoto_signature v0.47.0 [INFO] [stderr] Downloaded rusoto_credential v0.47.0 [INFO] [stderr] Downloaded csv-async v1.3.1 [INFO] [stderr] Downloaded rusoto_s3 v0.47.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce7a3d09759c0c401ad65ef4b4cd26d55818a94cc1f3020efb55cf44db5beb8e [INFO] running `Command { std: "docker" "start" "-a" "ce7a3d09759c0c401ad65ef4b4cd26d55818a94cc1f3020efb55cf44db5beb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce7a3d09759c0c401ad65ef4b4cd26d55818a94cc1f3020efb55cf44db5beb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7a3d09759c0c401ad65ef4b4cd26d55818a94cc1f3020efb55cf44db5beb8e", kill_on_drop: false }` [INFO] [stdout] ce7a3d09759c0c401ad65ef4b4cd26d55818a94cc1f3020efb55cf44db5beb8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85b40df23fcdbb055e184ad3e0ea3e0f6d2650550964bb886e9cfe802d7d2491 [INFO] running `Command { std: "docker" "start" "-a" "85b40df23fcdbb055e184ad3e0ea3e0f6d2650550964bb886e9cfe802d7d2491", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/wiretap/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/wiretap/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_s3` dependency) [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking unicode-ident v1.0.20 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Compiling rusoto_core v0.47.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking xml-rs v0.8.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking aya-obj v0.2.1 (https://github.com/aya-rs/aya?branch=main#0144c0eb) [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking aya v0.13.1 (https://github.com/aya-rs/aya?branch=main#0144c0eb) [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking futures-batch v0.6.1 [INFO] [stderr] Checking aya-gen v0.1.0 (https://github.com/alessandrod/aya?branch=main#e725f25d) [INFO] [stderr] Checking xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Checking wiretap-common v0.1.0 (/opt/rustwide/workdir/wiretap-common) [INFO] [stdout] warning: unexpected `cfg` condition value: `user` [INFO] [stdout] --> wiretap-common/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "user")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aya`, `default`, and `userspace` [INFO] [stdout] = help: consider adding `user` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `user` [INFO] [stdout] --> wiretap-common/src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "user")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aya`, `default`, and `userspace` [INFO] [stdout] = help: consider adding `user` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking aya v0.10.7 (https://github.com/alessandrod/aya?branch=main#e725f25d) [INFO] [stderr] Checking csv-async v1.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rusoto_credential v0.47.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking rusoto_signature v0.47.0 [INFO] [stderr] Checking rusoto_s3 v0.47.0 [INFO] [stderr] Checking wiretap v0.1.0 (/opt/rustwide/workdir/wiretap) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> wiretap/src/main.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | .chunks_timeout(config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] | ^^^^^^^^^^^^^^ multiple `chunks_timeout` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `StreamExt` for the type `St` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `ChunksTimeoutStreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 152 - let mut packet_events = ReceiverStream::new(packet_rx) [INFO] [stdout] 153 - .chunks_timeout(config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] 152 + let mut packet_events = StreamExt::chunks_timeout(ReceiverStream::new(packet_rx), config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 152 - let mut packet_events = ReceiverStream::new(packet_rx) [INFO] [stdout] 153 - .chunks_timeout(config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] 152 + let mut packet_events = ChunksTimeoutStreamExt::chunks_timeout(ReceiverStream::new(packet_rx), config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> wiretap/src/main.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | .chunks_timeout(config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] | ^^^^^^^^^^^^^^ multiple `chunks_timeout` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `StreamExt` for the type `St` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `ChunksTimeoutStreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 152 - let mut packet_events = ReceiverStream::new(packet_rx) [INFO] [stdout] 153 - .chunks_timeout(config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] 152 + let mut packet_events = StreamExt::chunks_timeout(ReceiverStream::new(packet_rx), config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 152 - let mut packet_events = ReceiverStream::new(packet_rx) [INFO] [stdout] 153 - .chunks_timeout(config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] 152 + let mut packet_events = ChunksTimeoutStreamExt::chunks_timeout(ReceiverStream::new(packet_rx), config.max_packets_per_log, config.packet_log_interval); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async block that returns `Result` [INFO] [stdout] --> wiretap/src/main.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 58 | #[tokio::main] [INFO] [stdout] | -------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 72 | let probe: &mut Xdp = bpf.program_mut("wiretap")?.try_into()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async block that returns `Result` [INFO] [stdout] --> wiretap/src/main.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 58 | #[tokio::main] [INFO] [stdout] | -------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 72 | let probe: &mut Xdp = bpf.program_mut("wiretap")?.try_into()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wiretap` (bin "wiretap" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0034, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wiretap` (bin "wiretap") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "85b40df23fcdbb055e184ad3e0ea3e0f6d2650550964bb886e9cfe802d7d2491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b40df23fcdbb055e184ad3e0ea3e0f6d2650550964bb886e9cfe802d7d2491", kill_on_drop: false }` [INFO] [stdout] 85b40df23fcdbb055e184ad3e0ea3e0f6d2650550964bb886e9cfe802d7d2491