[INFO] cloning repository https://github.com/pkts-rs/tappers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pkts-rs/tappers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkts-rs%2Ftappers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkts-rs%2Ftappers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faf2adfe87af84cc4cd1deb8108136ec62f42439 [INFO] testing pkts-rs/tappers against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkts-rs%2Ftappers" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/pkts-rs/tappers [INFO] finished tweaking git repo https://github.com/pkts-rs/tappers [INFO] tweaked toml for git repo https://github.com/pkts-rs/tappers written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pkts-rs/tappers on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.4) [INFO] [stderr] Adding windows-sys v0.59.0 (available: v0.60.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded value-bag v1.11.1 [INFO] [stderr] Downloaded smol v2.0.2 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b4d6ee2b7fc1252f8af7bfc25cd3ebf53032ffcdfc0ae2bc499cde6712d1c1d [INFO] running `Command { std: "docker" "start" "-a" "2b4d6ee2b7fc1252f8af7bfc25cd3ebf53032ffcdfc0ae2bc499cde6712d1c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b4d6ee2b7fc1252f8af7bfc25cd3ebf53032ffcdfc0ae2bc499cde6712d1c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4d6ee2b7fc1252f8af7bfc25cd3ebf53032ffcdfc0ae2bc499cde6712d1c1d", kill_on_drop: false }` [INFO] [stdout] 2b4d6ee2b7fc1252f8af7bfc25cd3ebf53032ffcdfc0ae2bc499cde6712d1c1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4cce79a45633cc11aaac1098796606c63393cf4f266b215b23751be2269401f2 [INFO] running `Command { std: "docker" "start" "-a" "4cce79a45633cc11aaac1098796606c63393cf4f266b215b23751be2269401f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling windows-sys v0.59.0 [INFO] [stderr] Compiling tappers v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `RTA_NEWDST` in crate `libc` [INFO] [stdout] --> src/rtnetlink.rs:1367:19 [INFO] [stdout] | [INFO] [stdout] 1367 | libc::RTA_NEWDST => match attr_data.len() { [INFO] [stdout] | ^^^^^^^^^^ help: a constant with a similar name exists: `RTA_DST` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/linux/mod.rs:4431:1 [INFO] [stdout] | [INFO] [stdout] 4431 | pub const RTA_DST: c_ushort = 1; [INFO] [stdout] | --------------------------- similarly named constant `RTA_DST` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `RTA_PREF` in crate `libc` [INFO] [stdout] --> src/rtnetlink.rs:1380:19 [INFO] [stdout] | [INFO] [stdout] 1380 | libc::RTA_PREF => { [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `RTA_EXPIRES` in crate `libc` [INFO] [stdout] --> src/rtnetlink.rs:1389:19 [INFO] [stdout] | [INFO] [stdout] 1389 | libc::RTA_EXPIRES => { [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linux/tap.rs:175:49 [INFO] [stdout] | [INFO] [stdout] 175 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFNAME, ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 175 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFNAME.try_into().unwrap(), ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linux/tap.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFFLAGS, ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 228 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFFLAGS.try_into().unwrap(), ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linux/tap.rs:251:49 [INFO] [stdout] | [INFO] [stdout] 251 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCGIFMTU, ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 251 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCGIFMTU.try_into().unwrap(), ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linux/tap.rs:289:49 [INFO] [stdout] | [INFO] [stdout] 289 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFMTU, ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 289 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFMTU.try_into().unwrap(), ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linux/tun.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 171 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFNAME, ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 171 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFNAME.try_into().unwrap(), ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linux/tun.rs:225:49 [INFO] [stdout] | [INFO] [stdout] 225 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFFLAGS, ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 225 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFFLAGS.try_into().unwrap(), ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linux/tun.rs:248:49 [INFO] [stdout] | [INFO] [stdout] 248 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCGIFMTU, ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 248 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCGIFMTU.try_into().unwrap(), ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/linux/tun.rs:277:49 [INFO] [stdout] | [INFO] [stdout] 277 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFMTU, ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 277 | let res = unsafe { libc::ioctl(ctrl_fd, libc::SIOCSIFMTU.try_into().unwrap(), ptr::addr_of_mut!(req)) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot construct `msghdr` with struct literal syntax due to private fields [INFO] [stdout] --> src/lib.rs:1220:19 [INFO] [stdout] | [INFO] [stdout] 1220 | let msg = libc::msghdr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...and other private fields `__pad1` and `__pad2` that were not provided [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot construct `msghdr` with struct literal syntax due to private fields [INFO] [stdout] --> src/lib.rs:1534:19 [INFO] [stdout] | [INFO] [stdout] 1534 | let msg = libc::msghdr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...and other private fields `__pad1` and `__pad2` that were not provided [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tappers` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "4cce79a45633cc11aaac1098796606c63393cf4f266b215b23751be2269401f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cce79a45633cc11aaac1098796606c63393cf4f266b215b23751be2269401f2", kill_on_drop: false }` [INFO] [stdout] 4cce79a45633cc11aaac1098796606c63393cf4f266b215b23751be2269401f2