[INFO] fetching crate dorothy-ssr 0.1.4... [INFO] checking dorothy-ssr-0.1.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate dorothy-ssr 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate dorothy-ssr 0.1.4 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dorothy-ssr 0.1.4 [INFO] finished tweaking crates.io crate dorothy-ssr 0.1.4 [INFO] tweaked toml for crates.io crate dorothy-ssr 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43afa665bb04ac1695ad0e654c249b05c0999894eb15cc696410f7730b117197 [INFO] running `Command { std: "docker" "start" "-a" "43afa665bb04ac1695ad0e654c249b05c0999894eb15cc696410f7730b117197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43afa665bb04ac1695ad0e654c249b05c0999894eb15cc696410f7730b117197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43afa665bb04ac1695ad0e654c249b05c0999894eb15cc696410f7730b117197", kill_on_drop: false }` [INFO] [stdout] 43afa665bb04ac1695ad0e654c249b05c0999894eb15cc696410f7730b117197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a53af15435c6e5c811c76dab86c2512b9392038e7b6fc83adb01e48079c6760 [INFO] running `Command { std: "docker" "start" "-a" "1a53af15435c6e5c811c76dab86c2512b9392038e7b6fc83adb01e48079c6760", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking dorothy-ssr v0.1.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dorothy_ssr` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/dora.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/dora.rs:775:7 [INFO] [stderr] | [INFO] [stderr] 775 | ( $( $x:expr_2021 ),* ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1280:24 [INFO] [stderr] | [INFO] [stderr] 1280 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1280 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1285:24 [INFO] [stderr] | [INFO] [stderr] 1285 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1285 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1290:24 [INFO] [stderr] | [INFO] [stderr] 1290 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1290 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1296:24 [INFO] [stderr] | [INFO] [stderr] 1296 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1296 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1301:24 [INFO] [stderr] | [INFO] [stderr] 1301 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1301 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/dora.rs:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 623 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/dora.rs:632:3 [INFO] [stdout] | [INFO] [stdout] 632 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 632 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/rect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn rect_release(raw: i64); [INFO] [stdout] 3 | | fn rect_set_origin(slf: i64, var: i64); [INFO] [stdout] 4 | | fn rect_get_origin(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 36 | | fn rect_zero() -> i64; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/array.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn array_type() -> i32; [INFO] [stdout] 3 | | fn array_get_count(slf: i64) -> i64; [INFO] [stdout] 4 | | fn array_is_empty(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn array_new() -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dictionary.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dictionary_type() -> i32; [INFO] [stdout] 3 | | fn dictionary_get_count(slf: i64) -> i32; [INFO] [stdout] 4 | | fn dictionary_get_keys(slf: i64) -> i64; [INFO] [stdout] 5 | | fn dictionary_clear(slf: i64); [INFO] [stdout] 6 | | fn dictionary_new() -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/director.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn director_set_clear_color(var: i32); [INFO] [stdout] 3 | | fn director_get_clear_color() -> i32; [INFO] [stdout] 4 | | fn director_set_scheduler(var: i64); [INFO] [stdout] ... | [INFO] [stdout] 17 | | fn director_cleanup(); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/app.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn application_get_frame() -> i32; [INFO] [stdout] 3 | | fn application_get_buffer_size() -> i64; [INFO] [stdout] 4 | | fn application_get_visual_size() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 32 | | fn application_shutdown(); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/entity.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn entity_type() -> i32; [INFO] [stdout] 3 | | fn entity_get_count() -> i32; [INFO] [stdout] 4 | | fn entity_get_index(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn entity_new() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/group.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn group_type() -> i32; [INFO] [stdout] 3 | | fn entitygroup_get_count(slf: i64) -> i32; [INFO] [stdout] 4 | | fn entitygroup_find(slf: i64, func: i32, stack: i64) -> i64; [INFO] [stdout] 5 | | fn entitygroup_new(components: i64) -> i64; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/observer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn observer_type() -> i32; [INFO] [stdout] 3 | | fn entityobserver_new(event: i32, components: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/path.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn path_get_ext(path: i64) -> i64; [INFO] [stdout] 3 | | fn path_get_path(path: i64) -> i64; [INFO] [stdout] 4 | | fn path_get_name(path: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn path_replace_filename(path: i64, new_file: i64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/content.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn content_set_search_paths(var: i64); [INFO] [stdout] 3 | | fn content_get_search_paths() -> i64; [INFO] [stdout] 4 | | fn content_get_asset_path() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 25 | | fn content_unzip_async(zip_file: i64, folder_path: i64, func: i32, stack: i64, func1: i32, stack1: i64); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/scheduler.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn scheduler_type() -> i32; [INFO] [stdout] 3 | | fn scheduler_set_time_scale(slf: i64, var: f32); [INFO] [stdout] 4 | | fn scheduler_get_time_scale(slf: i64) -> f32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn scheduler_new() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn camera_type() -> i32; [INFO] [stdout] 3 | | fn camera_get_name(slf: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/camera_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn camera2d_type() -> i32; [INFO] [stdout] 3 | | fn camera2d_set_rotation(slf: i64, var: f32); [INFO] [stdout] 4 | | fn camera2d_get_rotation(slf: i64) -> f32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn camera2d_new(name: i64) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/camera_otho.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn cameraotho_type() -> i32; [INFO] [stdout] 3 | | fn cameraotho_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn cameraotho_get_position(slf: i64) -> i64; [INFO] [stdout] 5 | | fn cameraotho_new(name: i64) -> i64; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/pass.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn pass_type() -> i32; [INFO] [stdout] 3 | | fn pass_set_grab_pass(slf: i64, var: i32); [INFO] [stdout] 4 | | fn pass_is_grab_pass(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn pass_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/effect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn effect_type() -> i32; [INFO] [stdout] 3 | | fn effect_add(slf: i64, pass: i64); [INFO] [stdout] 4 | | fn effect_get(slf: i64, index: i64) -> i64; [INFO] [stdout] 5 | | fn effect_clear(slf: i64); [INFO] [stdout] 6 | | fn effect_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/sprite_effect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn spriteeffect_type() -> i32; [INFO] [stdout] 3 | | fn spriteeffect_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/view.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn view_get_size() -> i64; [INFO] [stdout] 3 | | fn view_get_standard_distance() -> f32; [INFO] [stdout] 4 | | fn view_get_aspect_ratio() -> f32; [INFO] [stdout] ... | [INFO] [stdout] 17 | | fn view_is_vsync() -> i32; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/action_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn actiondef_release(raw: i64); [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/action.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn action_type() -> i32; [INFO] [stdout] 3 | | fn action_get_duration(slf: i64) -> f32; [INFO] [stdout] 4 | | fn action_is_running(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 23 | | fn action_scale(duration: f32, start: f32, stop: f32, easing: i32) -> i64; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/grabber.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn grabber_type() -> i32; [INFO] [stdout] 3 | | fn grabber_set_camera(slf: i64, var: i64); [INFO] [stdout] 4 | | fn grabber_get_camera(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 15 | | fn grabber_move_uv(slf: i64, x: i32, y: i32, offset: i64); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn node_type() -> i32; [INFO] [stdout] 3 | | fn node_set_order(slf: i64, var: i32); [INFO] [stdout] 4 | | fn node_get_order(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 114 | | fn node_new() -> i64; [INFO] [stdout] 115 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/texture_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn texture2d_type() -> i32; [INFO] [stdout] 3 | | fn texture2d_get_width(slf: i64) -> i32; [INFO] [stdout] 4 | | fn texture2d_get_height(slf: i64) -> i32; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/sprite.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn sprite_type() -> i32; [INFO] [stdout] 3 | | fn sprite_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn sprite_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 24 | | fn sprite_with_file(clip_str: i64) -> i64; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/grid.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn grid_type() -> i32; [INFO] [stdout] 3 | | fn grid_get_grid_x(slf: i64) -> i32; [INFO] [stdout] 4 | | fn grid_get_grid_y(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 23 | | fn grid_with_file(clip_str: i64, grid_x: i32, grid_y: i32) -> i64; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/touch.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn touch_type() -> i32; [INFO] [stdout] 3 | | fn touch_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn touch_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 10 | | fn touch_get_world_location(slf: i64) -> i64; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/ease.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn ease_func(easing: i32, time: f32) -> f32; [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/label.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn label_type() -> i32; [INFO] [stdout] 3 | | fn label_set_alignment(slf: i64, var: i32); [INFO] [stdout] 4 | | fn label_get_alignment(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 26 | | fn label_new(font_name: i64, font_size: i32) -> i64; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/render_target.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn rendertarget_type() -> i32; [INFO] [stdout] 3 | | fn rendertarget_get_width(slf: i64) -> i32; [INFO] [stdout] 4 | | fn rendertarget_get_height(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn rendertarget_new(width: i32, height: i32) -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/clip_node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn clipnode_type() -> i32; [INFO] [stdout] 3 | | fn clipnode_set_stencil(slf: i64, var: i64); [INFO] [stdout] 4 | | fn clipnode_get_stencil(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn clipnode_new(stencil: i64) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/draw_node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn drawnode_type() -> i32; [INFO] [stdout] 3 | | fn drawnode_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn drawnode_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn drawnode_new() -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/vertex_color.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn vertexcolor_release(raw: i64); [INFO] [stdout] 3 | | fn vertexcolor_set_vertex(slf: i64, var: i64); [INFO] [stdout] 4 | | fn vertexcolor_get_vertex(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn vertexcolor_new(vec: i64, color: i32) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/line.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn line_type() -> i32; [INFO] [stdout] 3 | | fn line_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn line_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 11 | | fn line_with_vec_color(verts: i64, color: i32) -> i64; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/particle.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn particle_type() -> i32; [INFO] [stdout] 3 | | fn particlenode_is_active(slf: i64) -> i32; [INFO] [stdout] 4 | | fn particlenode_start(slf: i64); [INFO] [stdout] 5 | | fn particlenode_stop(slf: i64); [INFO] [stdout] 6 | | fn particlenode_new(filename: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/playable.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn playable_type() -> i32; [INFO] [stdout] 3 | | fn playable_set_look(slf: i64, var: i64); [INFO] [stdout] 4 | | fn playable_get_look(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn playable_new(filename: i64) -> i64; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn model_type() -> i32; [INFO] [stdout] 3 | | fn model_get_duration(slf: i64) -> f32; [INFO] [stdout] 4 | | fn model_set_reversed(slf: i64, var: i32); [INFO] [stdout] ... | [INFO] [stdout] 19 | | fn model_get_animations(filename: i64) -> i64; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/spine.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn spine_type() -> i32; [INFO] [stdout] 3 | | fn spine_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn spine_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn spine_get_animations(spine_str: i64) -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dragon_bone.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dragonbone_type() -> i32; [INFO] [stdout] 3 | | fn dragonbone_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn dragonbone_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn dragonbone_get_animations(bone_str: i64) -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/physics_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn physicsworld_type() -> i32; [INFO] [stdout] 3 | | fn physicsworld_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn physicsworld_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn physicsworld_new() -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/fixture_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn fixturedef_type() -> i32; [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/body_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn bodydef_type() -> i32; [INFO] [stdout] 3 | | fn bodydef_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn bodydef_get_position(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 40 | | fn bodydef_new() -> i64; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/sensor.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn sensor_type() -> i32; [INFO] [stdout] 3 | | fn sensor_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn sensor_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn sensor_contains(slf: i64, body: i64) -> i32; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/body.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn body_type() -> i32; [INFO] [stdout] 3 | | fn body_get_world(slf: i64) -> i64; [INFO] [stdout] 4 | | fn body_get_body_def(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 32 | | fn body_new(def: i64, world: i64, pos: i64, rot: f32) -> i64; [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/joint_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn jointdef_type() -> i32; [INFO] [stdout] 3 | | fn jointdef_set_center(slf: i64, var: i64); [INFO] [stdout] 4 | | fn jointdef_get_center(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn jointdef_wheel(collision: i32, body_a: i64, body_b: i64, world_pos: i64, axis_angle: f32, max_motor_torque: f32, motor_speed: f32,... [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn joint_type() -> i32; [INFO] [stdout] 3 | | fn joint_distance(collision: i32, body_a: i64, body_b: i64, anchor_a: i64, anchor_b: i64, frequency: f32, damping: f32) -> i64; [INFO] [stdout] 4 | | fn joint_friction(collision: i32, body_a: i64, body_b: i64, world_pos: i64, max_force: f32, max_torque: f32) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 16 | | fn joint_new(def: i64, item_dict: i64) -> i64; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/motor_joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn motorjoint_type() -> i32; [INFO] [stdout] 3 | | fn motorjoint_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn motorjoint_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn motorjoint_get_speed(slf: i64) -> f32; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/move_joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn movejoint_type() -> i32; [INFO] [stdout] 3 | | fn movejoint_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn movejoint_get_position(slf: i64) -> i64; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/cache.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn cache_load(filename: i64) -> i32; [INFO] [stdout] 3 | | fn cache_load_async(filename: i64, func: i32); [INFO] [stdout] 4 | | fn cache_update_item(filename: i64, content: i64); [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn cache_remove_unused_by_type(type_name: i64); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/audio.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn audio_play(filename: i64, looping: i32) -> i32; [INFO] [stdout] 3 | | fn audio_stop(handle: i32); [INFO] [stdout] 4 | | fn audio_play_stream(filename: i64, looping: i32, cross_fade_time: f32); [INFO] [stdout] 5 | | fn audio_stop_stream(fade_time: f32); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/keyboard.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn keyboard_is_key_down(name: i64) -> i32; [INFO] [stdout] 3 | | fn keyboard_is_key_up(name: i64) -> i32; [INFO] [stdout] 4 | | fn keyboard_is_key_pressed(name: i64) -> i32; [INFO] [stdout] 5 | | fn keyboard_update_i_m_e_pos_hint(win_pos: i64); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/svg.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn svg_type() -> i32; [INFO] [stdout] 3 | | fn svgdef_get_width(slf: i64) -> f32; [INFO] [stdout] 4 | | fn svgdef_get_height(slf: i64) -> f32; [INFO] [stdout] 5 | | fn svgdef_render(slf: i64); [INFO] [stdout] 6 | | fn svgdef_new(filename: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dbquery.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dbquery_release(raw: i64); [INFO] [stdout] 3 | | fn dbquery_add_with_params(slf: i64, sql: i64, params: i64); [INFO] [stdout] 4 | | fn dbquery_add(slf: i64, sql: i64); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dbparams.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dbparams_release(raw: i64); [INFO] [stdout] 3 | | fn dbparams_add(slf: i64, params: i64); [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dbrecord.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dbrecord_release(raw: i64); [INFO] [stdout] 3 | | fn dbrecord_read(slf: i64, record: i64) -> i32; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/db.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn db_exist(table_name: i64) -> i32; [INFO] [stdout] 3 | | fn db_exist_schema(table_name: i64, schema: i64) -> i32; [INFO] [stdout] 4 | | fn db_exec(sql: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn db_exec_async(sql: i64, params: i64, func: i32, stack: i64); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/c_45.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn c45_build_decision_tree_async(data: i64, max_depth: i32, func: i32, stack: i64); [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/q_learner.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn qlearner_type() -> i32; [INFO] [stdout] 3 | | fn mlqlearner_update(slf: i64, state: i64, action: i32, reward: f64); [INFO] [stdout] 4 | | fn mlqlearner_get_best_action(slf: i64, state: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn mlqlearner_new(gamma: f64, alpha: f64, max_q: f64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/target_allow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_targetallow_release(raw: i64); [INFO] [stdout] 3 | | fn platformer_targetallow_set_terrain_allowed(slf: i64, var: i32); [INFO] [stdout] 4 | | fn platformer_targetallow_is_terrain_allowed(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn platformer_targetallow_with_value(value: i32) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/face.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_face_type() -> i32; [INFO] [stdout] 3 | | fn platformer_face_add_child(slf: i64, face: i64); [INFO] [stdout] 4 | | fn platformer_face_to_node(slf: i64) -> i64; [INFO] [stdout] 5 | | fn platformer_face_new(face_str: i64, point: i64, scale: f32, angle: f32) -> i64; [INFO] [stdout] 6 | | fn platformer_face_with_func(func: i32, stack: i64, point: i64, scale: f32, angle: f32) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/bullet_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_bulletdef_type() -> i32; [INFO] [stdout] 3 | | fn platformer_bulletdef_set_tag(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_bulletdef_get_tag(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 21 | | fn platformer_bulletdef_new() -> i64; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/bullet.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_bullet_type() -> i32; [INFO] [stdout] 3 | | fn platformer_bullet_set_target_allow(slf: i64, var: i32); [INFO] [stdout] 4 | | fn platformer_bullet_get_target_allow(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn platformer_bullet_new(def: i64, owner: i64) -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/visual.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_visual_type() -> i32; [INFO] [stdout] 3 | | fn platformer_visual_is_playing(slf: i64) -> i32; [INFO] [stdout] 4 | | fn platformer_visual_start(slf: i64); [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn platformer_visual_new(name: i64) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/behavior/blackboard.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_behavior_blackboard_get_delta_time(slf: i64) -> f64; [INFO] [stdout] 3 | | fn platformer_behavior_blackboard_get_owner(slf: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/behavior/tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_behavior_tree_type() -> i32; [INFO] [stdout] 3 | | fn platformer_behavior_leaf_seq(nodes: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_behavior_leaf_sel(nodes: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 14 | | fn platformer_behavior_leaf_retry_until_pass(node: i64) -> i64; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/decision/ai.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_decision_ai_get_units_by_relation(relation: i32) -> i64; [INFO] [stdout] 3 | | fn platformer_decision_ai_get_detected_units() -> i64; [INFO] [stdout] 4 | | fn platformer_decision_ai_get_detected_bodies() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn platformer_decision_ai_get_bodies_in_attack_range() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/decision/tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_decision_tree_type() -> i32; [INFO] [stdout] 3 | | fn platformer_decision_leaf_sel(nodes: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_decision_leaf_seq(nodes: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 10 | | fn platformer_decision_leaf_behave(name: i64, root: i64) -> i64; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/action_update.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_actionupdate_release(raw: i64); [INFO] [stdout] 3 | | fn platformer_wasmactionupdate_new(func: i32, stack: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/unit_action.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_unitaction_set_reaction(slf: i64, var: f32); [INFO] [stdout] 3 | | fn platformer_unitaction_get_reaction(slf: i64) -> f32; [INFO] [stdout] 4 | | fn platformer_unitaction_set_recovery(slf: i64, var: f32); [INFO] [stdout] ... | [INFO] [stdout] 11 | | fn platformer_unitaction_add(name: i64, priority: i32, reaction: f32, recovery: f32, queued: i32, func: i32, stack: i64, func1: i32, ... [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/unit.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_unit_type() -> i32; [INFO] [stdout] 3 | | fn platformer_unit_set_playable(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_unit_get_playable(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 33 | | fn platformer_unit_with_store(def_name: i64, world_name: i64, entity: i64, pos: i64, rot: f32) -> i64; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/platform_camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_platformcamera_type() -> i32; [INFO] [stdout] 3 | | fn platformer_platformcamera_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_platformcamera_get_position(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn platformer_platformcamera_new(name: i64) -> i64; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/platform_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_platformworld_type() -> i32; [INFO] [stdout] 3 | | fn platformer_platformworld_get_camera(slf: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_platformworld_move_child(slf: i64, child: i64, new_order: i32); [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn platformer_platformworld_new() -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/data.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_data_get_group_first_player() -> i32; [INFO] [stdout] 3 | | fn platformer_data_get_group_last_player() -> i32; [INFO] [stdout] 4 | | fn platformer_data_get_group_hide() -> i32; [INFO] [stdout] ... | [INFO] [stdout] 24 | | fn platformer_data_clear(); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/buffer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn buffer_type() -> i32; [INFO] [stdout] 3 | | fn buffer_resize(slf: i64, size: i32); [INFO] [stdout] 4 | | fn buffer_zero_memory(slf: i64); [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn buffer_to_string(slf: i64) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/im_gui.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn imgui_load_font_ttf_async(ttf_font_file: i64, font_size: f32, glyph_ranges: i64, func: i32, stack: i64); [INFO] [stdout] 3 | | fn imgui_is_font_loaded() -> i32; [INFO] [stdout] 4 | | fn imgui_show_stats(); [INFO] [stdout] ... | [INFO] [stdout] 121 | | fn imgui__color_edit4(label: i64, stack: i64, show_alpha: i32) -> i32; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 199 | | fn object_get_id(obj: i64) -> i32; [INFO] [stdout] 200 | | fn object_get_type(obj: i64) -> i32; [INFO] [stdout] 201 | | fn object_retain(obj: i64); [INFO] [stdout] ... | [INFO] [stdout] 267 | | fn dora_print(msg: i64); [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/dora.rs:775:10 [INFO] [stdout] | [INFO] [stdout] 775 | ( $( $x:expr ),* ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 775 | ( $( $x:expr_2021 ),* ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1026 | | fn array_set(array: i64, index: i32, item: i64) -> i32; [INFO] [stdout] 1027 | | fn array_get(array: i64, index: i32) -> i64; [INFO] [stdout] 1028 | | fn array_first(array: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 1036 | | fn array_fast_remove(array: i64, item: i64) -> i32; [INFO] [stdout] 1037 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1079:1 [INFO] [stdout] | [INFO] [stdout] 1079 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1080 | | fn dictionary_set(dict: i64, key: i64, value: i64); [INFO] [stdout] 1081 | | fn dictionary_get(dict: i64, key: i64) -> i64; [INFO] [stdout] 1082 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1095:1 [INFO] [stdout] | [INFO] [stdout] 1095 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1096 | | fn entity_set(e: i64, k: i64, v: i64); [INFO] [stdout] 1097 | | fn entity_get(e: i64, k: i64) -> i64; [INFO] [stdout] 1098 | | fn entity_get_old(e: i64, k: i64) -> i64; [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1115:1 [INFO] [stdout] | [INFO] [stdout] 1115 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1116 | | fn group_watch(group: i64, func: i32, stack: i64); [INFO] [stdout] 1117 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1136:1 [INFO] [stdout] | [INFO] [stdout] 1136 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1137 | | fn observer_watch(observer: i64, func: i32, stack: i64); [INFO] [stdout] 1138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1159:1 [INFO] [stdout] | [INFO] [stdout] 1159 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1160 | | fn node_emit(node: i64, name: i64, stack: i64); [INFO] [stdout] 1161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1262:1 [INFO] [stdout] | [INFO] [stdout] 1262 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1263 | | fn blackboard_set(b: i64, k: i64, v: i64); [INFO] [stdout] 1264 | | fn blackboard_get(b: i64, k: i64) -> i64; [INFO] [stdout] 1265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1280:24 [INFO] [stdout] | [INFO] [stdout] 1280 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1280 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1285:24 [INFO] [stdout] | [INFO] [stdout] 1285 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1285 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1290:24 [INFO] [stdout] | [INFO] [stdout] 1290 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1290 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1296:24 [INFO] [stdout] | [INFO] [stdout] 1296 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1296 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1301:24 [INFO] [stdout] | [INFO] [stdout] 1301 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1301 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dorothy_ssr` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/dora.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/dora.rs:775:7 [INFO] [stderr] | [INFO] [stderr] 775 | ( $( $x:expr_2021 ),* ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1280:24 [INFO] [stderr] | [INFO] [stderr] 1280 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1280 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1285:24 [INFO] [stderr] | [INFO] [stderr] 1285 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1285 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1290:24 [INFO] [stderr] | [INFO] [stderr] 1290 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/dora.rs:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 623 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1290 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1296:24 [INFO] [stderr] | [INFO] [stderr] 1296 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/dora.rs:632:3 [INFO] [stdout] | [INFO] [stdout] 632 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 632 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1296 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/dora.rs:1301:24 [INFO] [stderr] | [INFO] [stderr] 1301 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1301 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/rect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn rect_release(raw: i64); [INFO] [stdout] 3 | | fn rect_set_origin(slf: i64, var: i64); [INFO] [stdout] 4 | | fn rect_get_origin(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 36 | | fn rect_zero() -> i64; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/array.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn array_type() -> i32; [INFO] [stdout] 3 | | fn array_get_count(slf: i64) -> i64; [INFO] [stdout] 4 | | fn array_is_empty(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn array_new() -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dictionary.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dictionary_type() -> i32; [INFO] [stdout] 3 | | fn dictionary_get_count(slf: i64) -> i32; [INFO] [stdout] 4 | | fn dictionary_get_keys(slf: i64) -> i64; [INFO] [stdout] 5 | | fn dictionary_clear(slf: i64); [INFO] [stdout] 6 | | fn dictionary_new() -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/director.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn director_set_clear_color(var: i32); [INFO] [stdout] 3 | | fn director_get_clear_color() -> i32; [INFO] [stdout] 4 | | fn director_set_scheduler(var: i64); [INFO] [stdout] ... | [INFO] [stdout] 17 | | fn director_cleanup(); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/app.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn application_get_frame() -> i32; [INFO] [stdout] 3 | | fn application_get_buffer_size() -> i64; [INFO] [stdout] 4 | | fn application_get_visual_size() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 32 | | fn application_shutdown(); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/entity.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn entity_type() -> i32; [INFO] [stdout] 3 | | fn entity_get_count() -> i32; [INFO] [stdout] 4 | | fn entity_get_index(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn entity_new() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/group.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn group_type() -> i32; [INFO] [stdout] 3 | | fn entitygroup_get_count(slf: i64) -> i32; [INFO] [stdout] 4 | | fn entitygroup_find(slf: i64, func: i32, stack: i64) -> i64; [INFO] [stdout] 5 | | fn entitygroup_new(components: i64) -> i64; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/observer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn observer_type() -> i32; [INFO] [stdout] 3 | | fn entityobserver_new(event: i32, components: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/path.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn path_get_ext(path: i64) -> i64; [INFO] [stdout] 3 | | fn path_get_path(path: i64) -> i64; [INFO] [stdout] 4 | | fn path_get_name(path: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn path_replace_filename(path: i64, new_file: i64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/content.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn content_set_search_paths(var: i64); [INFO] [stdout] 3 | | fn content_get_search_paths() -> i64; [INFO] [stdout] 4 | | fn content_get_asset_path() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 25 | | fn content_unzip_async(zip_file: i64, folder_path: i64, func: i32, stack: i64, func1: i32, stack1: i64); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/scheduler.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn scheduler_type() -> i32; [INFO] [stdout] 3 | | fn scheduler_set_time_scale(slf: i64, var: f32); [INFO] [stdout] 4 | | fn scheduler_get_time_scale(slf: i64) -> f32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn scheduler_new() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn camera_type() -> i32; [INFO] [stdout] 3 | | fn camera_get_name(slf: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/camera_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn camera2d_type() -> i32; [INFO] [stdout] 3 | | fn camera2d_set_rotation(slf: i64, var: f32); [INFO] [stdout] 4 | | fn camera2d_get_rotation(slf: i64) -> f32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn camera2d_new(name: i64) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/camera_otho.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn cameraotho_type() -> i32; [INFO] [stdout] 3 | | fn cameraotho_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn cameraotho_get_position(slf: i64) -> i64; [INFO] [stdout] 5 | | fn cameraotho_new(name: i64) -> i64; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/pass.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn pass_type() -> i32; [INFO] [stdout] 3 | | fn pass_set_grab_pass(slf: i64, var: i32); [INFO] [stdout] 4 | | fn pass_is_grab_pass(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn pass_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/effect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn effect_type() -> i32; [INFO] [stdout] 3 | | fn effect_add(slf: i64, pass: i64); [INFO] [stdout] 4 | | fn effect_get(slf: i64, index: i64) -> i64; [INFO] [stdout] 5 | | fn effect_clear(slf: i64); [INFO] [stdout] 6 | | fn effect_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/sprite_effect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn spriteeffect_type() -> i32; [INFO] [stdout] 3 | | fn spriteeffect_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/view.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn view_get_size() -> i64; [INFO] [stdout] 3 | | fn view_get_standard_distance() -> f32; [INFO] [stdout] 4 | | fn view_get_aspect_ratio() -> f32; [INFO] [stdout] ... | [INFO] [stdout] 17 | | fn view_is_vsync() -> i32; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/action_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn actiondef_release(raw: i64); [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/action.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn action_type() -> i32; [INFO] [stdout] 3 | | fn action_get_duration(slf: i64) -> f32; [INFO] [stdout] 4 | | fn action_is_running(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 23 | | fn action_scale(duration: f32, start: f32, stop: f32, easing: i32) -> i64; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/grabber.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn grabber_type() -> i32; [INFO] [stdout] 3 | | fn grabber_set_camera(slf: i64, var: i64); [INFO] [stdout] 4 | | fn grabber_get_camera(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 15 | | fn grabber_move_uv(slf: i64, x: i32, y: i32, offset: i64); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn node_type() -> i32; [INFO] [stdout] 3 | | fn node_set_order(slf: i64, var: i32); [INFO] [stdout] 4 | | fn node_get_order(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 114 | | fn node_new() -> i64; [INFO] [stdout] 115 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/texture_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn texture2d_type() -> i32; [INFO] [stdout] 3 | | fn texture2d_get_width(slf: i64) -> i32; [INFO] [stdout] 4 | | fn texture2d_get_height(slf: i64) -> i32; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/sprite.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn sprite_type() -> i32; [INFO] [stdout] 3 | | fn sprite_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn sprite_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 24 | | fn sprite_with_file(clip_str: i64) -> i64; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/grid.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn grid_type() -> i32; [INFO] [stdout] 3 | | fn grid_get_grid_x(slf: i64) -> i32; [INFO] [stdout] 4 | | fn grid_get_grid_y(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 23 | | fn grid_with_file(clip_str: i64, grid_x: i32, grid_y: i32) -> i64; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/touch.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn touch_type() -> i32; [INFO] [stdout] 3 | | fn touch_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn touch_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 10 | | fn touch_get_world_location(slf: i64) -> i64; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/ease.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn ease_func(easing: i32, time: f32) -> f32; [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/label.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn label_type() -> i32; [INFO] [stdout] 3 | | fn label_set_alignment(slf: i64, var: i32); [INFO] [stdout] 4 | | fn label_get_alignment(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 26 | | fn label_new(font_name: i64, font_size: i32) -> i64; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/render_target.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn rendertarget_type() -> i32; [INFO] [stdout] 3 | | fn rendertarget_get_width(slf: i64) -> i32; [INFO] [stdout] 4 | | fn rendertarget_get_height(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn rendertarget_new(width: i32, height: i32) -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/clip_node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn clipnode_type() -> i32; [INFO] [stdout] 3 | | fn clipnode_set_stencil(slf: i64, var: i64); [INFO] [stdout] 4 | | fn clipnode_get_stencil(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn clipnode_new(stencil: i64) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/draw_node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn drawnode_type() -> i32; [INFO] [stdout] 3 | | fn drawnode_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn drawnode_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn drawnode_new() -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/vertex_color.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn vertexcolor_release(raw: i64); [INFO] [stdout] 3 | | fn vertexcolor_set_vertex(slf: i64, var: i64); [INFO] [stdout] 4 | | fn vertexcolor_get_vertex(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn vertexcolor_new(vec: i64, color: i32) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/line.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn line_type() -> i32; [INFO] [stdout] 3 | | fn line_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn line_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 11 | | fn line_with_vec_color(verts: i64, color: i32) -> i64; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/particle.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn particle_type() -> i32; [INFO] [stdout] 3 | | fn particlenode_is_active(slf: i64) -> i32; [INFO] [stdout] 4 | | fn particlenode_start(slf: i64); [INFO] [stdout] 5 | | fn particlenode_stop(slf: i64); [INFO] [stdout] 6 | | fn particlenode_new(filename: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/playable.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn playable_type() -> i32; [INFO] [stdout] 3 | | fn playable_set_look(slf: i64, var: i64); [INFO] [stdout] 4 | | fn playable_get_look(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn playable_new(filename: i64) -> i64; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn model_type() -> i32; [INFO] [stdout] 3 | | fn model_get_duration(slf: i64) -> f32; [INFO] [stdout] 4 | | fn model_set_reversed(slf: i64, var: i32); [INFO] [stdout] ... | [INFO] [stdout] 19 | | fn model_get_animations(filename: i64) -> i64; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/spine.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn spine_type() -> i32; [INFO] [stdout] 3 | | fn spine_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn spine_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn spine_get_animations(spine_str: i64) -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dragon_bone.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dragonbone_type() -> i32; [INFO] [stdout] 3 | | fn dragonbone_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn dragonbone_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn dragonbone_get_animations(bone_str: i64) -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/physics_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn physicsworld_type() -> i32; [INFO] [stdout] 3 | | fn physicsworld_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn physicsworld_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn physicsworld_new() -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/fixture_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn fixturedef_type() -> i32; [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/body_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn bodydef_type() -> i32; [INFO] [stdout] 3 | | fn bodydef_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn bodydef_get_position(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 40 | | fn bodydef_new() -> i64; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/sensor.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn sensor_type() -> i32; [INFO] [stdout] 3 | | fn sensor_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn sensor_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn sensor_contains(slf: i64, body: i64) -> i32; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/body.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn body_type() -> i32; [INFO] [stdout] 3 | | fn body_get_world(slf: i64) -> i64; [INFO] [stdout] 4 | | fn body_get_body_def(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 32 | | fn body_new(def: i64, world: i64, pos: i64, rot: f32) -> i64; [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/joint_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn jointdef_type() -> i32; [INFO] [stdout] 3 | | fn jointdef_set_center(slf: i64, var: i64); [INFO] [stdout] 4 | | fn jointdef_get_center(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn jointdef_wheel(collision: i32, body_a: i64, body_b: i64, world_pos: i64, axis_angle: f32, max_motor_torque: f32, motor_speed: f32,... [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn joint_type() -> i32; [INFO] [stdout] 3 | | fn joint_distance(collision: i32, body_a: i64, body_b: i64, anchor_a: i64, anchor_b: i64, frequency: f32, damping: f32) -> i64; [INFO] [stdout] 4 | | fn joint_friction(collision: i32, body_a: i64, body_b: i64, world_pos: i64, max_force: f32, max_torque: f32) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 16 | | fn joint_new(def: i64, item_dict: i64) -> i64; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/motor_joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn motorjoint_type() -> i32; [INFO] [stdout] 3 | | fn motorjoint_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn motorjoint_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn motorjoint_get_speed(slf: i64) -> f32; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/move_joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn movejoint_type() -> i32; [INFO] [stdout] 3 | | fn movejoint_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn movejoint_get_position(slf: i64) -> i64; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/cache.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn cache_load(filename: i64) -> i32; [INFO] [stdout] 3 | | fn cache_load_async(filename: i64, func: i32); [INFO] [stdout] 4 | | fn cache_update_item(filename: i64, content: i64); [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn cache_remove_unused_by_type(type_name: i64); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/audio.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn audio_play(filename: i64, looping: i32) -> i32; [INFO] [stdout] 3 | | fn audio_stop(handle: i32); [INFO] [stdout] 4 | | fn audio_play_stream(filename: i64, looping: i32, cross_fade_time: f32); [INFO] [stdout] 5 | | fn audio_stop_stream(fade_time: f32); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/keyboard.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn keyboard_is_key_down(name: i64) -> i32; [INFO] [stdout] 3 | | fn keyboard_is_key_up(name: i64) -> i32; [INFO] [stdout] 4 | | fn keyboard_is_key_pressed(name: i64) -> i32; [INFO] [stdout] 5 | | fn keyboard_update_i_m_e_pos_hint(win_pos: i64); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/svg.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn svg_type() -> i32; [INFO] [stdout] 3 | | fn svgdef_get_width(slf: i64) -> f32; [INFO] [stdout] 4 | | fn svgdef_get_height(slf: i64) -> f32; [INFO] [stdout] 5 | | fn svgdef_render(slf: i64); [INFO] [stdout] 6 | | fn svgdef_new(filename: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dbquery.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dbquery_release(raw: i64); [INFO] [stdout] 3 | | fn dbquery_add_with_params(slf: i64, sql: i64, params: i64); [INFO] [stdout] 4 | | fn dbquery_add(slf: i64, sql: i64); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dbparams.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dbparams_release(raw: i64); [INFO] [stdout] 3 | | fn dbparams_add(slf: i64, params: i64); [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/dbrecord.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn dbrecord_release(raw: i64); [INFO] [stdout] 3 | | fn dbrecord_read(slf: i64, record: i64) -> i32; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/db.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn db_exist(table_name: i64) -> i32; [INFO] [stdout] 3 | | fn db_exist_schema(table_name: i64, schema: i64) -> i32; [INFO] [stdout] 4 | | fn db_exec(sql: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn db_exec_async(sql: i64, params: i64, func: i32, stack: i64); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/c_45.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn c45_build_decision_tree_async(data: i64, max_depth: i32, func: i32, stack: i64); [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/q_learner.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn qlearner_type() -> i32; [INFO] [stdout] 3 | | fn mlqlearner_update(slf: i64, state: i64, action: i32, reward: f64); [INFO] [stdout] 4 | | fn mlqlearner_get_best_action(slf: i64, state: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn mlqlearner_new(gamma: f64, alpha: f64, max_q: f64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/target_allow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_targetallow_release(raw: i64); [INFO] [stdout] 3 | | fn platformer_targetallow_set_terrain_allowed(slf: i64, var: i32); [INFO] [stdout] 4 | | fn platformer_targetallow_is_terrain_allowed(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn platformer_targetallow_with_value(value: i32) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/face.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_face_type() -> i32; [INFO] [stdout] 3 | | fn platformer_face_add_child(slf: i64, face: i64); [INFO] [stdout] 4 | | fn platformer_face_to_node(slf: i64) -> i64; [INFO] [stdout] 5 | | fn platformer_face_new(face_str: i64, point: i64, scale: f32, angle: f32) -> i64; [INFO] [stdout] 6 | | fn platformer_face_with_func(func: i32, stack: i64, point: i64, scale: f32, angle: f32) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/bullet_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_bulletdef_type() -> i32; [INFO] [stdout] 3 | | fn platformer_bulletdef_set_tag(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_bulletdef_get_tag(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 21 | | fn platformer_bulletdef_new() -> i64; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/bullet.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_bullet_type() -> i32; [INFO] [stdout] 3 | | fn platformer_bullet_set_target_allow(slf: i64, var: i32); [INFO] [stdout] 4 | | fn platformer_bullet_get_target_allow(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn platformer_bullet_new(def: i64, owner: i64) -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/visual.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_visual_type() -> i32; [INFO] [stdout] 3 | | fn platformer_visual_is_playing(slf: i64) -> i32; [INFO] [stdout] 4 | | fn platformer_visual_start(slf: i64); [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn platformer_visual_new(name: i64) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/behavior/blackboard.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_behavior_blackboard_get_delta_time(slf: i64) -> f64; [INFO] [stdout] 3 | | fn platformer_behavior_blackboard_get_owner(slf: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/behavior/tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_behavior_tree_type() -> i32; [INFO] [stdout] 3 | | fn platformer_behavior_leaf_seq(nodes: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_behavior_leaf_sel(nodes: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 14 | | fn platformer_behavior_leaf_retry_until_pass(node: i64) -> i64; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/decision/ai.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_decision_ai_get_units_by_relation(relation: i32) -> i64; [INFO] [stdout] 3 | | fn platformer_decision_ai_get_detected_units() -> i64; [INFO] [stdout] 4 | | fn platformer_decision_ai_get_detected_bodies() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn platformer_decision_ai_get_bodies_in_attack_range() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/decision/tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_decision_tree_type() -> i32; [INFO] [stdout] 3 | | fn platformer_decision_leaf_sel(nodes: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_decision_leaf_seq(nodes: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 10 | | fn platformer_decision_leaf_behave(name: i64, root: i64) -> i64; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/action_update.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_actionupdate_release(raw: i64); [INFO] [stdout] 3 | | fn platformer_wasmactionupdate_new(func: i32, stack: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/unit_action.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_unitaction_set_reaction(slf: i64, var: f32); [INFO] [stdout] 3 | | fn platformer_unitaction_get_reaction(slf: i64) -> f32; [INFO] [stdout] 4 | | fn platformer_unitaction_set_recovery(slf: i64, var: f32); [INFO] [stdout] ... | [INFO] [stdout] 11 | | fn platformer_unitaction_add(name: i64, priority: i32, reaction: f32, recovery: f32, queued: i32, func: i32, stack: i64, func1: i32, ... [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/unit.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_unit_type() -> i32; [INFO] [stdout] 3 | | fn platformer_unit_set_playable(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_unit_get_playable(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 33 | | fn platformer_unit_with_store(def_name: i64, world_name: i64, entity: i64, pos: i64, rot: f32) -> i64; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/platform_camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_platformcamera_type() -> i32; [INFO] [stdout] 3 | | fn platformer_platformcamera_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_platformcamera_get_position(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn platformer_platformcamera_new(name: i64) -> i64; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/platform_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_platformworld_type() -> i32; [INFO] [stdout] 3 | | fn platformer_platformworld_get_camera(slf: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_platformworld_move_child(slf: i64, child: i64, new_order: i32); [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn platformer_platformworld_new() -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/platformer/data.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn platformer_data_get_group_first_player() -> i32; [INFO] [stdout] 3 | | fn platformer_data_get_group_last_player() -> i32; [INFO] [stdout] 4 | | fn platformer_data_get_group_hide() -> i32; [INFO] [stdout] ... | [INFO] [stdout] 24 | | fn platformer_data_clear(); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/buffer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn buffer_type() -> i32; [INFO] [stdout] 3 | | fn buffer_resize(slf: i64, size: i32); [INFO] [stdout] 4 | | fn buffer_zero_memory(slf: i64); [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn buffer_to_string(slf: i64) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora/im_gui.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 2 | | fn imgui_load_font_ttf_async(ttf_font_file: i64, font_size: f32, glyph_ranges: i64, func: i32, stack: i64); [INFO] [stdout] 3 | | fn imgui_is_font_loaded() -> i32; [INFO] [stdout] 4 | | fn imgui_show_stats(); [INFO] [stdout] ... | [INFO] [stdout] 121 | | fn imgui__color_edit4(label: i64, stack: i64, show_alpha: i32) -> i32; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 199 | | fn object_get_id(obj: i64) -> i32; [INFO] [stdout] 200 | | fn object_get_type(obj: i64) -> i32; [INFO] [stdout] 201 | | fn object_retain(obj: i64); [INFO] [stdout] ... | [INFO] [stdout] 267 | | fn dora_print(msg: i64); [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/dora.rs:775:10 [INFO] [stdout] | [INFO] [stdout] 775 | ( $( $x:expr ),* ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 775 | ( $( $x:expr_2021 ),* ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1026 | | fn array_set(array: i64, index: i32, item: i64) -> i32; [INFO] [stdout] 1027 | | fn array_get(array: i64, index: i32) -> i64; [INFO] [stdout] 1028 | | fn array_first(array: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 1036 | | fn array_fast_remove(array: i64, item: i64) -> i32; [INFO] [stdout] 1037 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1079:1 [INFO] [stdout] | [INFO] [stdout] 1079 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1080 | | fn dictionary_set(dict: i64, key: i64, value: i64); [INFO] [stdout] 1081 | | fn dictionary_get(dict: i64, key: i64) -> i64; [INFO] [stdout] 1082 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1095:1 [INFO] [stdout] | [INFO] [stdout] 1095 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1096 | | fn entity_set(e: i64, k: i64, v: i64); [INFO] [stdout] 1097 | | fn entity_get(e: i64, k: i64) -> i64; [INFO] [stdout] 1098 | | fn entity_get_old(e: i64, k: i64) -> i64; [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1115:1 [INFO] [stdout] | [INFO] [stdout] 1115 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1116 | | fn group_watch(group: i64, func: i32, stack: i64); [INFO] [stdout] 1117 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1136:1 [INFO] [stdout] | [INFO] [stdout] 1136 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1137 | | fn observer_watch(observer: i64, func: i32, stack: i64); [INFO] [stdout] 1138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1159:1 [INFO] [stdout] | [INFO] [stdout] 1159 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1160 | | fn node_emit(node: i64, name: i64, stack: i64); [INFO] [stdout] 1161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dora.rs:1262:1 [INFO] [stdout] | [INFO] [stdout] 1262 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 1263 | | fn blackboard_set(b: i64, k: i64, v: i64); [INFO] [stdout] 1264 | | fn blackboard_get(b: i64, k: i64) -> i64; [INFO] [stdout] 1265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1280:24 [INFO] [stdout] | [INFO] [stdout] 1280 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1280 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1285:24 [INFO] [stdout] | [INFO] [stdout] 1285 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1285 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1290:24 [INFO] [stdout] | [INFO] [stdout] 1290 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1290 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1296:24 [INFO] [stdout] | [INFO] [stdout] 1296 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1296 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/dora.rs:1301:24 [INFO] [stdout] | [INFO] [stdout] 1301 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1301 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking dorothy-ssr v0.1.4 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/rect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn rect_release(raw: i64); [INFO] [stdout] 3 | | fn rect_set_origin(slf: i64, var: i64); [INFO] [stdout] 4 | | fn rect_get_origin(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 36 | | fn rect_zero() -> i64; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/array.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn array_type() -> i32; [INFO] [stdout] 3 | | fn array_get_count(slf: i64) -> i64; [INFO] [stdout] 4 | | fn array_is_empty(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn array_new() -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dictionary.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dictionary_type() -> i32; [INFO] [stdout] 3 | | fn dictionary_get_count(slf: i64) -> i32; [INFO] [stdout] 4 | | fn dictionary_get_keys(slf: i64) -> i64; [INFO] [stdout] 5 | | fn dictionary_clear(slf: i64); [INFO] [stdout] 6 | | fn dictionary_new() -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/director.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn director_set_clear_color(var: i32); [INFO] [stdout] 3 | | fn director_get_clear_color() -> i32; [INFO] [stdout] 4 | | fn director_set_scheduler(var: i64); [INFO] [stdout] ... | [INFO] [stdout] 17 | | fn director_cleanup(); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/app.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn application_get_frame() -> i32; [INFO] [stdout] 3 | | fn application_get_buffer_size() -> i64; [INFO] [stdout] 4 | | fn application_get_visual_size() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 32 | | fn application_shutdown(); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/entity.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn entity_type() -> i32; [INFO] [stdout] 3 | | fn entity_get_count() -> i32; [INFO] [stdout] 4 | | fn entity_get_index(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn entity_new() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/group.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn group_type() -> i32; [INFO] [stdout] 3 | | fn entitygroup_get_count(slf: i64) -> i32; [INFO] [stdout] 4 | | fn entitygroup_find(slf: i64, func: i32, stack: i64) -> i64; [INFO] [stdout] 5 | | fn entitygroup_new(components: i64) -> i64; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/observer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn observer_type() -> i32; [INFO] [stdout] 3 | | fn entityobserver_new(event: i32, components: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/path.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn path_get_ext(path: i64) -> i64; [INFO] [stdout] 3 | | fn path_get_path(path: i64) -> i64; [INFO] [stdout] 4 | | fn path_get_name(path: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn path_replace_filename(path: i64, new_file: i64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/content.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn content_set_search_paths(var: i64); [INFO] [stdout] 3 | | fn content_get_search_paths() -> i64; [INFO] [stdout] 4 | | fn content_get_asset_path() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 25 | | fn content_unzip_async(zip_file: i64, folder_path: i64, func: i32, stack: i64, func1: i32, stack1: i64); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/scheduler.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn scheduler_type() -> i32; [INFO] [stdout] 3 | | fn scheduler_set_time_scale(slf: i64, var: f32); [INFO] [stdout] 4 | | fn scheduler_get_time_scale(slf: i64) -> f32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn scheduler_new() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn camera_type() -> i32; [INFO] [stdout] 3 | | fn camera_get_name(slf: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/camera_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn camera2d_type() -> i32; [INFO] [stdout] 3 | | fn camera2d_set_rotation(slf: i64, var: f32); [INFO] [stdout] 4 | | fn camera2d_get_rotation(slf: i64) -> f32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn camera2d_new(name: i64) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/camera_otho.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn cameraotho_type() -> i32; [INFO] [stdout] 3 | | fn cameraotho_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn cameraotho_get_position(slf: i64) -> i64; [INFO] [stdout] 5 | | fn cameraotho_new(name: i64) -> i64; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/pass.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn pass_type() -> i32; [INFO] [stdout] 3 | | fn pass_set_grab_pass(slf: i64, var: i32); [INFO] [stdout] 4 | | fn pass_is_grab_pass(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn pass_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/effect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn effect_type() -> i32; [INFO] [stdout] 3 | | fn effect_add(slf: i64, pass: i64); [INFO] [stdout] 4 | | fn effect_get(slf: i64, index: i64) -> i64; [INFO] [stdout] 5 | | fn effect_clear(slf: i64); [INFO] [stdout] 6 | | fn effect_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/sprite_effect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn spriteeffect_type() -> i32; [INFO] [stdout] 3 | | fn spriteeffect_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/view.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn view_get_size() -> i64; [INFO] [stdout] 3 | | fn view_get_standard_distance() -> f32; [INFO] [stdout] 4 | | fn view_get_aspect_ratio() -> f32; [INFO] [stdout] ... | [INFO] [stdout] 17 | | fn view_is_vsync() -> i32; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/action_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn actiondef_release(raw: i64); [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/action.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn action_type() -> i32; [INFO] [stdout] 3 | | fn action_get_duration(slf: i64) -> f32; [INFO] [stdout] 4 | | fn action_is_running(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 23 | | fn action_scale(duration: f32, start: f32, stop: f32, easing: i32) -> i64; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/grabber.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn grabber_type() -> i32; [INFO] [stdout] 3 | | fn grabber_set_camera(slf: i64, var: i64); [INFO] [stdout] 4 | | fn grabber_get_camera(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 15 | | fn grabber_move_uv(slf: i64, x: i32, y: i32, offset: i64); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn node_type() -> i32; [INFO] [stdout] 3 | | fn node_set_order(slf: i64, var: i32); [INFO] [stdout] 4 | | fn node_get_order(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 114 | | fn node_new() -> i64; [INFO] [stdout] 115 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/texture_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn texture2d_type() -> i32; [INFO] [stdout] 3 | | fn texture2d_get_width(slf: i64) -> i32; [INFO] [stdout] 4 | | fn texture2d_get_height(slf: i64) -> i32; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/sprite.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn sprite_type() -> i32; [INFO] [stdout] 3 | | fn sprite_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn sprite_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 24 | | fn sprite_with_file(clip_str: i64) -> i64; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/grid.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn grid_type() -> i32; [INFO] [stdout] 3 | | fn grid_get_grid_x(slf: i64) -> i32; [INFO] [stdout] 4 | | fn grid_get_grid_y(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 23 | | fn grid_with_file(clip_str: i64, grid_x: i32, grid_y: i32) -> i64; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/touch.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn touch_type() -> i32; [INFO] [stdout] 3 | | fn touch_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn touch_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 10 | | fn touch_get_world_location(slf: i64) -> i64; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/ease.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn ease_func(easing: i32, time: f32) -> f32; [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/label.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn label_type() -> i32; [INFO] [stdout] 3 | | fn label_set_alignment(slf: i64, var: i32); [INFO] [stdout] 4 | | fn label_get_alignment(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 26 | | fn label_new(font_name: i64, font_size: i32) -> i64; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/render_target.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn rendertarget_type() -> i32; [INFO] [stdout] 3 | | fn rendertarget_get_width(slf: i64) -> i32; [INFO] [stdout] 4 | | fn rendertarget_get_height(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn rendertarget_new(width: i32, height: i32) -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/clip_node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn clipnode_type() -> i32; [INFO] [stdout] 3 | | fn clipnode_set_stencil(slf: i64, var: i64); [INFO] [stdout] 4 | | fn clipnode_get_stencil(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn clipnode_new(stencil: i64) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/draw_node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn drawnode_type() -> i32; [INFO] [stdout] 3 | | fn drawnode_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn drawnode_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn drawnode_new() -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/vertex_color.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn vertexcolor_release(raw: i64); [INFO] [stdout] 3 | | fn vertexcolor_set_vertex(slf: i64, var: i64); [INFO] [stdout] 4 | | fn vertexcolor_get_vertex(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn vertexcolor_new(vec: i64, color: i32) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/line.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn line_type() -> i32; [INFO] [stdout] 3 | | fn line_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn line_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 11 | | fn line_with_vec_color(verts: i64, color: i32) -> i64; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/particle.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn particle_type() -> i32; [INFO] [stdout] 3 | | fn particlenode_is_active(slf: i64) -> i32; [INFO] [stdout] 4 | | fn particlenode_start(slf: i64); [INFO] [stdout] 5 | | fn particlenode_stop(slf: i64); [INFO] [stdout] 6 | | fn particlenode_new(filename: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/playable.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn playable_type() -> i32; [INFO] [stdout] 3 | | fn playable_set_look(slf: i64, var: i64); [INFO] [stdout] 4 | | fn playable_get_look(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn playable_new(filename: i64) -> i64; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn model_type() -> i32; [INFO] [stdout] 3 | | fn model_get_duration(slf: i64) -> f32; [INFO] [stdout] 4 | | fn model_set_reversed(slf: i64, var: i32); [INFO] [stdout] ... | [INFO] [stdout] 19 | | fn model_get_animations(filename: i64) -> i64; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/spine.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn spine_type() -> i32; [INFO] [stdout] 3 | | fn spine_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn spine_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn spine_get_animations(spine_str: i64) -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dragon_bone.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dragonbone_type() -> i32; [INFO] [stdout] 3 | | fn dragonbone_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn dragonbone_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn dragonbone_get_animations(bone_str: i64) -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/physics_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn physicsworld_type() -> i32; [INFO] [stdout] 3 | | fn physicsworld_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn physicsworld_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn physicsworld_new() -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/fixture_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn fixturedef_type() -> i32; [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/body_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn bodydef_type() -> i32; [INFO] [stdout] 3 | | fn bodydef_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn bodydef_get_position(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 40 | | fn bodydef_new() -> i64; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/sensor.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn sensor_type() -> i32; [INFO] [stdout] 3 | | fn sensor_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn sensor_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn sensor_contains(slf: i64, body: i64) -> i32; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/body.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn body_type() -> i32; [INFO] [stdout] 3 | | fn body_get_world(slf: i64) -> i64; [INFO] [stdout] 4 | | fn body_get_body_def(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 32 | | fn body_new(def: i64, world: i64, pos: i64, rot: f32) -> i64; [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/joint_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn jointdef_type() -> i32; [INFO] [stdout] 3 | | fn jointdef_set_center(slf: i64, var: i64); [INFO] [stdout] 4 | | fn jointdef_get_center(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn jointdef_wheel(collision: i32, body_a: i64, body_b: i64, world_pos: i64, axis_angle: f32, max_motor_torque: f32, motor_speed: f32,... [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn joint_type() -> i32; [INFO] [stdout] 3 | | fn joint_distance(collision: i32, body_a: i64, body_b: i64, anchor_a: i64, anchor_b: i64, frequency: f32, damping: f32) -> i64; [INFO] [stdout] 4 | | fn joint_friction(collision: i32, body_a: i64, body_b: i64, world_pos: i64, max_force: f32, max_torque: f32) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 16 | | fn joint_new(def: i64, item_dict: i64) -> i64; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/motor_joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn motorjoint_type() -> i32; [INFO] [stdout] 3 | | fn motorjoint_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn motorjoint_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn motorjoint_get_speed(slf: i64) -> f32; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/move_joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn movejoint_type() -> i32; [INFO] [stdout] 3 | | fn movejoint_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn movejoint_get_position(slf: i64) -> i64; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/cache.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn cache_load(filename: i64) -> i32; [INFO] [stdout] 3 | | fn cache_load_async(filename: i64, func: i32); [INFO] [stdout] 4 | | fn cache_update_item(filename: i64, content: i64); [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn cache_remove_unused_by_type(type_name: i64); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/audio.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn audio_play(filename: i64, looping: i32) -> i32; [INFO] [stdout] 3 | | fn audio_stop(handle: i32); [INFO] [stdout] 4 | | fn audio_play_stream(filename: i64, looping: i32, cross_fade_time: f32); [INFO] [stdout] 5 | | fn audio_stop_stream(fade_time: f32); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/keyboard.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn keyboard_is_key_down(name: i64) -> i32; [INFO] [stdout] 3 | | fn keyboard_is_key_up(name: i64) -> i32; [INFO] [stdout] 4 | | fn keyboard_is_key_pressed(name: i64) -> i32; [INFO] [stdout] 5 | | fn keyboard_update_i_m_e_pos_hint(win_pos: i64); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/svg.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn svg_type() -> i32; [INFO] [stdout] 3 | | fn svgdef_get_width(slf: i64) -> f32; [INFO] [stdout] 4 | | fn svgdef_get_height(slf: i64) -> f32; [INFO] [stdout] 5 | | fn svgdef_render(slf: i64); [INFO] [stdout] 6 | | fn svgdef_new(filename: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dbquery.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dbquery_release(raw: i64); [INFO] [stdout] 3 | | fn dbquery_add_with_params(slf: i64, sql: i64, params: i64); [INFO] [stdout] 4 | | fn dbquery_add(slf: i64, sql: i64); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dbparams.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dbparams_release(raw: i64); [INFO] [stdout] 3 | | fn dbparams_add(slf: i64, params: i64); [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dbrecord.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dbrecord_release(raw: i64); [INFO] [stdout] 3 | | fn dbrecord_read(slf: i64, record: i64) -> i32; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/db.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn db_exist(table_name: i64) -> i32; [INFO] [stdout] 3 | | fn db_exist_schema(table_name: i64, schema: i64) -> i32; [INFO] [stdout] 4 | | fn db_exec(sql: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn db_exec_async(sql: i64, params: i64, func: i32, stack: i64); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/c_45.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn c45_build_decision_tree_async(data: i64, max_depth: i32, func: i32, stack: i64); [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/q_learner.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn qlearner_type() -> i32; [INFO] [stdout] 3 | | fn mlqlearner_update(slf: i64, state: i64, action: i32, reward: f64); [INFO] [stdout] 4 | | fn mlqlearner_get_best_action(slf: i64, state: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn mlqlearner_new(gamma: f64, alpha: f64, max_q: f64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/target_allow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_targetallow_release(raw: i64); [INFO] [stdout] 3 | | fn platformer_targetallow_set_terrain_allowed(slf: i64, var: i32); [INFO] [stdout] 4 | | fn platformer_targetallow_is_terrain_allowed(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn platformer_targetallow_with_value(value: i32) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/face.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_face_type() -> i32; [INFO] [stdout] 3 | | fn platformer_face_add_child(slf: i64, face: i64); [INFO] [stdout] 4 | | fn platformer_face_to_node(slf: i64) -> i64; [INFO] [stdout] 5 | | fn platformer_face_new(face_str: i64, point: i64, scale: f32, angle: f32) -> i64; [INFO] [stdout] 6 | | fn platformer_face_with_func(func: i32, stack: i64, point: i64, scale: f32, angle: f32) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/bullet_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_bulletdef_type() -> i32; [INFO] [stdout] 3 | | fn platformer_bulletdef_set_tag(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_bulletdef_get_tag(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 21 | | fn platformer_bulletdef_new() -> i64; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/bullet.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_bullet_type() -> i32; [INFO] [stdout] 3 | | fn platformer_bullet_set_target_allow(slf: i64, var: i32); [INFO] [stdout] 4 | | fn platformer_bullet_get_target_allow(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn platformer_bullet_new(def: i64, owner: i64) -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/visual.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_visual_type() -> i32; [INFO] [stdout] 3 | | fn platformer_visual_is_playing(slf: i64) -> i32; [INFO] [stdout] 4 | | fn platformer_visual_start(slf: i64); [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn platformer_visual_new(name: i64) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/behavior/blackboard.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_behavior_blackboard_get_delta_time(slf: i64) -> f64; [INFO] [stdout] 3 | | fn platformer_behavior_blackboard_get_owner(slf: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/behavior/tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_behavior_tree_type() -> i32; [INFO] [stdout] 3 | | fn platformer_behavior_leaf_seq(nodes: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_behavior_leaf_sel(nodes: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 14 | | fn platformer_behavior_leaf_retry_until_pass(node: i64) -> i64; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/decision/ai.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_decision_ai_get_units_by_relation(relation: i32) -> i64; [INFO] [stdout] 3 | | fn platformer_decision_ai_get_detected_units() -> i64; [INFO] [stdout] 4 | | fn platformer_decision_ai_get_detected_bodies() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn platformer_decision_ai_get_bodies_in_attack_range() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/decision/tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_decision_tree_type() -> i32; [INFO] [stdout] 3 | | fn platformer_decision_leaf_sel(nodes: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_decision_leaf_seq(nodes: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 10 | | fn platformer_decision_leaf_behave(name: i64, root: i64) -> i64; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/action_update.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_actionupdate_release(raw: i64); [INFO] [stdout] 3 | | fn platformer_wasmactionupdate_new(func: i32, stack: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/unit_action.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_unitaction_set_reaction(slf: i64, var: f32); [INFO] [stdout] 3 | | fn platformer_unitaction_get_reaction(slf: i64) -> f32; [INFO] [stdout] 4 | | fn platformer_unitaction_set_recovery(slf: i64, var: f32); [INFO] [stdout] ... | [INFO] [stdout] 11 | | fn platformer_unitaction_add(name: i64, priority: i32, reaction: f32, recovery: f32, queued: i32, func: i32, stack: i64, func1: i32, ... [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/unit.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_unit_type() -> i32; [INFO] [stdout] 3 | | fn platformer_unit_set_playable(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_unit_get_playable(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 33 | | fn platformer_unit_with_store(def_name: i64, world_name: i64, entity: i64, pos: i64, rot: f32) -> i64; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/platform_camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_platformcamera_type() -> i32; [INFO] [stdout] 3 | | fn platformer_platformcamera_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_platformcamera_get_position(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn platformer_platformcamera_new(name: i64) -> i64; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/platform_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_platformworld_type() -> i32; [INFO] [stdout] 3 | | fn platformer_platformworld_get_camera(slf: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_platformworld_move_child(slf: i64, child: i64, new_order: i32); [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn platformer_platformworld_new() -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/data.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_data_get_group_first_player() -> i32; [INFO] [stdout] 3 | | fn platformer_data_get_group_last_player() -> i32; [INFO] [stdout] 4 | | fn platformer_data_get_group_hide() -> i32; [INFO] [stdout] ... | [INFO] [stdout] 24 | | fn platformer_data_clear(); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/buffer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn buffer_type() -> i32; [INFO] [stdout] 3 | | fn buffer_resize(slf: i64, size: i32); [INFO] [stdout] 4 | | fn buffer_zero_memory(slf: i64); [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn buffer_to_string(slf: i64) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/im_gui.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn imgui_load_font_ttf_async(ttf_font_file: i64, font_size: f32, glyph_ranges: i64, func: i32, stack: i64); [INFO] [stdout] 3 | | fn imgui_is_font_loaded() -> i32; [INFO] [stdout] 4 | | fn imgui_show_stats(); [INFO] [stdout] ... | [INFO] [stdout] 121 | | fn imgui__color_edit4(label: i64, stack: i64, show_alpha: i32) -> i32; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / extern "C" { [INFO] [stdout] 199 | | fn object_get_id(obj: i64) -> i32; [INFO] [stdout] 200 | | fn object_get_type(obj: i64) -> i32; [INFO] [stdout] 201 | | fn object_retain(obj: i64); [INFO] [stdout] ... | [INFO] [stdout] 267 | | fn dora_print(msg: i64); [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/dora.rs:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 623 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/dora.rs:632:3 [INFO] [stdout] | [INFO] [stdout] 632 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 632 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | / extern "C" { [INFO] [stdout] 1026 | | fn array_set(array: i64, index: i32, item: i64) -> i32; [INFO] [stdout] 1027 | | fn array_get(array: i64, index: i32) -> i64; [INFO] [stdout] 1028 | | fn array_first(array: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 1036 | | fn array_fast_remove(array: i64, item: i64) -> i32; [INFO] [stdout] 1037 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1079:1 [INFO] [stdout] | [INFO] [stdout] 1079 | / extern "C" { [INFO] [stdout] 1080 | | fn dictionary_set(dict: i64, key: i64, value: i64); [INFO] [stdout] 1081 | | fn dictionary_get(dict: i64, key: i64) -> i64; [INFO] [stdout] 1082 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1095:1 [INFO] [stdout] | [INFO] [stdout] 1095 | / extern "C" { [INFO] [stdout] 1096 | | fn entity_set(e: i64, k: i64, v: i64); [INFO] [stdout] 1097 | | fn entity_get(e: i64, k: i64) -> i64; [INFO] [stdout] 1098 | | fn entity_get_old(e: i64, k: i64) -> i64; [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1115:1 [INFO] [stdout] | [INFO] [stdout] 1115 | / extern "C" { [INFO] [stdout] 1116 | | fn group_watch(group: i64, func: i32, stack: i64); [INFO] [stdout] 1117 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1136:1 [INFO] [stdout] | [INFO] [stdout] 1136 | / extern "C" { [INFO] [stdout] 1137 | | fn observer_watch(observer: i64, func: i32, stack: i64); [INFO] [stdout] 1138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1159:1 [INFO] [stdout] | [INFO] [stdout] 1159 | / extern "C" { [INFO] [stdout] 1160 | | fn node_emit(node: i64, name: i64, stack: i64); [INFO] [stdout] 1161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1262:1 [INFO] [stdout] | [INFO] [stdout] 1262 | / extern "C" { [INFO] [stdout] 1263 | | fn blackboard_set(b: i64, k: i64, v: i64); [INFO] [stdout] 1264 | | fn blackboard_get(b: i64, k: i64) -> i64; [INFO] [stdout] 1265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/rect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn rect_release(raw: i64); [INFO] [stdout] 3 | | fn rect_set_origin(slf: i64, var: i64); [INFO] [stdout] 4 | | fn rect_get_origin(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 36 | | fn rect_zero() -> i64; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/array.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn array_type() -> i32; [INFO] [stdout] 3 | | fn array_get_count(slf: i64) -> i64; [INFO] [stdout] 4 | | fn array_is_empty(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn array_new() -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dictionary.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dictionary_type() -> i32; [INFO] [stdout] 3 | | fn dictionary_get_count(slf: i64) -> i32; [INFO] [stdout] 4 | | fn dictionary_get_keys(slf: i64) -> i64; [INFO] [stdout] 5 | | fn dictionary_clear(slf: i64); [INFO] [stdout] 6 | | fn dictionary_new() -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/director.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn director_set_clear_color(var: i32); [INFO] [stdout] 3 | | fn director_get_clear_color() -> i32; [INFO] [stdout] 4 | | fn director_set_scheduler(var: i64); [INFO] [stdout] ... | [INFO] [stdout] 17 | | fn director_cleanup(); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/app.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn application_get_frame() -> i32; [INFO] [stdout] 3 | | fn application_get_buffer_size() -> i64; [INFO] [stdout] 4 | | fn application_get_visual_size() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 32 | | fn application_shutdown(); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/entity.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn entity_type() -> i32; [INFO] [stdout] 3 | | fn entity_get_count() -> i32; [INFO] [stdout] 4 | | fn entity_get_index(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn entity_new() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/group.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn group_type() -> i32; [INFO] [stdout] 3 | | fn entitygroup_get_count(slf: i64) -> i32; [INFO] [stdout] 4 | | fn entitygroup_find(slf: i64, func: i32, stack: i64) -> i64; [INFO] [stdout] 5 | | fn entitygroup_new(components: i64) -> i64; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/observer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn observer_type() -> i32; [INFO] [stdout] 3 | | fn entityobserver_new(event: i32, components: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/path.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn path_get_ext(path: i64) -> i64; [INFO] [stdout] 3 | | fn path_get_path(path: i64) -> i64; [INFO] [stdout] 4 | | fn path_get_name(path: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn path_replace_filename(path: i64, new_file: i64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/content.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn content_set_search_paths(var: i64); [INFO] [stdout] 3 | | fn content_get_search_paths() -> i64; [INFO] [stdout] 4 | | fn content_get_asset_path() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 25 | | fn content_unzip_async(zip_file: i64, folder_path: i64, func: i32, stack: i64, func1: i32, stack1: i64); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/scheduler.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn scheduler_type() -> i32; [INFO] [stdout] 3 | | fn scheduler_set_time_scale(slf: i64, var: f32); [INFO] [stdout] 4 | | fn scheduler_get_time_scale(slf: i64) -> f32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn scheduler_new() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn camera_type() -> i32; [INFO] [stdout] 3 | | fn camera_get_name(slf: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/camera_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn camera2d_type() -> i32; [INFO] [stdout] 3 | | fn camera2d_set_rotation(slf: i64, var: f32); [INFO] [stdout] 4 | | fn camera2d_get_rotation(slf: i64) -> f32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn camera2d_new(name: i64) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/camera_otho.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn cameraotho_type() -> i32; [INFO] [stdout] 3 | | fn cameraotho_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn cameraotho_get_position(slf: i64) -> i64; [INFO] [stdout] 5 | | fn cameraotho_new(name: i64) -> i64; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/pass.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn pass_type() -> i32; [INFO] [stdout] 3 | | fn pass_set_grab_pass(slf: i64, var: i32); [INFO] [stdout] 4 | | fn pass_is_grab_pass(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn pass_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/effect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn effect_type() -> i32; [INFO] [stdout] 3 | | fn effect_add(slf: i64, pass: i64); [INFO] [stdout] 4 | | fn effect_get(slf: i64, index: i64) -> i64; [INFO] [stdout] 5 | | fn effect_clear(slf: i64); [INFO] [stdout] 6 | | fn effect_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/sprite_effect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn spriteeffect_type() -> i32; [INFO] [stdout] 3 | | fn spriteeffect_new(vert_shader: i64, frag_shader: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/view.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn view_get_size() -> i64; [INFO] [stdout] 3 | | fn view_get_standard_distance() -> f32; [INFO] [stdout] 4 | | fn view_get_aspect_ratio() -> f32; [INFO] [stdout] ... | [INFO] [stdout] 17 | | fn view_is_vsync() -> i32; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/action_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn actiondef_release(raw: i64); [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/action.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn action_type() -> i32; [INFO] [stdout] 3 | | fn action_get_duration(slf: i64) -> f32; [INFO] [stdout] 4 | | fn action_is_running(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 23 | | fn action_scale(duration: f32, start: f32, stop: f32, easing: i32) -> i64; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/grabber.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn grabber_type() -> i32; [INFO] [stdout] 3 | | fn grabber_set_camera(slf: i64, var: i64); [INFO] [stdout] 4 | | fn grabber_get_camera(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 15 | | fn grabber_move_uv(slf: i64, x: i32, y: i32, offset: i64); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn node_type() -> i32; [INFO] [stdout] 3 | | fn node_set_order(slf: i64, var: i32); [INFO] [stdout] 4 | | fn node_get_order(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 114 | | fn node_new() -> i64; [INFO] [stdout] 115 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/texture_2d.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn texture2d_type() -> i32; [INFO] [stdout] 3 | | fn texture2d_get_width(slf: i64) -> i32; [INFO] [stdout] 4 | | fn texture2d_get_height(slf: i64) -> i32; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/sprite.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn sprite_type() -> i32; [INFO] [stdout] 3 | | fn sprite_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn sprite_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 24 | | fn sprite_with_file(clip_str: i64) -> i64; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/grid.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn grid_type() -> i32; [INFO] [stdout] 3 | | fn grid_get_grid_x(slf: i64) -> i32; [INFO] [stdout] 4 | | fn grid_get_grid_y(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 23 | | fn grid_with_file(clip_str: i64, grid_x: i32, grid_y: i32) -> i64; [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/touch.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn touch_type() -> i32; [INFO] [stdout] 3 | | fn touch_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn touch_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 10 | | fn touch_get_world_location(slf: i64) -> i64; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/ease.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn ease_func(easing: i32, time: f32) -> f32; [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/label.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn label_type() -> i32; [INFO] [stdout] 3 | | fn label_set_alignment(slf: i64, var: i32); [INFO] [stdout] 4 | | fn label_get_alignment(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 26 | | fn label_new(font_name: i64, font_size: i32) -> i64; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/render_target.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn rendertarget_type() -> i32; [INFO] [stdout] 3 | | fn rendertarget_get_width(slf: i64) -> i32; [INFO] [stdout] 4 | | fn rendertarget_get_height(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn rendertarget_new(width: i32, height: i32) -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/clip_node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn clipnode_type() -> i32; [INFO] [stdout] 3 | | fn clipnode_set_stencil(slf: i64, var: i64); [INFO] [stdout] 4 | | fn clipnode_get_stencil(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn clipnode_new(stencil: i64) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/draw_node.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn drawnode_type() -> i32; [INFO] [stdout] 3 | | fn drawnode_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn drawnode_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn drawnode_new() -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/vertex_color.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn vertexcolor_release(raw: i64); [INFO] [stdout] 3 | | fn vertexcolor_set_vertex(slf: i64, var: i64); [INFO] [stdout] 4 | | fn vertexcolor_get_vertex(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn vertexcolor_new(vec: i64, color: i32) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/line.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn line_type() -> i32; [INFO] [stdout] 3 | | fn line_set_depth_write(slf: i64, var: i32); [INFO] [stdout] 4 | | fn line_is_depth_write(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 11 | | fn line_with_vec_color(verts: i64, color: i32) -> i64; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/particle.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn particle_type() -> i32; [INFO] [stdout] 3 | | fn particlenode_is_active(slf: i64) -> i32; [INFO] [stdout] 4 | | fn particlenode_start(slf: i64); [INFO] [stdout] 5 | | fn particlenode_stop(slf: i64); [INFO] [stdout] 6 | | fn particlenode_new(filename: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/playable.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn playable_type() -> i32; [INFO] [stdout] 3 | | fn playable_set_look(slf: i64, var: i64); [INFO] [stdout] 4 | | fn playable_get_look(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn playable_new(filename: i64) -> i64; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn model_type() -> i32; [INFO] [stdout] 3 | | fn model_get_duration(slf: i64) -> f32; [INFO] [stdout] 4 | | fn model_set_reversed(slf: i64, var: i32); [INFO] [stdout] ... | [INFO] [stdout] 19 | | fn model_get_animations(filename: i64) -> i64; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/spine.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn spine_type() -> i32; [INFO] [stdout] 3 | | fn spine_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn spine_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn spine_get_animations(spine_str: i64) -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dragon_bone.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dragonbone_type() -> i32; [INFO] [stdout] 3 | | fn dragonbone_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn dragonbone_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn dragonbone_get_animations(bone_str: i64) -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/physics_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn physicsworld_type() -> i32; [INFO] [stdout] 3 | | fn physicsworld_set_show_debug(slf: i64, var: i32); [INFO] [stdout] 4 | | fn physicsworld_is_show_debug(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 12 | | fn physicsworld_new() -> i64; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/fixture_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn fixturedef_type() -> i32; [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/body_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn bodydef_type() -> i32; [INFO] [stdout] 3 | | fn bodydef_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn bodydef_get_position(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 40 | | fn bodydef_new() -> i64; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/sensor.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn sensor_type() -> i32; [INFO] [stdout] 3 | | fn sensor_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn sensor_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn sensor_contains(slf: i64, body: i64) -> i32; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/body.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn body_type() -> i32; [INFO] [stdout] 3 | | fn body_get_world(slf: i64) -> i64; [INFO] [stdout] 4 | | fn body_get_body_def(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 32 | | fn body_new(def: i64, world: i64, pos: i64, rot: f32) -> i64; [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/joint_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn jointdef_type() -> i32; [INFO] [stdout] 3 | | fn jointdef_set_center(slf: i64, var: i64); [INFO] [stdout] 4 | | fn jointdef_get_center(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn jointdef_wheel(collision: i32, body_a: i64, body_b: i64, world_pos: i64, axis_angle: f32, max_motor_torque: f32, motor_speed: f32,... [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn joint_type() -> i32; [INFO] [stdout] 3 | | fn joint_distance(collision: i32, body_a: i64, body_b: i64, anchor_a: i64, anchor_b: i64, frequency: f32, damping: f32) -> i64; [INFO] [stdout] 4 | | fn joint_friction(collision: i32, body_a: i64, body_b: i64, world_pos: i64, max_force: f32, max_torque: f32) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 16 | | fn joint_new(def: i64, item_dict: i64) -> i64; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/motor_joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn motorjoint_type() -> i32; [INFO] [stdout] 3 | | fn motorjoint_set_enabled(slf: i64, var: i32); [INFO] [stdout] 4 | | fn motorjoint_is_enabled(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn motorjoint_get_speed(slf: i64) -> f32; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/move_joint.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn movejoint_type() -> i32; [INFO] [stdout] 3 | | fn movejoint_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn movejoint_get_position(slf: i64) -> i64; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/cache.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn cache_load(filename: i64) -> i32; [INFO] [stdout] 3 | | fn cache_load_async(filename: i64, func: i32); [INFO] [stdout] 4 | | fn cache_update_item(filename: i64, content: i64); [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn cache_remove_unused_by_type(type_name: i64); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/audio.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn audio_play(filename: i64, looping: i32) -> i32; [INFO] [stdout] 3 | | fn audio_stop(handle: i32); [INFO] [stdout] 4 | | fn audio_play_stream(filename: i64, looping: i32, cross_fade_time: f32); [INFO] [stdout] 5 | | fn audio_stop_stream(fade_time: f32); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/keyboard.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn keyboard_is_key_down(name: i64) -> i32; [INFO] [stdout] 3 | | fn keyboard_is_key_up(name: i64) -> i32; [INFO] [stdout] 4 | | fn keyboard_is_key_pressed(name: i64) -> i32; [INFO] [stdout] 5 | | fn keyboard_update_i_m_e_pos_hint(win_pos: i64); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/svg.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn svg_type() -> i32; [INFO] [stdout] 3 | | fn svgdef_get_width(slf: i64) -> f32; [INFO] [stdout] 4 | | fn svgdef_get_height(slf: i64) -> f32; [INFO] [stdout] 5 | | fn svgdef_render(slf: i64); [INFO] [stdout] 6 | | fn svgdef_new(filename: i64) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dbquery.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dbquery_release(raw: i64); [INFO] [stdout] 3 | | fn dbquery_add_with_params(slf: i64, sql: i64, params: i64); [INFO] [stdout] 4 | | fn dbquery_add(slf: i64, sql: i64); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dbparams.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dbparams_release(raw: i64); [INFO] [stdout] 3 | | fn dbparams_add(slf: i64, params: i64); [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/dbrecord.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn dbrecord_release(raw: i64); [INFO] [stdout] 3 | | fn dbrecord_read(slf: i64, record: i64) -> i32; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/db.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn db_exist(table_name: i64) -> i32; [INFO] [stdout] 3 | | fn db_exist_schema(table_name: i64, schema: i64) -> i32; [INFO] [stdout] 4 | | fn db_exec(sql: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn db_exec_async(sql: i64, params: i64, func: i32, stack: i64); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/c_45.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn c45_build_decision_tree_async(data: i64, max_depth: i32, func: i32, stack: i64); [INFO] [stdout] 3 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/q_learner.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn qlearner_type() -> i32; [INFO] [stdout] 3 | | fn mlqlearner_update(slf: i64, state: i64, action: i32, reward: f64); [INFO] [stdout] 4 | | fn mlqlearner_get_best_action(slf: i64, state: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn mlqlearner_new(gamma: f64, alpha: f64, max_q: f64) -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/target_allow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_targetallow_release(raw: i64); [INFO] [stdout] 3 | | fn platformer_targetallow_set_terrain_allowed(slf: i64, var: i32); [INFO] [stdout] 4 | | fn platformer_targetallow_is_terrain_allowed(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 9 | | fn platformer_targetallow_with_value(value: i32) -> i64; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/face.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_face_type() -> i32; [INFO] [stdout] 3 | | fn platformer_face_add_child(slf: i64, face: i64); [INFO] [stdout] 4 | | fn platformer_face_to_node(slf: i64) -> i64; [INFO] [stdout] 5 | | fn platformer_face_new(face_str: i64, point: i64, scale: f32, angle: f32) -> i64; [INFO] [stdout] 6 | | fn platformer_face_with_func(func: i32, stack: i64, point: i64, scale: f32, angle: f32) -> i64; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/bullet_def.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_bulletdef_type() -> i32; [INFO] [stdout] 3 | | fn platformer_bulletdef_set_tag(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_bulletdef_get_tag(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 21 | | fn platformer_bulletdef_new() -> i64; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/bullet.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_bullet_type() -> i32; [INFO] [stdout] 3 | | fn platformer_bullet_set_target_allow(slf: i64, var: i32); [INFO] [stdout] 4 | | fn platformer_bullet_get_target_allow(slf: i64) -> i32; [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn platformer_bullet_new(def: i64, owner: i64) -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/visual.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_visual_type() -> i32; [INFO] [stdout] 3 | | fn platformer_visual_is_playing(slf: i64) -> i32; [INFO] [stdout] 4 | | fn platformer_visual_start(slf: i64); [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn platformer_visual_new(name: i64) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/behavior/blackboard.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_behavior_blackboard_get_delta_time(slf: i64) -> f64; [INFO] [stdout] 3 | | fn platformer_behavior_blackboard_get_owner(slf: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/behavior/tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_behavior_tree_type() -> i32; [INFO] [stdout] 3 | | fn platformer_behavior_leaf_seq(nodes: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_behavior_leaf_sel(nodes: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 14 | | fn platformer_behavior_leaf_retry_until_pass(node: i64) -> i64; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/decision/ai.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_decision_ai_get_units_by_relation(relation: i32) -> i64; [INFO] [stdout] 3 | | fn platformer_decision_ai_get_detected_units() -> i64; [INFO] [stdout] 4 | | fn platformer_decision_ai_get_detected_bodies() -> i64; [INFO] [stdout] ... | [INFO] [stdout] 8 | | fn platformer_decision_ai_get_bodies_in_attack_range() -> i64; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/decision/tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_decision_tree_type() -> i32; [INFO] [stdout] 3 | | fn platformer_decision_leaf_sel(nodes: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_decision_leaf_seq(nodes: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 10 | | fn platformer_decision_leaf_behave(name: i64, root: i64) -> i64; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/action_update.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_actionupdate_release(raw: i64); [INFO] [stdout] 3 | | fn platformer_wasmactionupdate_new(func: i32, stack: i64) -> i64; [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/unit_action.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_unitaction_set_reaction(slf: i64, var: f32); [INFO] [stdout] 3 | | fn platformer_unitaction_get_reaction(slf: i64) -> f32; [INFO] [stdout] 4 | | fn platformer_unitaction_set_recovery(slf: i64, var: f32); [INFO] [stdout] ... | [INFO] [stdout] 11 | | fn platformer_unitaction_add(name: i64, priority: i32, reaction: f32, recovery: f32, queued: i32, func: i32, stack: i64, func1: i32, ... [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/unit.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_unit_type() -> i32; [INFO] [stdout] 3 | | fn platformer_unit_set_playable(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_unit_get_playable(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 33 | | fn platformer_unit_with_store(def_name: i64, world_name: i64, entity: i64, pos: i64, rot: f32) -> i64; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/platform_camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_platformcamera_type() -> i32; [INFO] [stdout] 3 | | fn platformer_platformcamera_set_position(slf: i64, var: i64); [INFO] [stdout] 4 | | fn platformer_platformcamera_get_position(slf: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 18 | | fn platformer_platformcamera_new(name: i64) -> i64; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/platform_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_platformworld_type() -> i32; [INFO] [stdout] 3 | | fn platformer_platformworld_get_camera(slf: i64) -> i64; [INFO] [stdout] 4 | | fn platformer_platformworld_move_child(slf: i64, child: i64, new_order: i32); [INFO] [stdout] ... | [INFO] [stdout] 13 | | fn platformer_platformworld_new() -> i64; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/platformer/data.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn platformer_data_get_group_first_player() -> i32; [INFO] [stdout] 3 | | fn platformer_data_get_group_last_player() -> i32; [INFO] [stdout] 4 | | fn platformer_data_get_group_hide() -> i32; [INFO] [stdout] ... | [INFO] [stdout] 24 | | fn platformer_data_clear(); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/buffer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn buffer_type() -> i32; [INFO] [stdout] 3 | | fn buffer_resize(slf: i64, size: i32); [INFO] [stdout] 4 | | fn buffer_zero_memory(slf: i64); [INFO] [stdout] ... | [INFO] [stdout] 7 | | fn buffer_to_string(slf: i64) -> i64; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora/im_gui.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern "C" { [INFO] [stdout] 2 | | fn imgui_load_font_ttf_async(ttf_font_file: i64, font_size: f32, glyph_ranges: i64, func: i32, stack: i64); [INFO] [stdout] 3 | | fn imgui_is_font_loaded() -> i32; [INFO] [stdout] 4 | | fn imgui_show_stats(); [INFO] [stdout] ... | [INFO] [stdout] 121 | | fn imgui__color_edit4(label: i64, stack: i64, show_alpha: i32) -> i32; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / extern "C" { [INFO] [stdout] 199 | | fn object_get_id(obj: i64) -> i32; [INFO] [stdout] 200 | | fn object_get_type(obj: i64) -> i32; [INFO] [stdout] 201 | | fn object_retain(obj: i64); [INFO] [stdout] ... | [INFO] [stdout] 267 | | fn dora_print(msg: i64); [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/dora.rs:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 623 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/dora.rs:632:3 [INFO] [stdout] | [INFO] [stdout] 632 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 632 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1025:1 [INFO] [stdout] | [INFO] [stdout] 1025 | / extern "C" { [INFO] [stdout] 1026 | | fn array_set(array: i64, index: i32, item: i64) -> i32; [INFO] [stdout] 1027 | | fn array_get(array: i64, index: i32) -> i64; [INFO] [stdout] 1028 | | fn array_first(array: i64) -> i64; [INFO] [stdout] ... | [INFO] [stdout] 1036 | | fn array_fast_remove(array: i64, item: i64) -> i32; [INFO] [stdout] 1037 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1079:1 [INFO] [stdout] | [INFO] [stdout] 1079 | / extern "C" { [INFO] [stdout] 1080 | | fn dictionary_set(dict: i64, key: i64, value: i64); [INFO] [stdout] 1081 | | fn dictionary_get(dict: i64, key: i64) -> i64; [INFO] [stdout] 1082 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1095:1 [INFO] [stdout] | [INFO] [stdout] 1095 | / extern "C" { [INFO] [stdout] 1096 | | fn entity_set(e: i64, k: i64, v: i64); [INFO] [stdout] 1097 | | fn entity_get(e: i64, k: i64) -> i64; [INFO] [stdout] 1098 | | fn entity_get_old(e: i64, k: i64) -> i64; [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1115:1 [INFO] [stdout] | [INFO] [stdout] 1115 | / extern "C" { [INFO] [stdout] 1116 | | fn group_watch(group: i64, func: i32, stack: i64); [INFO] [stdout] 1117 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1136:1 [INFO] [stdout] | [INFO] [stdout] 1136 | / extern "C" { [INFO] [stdout] 1137 | | fn observer_watch(observer: i64, func: i32, stack: i64); [INFO] [stdout] 1138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1159:1 [INFO] [stdout] | [INFO] [stdout] 1159 | / extern "C" { [INFO] [stdout] 1160 | | fn node_emit(node: i64, name: i64, stack: i64); [INFO] [stdout] 1161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/dora.rs:1262:1 [INFO] [stdout] | [INFO] [stdout] 1262 | / extern "C" { [INFO] [stdout] 1263 | | fn blackboard_set(b: i64, k: i64, v: i64); [INFO] [stdout] 1264 | | fn blackboard_get(b: i64, k: i64) -> i64; [INFO] [stdout] 1265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1280:24 [INFO] [stdout] | [INFO] [stdout] 1280 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1280 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1285:24 [INFO] [stdout] | [INFO] [stdout] 1285 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1285 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1290:24 [INFO] [stdout] | [INFO] [stdout] 1290 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1290 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1296:24 [INFO] [stdout] | [INFO] [stdout] 1296 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1296 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1301:24 [INFO] [stdout] | [INFO] [stdout] 1301 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1301 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1280:24 [INFO] [stdout] | [INFO] [stdout] 1280 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1280 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1285:24 [INFO] [stdout] | [INFO] [stdout] 1285 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1285 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1290:24 [INFO] [stdout] | [INFO] [stdout] 1290 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1290 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1296:24 [INFO] [stdout] | [INFO] [stdout] 1296 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1296 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/dora.rs:1301:24 [INFO] [stdout] | [INFO] [stdout] 1301 | let stack = unsafe { &mut IMGUI_STACK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1301 | let stack = unsafe { addr_of_mut!(IMGUI_STACK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 89 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dorothy-ssr` (lib) due to 90 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 89 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dorothy-ssr` (lib test) due to 90 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1a53af15435c6e5c811c76dab86c2512b9392038e7b6fc83adb01e48079c6760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a53af15435c6e5c811c76dab86c2512b9392038e7b6fc83adb01e48079c6760", kill_on_drop: false }` [INFO] [stdout] 1a53af15435c6e5c811c76dab86c2512b9392038e7b6fc83adb01e48079c6760