[INFO] fetching crate rrplug 4.1.0... [INFO] checking rrplug-4.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rrplug 4.1.0 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rrplug 4.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e7792b58a420cd8f1f58de9c13c1a7fccb20ec7e9b44fa086fcfce336eb764c [INFO] running `Command { std: "docker" "start" "-a" "3e7792b58a420cd8f1f58de9c13c1a7fccb20ec7e9b44fa086fcfce336eb764c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e7792b58a420cd8f1f58de9c13c1a7fccb20ec7e9b44fa086fcfce336eb764c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7792b58a420cd8f1f58de9c13c1a7fccb20ec7e9b44fa086fcfce336eb764c", kill_on_drop: false }` [INFO] [stdout] 3e7792b58a420cd8f1f58de9c13c1a7fccb20ec7e9b44fa086fcfce336eb764c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c425808bfe5bc954c8c9c3c57f3e2ea3a1bb1460785d7e840867c3d78477379f [INFO] running `Command { std: "docker" "start" "-a" "c425808bfe5bc954c8c9c3c57f3e2ea3a1bb1460785d7e840867c3d78477379f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [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] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-core v0.52.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking windows v0.52.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling rrplug_proc v4.1.0 [INFO] [stderr] Checking rrplug v4.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[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] | ^^^^^^^^^^^^ `#[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 `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 18 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/macros/entry.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | extern "stdcall" fn dll_main( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | entry!(Test); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] = note: this error originates in the macro `entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[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] | ^^^^^^^^^^^^ `#[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 `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 18 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/macros/entry.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] ... [INFO] [stdout] 366 | entry!(Test); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/macros/entry.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | #[export_name = "DllMain"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | entry!(Test); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 322 - #[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] 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]: arguments to this function are incorrect [INFO] [stdout] --> src/macros/sq_utils.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | let result = if (sqfunctions.sq_call)(sqvm.as_ptr(), ARGS_AMOUNT, true as u32, true as u32) == $crate::bindings::squi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ----------- ----------- ----------- expected `u64`, found `u32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] ... [INFO] [stdout] 150 | call_sq_object_function!(sqvm, sq_functions, func, test.clone()) [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `call_sq_object_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 112 | let result = if (sqfunctions.sq_call)(sqvm.as_ptr(), ARGS_AMOUNT.into(), true as u32, true as u32) == $crate::bindings::squirrelclasstypes::SQRESULT::SQRESULT_ERROR { [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 112 | let result = if (sqfunctions.sq_call)(sqvm.as_ptr(), ARGS_AMOUNT, (true as u32).into(), true as u32) == $crate::bindings::squirrelclasstypes::SQRESULT::SQRESULT_ERROR { [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 112 | let result = if (sqfunctions.sq_call)(sqvm.as_ptr(), ARGS_AMOUNT, true as u32, (true as u32).into()) == $crate::bindings::squirrelclasstypes::SQRESULT::SQRESULT_ERROR { [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/macros/sq_utils.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | ... if ($sqfunctions.sq_call)(sqvm.as_ptr(), ARGS_AMOUNT, true as u32, true as u32) == $crate::bindings::squirrelclasst... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ----------- ----------- ----------- expected `u64`, found `u32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] ... [INFO] [stdout] 153 | ... call_sq_function!(sqvm, sq_functions, "SomeSQFunc", 9347, 3892, 23423) [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `call_sq_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 60 | if ($sqfunctions.sq_call)(sqvm.as_ptr(), ARGS_AMOUNT.into(), true as u32, true as u32) == $crate::bindings::squirrelclasstypes::SQRESULT::SQRESULT_ERROR { [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 60 | if ($sqfunctions.sq_call)(sqvm.as_ptr(), ARGS_AMOUNT, (true as u32).into(), true as u32) == $crate::bindings::squirrelclasstypes::SQRESULT::SQRESULT_ERROR { [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 60 | if ($sqfunctions.sq_call)(sqvm.as_ptr(), ARGS_AMOUNT, true as u32, (true as u32).into()) == $crate::bindings::squirrelclasstypes::SQRESULT::SQRESULT_ERROR { [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rrplug` (lib test) due to 20 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c425808bfe5bc954c8c9c3c57f3e2ea3a1bb1460785d7e840867c3d78477379f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c425808bfe5bc954c8c9c3c57f3e2ea3a1bb1460785d7e840867c3d78477379f", kill_on_drop: false }` [INFO] [stdout] c425808bfe5bc954c8c9c3c57f3e2ea3a1bb1460785d7e840867c3d78477379f