[INFO] fetching crate ia-sandbox 0.4.0... [INFO] testing ia-sandbox-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ia-sandbox 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ia-sandbox 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ia-sandbox 0.4.0 [INFO] tweaked toml for crates.io crate ia-sandbox 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ia-sandbox 0.4.0 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] crate crates.io crate ia-sandbox 0.4.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.4.0 [INFO] [stderr] Downloaded capctl v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e44398205ea923c94c85116c27e4f6a4d85511f43bc83962e2b9818e9dd82ce4 [INFO] running `Command { std: "docker" "start" "-a" "e44398205ea923c94c85116c27e4f6a4d85511f43bc83962e2b9818e9dd82ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e44398205ea923c94c85116c27e4f6a4d85511f43bc83962e2b9818e9dd82ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44398205ea923c94c85116c27e4f6a4d85511f43bc83962e2b9818e9dd82ce4", kill_on_drop: false }` [INFO] [stdout] e44398205ea923c94c85116c27e4f6a4d85511f43bc83962e2b9818e9dd82ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1138ee65d47cbff5e1e4c7270424f5aa5f4b30230dc4153458fcfcc93ba1a1a5 [INFO] running `Command { std: "docker" "start" "-a" "1138ee65d47cbff5e1e4c7270424f5aa5f4b30230dc4153458fcfcc93ba1a1a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling capctl v0.2.4 [INFO] [stderr] Compiling terminal_size v0.4.0 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling ia-sandbox v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:595:33 [INFO] [stdout] | [INFO] [stdout] 595 | if unsafe { libc::setrlimit(field, &rlimit) } == -1 { [INFO] [stdout] | --------------- ^^^^^ expected `i32`, found `u32` [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.162/src/unix/linux_like/linux/musl/mod.rs:928:12 [INFO] [stdout] | [INFO] [stdout] 928 | pub fn setrlimit(resource: ::c_int, rlim: *const ::rlimit) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 595 | if unsafe { libc::setrlimit(field.try_into().unwrap(), &rlimit) } == -1 { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | set_rlimit("stack", libc::RLIMIT_STACK, limit, limit) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ffi.rs:589:4 [INFO] [stdout] | [INFO] [stdout] 589 | fn set_rlimit(resource: &'static str, field: libc::c_uint, soft: u64, hard: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 609 | set_rlimit("stack", libc::RLIMIT_STACK.try_into().unwrap(), limit, limit) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | set_rlimit("nproc", libc::RLIMIT_NPROC, limit, limit) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ffi.rs:589:4 [INFO] [stdout] | [INFO] [stdout] 589 | fn set_rlimit(resource: &'static str, field: libc::c_uint, soft: u64, hard: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 615 | set_rlimit("nproc", libc::RLIMIT_NPROC.try_into().unwrap(), limit, limit) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:625:30 [INFO] [stdout] | [INFO] [stdout] 625 | set_rlimit("memory", libc::RLIMIT_DATA, limit, limit) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ffi.rs:589:4 [INFO] [stdout] | [INFO] [stdout] 589 | fn set_rlimit(resource: &'static str, field: libc::c_uint, soft: u64, hard: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 625 | set_rlimit("memory", libc::RLIMIT_DATA.try_into().unwrap(), limit, limit) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:636:27 [INFO] [stdout] | [INFO] [stdout] 636 | set_rlimit("cpu", libc::RLIMIT_CPU, limit, limit) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ffi.rs:589:4 [INFO] [stdout] | [INFO] [stdout] 589 | fn set_rlimit(resource: &'static str, field: libc::c_uint, soft: u64, hard: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ ------------------- [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 636 | set_rlimit("cpu", libc::RLIMIT_CPU.try_into().unwrap(), limit, limit) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ia-sandbox` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "1138ee65d47cbff5e1e4c7270424f5aa5f4b30230dc4153458fcfcc93ba1a1a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1138ee65d47cbff5e1e4c7270424f5aa5f4b30230dc4153458fcfcc93ba1a1a5", kill_on_drop: false }` [INFO] [stdout] 1138ee65d47cbff5e1e4c7270424f5aa5f4b30230dc4153458fcfcc93ba1a1a5