[INFO] cloning repository https://github.com/Nikhil690/Rust-libbpfrs-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nikhil690/Rust-libbpfrs-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNikhil690%2FRust-libbpfrs-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNikhil690%2FRust-libbpfrs-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a00db3f21f28819465495a0b7fb6e08310bf0cca [INFO] building Nikhil690/Rust-libbpfrs-template against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNikhil690%2FRust-libbpfrs-template" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nikhil690/Rust-libbpfrs-template [INFO] finished tweaking git repo https://github.com/Nikhil690/Rust-libbpfrs-template [INFO] tweaked toml for git repo https://github.com/Nikhil690/Rust-libbpfrs-template written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nikhil690/Rust-libbpfrs-template on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Nikhil690/Rust-libbpfrs-template 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vsprintf v2.0.0 [INFO] [stderr] Downloaded scroll_derive v0.11.1 [INFO] [stderr] Downloaded cargo-platform v0.1.8 [INFO] [stderr] Downloaded indexmap v2.4.0 [INFO] [stderr] Downloaded scroll v0.11.0 [INFO] [stderr] Downloaded serde v1.0.208 [INFO] [stderr] Downloaded cc v1.1.13 [INFO] [stderr] Downloaded serde_derive v1.0.208 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded syn v2.0.75 [INFO] [stderr] Downloaded libbpf-rs v0.20.1 [INFO] [stderr] Downloaded libbpf-cargo v0.20.1 [INFO] [stderr] Downloaded libc v0.2.157 [INFO] [stderr] Downloaded libbpf-sys v1.4.3+v1.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b654e65beaebe101008ff7a977dfa451d9089db3f0a02228eae40b2d2cc7a92 [INFO] running `Command { std: "docker" "start" "-a" "2b654e65beaebe101008ff7a977dfa451d9089db3f0a02228eae40b2d2cc7a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b654e65beaebe101008ff7a977dfa451d9089db3f0a02228eae40b2d2cc7a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b654e65beaebe101008ff7a977dfa451d9089db3f0a02228eae40b2d2cc7a92", kill_on_drop: false }` [INFO] [stdout] 2b654e65beaebe101008ff7a977dfa451d9089db3f0a02228eae40b2d2cc7a92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 653f56db9387e513a3424aa46072dd17f9c42fffdf0bd058f8d5a3240b5c535e [INFO] running `Command { std: "docker" "start" "-a" "653f56db9387e513a3424aa46072dd17f9c42fffdf0bd058f8d5a3240b5c535e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.157 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling vsprintf v2.0.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling libbpf-sys v1.4.3+v1.4.5 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling libbpf-rs v0.20.1 [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/btf/mod.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | use std::os::unix::prelude::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/btf/mod.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use std::os::unix::prelude::FromRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/btf/mod.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | use std::os::unix::prelude::OsStrExt; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/btf/mod.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | use std::os::unix::prelude::OwnedFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::errno` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/iter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nix::errno; [INFO] [stdout] | ^^^^^^^^^^ no `errno` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/iter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nix::libc; [INFO] [stdout] | ^^^^^^^^^ no `libc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/map.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/map.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::prelude::BorrowedFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/map.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::unix::prelude::OsStrExt; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::unistd` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nix::unistd; [INFO] [stdout] | ^^^^^^^^^^^ no `unistd` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::errno` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/map.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use nix::errno; [INFO] [stdout] | ^^^^^^^^^^ no `errno` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::unistd` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/map.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use nix::unistd; [INFO] [stdout] | ^^^^^^^^^^^ no `unistd` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::errno` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/query.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use nix::errno; [INFO] [stdout] | ^^^^^^^^^^ no `errno` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::unistd` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/query.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | use nix::unistd::close; [INFO] [stdout] | ^^^^^^ could not find `unistd` in `nix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `errno` in `nix` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/tc.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use nix::errno::Errno::EEXIST; [INFO] [stdout] | ^^^^^ could not find `errno` in `nix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nix::errno` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/tc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nix::errno; [INFO] [stdout] | ^^^^^^^^^^ no `errno` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for reference `&OsStr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/btf/mod.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | let mut v = path.as_ref().as_os_str().as_bytes().to_vec(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `as_bytes` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 15 + use std::os::wasi::ffi::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_encoded_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 137 | let mut v = path.as_ref().as_os_str().as_encoded_bytes().to_vec(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for reference `&OsStr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/map.rs:221:42 [INFO] [stdout] | [INFO] [stdout] 221 | let mut p = path.as_os_str().as_bytes().to_vec(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `as_bytes` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::wasi::ffi::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_encoded_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 221 | let mut p = path.as_os_str().as_encoded_bytes().to_vec(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/program.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | sz: mem::size_of::() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/program.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | sz: mem::size_of::() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libbpf-rs-0.20.1/src/program.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | sz: mem::size_of::() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libbpf-rs` (lib) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "653f56db9387e513a3424aa46072dd17f9c42fffdf0bd058f8d5a3240b5c535e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "653f56db9387e513a3424aa46072dd17f9c42fffdf0bd058f8d5a3240b5c535e", kill_on_drop: false }` [INFO] [stdout] 653f56db9387e513a3424aa46072dd17f9c42fffdf0bd058f8d5a3240b5c535e