[INFO] cloning repository https://github.com/simmsb/funny-traceroute [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simmsb/funny-traceroute" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimmsb%2Ffunny-traceroute", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimmsb%2Ffunny-traceroute'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdb8ba9f5a9a05893c00987d03c4f833fbd1ae5b [INFO] checking simmsb/funny-traceroute against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimmsb%2Ffunny-traceroute" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simmsb/funny-traceroute on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/simmsb/funny-traceroute [INFO] finished tweaking git repo https://github.com/simmsb/funny-traceroute [INFO] tweaked toml for git repo https://github.com/simmsb/funny-traceroute written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/aya-rs/aya` [INFO] [stderr] Updating git submodule `https://github.com/libbpf/libbpf` [INFO] [stderr] Updating git repository `https://github.com/simmsb/jnet.git` [INFO] [stderr] Updating git repository `https://github.com/japaric/owning-slice` [INFO] [stderr] Locking 124 packages [INFO] [stderr] Adding as-slice v0.1.5 (latest: v0.2.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cast v0.2.7 (latest: v0.3.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.13.3 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hash32 v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding serde_yaml v0.8.26 (latest: v0.9.34+deprecated) [INFO] [stderr] Adding simplelog v0.10.2 (latest: v0.12.2) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding termcolor v1.1.3 (latest: v1.4.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-error v0.0.0 [INFO] [stderr] Downloaded simplelog v0.10.2 [INFO] [stderr] Downloaded object v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8427c9fdc84912fb9a3227cca35c9f20e22a24c8b1bd19346071264c2566a698 [INFO] running `Command { std: "docker" "start" "-a" "8427c9fdc84912fb9a3227cca35c9f20e22a24c8b1bd19346071264c2566a698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8427c9fdc84912fb9a3227cca35c9f20e22a24c8b1bd19346071264c2566a698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8427c9fdc84912fb9a3227cca35c9f20e22a24c8b1bd19346071264c2566a698", kill_on_drop: false }` [INFO] [stdout] 8427c9fdc84912fb9a3227cca35c9f20e22a24c8b1bd19346071264c2566a698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b1f801c8e2a4d28ccc471a2e9a44eafd51fca96b9dc9ee456e2515229d14aa6 [INFO] running `Command { std: "docker" "start" "-a" "8b1f801c8e2a4d28ccc471a2e9a44eafd51fca96b9dc9ee456e2515229d14aa6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling core-error v0.0.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking object v0.34.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking owning-slice v0.1.0 (https://github.com/japaric/owning-slice#f8c70ead) [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking simplelog v0.10.2 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking aya-obj v0.1.0 (https://github.com/aya-rs/aya?branch=main#b23973dd) [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling hash32-derive v0.1.1 [INFO] [stderr] Checking jnet v0.1.0 (https://github.com/simmsb/jnet.git?rev=2b5c94b0588bcdaf70eb058b6bd8641433250c8a#2b5c94b0) [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking aya v0.12.0 (https://github.com/aya-rs/aya?branch=main#b23973dd) [INFO] [stderr] Checking funny-traceroute-aya-common v0.1.0 (/opt/rustwide/workdir/funny-traceroute-aya-common) [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking funny-traceroute-aya v0.1.0 (/opt/rustwide/workdir/funny-traceroute-aya) [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `aya::Bpf`: use `Ebpf` instead [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Bpf, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `aya::Bpf`: use `Ebpf` instead [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let mut bpf = Bpf::load_file(&opt.path)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `aya::Bpf`: use `Ebpf` instead [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Bpf, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `aya::Bpf`: use `Ebpf` instead [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let mut bpf = Bpf::load_file(&opt.path)?; [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 function that returns `Result` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:89:93 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn main() -> Result<(), anyhow::Error> { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 66 | | let opt = Opt::from_args(); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let cfg = std::fs::File::open(&opt.cfg)?; [INFO] [stdout] ... | [INFO] [stdout] 89 | | let mut dest_addrs: HashMap<_, MyAddr, u8> = HashMap::try_from(bpf.map_mut("DEST_ADDRS")?)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), anyhow::Error>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:90:96 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn main() -> Result<(), anyhow::Error> { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 66 | | let opt = Opt::from_args(); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let cfg = std::fs::File::open(&opt.cfg)?; [INFO] [stdout] ... | [INFO] [stdout] 90 | | let mut replies: HashMap<_, ResponseKey, MyAddr> = HashMap::try_from(bpf.map_mut("REPLIES")?)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), anyhow::Error>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&mut MapData as Deref>::Target == Map` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | insert_replies(&mut dest_addrs, &mut replies, &cfg); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^ expected `Map`, found `MapData` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insert_replies` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn insert_replies, Tr: DerefMut>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `insert_replies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&mut MapData as Deref>::Target == Map` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | insert_replies(&mut dest_addrs, &mut replies, &cfg); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ expected `Map`, found `MapData` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insert_replies` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | fn insert_replies, Tr: DerefMut>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `insert_replies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:94:68 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn main() -> Result<(), anyhow::Error> { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 66 | | let opt = Opt::from_args(); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let cfg = std::fs::File::open(&opt.cfg)?; [INFO] [stdout] ... | [INFO] [stdout] 94 | | let program: &mut Xdp = bpf.program_mut("funny_traceroute_aya")?.try_into()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), anyhow::Error>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:89:93 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn main() -> Result<(), anyhow::Error> { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 66 | | let opt = Opt::from_args(); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let cfg = std::fs::File::open(&opt.cfg)?; [INFO] [stdout] ... | [INFO] [stdout] 89 | | let mut dest_addrs: HashMap<_, MyAddr, u8> = HashMap::try_from(bpf.map_mut("DEST_ADDRS")?)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), anyhow::Error>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:90:96 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn main() -> Result<(), anyhow::Error> { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 66 | | let opt = Opt::from_args(); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let cfg = std::fs::File::open(&opt.cfg)?; [INFO] [stdout] ... | [INFO] [stdout] 90 | | let mut replies: HashMap<_, ResponseKey, MyAddr> = HashMap::try_from(bpf.map_mut("REPLIES")?)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), anyhow::Error>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&mut MapData as Deref>::Target == Map` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | insert_replies(&mut dest_addrs, &mut replies, &cfg); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^ expected `Map`, found `MapData` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insert_replies` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn insert_replies, Tr: DerefMut>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `insert_replies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&mut MapData as Deref>::Target == Map` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | insert_replies(&mut dest_addrs, &mut replies, &cfg); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ expected `Map`, found `MapData` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insert_replies` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | fn insert_replies, Tr: DerefMut>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `insert_replies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:94:68 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn main() -> Result<(), anyhow::Error> { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 66 | | let opt = Opt::from_args(); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let cfg = std::fs::File::open(&opt.cfg)?; [INFO] [stdout] ... | [INFO] [stdout] 94 | | let program: &mut Xdp = bpf.program_mut("funny_traceroute_aya")?.try_into()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), anyhow::Error>` [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(()) [INFO] [stdout] 104 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), anyhow::Error>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn main() -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashMap`, but its trait bounds were not satisfied [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 45 | / dest_addrs [INFO] [stdout] 46 | | .insert(MyAddr(entry.dst.octets()), idx.try_into().unwrap(), 0) [INFO] [stdout] | | -^^^^^^ method cannot be called on `&mut HashMap` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Td: BorrowMut` [INFO] [stdout] `Td: Borrow` [INFO] [stdout] which is required by `Td: BorrowMut` [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] | [INFO] [stdout] 43 | ) where Td: BorrowMut { [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashMap`, but its trait bounds were not satisfied [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 50 | / replies [INFO] [stdout] 51 | | .insert( [INFO] [stdout] | | -^^^^^^ method cannot be called on `&mut HashMap` due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tr: BorrowMut` [INFO] [stdout] `Tr: Borrow` [INFO] [stdout] which is required by `Tr: BorrowMut` [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] | [INFO] [stdout] 43 | ) where Tr: BorrowMut { [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashMap`, but its trait bounds were not satisfied [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 45 | / dest_addrs [INFO] [stdout] 46 | | .insert(MyAddr(entry.dst.octets()), idx.try_into().unwrap(), 0) [INFO] [stdout] | | -^^^^^^ method cannot be called on `&mut HashMap` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Td: BorrowMut` [INFO] [stdout] `Td: Borrow` [INFO] [stdout] which is required by `Td: BorrowMut` [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] | [INFO] [stdout] 43 | ) where Td: BorrowMut { [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashMap`, but its trait bounds were not satisfied [INFO] [stdout] --> funny-traceroute-aya/src/main.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 50 | / replies [INFO] [stdout] 51 | | .insert( [INFO] [stdout] | | -^^^^^^ method cannot be called on `&mut HashMap` due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tr: BorrowMut` [INFO] [stdout] `Tr: Borrow` [INFO] [stdout] which is required by `Tr: BorrowMut` [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] | [INFO] [stdout] 43 | ) where Tr: BorrowMut { [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `funny-traceroute-aya` (bin "funny-traceroute-aya" test) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `funny-traceroute-aya` (bin "funny-traceroute-aya") due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b1f801c8e2a4d28ccc471a2e9a44eafd51fca96b9dc9ee456e2515229d14aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1f801c8e2a4d28ccc471a2e9a44eafd51fca96b9dc9ee456e2515229d14aa6", kill_on_drop: false }` [INFO] [stdout] 8b1f801c8e2a4d28ccc471a2e9a44eafd51fca96b9dc9ee456e2515229d14aa6 [INFO] checking simmsb/funny-traceroute against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimmsb%2Ffunny-traceroute" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simmsb/funny-traceroute on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/simmsb/funny-traceroute [INFO] finished tweaking git repo https://github.com/simmsb/funny-traceroute [INFO] tweaked toml for git repo https://github.com/simmsb/funny-traceroute written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/aya-rs/aya` [INFO] [stderr] Updating git repository `https://github.com/simmsb/jnet.git` [INFO] [stderr] Updating git repository `https://github.com/japaric/owning-slice` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89518fd0ba56f5bdcedd5a7ed3b5e1a102dfb80852211c5f0778d31f64cb327e [INFO] running `Command { std: "docker" "start" "-a" "89518fd0ba56f5bdcedd5a7ed3b5e1a102dfb80852211c5f0778d31f64cb327e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89518fd0ba56f5bdcedd5a7ed3b5e1a102dfb80852211c5f0778d31f64cb327e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89518fd0ba56f5bdcedd5a7ed3b5e1a102dfb80852211c5f0778d31f64cb327e", kill_on_drop: false }` [INFO] [stdout] 89518fd0ba56f5bdcedd5a7ed3b5e1a102dfb80852211c5f0778d31f64cb327e [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffb7fdf42628ffa02ad73f6a838fdc23a60dbc66a65c5a6357cad34471ddd0cc [INFO] running `Command { std: "docker" "start" "-a" "ffb7fdf42628ffa02ad73f6a838fdc23a60dbc66a65c5a6357cad34471ddd0cc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "ffb7fdf42628ffa02ad73f6a838fdc23a60dbc66a65c5a6357cad34471ddd0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb7fdf42628ffa02ad73f6a838fdc23a60dbc66a65c5a6357cad34471ddd0cc", kill_on_drop: false }` [INFO] [stdout] ffb7fdf42628ffa02ad73f6a838fdc23a60dbc66a65c5a6357cad34471ddd0cc