[INFO] cloning repository https://github.com/bbodi/rust-voxlap-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bbodi/rust-voxlap-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbbodi%2Frust-voxlap-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbbodi%2Frust-voxlap-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 611e8ec9a56efeebd77dd3673a9651f8b5a38178 [INFO] checking bbodi/rust-voxlap-test against master#43d9f3859e0204e764161ee085a360274b5f3e9a for pr-97346 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbbodi%2Frust-voxlap-test" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bbodi/rust-voxlap-test on toolchain 43d9f3859e0204e764161ee085a360274b5f3e9a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bbodi/rust-voxlap-test [INFO] finished tweaking git repo https://github.com/bbodi/rust-voxlap-test [INFO] tweaked toml for git repo https://github.com/bbodi/rust-voxlap-test written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/bbodi/rust-voxlap-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/bbodi/rust-voxlap.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ringbuf v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1c4490667fdfd393b0eb7e4dd25d7562c5987a4a5672e8599022e3ddca1ae3c [INFO] running `Command { std: "docker" "start" "-a" "d1c4490667fdfd393b0eb7e4dd25d7562c5987a4a5672e8599022e3ddca1ae3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1c4490667fdfd393b0eb7e4dd25d7562c5987a4a5672e8599022e3ddca1ae3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c4490667fdfd393b0eb7e4dd25d7562c5987a4a5672e8599022e3ddca1ae3c", kill_on_drop: false }` [INFO] [stdout] d1c4490667fdfd393b0eb7e4dd25d7562c5987a4a5672e8599022e3ddca1ae3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d28f7930c0e5c49ecf01b0bce378d3b3d5b14597edd26f220e61156a822d270 [INFO] running `Command { std: "docker" "start" "-a" "9d28f7930c0e5c49ecf01b0bce378d3b3d5b14597edd26f220e61156a822d270", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Checking c_vec v1.3.3 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking ringbuf v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling tar v0.4.29 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling unidiff v0.3.3 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking voxlap v0.0.1 (https://github.com/bbodi/rust-voxlap.git#156536a8) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:303:42 [INFO] [stdout] | [INFO] [stdout] 303 | c_api::animsprite(&self.ptr, time_add); [INFO] [stdout] | ----------------- ^^^^^^^^ expected `u64`, 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/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn animsprite (spr: &vx5sprite, timeadd: c_ulong); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 303 | c_api::animsprite(&self.ptr, time_add.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:503:63 [INFO] [stdout] | [INFO] [stdout] 503 | c_api::meltsphere(&mut spr, center.as_lpoint3d(), radius) [INFO] [stdout] | ----------------- ^^^^^^ expected `u64`, 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/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn meltsphere (spr: &mut vx5sprite, hit: &lpoint3d, hitrad: c_ulong) -> c_ulong; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 503 | c_api::meltsphere(&mut spr, center.as_lpoint3d(), radius.into()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 508 | }, melted_voxel_count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 508 | }, melted_voxel_count.try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:514:57 [INFO] [stdout] | [INFO] [stdout] 514 | c_api::meltspans(&mut spr, vspans.as_ptr(), vspans.len() as i32, offs.as_lpoint3d()) [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn meltspans (spr: &vx5sprite, lst: *const vspans, lstnum: c_long, offs: &lpoint3d) -> c_long; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 514 | c_api::meltspans(&mut spr, vspans.as_ptr(), (vspans.len() as i32).into(), offs.as_lpoint3d()) [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 519 | }, melted_voxel_count) [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] 519 | }, melted_voxel_count.try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:524:63 [INFO] [stdout] | [INFO] [stdout] 524 | c_api::voxsetframebuffer(render_dst.as_mut_ptr(), render_dst.bytes_per_line, render_dst.width, render_dst.height); [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, 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/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn voxsetframebuffer(ptr_to_dst_buffer: *mut u8, pitch: c_ulong, buffer_width: c_uint, buffer_height: c_uint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 524 | c_api::voxsetframebuffer(render_dst.as_mut_ptr(), render_dst.bytes_per_line.into(), render_dst.width, render_dst.height); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | c_api::hitscan(&pos.to_dpoint3d(), &dir.to_dpoint3d(), voxel_pos.as_mut_lpoint3d(), &mut color_ptr, &mut face); [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- --------- expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut *mut i64` [INFO] [stdout] found mutable reference `&mut *mut i32` [INFO] [stdout] = note: expected raw pointer `*mut i64` [INFO] [stdout] found mutable reference `&mut i32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:389:16 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn hitscan (p: &dpoint3d, d: &dpoint3d, h: &mut lpoint3d, ind: &mut *mut c_long, dir: *mut c_long); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | c_api::hitscan(&pos.to_dpoint3d(), &dir.to_dpoint3d(), voxel_pos.as_mut_lpoint3d(), &mut color_ptr, &mut face); [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- --------- expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut *mut i64` [INFO] [stdout] found mutable reference `&mut *mut i32` [INFO] [stdout] = note: expected raw pointer `*mut i64` [INFO] [stdout] found mutable reference `&mut i32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:389:16 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn hitscan (p: &dpoint3d, d: &dpoint3d, h: &mut lpoint3d, ind: &mut *mut c_long, dir: *mut c_long); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | c_api::estnorm(pos.x, pos.y, pos.z, dir.as_mut_point3d()); [INFO] [stdout] | ^^^^^^^^^^^^^^ ----- ----- ----- expected `i64`, found `i32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `i64`, found `i32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:432:16 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn estnorm (x: c_long, y: c_long, z: c_long, fp: &point3d); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 620 | c_api::estnorm(pos.x.into(), pos.y, pos.z, dir.as_mut_point3d()); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 620 | c_api::estnorm(pos.x, pos.y.into(), pos.z, dir.as_mut_point3d()); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 620 | c_api::estnorm(pos.x, pos.y, pos.z.into(), dir.as_mut_point3d()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:629:13 [INFO] [stdout] | [INFO] [stdout] 629 | c_api::isvoxelsolid(pos.x, pos.y, pos.z) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----- ----- ----- expected `i64`, found `i32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `i64`, found `i32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:437:16 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn isvoxelsolid (x: c_long, y: c_long, z: c_long) -> c_long; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 629 | c_api::isvoxelsolid(pos.x.into(), pos.y, pos.z) == 1 [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 629 | c_api::isvoxelsolid(pos.x, pos.y.into(), pos.z) == 1 [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 629 | c_api::isvoxelsolid(pos.x, pos.y, pos.z.into()) == 1 [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | c_api::anyvoxelsolid(x, y, z0, z1) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - - -- -- expected `i64`, found `i32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `i64`, found `i32` [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn anyvoxelsolid (x: c_ulong, y: c_ulong, z0: c_long, z1: c_long) -> c_long; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 651 | c_api::anyvoxelsolid(x.into(), y, z0, z1) != 0 [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 651 | c_api::anyvoxelsolid(x, y.into(), z0, z1) != 0 [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 651 | c_api::anyvoxelsolid(x, y, z0.into(), z1) != 0 [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 651 | c_api::anyvoxelsolid(x, y, z0, z1.into()) != 0 [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | c_api::anyvoxelempty(x, y, z0, z1) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - - -- -- expected `i64`, found `i32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `i64`, found `i32` [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn anyvoxelempty (x: c_ulong, y: c_ulong, z0: c_long, z1: c_long) -> c_long; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 657 | c_api::anyvoxelempty(x.into(), y, z0, z1) != 0 [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 657 | c_api::anyvoxelempty(x, y.into(), z0, z1) != 0 [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 657 | c_api::anyvoxelempty(x, y, z0.into(), z1) != 0 [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 657 | c_api::anyvoxelempty(x, y, z0, z1.into()) != 0 [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | c_api::getfloorz(pos.x, pos.y, pos.z) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----- ----- ----- expected `i64`, found `i32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `i64`, found `i32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:446:16 [INFO] [stdout] | [INFO] [stdout] 446 | pub fn getfloorz (x: c_long, y: c_long, z: c_long) -> c_long; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 663 | c_api::getfloorz(pos.x.into(), pos.y, pos.z) [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 663 | c_api::getfloorz(pos.x, pos.y.into(), pos.z) [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 663 | c_api::getfloorz(pos.x, pos.y, pos.z.into()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn get_floor_z(&self, pos: &ivec3) -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] 662 | unsafe { [INFO] [stdout] 663 | c_api::getfloorz(pos.x, pos.y, pos.z) [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] 663 | c_api::getfloorz(pos.x, pos.y, pos.z).try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:669:32 [INFO] [stdout] | [INFO] [stdout] 669 | let ptr_to_color = c_api::getcube(x, y, z) as *const i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ - - - expected `i64`, found `i32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `i64`, found `i32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn getcube (x: c_long, y: c_long, z: c_long) -> c_long; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 669 | let ptr_to_color = c_api::getcube(x.into(), y, z) as *const i32; [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 669 | let ptr_to_color = c_api::getcube(x, y.into(), z) as *const i32; [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 669 | let ptr_to_color = c_api::getcube(x, y, z.into()) as *const i32; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | c_api::setcube(pos.x, pos.y, pos.z, col); [INFO] [stdout] | ^^^^^^^^^^^^^^ ----- ----- ----- --- expected `i64`, found `i32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `i64`, found `i32` [INFO] [stdout] | | expected `i64`, found `i32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:456:16 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn setcube(px: c_long, px: c_long, px: c_long, col: c_long); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 682 | c_api::setcube(pos.x.into(), pos.y, pos.z, col); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 682 | c_api::setcube(pos.x, pos.y.into(), pos.z, col); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 682 | c_api::setcube(pos.x, pos.y, pos.z.into(), col); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 682 | c_api::setcube(pos.x, pos.y, pos.z, col.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | c_api::setsphere(pos.as_lpoint3d(), radius, operation_type.as_int()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------ ----------------------- expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:457:16 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn setsphere(center: &lpoint3d, hitrad: c_ulong, dacol: c_long); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 688 | c_api::setsphere(pos.as_lpoint3d(), radius.into(), operation_type.as_int()); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 688 | c_api::setsphere(pos.as_lpoint3d(), radius, operation_type.as_int().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:695:13 [INFO] [stdout] | [INFO] [stdout] 695 | c_api::setellipsoid(focus_1.as_lpoint3d(), focus_2.as_lpoint3d(), radius as i32, operation_type.as_int(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------------- ----------------------- expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:465:16 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn setellipsoid (hit: &lpoint3d, hit2: &lpoint3d, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 695 | c_api::setellipsoid(focus_1.as_lpoint3d(), focus_2.as_lpoint3d(), (radius as i32).into(), operation_type.as_int(), 0); [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 695 | c_api::setellipsoid(focus_1.as_lpoint3d(), focus_2.as_lpoint3d(), radius as i32, operation_type.as_int().into(), 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:702:13 [INFO] [stdout] | [INFO] [stdout] 702 | c_api::setcylinder(end_point1.as_lpoint3d(), end_point2.as_lpoint3d(), radius as i32, operation_type.as_int(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------- ----------------------- expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn setcylinder (p0: &lpoint3d, p1: &lpoint3d, cr: c_long, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 702 | c_api::setcylinder(end_point1.as_lpoint3d(), end_point2.as_lpoint3d(), (radius as i32).into(), operation_type.as_int(), 0); [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 702 | c_api::setcylinder(end_point1.as_lpoint3d(), end_point2.as_lpoint3d(), radius as i32, operation_type.as_int().into(), 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:708:64 [INFO] [stdout] | [INFO] [stdout] 708 | c_api::setrect(p1.as_lpoint3d(), p2.as_lpoint3d(), mode.as_int()); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:483:16 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn setrect (hit: &lpoint3d, hit2: &lpoint3d, dacol: c_long); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 708 | c_api::setrect(p1.as_lpoint3d(), p2.as_lpoint3d(), mode.as_int().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | c_api::setsector(ivecs.as_ptr(), edges.as_ptr(), vertices.len() as u32, thick, mode.as_int(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- --------------------- ------------- expected `i64`, found `i32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u64` [INFO] [stdout] found raw pointer `*const u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:503:16 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn setsector (p: *const point3d, point2: *const c_ulong, n: c_ulong, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 723 | c_api::setsector(ivecs.as_ptr(), edges.as_ptr(), (vertices.len() as u32).into(), thick, mode.as_int(), 0); [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 723 | c_api::setsector(ivecs.as_ptr(), edges.as_ptr(), vertices.len() as u32, thick, mode.as_int().into(), 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:729:13 [INFO] [stdout] | [INFO] [stdout] 729 | c_api::setspans(vspans.as_ptr(), vspans.len() as u32, offs.as_lpoint3d(), mode.as_int()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------------- ------------- expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn setspans (lst: *const vspans, lstnum: c_ulong, offs: &lpoint3d, dacol: c_long); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 729 | c_api::setspans(vspans.as_ptr(), (vspans.len() as u32).into(), offs.as_lpoint3d(), mode.as_int()); [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 729 | c_api::setspans(vspans.as_ptr(), vspans.len() as u32, offs.as_lpoint3d(), mode.as_int().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | c_api::setheightmap(buff.as_ptr(), bytes_per_line, width, height, x0, y0, x0+width, y0+height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------- ----- ------ -- -- -------- --------- expected `u64`, found `u32` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | expected `u64`, found `u32` [INFO] [stdout] | | | | | expected `u64`, found `u32` [INFO] [stdout] | | | | expected `u64`, found `u32` [INFO] [stdout] | | | expected `u64`, found `u32` [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:519:16 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn setheightmap (hptr: *const c_uchar, hbpl: c_ulong, hxs: c_ulong, hys: c_ulong, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 736 | c_api::setheightmap(buff.as_ptr(), bytes_per_line.into(), width, height, x0, y0, x0+width, y0+height); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 736 | c_api::setheightmap(buff.as_ptr(), bytes_per_line, width.into(), height, x0, y0, x0+width, y0+height); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 736 | c_api::setheightmap(buff.as_ptr(), bytes_per_line, width, height.into(), x0, y0, x0+width, y0+height); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 736 | c_api::setheightmap(buff.as_ptr(), bytes_per_line, width, height, x0.into(), y0, x0+width, y0+height); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 736 | c_api::setheightmap(buff.as_ptr(), bytes_per_line, width, height, x0, y0.into(), x0+width, y0+height); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:742:37 [INFO] [stdout] | [INFO] [stdout] 742 | c_api::setkv6(&spr.ptr, operation_type.as_int()); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:528:16 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn setkv6 (spr: &vx5sprite, dacol: c_long); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 742 | c_api::setkv6(&spr.ptr, operation_type.as_int().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:750:13 [INFO] [stdout] | [INFO] [stdout] 750 | c_api::setkvx(filename_ptr, pos.x, pos.y, pos.z, rot, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ ----- ----- ----- --- expected `i64`, found `i32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `i64`, found `i32` [INFO] [stdout] | | expected `i64`, found `i32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:578:16 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn setkvx (filename: *const c_char, ox: c_long, oy: c_long, oz: c_long, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 750 | c_api::setkvx(filename_ptr, pos.x.into(), pos.y, pos.z, rot, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 750 | c_api::setkvx(filename_ptr, pos.x, pos.y.into(), pos.z, rot, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 750 | c_api::setkvx(filename_ptr, pos.x, pos.y, pos.z.into(), rot, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 750 | c_api::setkvx(filename_ptr, pos.x, pos.y, pos.z, rot.into(), 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | c_api::setnormflash(pos.x, pos.y, pos.z, flash_radius, intens); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------------ ------ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:589:16 [INFO] [stdout] | [INFO] [stdout] 589 | pub fn setnormflash(px: c_float, px: c_float, px: c_float, flash_radius: c_long, intens: c_long); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 761 | c_api::setnormflash(pos.x, pos.y, pos.z, flash_radius.into(), intens); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 761 | c_api::setnormflash(pos.x, pos.y, pos.z, flash_radius, intens.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 777 | c_api::genmipvxl(x0, y0, x1, y1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -- -- -- -- expected `i64`, found `i32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `i64`, found `i32` [INFO] [stdout] | | expected `i64`, found `i32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:596:16 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn genmipvxl (x0: c_long, y0: c_long, x1: c_long, y1: c_long); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 777 | c_api::genmipvxl(x0.into(), y0, x1, y1); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 777 | c_api::genmipvxl(x0, y0.into(), x1, y1); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 777 | c_api::genmipvxl(x0, y0, x1.into(), y1); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 777 | c_api::genmipvxl(x0, y0, x1, y1.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:783:13 [INFO] [stdout] | [INFO] [stdout] 783 | c_api::updatelighting(x0, y0, z0, x1, y1, z1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -- -- -- -- -- -- expected `i64`, found `i32` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | expected `i64`, found `i32` [INFO] [stdout] | | | | expected `i64`, found `i32` [INFO] [stdout] | | | expected `i64`, found `i32` [INFO] [stdout] | | expected `i64`, found `i32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:597:16 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn updatelighting (x0: c_long, y0: c_long, z0: c_long, x1: c_long, y1: c_long, z1: c_long); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 783 | c_api::updatelighting(x0.into(), y0, z0, x1, y1, z1); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 783 | c_api::updatelighting(x0, y0.into(), z0, x1, y1, z1); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 783 | c_api::updatelighting(x0, y0, z0.into(), x1, y1, z1); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 783 | c_api::updatelighting(x0, y0, z0, x1.into(), y1, z1); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 783 | c_api::updatelighting(x0, y0, z0, x1, y1.into(), z1); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 783 | c_api::updatelighting(x0, y0, z0, x1, y1, z1.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:803:35 [INFO] [stdout] | [INFO] [stdout] 803 | c_api::setMaxScanDist(dist); [INFO] [stdout] | --------------------- ^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:602:16 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn setMaxScanDist(dist: c_long); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 803 | c_api::setMaxScanDist(dist.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:823:31 [INFO] [stdout] | [INFO] [stdout] 823 | c_api::set_anginc(param); [INFO] [stdout] | ----------------- ^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:605:16 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn set_anginc(anginc: c_long); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 823 | c_api::set_anginc(param.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:829:13 [INFO] [stdout] | [INFO] [stdout] 827 | pub fn get_raycast_density(&self, ) -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] 828 | unsafe { [INFO] [stdout] 829 | c_api::get_anginc() [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] 829 | c_api::get_anginc().try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:835:31 [INFO] [stdout] | [INFO] [stdout] 835 | c_api::set_fogcol(param.to_i32()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:608:16 [INFO] [stdout] | [INFO] [stdout] 608 | pub fn set_fogcol(fogcol: c_long); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 835 | c_api::set_fogcol(param.to_i32().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:841:31 [INFO] [stdout] | [INFO] [stdout] 841 | c_api::set_kv6col(param.to_i32()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:609:16 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn set_kv6col(kv6col: c_long); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 841 | c_api::set_kv6col(param.to_i32().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:847:31 [INFO] [stdout] | [INFO] [stdout] 847 | c_api::set_curcol(param.to_i32()); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:610:16 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn set_curcol(curcol: c_long); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 847 | c_api::set_curcol(param.to_i32().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:858:18 [INFO] [stdout] | [INFO] [stdout] 857 | pub fn get_max_xy_dimension(&self, ) -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] 858 | unsafe { c_api::getVSID() } [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] 858 | unsafe { c_api::getVSID().try_into().unwrap() } [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | c_api::kpzload(filename_ptr, &mut ptr, &mut bpl, &mut xsiz, &mut ysiz); [INFO] [stdout] | ^^^^^^^^^^^^^^ -------- -------- --------- --------- expected `u64`, found `u32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `u64`, found `u32` [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut i64` [INFO] [stdout] found mutable reference `&mut i32` [INFO] [stdout] = note: expected raw pointer `*mut u64` [INFO] [stdout] found mutable reference `&mut u32` [INFO] [stdout] = note: expected raw pointer `*mut u64` [INFO] [stdout] found mutable reference `&mut u32` [INFO] [stdout] = note: expected raw pointer `*mut u64` [INFO] [stdout] found mutable reference `&mut u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:696:16 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn kpzload (filnam: *const c_char, pic: *mut c_long, bpl: *mut c_ulong, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1091:13 [INFO] [stdout] | [INFO] [stdout] 1091 | c_api::drawpoint2d(x, y, col.to_i32()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ - - ------------ expected `i64`, found `i32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn drawpoint2d (sx: c_ulong, sy: c_ulong, col: c_long); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1091 | c_api::drawpoint2d(x.into(), y, col.to_i32()); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1091 | c_api::drawpoint2d(x, y.into(), col.to_i32()); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1091 | c_api::drawpoint2d(x, y, col.to_i32().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1097:53 [INFO] [stdout] | [INFO] [stdout] 1097 | c_api::drawpoint3d(pos.x, pos.y, pos.z, col.to_i32()); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn drawpoint3d (x0: c_float, y0: c_float, z0: c_float, col: c_long); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1097 | c_api::drawpoint3d(pos.x, pos.y, pos.z, col.to_i32().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1107:75 [INFO] [stdout] | [INFO] [stdout] 1107 | c_api::drawline2d(x1 as f32, y1 as f32, x2 as f32, y2 as f32, col.to_i32()); [INFO] [stdout] | ----------------- arguments to this function are incorrect ^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn drawline2d (x1: c_float, y1: c_float, x2: c_float, y2: c_float, col: c_long); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1107 | c_api::drawline2d(x1 as f32, y1 as f32, x2 as f32, y2 as f32, col.to_i32().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1114:73 [INFO] [stdout] | [INFO] [stdout] 1114 | c_api::drawline3d(from.x, from.y, from.z, to.x, to.y, to.z, col.to_i32() & 0x00FFFFFF); [INFO] [stdout] | ----------------- arguments to this function are incorrect ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn drawline3d (x0: c_float, y0: c_float, z0: c_float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1114 | c_api::drawline3d(from.x, from.y, from.z, to.x, to.y, to.z, (col.to_i32() & 0x00FFFFFF).into()); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1121:73 [INFO] [stdout] | [INFO] [stdout] 1121 | c_api::drawline3d(from.x, from.y, from.z, to.x, to.y, to.z, (col.to_i32() as u32 | 0xFF000000) as i32); [INFO] [stdout] | ----------------- arguments to this function are incorrect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn drawline3d (x0: c_float, y0: c_float, z0: c_float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1121 | c_api::drawline3d(from.x, from.y, from.z, to.x, to.y, to.z, ((col.to_i32() as u32 | 0xFF000000) as i32).into()); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1127:65 [INFO] [stdout] | [INFO] [stdout] 1127 | c_api::drawspherefill(pos.x, pos.y, pos.z, -radius, col.to_i32()); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn drawspherefill (ox: c_float, oy: c_float, oz: c_float, bakrad: c_float, col: c_long); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1127 | c_api::drawspherefill(pos.x, pos.y, pos.z, -radius, col.to_i32().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1133:64 [INFO] [stdout] | [INFO] [stdout] 1133 | c_api::drawspherefill(pos.x, pos.y, pos.z, radius, col.to_i32()); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn drawspherefill (ox: c_float, oy: c_float, oz: c_float, bakrad: c_float, col: c_long); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1133 | c_api::drawspherefill(pos.x, pos.y, pos.z, radius, col.to_i32().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1140:13 [INFO] [stdout] | [INFO] [stdout] 1140 | c_api::drawpicinquad( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1141 | img.ptr, img.bytes_per_line, img.width, img.height, [INFO] [stdout] | ------------------ --------- ---------- expected `u64`, found `u32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] 1142 | dst.as_mut_ptr(), dst.bytes_per_line, dst.width, dst.height, [INFO] [stdout] | ------------------ --------- ---------- expected `u64`, found `u32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn drawpicinquad (rpic: *mut u8, rbpl: c_ulong, rxsiz: c_ulong, rysiz: c_ulong, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1141 | img.ptr, img.bytes_per_line.into(), img.width, img.height, [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1141 | img.ptr, img.bytes_per_line, img.width.into(), img.height, [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1141 | img.ptr, img.bytes_per_line, img.width, img.height.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1142 | dst.as_mut_ptr(), dst.bytes_per_line.into(), dst.width, dst.height, [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1142 | dst.as_mut_ptr(), dst.bytes_per_line, dst.width.into(), dst.height, [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1142 | dst.as_mut_ptr(), dst.bytes_per_line, dst.width, dst.height.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1152:13 [INFO] [stdout] | [INFO] [stdout] 1152 | c_api::drawpolyquad(img.ptr as i32, img.bytes_per_line, img.width, img.height, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------- ------------------ --------- ---------- expected `u64`, found `u32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `u64`, found `u32` [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn drawpolyquad (rpic: c_long, rbpl: c_ulong, rxsiz: c_ulong, rysiz: c_ulong, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1152 | c_api::drawpolyquad((img.ptr as i32).into(), img.bytes_per_line, img.width, img.height, [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1152 | c_api::drawpolyquad(img.ptr as i32, img.bytes_per_line.into(), img.width, img.height, [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1152 | c_api::drawpolyquad(img.ptr as i32, img.bytes_per_line, img.width.into(), img.height, [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1152 | c_api::drawpolyquad(img.ptr as i32, img.bytes_per_line, img.width, img.height.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1165:13 [INFO] [stdout] | [INFO] [stdout] 1165 | c_api::print4x6(x, y, fg_color.to_i32(), bg_color.to_i32(), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^ - - ----------------- ----------------- expected `i64`, found `i32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `i64`, found `i32` [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn print4x6(x: c_ulong, y: c_ulong, fg_color: c_long, bg_color: c_long, fmt: *const c_char, ...); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1165 | c_api::print4x6(x.into(), y, fg_color.to_i32(), bg_color.to_i32(), ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1165 | c_api::print4x6(x, y.into(), fg_color.to_i32(), bg_color.to_i32(), ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1165 | c_api::print4x6(x, y, fg_color.to_i32().into(), bg_color.to_i32(), ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1165 | c_api::print4x6(x, y, fg_color.to_i32(), bg_color.to_i32().into(), ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1178:13 [INFO] [stdout] | [INFO] [stdout] 1178 | c_api::print6x8(x, y, fg_color.to_i32(), bg_color, ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^ - - ----------------- -------- expected `i64`, found `i32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `i64`, found `i32` [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn print6x8(x: c_ulong, y: c_ulong, fg_color: c_long, bg_color: c_long, fmt: *const c_char, ...); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1178 | c_api::print6x8(x.into(), y, fg_color.to_i32(), bg_color, ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1178 | c_api::print6x8(x, y.into(), fg_color.to_i32(), bg_color, ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1178 | c_api::print6x8(x, y, fg_color.to_i32().into(), bg_color, ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 1178 | c_api::print6x8(x, y, fg_color.to_i32(), bg_color.into(), ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `usize` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1192 | 0, -1); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | cannot apply unary operator `-` [INFO] [stdout] | help: you may have meant the maximum value of `usize`: `usize::MAX` [INFO] [stdout] | [INFO] [stdout] = note: unsigned values cannot be negated [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u64` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1192 | 0, -1); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | cannot apply unary operator `-` [INFO] [stdout] | help: you may have meant the maximum value of `u64`: `u64::MAX` [INFO] [stdout] | [INFO] [stdout] = note: unsigned values cannot be negated [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1188:13 [INFO] [stdout] | [INFO] [stdout] 1188 | c_api::drawtile(img.ptr.offset(offset) as *const u8, img.bytes_per_line, tile_width, tile_height, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------------ ---------- ----------- expected `u64`, found `u32` [INFO] [stdout] | | | [INFO] [stdout] | | expected `u64`, found `u32` [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] 1189 | (!screen_x)<<16, (!screen_y)<<16, [INFO] [stdout] | --------------- --------------- expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] 1190 | 0, 0, [INFO] [stdout] 1191 | zoom_x<<16, zoom_y<<16, [INFO] [stdout] | ---------- ---------- expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn drawtile (tf: *const u8, tp: c_ulong, tx: c_ulong, ty: c_ulong, tcx: c_ulong, tcy: c_ulong, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1188 | c_api::drawtile(img.ptr.offset(offset) as *const u8, img.bytes_per_line.into(), tile_width, tile_height, [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1188 | c_api::drawtile(img.ptr.offset(offset) as *const u8, img.bytes_per_line, tile_width.into(), tile_height, [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1188 | c_api::drawtile(img.ptr.offset(offset) as *const u8, img.bytes_per_line, tile_width, tile_height.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/lib.rs:1208:75 [INFO] [stdout] | [INFO] [stdout] 1208 | c_api::surroundcapture32bit(&pos.to_dpoint3d(), filename_ptr, box_size); [INFO] [stdout] | --------------------------- ^^^^^^^^ expected `u64`, 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/git/checkouts/rust-voxlap-03f2a0e5dcec5dbc/156536a/src/c_api.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn surroundcapture32bit (pos: &dpoint3d, fname: *const c_char, boxsiz: c_ulong) -> c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 1208 | c_api::surroundcapture32bit(&pos.to_dpoint3d(), filename_ptr, box_size.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0600. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `voxlap` due to 52 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9d28f7930c0e5c49ecf01b0bce378d3b3d5b14597edd26f220e61156a822d270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d28f7930c0e5c49ecf01b0bce378d3b3d5b14597edd26f220e61156a822d270", kill_on_drop: false }` [INFO] [stdout] 9d28f7930c0e5c49ecf01b0bce378d3b3d5b14597edd26f220e61156a822d270