[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#e0e204f3e97ad5f79524b9c259dc38df606ed82c for pr-149218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonCooperWorks%2Fwiretap" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JonCooperWorks/wiretap on toolchain e0e204f3e97ad5f79524b9c259dc38df606ed82c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "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" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "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 213 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" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-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-6-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 rusoto_signature v0.47.0 [INFO] [stderr] Downloaded rusoto_core v0.47.0 [INFO] [stderr] Downloaded rusoto_credential v0.47.0 [INFO] [stderr] Downloaded futures-batch v0.6.1 [INFO] [stderr] Downloaded rusoto_s3 v0.47.0 [INFO] [stderr] Downloaded csv-async v1.3.1 [INFO] [stderr] Downloaded object v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8935386a24d50310ad42f8174d4d8e39fa5b31580051c1dd228d586f8a34aed2 [INFO] running `Command { std: "docker" "start" "-a" "8935386a24d50310ad42f8174d4d8e39fa5b31580051c1dd228d586f8a34aed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8935386a24d50310ad42f8174d4d8e39fa5b31580051c1dd228d586f8a34aed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8935386a24d50310ad42f8174d4d8e39fa5b31580051c1dd228d586f8a34aed2", kill_on_drop: false }` [INFO] [stdout] 8935386a24d50310ad42f8174d4d8e39fa5b31580051c1dd228d586f8a34aed2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e861954667db7ce38fd7959c3695ff779e1525d42e9b43ac3ed1b7e66554f1c [INFO] running `Command { std: "docker" "start" "-a" "1e861954667db7ce38fd7959c3695ff779e1525d42e9b43ac3ed1b7e66554f1c", 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 proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Compiling object v0.38.0 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling rusoto_core v0.47.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [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 v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking aya-obj v0.2.2 (https://github.com/aya-rs/aya?branch=main#7a3c03e1) [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 serde v1.0.228 [INFO] [stderr] Checking aya v0.13.2 (https://github.com/aya-rs/aya?branch=main#7a3c03e1) [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking futures-batch v0.6.1 [INFO] [stderr] Checking tokio-util v0.7.17 [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 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] [stderr] Checking csv-async v1.3.1 [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 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[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] [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] [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] 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") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1e861954667db7ce38fd7959c3695ff779e1525d42e9b43ac3ed1b7e66554f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e861954667db7ce38fd7959c3695ff779e1525d42e9b43ac3ed1b7e66554f1c", kill_on_drop: false }` [INFO] [stdout] 1e861954667db7ce38fd7959c3695ff779e1525d42e9b43ac3ed1b7e66554f1c