[INFO] fetching crate fd-passing 0.0.1... [INFO] testing fd-passing-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fd-passing 0.0.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate fd-passing 0.0.1 [INFO] finished tweaking crates.io crate fd-passing 0.0.1 [INFO] tweaked toml for crates.io crate fd-passing 0.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fd-passing 0.0.1 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 12 packages to latest compatible versions [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5b39ee1b241c742846bae7bcd0bd752fd471ffc0a5442020a6586a82baf6a73f [INFO] running `Command { std: "docker" "start" "-a" "5b39ee1b241c742846bae7bcd0bd752fd471ffc0a5442020a6586a82baf6a73f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b39ee1b241c742846bae7bcd0bd752fd471ffc0a5442020a6586a82baf6a73f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b39ee1b241c742846bae7bcd0bd752fd471ffc0a5442020a6586a82baf6a73f", kill_on_drop: false }` [INFO] [stdout] 5b39ee1b241c742846bae7bcd0bd752fd471ffc0a5442020a6586a82baf6a73f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a125007d0c5c2e30844d775d59ca36b6277867ba837c966154e3d8bffa1e9dff [INFO] running `Command { std: "docker" "start" "-a" "a125007d0c5c2e30844d775d59ca36b6277867ba837c966154e3d8bffa1e9dff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling fd-passing v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `gcc::compile_library`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::compile_library("libfd_passing_consts.a", &["ffi/consts.c"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/functions.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(any(debug, test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [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 name: `debug` [INFO] [stdout] --> src/functions.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(any(debug, test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/utils.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(any(not(target_os = "macos"), debug, test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/utils.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(any(debug, test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/functions.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | message.msg_controllen = auto_cast!(controlbuf.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 58 | message.msg_controllen = auto_cast!(controlbuf.len().try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/functions.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | (*controlp).cmsg_len = auto_cast!(compute_msglen(size_of::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 66 | (*controlp).cmsg_len = auto_cast!(compute_msglen(size_of::()).try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/functions.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | message.msg_controllen = auto_cast!(size_of_val(&controlbuf)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 100 | message.msg_controllen = auto_cast!(size_of_val(&controlbuf).try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/functions.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | if message.msg_controllen >= auto_cast!(size_of::()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 109 | if message.msg_controllen >= auto_cast!(size_of::().try_into().unwrap()) { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/functions.rs:122:56 [INFO] [stdout] | [INFO] [stdout] 122 | if message.msg_controllen > auto_cast!(compute_bufspace(size_of::())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 122 | if message.msg_controllen > auto_cast!(compute_bufspace(size_of::()).try_into().unwrap()) { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/functions.rs:125:56 [INFO] [stdout] | [INFO] [stdout] 125 | if message.msg_controllen < auto_cast!(compute_bufspace(size_of::())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 125 | if message.msg_controllen < auto_cast!(compute_bufspace(size_of::()).try_into().unwrap()) { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fd-passing` (lib) due to 6 previous errors; 4 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a125007d0c5c2e30844d775d59ca36b6277867ba837c966154e3d8bffa1e9dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a125007d0c5c2e30844d775d59ca36b6277867ba837c966154e3d8bffa1e9dff", kill_on_drop: false }` [INFO] [stdout] a125007d0c5c2e30844d775d59ca36b6277867ba837c966154e3d8bffa1e9dff