[INFO] fetching crate rrplug 4.1.0... [INFO] testing rrplug-4.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rrplug 4.1.0 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate rrplug 4.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rrplug 4.1.0 [INFO] tweaked toml for crates.io crate rrplug 4.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rrplug 4.1.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 rrplug 4.1.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 rrplug_proc v4.1.0 [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] cd9ce7f5ae144708c2766f3b8474cc2d167c101c5b27ba343534af6ea3b479f6 [INFO] running `Command { std: "docker" "start" "-a" "cd9ce7f5ae144708c2766f3b8474cc2d167c101c5b27ba343534af6ea3b479f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd9ce7f5ae144708c2766f3b8474cc2d167c101c5b27ba343534af6ea3b479f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9ce7f5ae144708c2766f3b8474cc2d167c101c5b27ba343534af6ea3b479f6", kill_on_drop: false }` [INFO] [stdout] cd9ce7f5ae144708c2766f3b8474cc2d167c101c5b27ba343534af6ea3b479f6 [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] e99ce2732bd1aba263108e4705a2f16160a40230ab281203fa3c440775bf1016 [INFO] running `Command { std: "docker" "start" "-a" "e99ce2732bd1aba263108e4705a2f16160a40230ab281203fa3c440775bf1016", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling windows-core v0.52.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling windows v0.52.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling rrplug_proc v4.1.0 [INFO] [stderr] Compiling rrplug v4.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[unsafe(no_mangle)]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/interfaces/manager.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[unsafe(no_mangle)]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/interfaces/manager.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[export_name = "CreateInterface"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] help: remove the `#[unsafe(no_mangle)]` attribute [INFO] [stdout] | [INFO] [stdout] 18 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/high/squirrel.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | if (sqfunctions.sq_call)(sqvm.as_ptr(), amount, true as u32, true as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------ ----------- ----------- expected `u64`, found `u32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 235 | if (sqfunctions.sq_call)(sqvm.as_ptr(), amount.into(), true as u32, true as u32) [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 235 | if (sqfunctions.sq_call)(sqvm.as_ptr(), amount, (true as u32).into(), true as u32) [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 235 | if (sqfunctions.sq_call)(sqvm.as_ptr(), amount, true as u32, (true as u32).into()) [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/high/squirrel.rs:319:60 [INFO] [stdout] | [INFO] [stdout] 319 | (sqfunctions.sq_createuserdata)(sqvm.as_ptr(), std::mem::size_of::<*mut T>() as i32) [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 319 | (sqfunctions.sq_createuserdata)(sqvm.as_ptr(), (std::mem::size_of::<*mut T>() as i32).into()) [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/high/squirrel.rs:327:64 [INFO] [stdout] | [INFO] [stdout] 327 | (sqfunctions.sq_setreleasehook)(sqvm.as_ptr(), -1, releasehook::); [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^^^^^^ expected fn pointer, found fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe extern "C" fn(_, i64)` [INFO] [stdout] found fn item `extern "C" fn(_, i32) {releasehook::}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/high/squirrel.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 379 | (sqfunctions.sq_getuserdata)( [INFO] [stdout] | ---------------------------- arguments to this function are incorrect [INFO] [stdout] 380 | sqvm.as_ptr(), [INFO] [stdout] 381 | stack_pos, [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 381 | stack_pos.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/high/squirrel.rs:684:12 [INFO] [stdout] | [INFO] [stdout] 684 | if (sqfunctions.sq_call)(sqvm_ref, amount + 1, true as u32, true as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---------- ----------- ----------- expected `u64`, found `u32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 684 | if (sqfunctions.sq_call)(sqvm_ref, (amount + 1).into(), true as u32, true as u32) [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 684 | if (sqfunctions.sq_call)(sqvm_ref, amount + 1, (true as u32).into(), true as u32) [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 684 | if (sqfunctions.sq_call)(sqvm_ref, amount + 1, true as u32, (true as u32).into()) [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/high/squirrel.rs:739:13 [INFO] [stdout] | [INFO] [stdout] 734 | let result = (sqfunctions.sq_compilebuffer)( [INFO] [stdout] | ------------------------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 739 | should_throw_error as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 739 | (should_throw_error as u32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/high/squirrel_traits.rs:348:46 [INFO] [stdout] | [INFO] [stdout] 348 | (sqfunctions.sq_getobject)(sqvm, stack_pos, obj.as_mut_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 348 | (sqfunctions.sq_getobject)(sqvm, stack_pos.into(), obj.as_mut_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/high/squirrel_traits.rs:381:55 [INFO] [stdout] | [INFO] [stdout] 381 | (sqfunctions.sq_getobject)(sqvm.as_ptr(), stack_pos, obj.as_mut_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 381 | (sqfunctions.sq_getobject)(sqvm.as_ptr(), stack_pos.into(), obj.as_mut_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe { (sqfunctions.sq_pushinteger)(sqvm.as_ptr(), int) }; [INFO] [stdout] | ---------------------------- ^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 197 | unsafe { (sqfunctions.sq_pushinteger)(sqvm.as_ptr(), int.into()) }; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:203:55 [INFO] [stdout] | [INFO] [stdout] 203 | unsafe { (sqfunctions.sq_pushbool)(sqvm.as_ptr(), boolean as u32) }; [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 203 | unsafe { (sqfunctions.sq_pushbool)(sqvm.as_ptr(), (boolean as u32).into()) }; [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:279:55 [INFO] [stdout] | [INFO] [stdout] 279 | unsafe { (sqfunctions.sq_getfloat)(sqvm.as_ptr(), stack_pos) } [INFO] [stdout] | ------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 279 | unsafe { (sqfunctions.sq_getfloat)(sqvm.as_ptr(), stack_pos.into()) } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:292:57 [INFO] [stdout] | [INFO] [stdout] 292 | unsafe { (sqfunctions.sq_getinteger)(sqvm.as_ptr(), stack_pos) } [INFO] [stdout] | --------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 292 | unsafe { (sqfunctions.sq_getinteger)(sqvm.as_ptr(), stack_pos.into()) } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:292:14 [INFO] [stdout] | [INFO] [stdout] 291 | ) -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] 292 | unsafe { (sqfunctions.sq_getinteger)(sqvm.as_ptr(), stack_pos) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 292 | unsafe { (sqfunctions.sq_getinteger)(sqvm.as_ptr(), stack_pos).try_into().unwrap() } [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:305:54 [INFO] [stdout] | [INFO] [stdout] 305 | unsafe { (sqfunctions.sq_getbool)(sqvm.as_ptr(), stack_pos) != 0 } [INFO] [stdout] | ------------------------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 305 | unsafe { (sqfunctions.sq_getbool)(sqvm.as_ptr(), stack_pos.into()) != 0 } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:321:66 [INFO] [stdout] | [INFO] [stdout] 321 | CStr::from_ptr((sqfunctions.sq_getstring)(sqvm.as_ptr(), stack_pos)) [INFO] [stdout] | -------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 321 | CStr::from_ptr((sqfunctions.sq_getstring)(sqvm.as_ptr(), stack_pos.into())) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:337:56 [INFO] [stdout] | [INFO] [stdout] 337 | unsafe { (sqfunctions.sq_getvector)(sqvm.as_ptr(), stack_pos).into() } [INFO] [stdout] | -------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 337 | unsafe { (sqfunctions.sq_getvector)(sqvm.as_ptr(), stack_pos.into()).into() } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mid/squirrel.rs:349:51 [INFO] [stdout] | [INFO] [stdout] 349 | (sqfunctions.sq_getobject)(sqvm.as_ptr(), stack_pos, obj.as_mut_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 349 | (sqfunctions.sq_getobject)(sqvm.as_ptr(), stack_pos.into(), obj.as_mut_ptr()); [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 `rrplug` (lib) due to 17 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e99ce2732bd1aba263108e4705a2f16160a40230ab281203fa3c440775bf1016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e99ce2732bd1aba263108e4705a2f16160a40230ab281203fa3c440775bf1016", kill_on_drop: false }` [INFO] [stdout] e99ce2732bd1aba263108e4705a2f16160a40230ab281203fa3c440775bf1016