[INFO] cloning repository https://github.com/cosier/android-ffi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosier/android-ffi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosier%2Fandroid-ffi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosier%2Fandroid-ffi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdc3daaad325dcd25e96ae0f86e217d9684af701 [INFO] checking cosier/android-ffi-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosier%2Fandroid-ffi-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosier/android-ffi-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cosier/android-ffi-rs [INFO] finished tweaking git repo https://github.com/cosier/android-ffi-rs [INFO] tweaked toml for git repo https://github.com/cosier/android-ffi-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/cosier/android-ffi-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7592d2405500de0afb076df955ce65ef13ffa04ef585d294f73f79dd87036dc3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7592d2405500de0afb076df955ce65ef13ffa04ef585d294f73f79dd87036dc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7592d2405500de0afb076df955ce65ef13ffa04ef585d294f73f79dd87036dc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7592d2405500de0afb076df955ce65ef13ffa04ef585d294f73f79dd87036dc3", kill_on_drop: false }` [INFO] [stdout] 7592d2405500de0afb076df955ce65ef13ffa04ef585d294f73f79dd87036dc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01454d98273b015bf7a000d6a5d0c1e2fb63d05a7bdaf543b65e3f45861e28d0 [INFO] running `Command { std: "docker" "start" "-a" "01454d98273b015bf7a000d6a5d0c1e2fb63d05a7bdaf543b65e3f45861e28d0", kill_on_drop: false }` [INFO] [stderr] Checking android_ffi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/lib.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_t` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type pthread_t = c_long; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_mutexattr_t` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type pthread_mutexattr_t = c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadMutexattrT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_attr_t` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type pthread_attr_t = c_void; // FIXME: wrong [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadAttrT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let handler: Box> = Box::from_raw(handler as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | let handler: Box<*const SyncEventHandler> = Box::from_raw(handler as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | sync_event_handlers: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:530:44 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn add_sync_event_handler(handler: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:536:50 [INFO] [stdout] | [INFO] [stdout] 536 | pub fn remove_sync_event_handler(handler: *const SyncEventHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | let mut thread = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | let mut events = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:345:61 [INFO] [stdout] | [INFO] [stdout] 345 | let mut source: *mut ffi::android_poll_source = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/lib.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_t` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type pthread_t = c_long; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_mutexattr_t` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type pthread_mutexattr_t = c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadMutexattrT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_attr_t` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type pthread_attr_t = c_void; // FIXME: wrong [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadAttrT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let handler: Box> = Box::from_raw(handler as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | let handler: Box<*const SyncEventHandler> = Box::from_raw(handler as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | sync_event_handlers: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:530:44 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn add_sync_event_handler(handler: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:536:50 [INFO] [stdout] | [INFO] [stdout] 536 | pub fn remove_sync_event_handler(handler: *const SyncEventHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | let mut thread = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | let mut events = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:345:61 [INFO] [stdout] | [INFO] [stdout] 345 | let mut source: *mut ffi::android_poll_source = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | app.userData = unsafe { &context as *const Context as *mut Context as *mut _ }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `g_mainthread_boxed` should have an upper case name [INFO] [stdout] --> src/lib.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | static mut g_mainthread_boxed: Option<*mut Receiver<()>> = Option::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `G_MAINTHREAD_BOXED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | extern { pub fn AAssetDir_close(assetDir: *mut AAssetDir); } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | extern { pub fn AAssetDir_getNextFileName(assetDir: *mut AAssetDir) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | extern { pub fn AAssetDir_rewind(assetDir: *mut AAssetDir); } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | extern { pub fn AAssetManager_open(mgr: *mut AAssetManager, filename: *const c_char, mode: c_int) -> *mut AAsset; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:103:44 [INFO] [stdout] | [INFO] [stdout] 103 | extern { pub fn AAssetManager_openDir(mgr: *mut AAssetManager, dirName: *const c_char) -> *mut AAssetDir; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | extern { pub fn AAsset_close(asset: *mut AAsset); } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | extern { pub fn AAsset_getBuffer(asset: *mut AAsset) -> *const c_void; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | extern { pub fn AAsset_getLength(asset: *mut AAsset) -> isize; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 107 | extern { pub fn AAsset_getLength64(asset: *mut AAsset) -> u64; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:108:50 [INFO] [stdout] | [INFO] [stdout] 108 | extern { pub fn AAsset_getRemainingLength(asset: *mut AAsset) -> isize; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:109:52 [INFO] [stdout] | [INFO] [stdout] 109 | extern { pub fn AAsset_getRemainingLength64(asset: *mut AAsset) -> u64; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | extern { pub fn AAsset_isAllocated(asset: *mut AAsset) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | extern { pub fn AAsset_openFileDescriptor(asset: *mut AAsset, outStart: *mut isize, outLength: *mut isize) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | extern { pub fn AAsset_openFileDescriptor64(asset: *mut AAsset, outStart: *mut u64, outLength: *mut u64) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | extern { pub fn AAsset_read(asset: *mut AAsset, buf: *mut c_void, count: usize) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | extern { pub fn AAsset_seek(asset: *mut AAsset, offset: isize, whence: c_int) -> isize; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:115:38 [INFO] [stdout] | [INFO] [stdout] 115 | extern { pub fn AAsset_seek64(asset: *mut AAsset, offset: u64, whence: c_int) -> u64; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | extern { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:120:72 [INFO] [stdout] | [INFO] [stdout] 120 | extern { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | extern { pub fn AndroidBitmap_getInfo(env: *mut JNIEnv, jbitmap: jobject, info: *mut AndroidBitmapInfo) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:138:66 [INFO] [stdout] | [INFO] [stdout] 138 | extern { pub fn AndroidBitmap_getInfo(env: *mut JNIEnv, jbitmap: jobject, info: *mut AndroidBitmapInfo) -> c_int; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:139:47 [INFO] [stdout] | [INFO] [stdout] 139 | extern { pub fn AndroidBitmap_lockPixels(env: *mut JNIEnv, jbitmap: jobject, addrPtr: *mut *mut c_void) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:139:69 [INFO] [stdout] | [INFO] [stdout] 139 | extern { pub fn AndroidBitmap_lockPixels(env: *mut JNIEnv, jbitmap: jobject, addrPtr: *mut *mut c_void) -> c_int; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | extern { pub fn AndroidBitmap_unlockPixels(env: *mut JNIEnv, jbitmap: jobject) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:140:71 [INFO] [stdout] | [INFO] [stdout] 140 | extern { pub fn AndroidBitmap_unlockPixels(env: *mut JNIEnv, jbitmap: jobject) -> c_int; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:220:43 [INFO] [stdout] | [INFO] [stdout] 220 | extern { pub fn AConfiguration_copy(dest: *mut AConfiguration, src: *mut AConfiguration); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:220:69 [INFO] [stdout] | [INFO] [stdout] 220 | extern { pub fn AConfiguration_copy(dest: *mut AConfiguration, src: *mut AConfiguration); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:221:47 [INFO] [stdout] | [INFO] [stdout] 221 | extern { pub fn AConfiguration_delete(config: *mut AConfiguration); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 222 | extern { pub fn AConfiguration_diff(config1: *mut AConfiguration, config2: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:222:76 [INFO] [stdout] | [INFO] [stdout] 222 | extern { pub fn AConfiguration_diff(config1: *mut AConfiguration, config2: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:223:54 [INFO] [stdout] | [INFO] [stdout] 223 | extern { pub fn AConfiguration_fromAssetManager(out: *mut AConfiguration, am: *mut AAssetManager); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:223:79 [INFO] [stdout] | [INFO] [stdout] 223 | extern { pub fn AConfiguration_fromAssetManager(out: *mut AConfiguration, am: *mut AAssetManager); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:224:51 [INFO] [stdout] | [INFO] [stdout] 224 | extern { pub fn AConfiguration_getCountry(config: *mut AConfiguration, outCountry: *mut c_char); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:225:51 [INFO] [stdout] | [INFO] [stdout] 225 | extern { pub fn AConfiguration_getDensity(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | extern { pub fn AConfiguration_getKeyboard(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:227:54 [INFO] [stdout] | [INFO] [stdout] 227 | extern { pub fn AConfiguration_getKeysHidden(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:228:52 [INFO] [stdout] | [INFO] [stdout] 228 | extern { pub fn AConfiguration_getLanguage(config: *mut AConfiguration, outLanguage: *mut c_char); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:229:59 [INFO] [stdout] | [INFO] [stdout] 229 | extern { pub fn AConfiguration_getLayoutDirection(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:230:47 [INFO] [stdout] | [INFO] [stdout] 230 | extern { pub fn AConfiguration_getMcc(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:231:47 [INFO] [stdout] | [INFO] [stdout] 231 | extern { pub fn AConfiguration_getMnc(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:232:53 [INFO] [stdout] | [INFO] [stdout] 232 | extern { pub fn AConfiguration_getNavHidden(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:233:54 [INFO] [stdout] | [INFO] [stdout] 233 | extern { pub fn AConfiguration_getNavigation(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:234:55 [INFO] [stdout] | [INFO] [stdout] 234 | extern { pub fn AConfiguration_getOrientation(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:235:58 [INFO] [stdout] | [INFO] [stdout] 235 | extern { pub fn AConfiguration_getScreenHeightDp(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:236:54 [INFO] [stdout] | [INFO] [stdout] 236 | extern { pub fn AConfiguration_getScreenLong(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:237:54 [INFO] [stdout] | [INFO] [stdout] 237 | extern { pub fn AConfiguration_getScreenSize(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:238:57 [INFO] [stdout] | [INFO] [stdout] 238 | extern { pub fn AConfiguration_getScreenWidthDp(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:239:54 [INFO] [stdout] | [INFO] [stdout] 239 | extern { pub fn AConfiguration_getSdkVersion(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:240:65 [INFO] [stdout] | [INFO] [stdout] 240 | extern { pub fn AConfiguration_getSmallestScreenWidthDp(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | app.userData = unsafe { &context as *const Context as *mut Context as *mut _ }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:241:55 [INFO] [stdout] | [INFO] [stdout] 241 | extern { pub fn AConfiguration_getTouchscreen(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:242:55 [INFO] [stdout] | [INFO] [stdout] 242 | extern { pub fn AConfiguration_getUiModeNight(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:243:54 [INFO] [stdout] | [INFO] [stdout] 243 | extern { pub fn AConfiguration_getUiModeType(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:244:51 [INFO] [stdout] | [INFO] [stdout] 244 | extern { pub fn AConfiguration_isBetterThan(base: *mut AConfiguration, test: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:244:78 [INFO] [stdout] | [INFO] [stdout] 244 | extern { pub fn AConfiguration_isBetterThan(base: *mut AConfiguration, test: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:244:110 [INFO] [stdout] | [INFO] [stdout] 244 | extern { pub fn AConfiguration_isBetterThan(base: *mut AConfiguration, test: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:245:44 [INFO] [stdout] | [INFO] [stdout] 245 | extern { pub fn AConfiguration_match(base: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:245:76 [INFO] [stdout] | [INFO] [stdout] 245 | extern { pub fn AConfiguration_match(base: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:247:51 [INFO] [stdout] | [INFO] [stdout] 247 | extern { pub fn AConfiguration_setCountry(config: *mut AConfiguration, country: *const c_char); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:248:51 [INFO] [stdout] | [INFO] [stdout] 248 | extern { pub fn AConfiguration_setDensity(config: *mut AConfiguration, density: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 249 | extern { pub fn AConfiguration_setKeyboard(config: *mut AConfiguration, keyboard: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:250:54 [INFO] [stdout] | [INFO] [stdout] 250 | extern { pub fn AConfiguration_setKeysHidden(config: *mut AConfiguration, keysHidden: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:251:52 [INFO] [stdout] | [INFO] [stdout] 251 | extern { pub fn AConfiguration_setLanguage(config: *mut AConfiguration, language: *const c_char); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:252:59 [INFO] [stdout] | [INFO] [stdout] 252 | extern { pub fn AConfiguration_setLayoutDirection(config: *mut AConfiguration, value: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:253:47 [INFO] [stdout] | [INFO] [stdout] 253 | extern { pub fn AConfiguration_setMcc(config: *mut AConfiguration, mcc: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:254:47 [INFO] [stdout] | [INFO] [stdout] 254 | extern { pub fn AConfiguration_setMnc(config: *mut AConfiguration, mnc: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:255:53 [INFO] [stdout] | [INFO] [stdout] 255 | extern { pub fn AConfiguration_setNavHidden(config: *mut AConfiguration, navHidden: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:256:54 [INFO] [stdout] | [INFO] [stdout] 256 | extern { pub fn AConfiguration_setNavigation(config: *mut AConfiguration, navigation: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | extern { pub fn AConfiguration_setOrientation(config: *mut AConfiguration, orientation: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:258:58 [INFO] [stdout] | [INFO] [stdout] 258 | extern { pub fn AConfiguration_setScreenHeightDp(config: *mut AConfiguration, value: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:259:54 [INFO] [stdout] | [INFO] [stdout] 259 | extern { pub fn AConfiguration_setScreenLong(config: *mut AConfiguration, screenLong: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:260:54 [INFO] [stdout] | [INFO] [stdout] 260 | extern { pub fn AConfiguration_setScreenSize(config: *mut AConfiguration, screenSize: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:261:57 [INFO] [stdout] | [INFO] [stdout] 261 | extern { pub fn AConfiguration_setScreenWidthDp(config: *mut AConfiguration, value: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:262:54 [INFO] [stdout] | [INFO] [stdout] 262 | extern { pub fn AConfiguration_setSdkVersion(config: *mut AConfiguration, sdkVersion: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:263:65 [INFO] [stdout] | [INFO] [stdout] 263 | extern { pub fn AConfiguration_setSmallestScreenWidthDp(config: *mut AConfiguration, value: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:264:55 [INFO] [stdout] | [INFO] [stdout] 264 | extern { pub fn AConfiguration_setTouchscreen(config: *mut AConfiguration, touchscreen: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:265:55 [INFO] [stdout] | [INFO] [stdout] 265 | extern { pub fn AConfiguration_setUiModeNight(config: *mut AConfiguration, uiModeNight: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:266:54 [INFO] [stdout] | [INFO] [stdout] 266 | extern { pub fn AConfiguration_setUiModeType(config: *mut AConfiguration, uiModeType: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:324:48 [INFO] [stdout] | [INFO] [stdout] 324 | extern { pub fn AInputEvent_getDeviceId(event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:325:46 [INFO] [stdout] | [INFO] [stdout] 325 | extern { pub fn AInputEvent_getSource(event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:326:44 [INFO] [stdout] | [INFO] [stdout] 326 | extern { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:328:49 [INFO] [stdout] | [INFO] [stdout] 328 | extern { pub fn AInputQueue_attachLooper(queue: *mut AInputQueue, looper: *mut ALooper, ident: c_int, callback: ALooper_callbackFunc, dat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:328:75 [INFO] [stdout] | [INFO] [stdout] 328 | extern { pub fn AInputQueue_attachLooper(queue: *mut AInputQueue, looper: *mut ALooper, ident: c_int, callback: ALooper_callbackFunc, dat... [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | extern { pub fn AInputQueue_detachLooper(queue: *mut AInputQueue); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:330:48 [INFO] [stdout] | [INFO] [stdout] 330 | extern { pub fn AInputQueue_finishEvent(queue: *mut AInputQueue, event: *mut AInputEvent, handled: c_int); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:330:73 [INFO] [stdout] | [INFO] [stdout] 330 | extern { pub fn AInputQueue_finishEvent(queue: *mut AInputQueue, event: *mut AInputEvent, handled: c_int); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 331 | extern { pub fn AInputQueue_getEvent(queue: *mut AInputQueue, outEvent: *mut *mut AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:331:73 [INFO] [stdout] | [INFO] [stdout] 331 | extern { pub fn AInputQueue_getEvent(queue: *mut AInputQueue, outEvent: *mut *mut AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:332:46 [INFO] [stdout] | [INFO] [stdout] 332 | extern { pub fn AInputQueue_hasEvents(queue: *mut AInputQueue) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:333:53 [INFO] [stdout] | [INFO] [stdout] 333 | extern { pub fn AInputQueue_preDispatchEvent(queue: *mut AInputQueue, event: *mut AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:333:78 [INFO] [stdout] | [INFO] [stdout] 333 | extern { pub fn AInputQueue_preDispatchEvent(queue: *mut AInputQueue, event: *mut AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:352:48 [INFO] [stdout] | [INFO] [stdout] 352 | extern { pub fn AKeyEvent_getAction(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:353:50 [INFO] [stdout] | [INFO] [stdout] 353 | extern { pub fn AKeyEvent_getDownTime(key_event: *const AInputEvent) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:354:51 [INFO] [stdout] | [INFO] [stdout] 354 | extern { pub fn AKeyEvent_getEventTime(key_event: *const AInputEvent) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:355:47 [INFO] [stdout] | [INFO] [stdout] 355 | extern { pub fn AKeyEvent_getFlags(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:356:49 [INFO] [stdout] | [INFO] [stdout] 356 | extern { pub fn AKeyEvent_getKeyCode(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:357:51 [INFO] [stdout] | [INFO] [stdout] 357 | extern { pub fn AKeyEvent_getMetaState(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:358:53 [INFO] [stdout] | [INFO] [stdout] 358 | extern { pub fn AKeyEvent_getRepeatCount(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:359:50 [INFO] [stdout] | [INFO] [stdout] 359 | extern { pub fn AKeyEvent_getScanCode(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:450:54 [INFO] [stdout] | [INFO] [stdout] 450 | extern { pub fn AMotionEvent_getAction(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:451:57 [INFO] [stdout] | [INFO] [stdout] 451 | extern { pub fn AMotionEvent_getAxisValue(motion_event: *const AInputEvent, axis: i32, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:452:59 [INFO] [stdout] | [INFO] [stdout] 452 | extern { pub fn AMotionEvent_getButtonState(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:453:56 [INFO] [stdout] | [INFO] [stdout] 453 | extern { pub fn AMotionEvent_getDownTime(motion_event: *const AInputEvent) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:454:57 [INFO] [stdout] | [INFO] [stdout] 454 | extern { pub fn AMotionEvent_getEdgeFlags(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:455:57 [INFO] [stdout] | [INFO] [stdout] 455 | extern { pub fn AMotionEvent_getEventTime(motion_event: *const AInputEvent) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:456:53 [INFO] [stdout] | [INFO] [stdout] 456 | extern { pub fn AMotionEvent_getFlags(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:457:67 [INFO] [stdout] | [INFO] [stdout] 457 | extern { pub fn AMotionEvent_getHistoricalAxisValue(motion_event: *const AInputEvent, axis: i32, pointer_index: usize, history_index: usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:458:67 [INFO] [stdout] | [INFO] [stdout] 458 | extern { pub fn AMotionEvent_getHistoricalEventTime(motion_event: *const AInputEvent, history_index: usize) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:459:69 [INFO] [stdout] | [INFO] [stdout] 459 | extern { pub fn AMotionEvent_getHistoricalOrientation(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:460:66 [INFO] [stdout] | [INFO] [stdout] 460 | extern { pub fn AMotionEvent_getHistoricalPressure(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_flo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:461:62 [INFO] [stdout] | [INFO] [stdout] 461 | extern { pub fn AMotionEvent_getHistoricalRawX(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:462:62 [INFO] [stdout] | [INFO] [stdout] 462 | extern { pub fn AMotionEvent_getHistoricalRawY(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:463:62 [INFO] [stdout] | [INFO] [stdout] 463 | extern { pub fn AMotionEvent_getHistoricalSize(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:464:67 [INFO] [stdout] | [INFO] [stdout] 464 | extern { pub fn AMotionEvent_getHistoricalToolMajor(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_fl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:465:67 [INFO] [stdout] | [INFO] [stdout] 465 | extern { pub fn AMotionEvent_getHistoricalToolMinor(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_fl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:466:68 [INFO] [stdout] | [INFO] [stdout] 466 | extern { pub fn AMotionEvent_getHistoricalTouchMajor(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:467:68 [INFO] [stdout] | [INFO] [stdout] 467 | extern { pub fn AMotionEvent_getHistoricalTouchMinor(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:468:59 [INFO] [stdout] | [INFO] [stdout] 468 | extern { pub fn AMotionEvent_getHistoricalX(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:469:59 [INFO] [stdout] | [INFO] [stdout] 469 | extern { pub fn AMotionEvent_getHistoricalY(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:470:59 [INFO] [stdout] | [INFO] [stdout] 470 | extern { pub fn AMotionEvent_getHistorySize(motion_event: *const AInputEvent) -> usize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:471:57 [INFO] [stdout] | [INFO] [stdout] 471 | extern { pub fn AMotionEvent_getMetaState(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:472:59 [INFO] [stdout] | [INFO] [stdout] 472 | extern { pub fn AMotionEvent_getOrientation(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:473:60 [INFO] [stdout] | [INFO] [stdout] 473 | extern { pub fn AMotionEvent_getPointerCount(motion_event: *const AInputEvent) -> usize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:474:57 [INFO] [stdout] | [INFO] [stdout] 474 | extern { pub fn AMotionEvent_getPointerId(motion_event: *const AInputEvent, pointer_index: usize) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:475:56 [INFO] [stdout] | [INFO] [stdout] 475 | extern { pub fn AMotionEvent_getPressure(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:476:52 [INFO] [stdout] | [INFO] [stdout] 476 | extern { pub fn AMotionEvent_getRawX(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:477:52 [INFO] [stdout] | [INFO] [stdout] 477 | extern { pub fn AMotionEvent_getRawY(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:478:52 [INFO] [stdout] | [INFO] [stdout] 478 | extern { pub fn AMotionEvent_getSize(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:479:57 [INFO] [stdout] | [INFO] [stdout] 479 | extern { pub fn AMotionEvent_getToolMajor(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:480:57 [INFO] [stdout] | [INFO] [stdout] 480 | extern { pub fn AMotionEvent_getToolMinor(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:481:56 [INFO] [stdout] | [INFO] [stdout] 481 | extern { pub fn AMotionEvent_getToolType(motion_event: *const AInputEvent, pointer_index: usize) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:482:58 [INFO] [stdout] | [INFO] [stdout] 482 | extern { pub fn AMotionEvent_getTouchMajor(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:483:58 [INFO] [stdout] | [INFO] [stdout] 483 | extern { pub fn AMotionEvent_getTouchMinor(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:484:49 [INFO] [stdout] | [INFO] [stdout] 484 | extern { pub fn AMotionEvent_getX(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:485:55 [INFO] [stdout] | [INFO] [stdout] 485 | extern { pub fn AMotionEvent_getXOffset(motion_event: *const AInputEvent) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:486:58 [INFO] [stdout] | [INFO] [stdout] 486 | extern { pub fn AMotionEvent_getXPrecision(motion_event: *const AInputEvent) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:487:49 [INFO] [stdout] | [INFO] [stdout] 487 | extern { pub fn AMotionEvent_getY(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:488:55 [INFO] [stdout] | [INFO] [stdout] 488 | extern { pub fn AMotionEvent_getYOffset(motion_event: *const AInputEvent) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:489:58 [INFO] [stdout] | [INFO] [stdout] 489 | extern { pub fn AMotionEvent_getYPrecision(motion_event: *const AInputEvent) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:767:95 [INFO] [stdout] | [INFO] [stdout] 767 | extern { pub fn __android_log_vprint(prio: c_int, tag: *const c_char, fmt: *const c_char, ap: *mut __va_list_tag) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:785:41 [INFO] [stdout] | [INFO] [stdout] 785 | extern { pub fn ALooper_acquire(looper: *mut ALooper); } [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:786:39 [INFO] [stdout] | [INFO] [stdout] 786 | extern { pub fn ALooper_addFd(looper: *mut ALooper, fd: c_int, ident: c_int, events: c_int, callback: ALooper_callbackFunc, data: *mut c_... [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:792:41 [INFO] [stdout] | [INFO] [stdout] 792 | extern { pub fn ALooper_release(looper: *mut ALooper); } [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:793:42 [INFO] [stdout] | [INFO] [stdout] 793 | extern { pub fn ALooper_removeFd(looper: *mut ALooper, fd: c_int) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:794:38 [INFO] [stdout] | [INFO] [stdout] 794 | extern { pub fn ALooper_wake(looper: *mut ALooper); } [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:836:50 [INFO] [stdout] | [INFO] [stdout] 836 | extern { pub fn ANativeActivity_finish(activity: *mut ANativeActivity); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:837:57 [INFO] [stdout] | [INFO] [stdout] 837 | extern { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:838:58 [INFO] [stdout] | [INFO] [stdout] 838 | extern { pub fn ANativeActivity_setWindowFlags(activity: *mut ANativeActivity, addFlags: u32, removeFlags: u32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:839:59 [INFO] [stdout] | [INFO] [stdout] 839 | extern { pub fn ANativeActivity_setWindowFormat(activity: *mut ANativeActivity, format: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:840:57 [INFO] [stdout] | [INFO] [stdout] 840 | extern { pub fn ANativeActivity_showSoftInput(activity: *mut ANativeActivity, flags: u32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:855:47 [INFO] [stdout] | [INFO] [stdout] 855 | extern { pub fn ANativeWindow_acquire(window: *mut ANativeWindow); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:856:49 [INFO] [stdout] | [INFO] [stdout] 856 | extern { pub fn ANativeWindow_getFormat(window: *mut ANativeWindow) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:857:49 [INFO] [stdout] | [INFO] [stdout] 857 | extern { pub fn ANativeWindow_getHeight(window: *mut ANativeWindow) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:858:48 [INFO] [stdout] | [INFO] [stdout] 858 | extern { pub fn ANativeWindow_getWidth(window: *mut ANativeWindow) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:859:44 [INFO] [stdout] | [INFO] [stdout] 859 | extern { pub fn ANativeWindow_lock(window: *mut ANativeWindow, outBuffer: *mut ANativeWindow_Buffer, inOutDirtyBounds: *mut ARect) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:860:47 [INFO] [stdout] | [INFO] [stdout] 860 | extern { pub fn ANativeWindow_release(window: *mut ANativeWindow); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:861:58 [INFO] [stdout] | [INFO] [stdout] 861 | extern { pub fn ANativeWindow_setBuffersGeometry(window: *mut ANativeWindow, width: i32, height: i32, format: i32) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:862:53 [INFO] [stdout] | [INFO] [stdout] 862 | extern { pub fn ANativeWindow_unlockAndPost(window: *mut ANativeWindow) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:870:48 [INFO] [stdout] | [INFO] [stdout] 870 | extern { pub fn ANativeWindow_fromSurface(env: *mut JNIEnv, surface: jobject) -> *mut ANativeWindow; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:870:70 [INFO] [stdout] | [INFO] [stdout] 870 | extern { pub fn ANativeWindow_fromSurface(env: *mut JNIEnv, surface: jobject) -> *mut ANativeWindow; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:877:42 [INFO] [stdout] | [INFO] [stdout] 877 | extern { pub fn AObbInfo_delete(obbInfo: *mut AObbInfo); } [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:878:44 [INFO] [stdout] | [INFO] [stdout] 878 | extern { pub fn AObbInfo_getFlags(obbInfo: *mut AObbInfo) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:879:50 [INFO] [stdout] | [INFO] [stdout] 879 | extern { pub fn AObbInfo_getPackageName(obbInfo: *mut AObbInfo) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:880:46 [INFO] [stdout] | [INFO] [stdout] 880 | extern { pub fn AObbInfo_getVersion(obbInfo: *mut AObbInfo) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:935:56 [INFO] [stdout] | [INFO] [stdout] 935 | extern { pub fn ASensorEventQueue_disableSensor(queue: *mut ASensorEventQueue, sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:935:88 [INFO] [stdout] | [INFO] [stdout] 935 | extern { pub fn ASensorEventQueue_disableSensor(queue: *mut ASensorEventQueue, sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:936:55 [INFO] [stdout] | [INFO] [stdout] 936 | extern { pub fn ASensorEventQueue_enableSensor(queue: *mut ASensorEventQueue, sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:936:87 [INFO] [stdout] | [INFO] [stdout] 936 | extern { pub fn ASensorEventQueue_enableSensor(queue: *mut ASensorEventQueue, sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:937:52 [INFO] [stdout] | [INFO] [stdout] 937 | extern { pub fn ASensorEventQueue_getEvents(queue: *mut ASensorEventQueue, events: *mut ASensorEvent, count: usize) -> isize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:938:52 [INFO] [stdout] | [INFO] [stdout] 938 | extern { pub fn ASensorEventQueue_hasEvents(queue: *mut ASensorEventQueue) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:939:55 [INFO] [stdout] | [INFO] [stdout] 939 | extern { pub fn ASensorEventQueue_setEventRate(queue: *mut ASensorEventQueue, sensor: *const ASensor, usec: i32) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:939:87 [INFO] [stdout] | [INFO] [stdout] 939 | extern { pub fn ASensorEventQueue_setEventRate(queue: *mut ASensorEventQueue, sensor: *const ASensor, usec: i32) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:942:58 [INFO] [stdout] | [INFO] [stdout] 942 | extern { pub fn ASensorManager_createEventQueue(manager: *mut ASensorManager, looper: *mut ALooper, ident: c_int, callback: ALooper_callb... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:942:87 [INFO] [stdout] | [INFO] [stdout] 942 | extern { pub fn ASensorManager_createEventQueue(manager: *mut ASensorManager, looper: *mut ALooper, ident: c_int, callback: ALooper_callb... [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:943:59 [INFO] [stdout] | [INFO] [stdout] 943 | extern { pub fn ASensorManager_destroyEventQueue(manager: *mut ASensorManager, queue: *mut ASensorEventQueue) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:943:87 [INFO] [stdout] | [INFO] [stdout] 943 | extern { pub fn ASensorManager_destroyEventQueue(manager: *mut ASensorManager, queue: *mut ASensorEventQueue) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:944:58 [INFO] [stdout] | [INFO] [stdout] 944 | extern { pub fn ASensorManager_getDefaultSensor(manager: *mut ASensorManager, xtype: c_int) -> *const ASensor; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:945:60 [INFO] [stdout] | [INFO] [stdout] 945 | extern { pub fn ASensorManager_getDefaultSensorEx(manager: *mut ASensorManager, xtype: c_int, wakeUp: bool) -> *const ASensor; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:947:55 [INFO] [stdout] | [INFO] [stdout] 947 | extern { pub fn ASensorManager_getSensorList(manager: *mut ASensorManager, list: *mut ASensorList) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:947:82 [INFO] [stdout] | [INFO] [stdout] 947 | extern { pub fn ASensorManager_getSensorList(manager: *mut ASensorManager, list: *mut ASensorList) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:955:54 [INFO] [stdout] | [INFO] [stdout] 955 | extern { pub fn ASensor_getFifoMaxEventCount(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:956:59 [INFO] [stdout] | [INFO] [stdout] 956 | extern { pub fn ASensor_getFifoReservedEventCount(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:957:45 [INFO] [stdout] | [INFO] [stdout] 957 | extern { pub fn ASensor_getMinDelay(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:958:41 [INFO] [stdout] | [INFO] [stdout] 958 | extern { pub fn ASensor_getName(sensor: *const ASensor) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:959:50 [INFO] [stdout] | [INFO] [stdout] 959 | extern { pub fn ASensor_getReportingMode(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:960:47 [INFO] [stdout] | [INFO] [stdout] 960 | extern { pub fn ASensor_getResolution(sensor: *const ASensor) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:961:47 [INFO] [stdout] | [INFO] [stdout] 961 | extern { pub fn ASensor_getStringType(sensor: *const ASensor) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:962:41 [INFO] [stdout] | [INFO] [stdout] 962 | extern { pub fn ASensor_getType(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:963:43 [INFO] [stdout] | [INFO] [stdout] 963 | extern { pub fn ASensor_getVendor(sensor: *const ASensor) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:964:48 [INFO] [stdout] | [INFO] [stdout] 964 | extern { pub fn ASensor_isWakeUpSensor(sensor: *const ASensor) -> bool; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1007:45 [INFO] [stdout] | [INFO] [stdout] 1007 | extern { pub fn AStorageManager_delete(mgr: *mut AStorageManager); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1008:56 [INFO] [stdout] | [INFO] [stdout] 1008 | extern { pub fn AStorageManager_getMountedObbPath(mgr: *mut AStorageManager, filename: *const c_char) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1009:51 [INFO] [stdout] | [INFO] [stdout] 1009 | extern { pub fn AStorageManager_isObbMounted(mgr: *mut AStorageManager, filename: *const c_char) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1010:47 [INFO] [stdout] | [INFO] [stdout] 1010 | extern { pub fn AStorageManager_mountObb(mgr: *mut AStorageManager, filename: *const c_char, key: *const c_char, cb: AStorageManager_obbC... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1013:49 [INFO] [stdout] | [INFO] [stdout] 1013 | extern { pub fn AStorageManager_unmountObb(mgr: *mut AStorageManager, filename: *const c_char, force: c_int, cb: AStorageManager_obbCallb... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1350:32 [INFO] [stdout] | [INFO] [stdout] 1350 | extern { pub fn JNI_OnLoad(vm: *mut JavaVM, reserved: *mut c_void) -> jint; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1351:34 [INFO] [stdout] | [INFO] [stdout] 1351 | extern { pub fn JNI_OnUnload(vm: *mut JavaVM, reserved: *mut c_void); } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `g_mainthread_boxed` should have an upper case name [INFO] [stdout] --> src/lib.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | static mut g_mainthread_boxed: Option<*mut Receiver<()>> = Option::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `G_MAINTHREAD_BOXED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | extern { pub fn AAssetDir_close(assetDir: *mut AAssetDir); } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | extern { pub fn AAssetDir_getNextFileName(assetDir: *mut AAssetDir) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | extern { pub fn AAssetDir_rewind(assetDir: *mut AAssetDir); } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | extern { pub fn AAssetManager_open(mgr: *mut AAssetManager, filename: *const c_char, mode: c_int) -> *mut AAsset; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:103:44 [INFO] [stdout] | [INFO] [stdout] 103 | extern { pub fn AAssetManager_openDir(mgr: *mut AAssetManager, dirName: *const c_char) -> *mut AAssetDir; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | extern { pub fn AAsset_close(asset: *mut AAsset); } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | extern { pub fn AAsset_getBuffer(asset: *mut AAsset) -> *const c_void; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | extern { pub fn AAsset_getLength(asset: *mut AAsset) -> isize; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 107 | extern { pub fn AAsset_getLength64(asset: *mut AAsset) -> u64; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:108:50 [INFO] [stdout] | [INFO] [stdout] 108 | extern { pub fn AAsset_getRemainingLength(asset: *mut AAsset) -> isize; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:109:52 [INFO] [stdout] | [INFO] [stdout] 109 | extern { pub fn AAsset_getRemainingLength64(asset: *mut AAsset) -> u64; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | extern { pub fn AAsset_isAllocated(asset: *mut AAsset) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:111:50 [INFO] [stdout] | [INFO] [stdout] 111 | extern { pub fn AAsset_openFileDescriptor(asset: *mut AAsset, outStart: *mut isize, outLength: *mut isize) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | extern { pub fn AAsset_openFileDescriptor64(asset: *mut AAsset, outStart: *mut u64, outLength: *mut u64) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | extern { pub fn AAsset_read(asset: *mut AAsset, buf: *mut c_void, count: usize) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | extern { pub fn AAsset_seek(asset: *mut AAsset, offset: isize, whence: c_int) -> isize; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:115:38 [INFO] [stdout] | [INFO] [stdout] 115 | extern { pub fn AAsset_seek64(asset: *mut AAsset, offset: u64, whence: c_int) -> u64; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:120:45 [INFO] [stdout] | [INFO] [stdout] 120 | extern { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:120:72 [INFO] [stdout] | [INFO] [stdout] 120 | extern { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | extern { pub fn AndroidBitmap_getInfo(env: *mut JNIEnv, jbitmap: jobject, info: *mut AndroidBitmapInfo) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:138:66 [INFO] [stdout] | [INFO] [stdout] 138 | extern { pub fn AndroidBitmap_getInfo(env: *mut JNIEnv, jbitmap: jobject, info: *mut AndroidBitmapInfo) -> c_int; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:139:47 [INFO] [stdout] | [INFO] [stdout] 139 | extern { pub fn AndroidBitmap_lockPixels(env: *mut JNIEnv, jbitmap: jobject, addrPtr: *mut *mut c_void) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:139:69 [INFO] [stdout] | [INFO] [stdout] 139 | extern { pub fn AndroidBitmap_lockPixels(env: *mut JNIEnv, jbitmap: jobject, addrPtr: *mut *mut c_void) -> c_int; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | extern { pub fn AndroidBitmap_unlockPixels(env: *mut JNIEnv, jbitmap: jobject) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:140:71 [INFO] [stdout] | [INFO] [stdout] 140 | extern { pub fn AndroidBitmap_unlockPixels(env: *mut JNIEnv, jbitmap: jobject) -> c_int; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:220:43 [INFO] [stdout] | [INFO] [stdout] 220 | extern { pub fn AConfiguration_copy(dest: *mut AConfiguration, src: *mut AConfiguration); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:220:69 [INFO] [stdout] | [INFO] [stdout] 220 | extern { pub fn AConfiguration_copy(dest: *mut AConfiguration, src: *mut AConfiguration); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:221:47 [INFO] [stdout] | [INFO] [stdout] 221 | extern { pub fn AConfiguration_delete(config: *mut AConfiguration); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 222 | extern { pub fn AConfiguration_diff(config1: *mut AConfiguration, config2: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:222:76 [INFO] [stdout] | [INFO] [stdout] 222 | extern { pub fn AConfiguration_diff(config1: *mut AConfiguration, config2: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:223:54 [INFO] [stdout] | [INFO] [stdout] 223 | extern { pub fn AConfiguration_fromAssetManager(out: *mut AConfiguration, am: *mut AAssetManager); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:223:79 [INFO] [stdout] | [INFO] [stdout] 223 | extern { pub fn AConfiguration_fromAssetManager(out: *mut AConfiguration, am: *mut AAssetManager); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:224:51 [INFO] [stdout] | [INFO] [stdout] 224 | extern { pub fn AConfiguration_getCountry(config: *mut AConfiguration, outCountry: *mut c_char); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:225:51 [INFO] [stdout] | [INFO] [stdout] 225 | extern { pub fn AConfiguration_getDensity(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | extern { pub fn AConfiguration_getKeyboard(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:227:54 [INFO] [stdout] | [INFO] [stdout] 227 | extern { pub fn AConfiguration_getKeysHidden(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:228:52 [INFO] [stdout] | [INFO] [stdout] 228 | extern { pub fn AConfiguration_getLanguage(config: *mut AConfiguration, outLanguage: *mut c_char); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:229:59 [INFO] [stdout] | [INFO] [stdout] 229 | extern { pub fn AConfiguration_getLayoutDirection(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:230:47 [INFO] [stdout] | [INFO] [stdout] 230 | extern { pub fn AConfiguration_getMcc(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:231:47 [INFO] [stdout] | [INFO] [stdout] 231 | extern { pub fn AConfiguration_getMnc(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:232:53 [INFO] [stdout] | [INFO] [stdout] 232 | extern { pub fn AConfiguration_getNavHidden(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:233:54 [INFO] [stdout] | [INFO] [stdout] 233 | extern { pub fn AConfiguration_getNavigation(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:234:55 [INFO] [stdout] | [INFO] [stdout] 234 | extern { pub fn AConfiguration_getOrientation(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:235:58 [INFO] [stdout] | [INFO] [stdout] 235 | extern { pub fn AConfiguration_getScreenHeightDp(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:236:54 [INFO] [stdout] | [INFO] [stdout] 236 | extern { pub fn AConfiguration_getScreenLong(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:237:54 [INFO] [stdout] | [INFO] [stdout] 237 | extern { pub fn AConfiguration_getScreenSize(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:238:57 [INFO] [stdout] | [INFO] [stdout] 238 | extern { pub fn AConfiguration_getScreenWidthDp(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:239:54 [INFO] [stdout] | [INFO] [stdout] 239 | extern { pub fn AConfiguration_getSdkVersion(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:240:65 [INFO] [stdout] | [INFO] [stdout] 240 | extern { pub fn AConfiguration_getSmallestScreenWidthDp(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:241:55 [INFO] [stdout] | [INFO] [stdout] 241 | extern { pub fn AConfiguration_getTouchscreen(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:242:55 [INFO] [stdout] | [INFO] [stdout] 242 | extern { pub fn AConfiguration_getUiModeNight(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:243:54 [INFO] [stdout] | [INFO] [stdout] 243 | extern { pub fn AConfiguration_getUiModeType(config: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:244:51 [INFO] [stdout] | [INFO] [stdout] 244 | extern { pub fn AConfiguration_isBetterThan(base: *mut AConfiguration, test: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:244:78 [INFO] [stdout] | [INFO] [stdout] 244 | extern { pub fn AConfiguration_isBetterThan(base: *mut AConfiguration, test: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:244:110 [INFO] [stdout] | [INFO] [stdout] 244 | extern { pub fn AConfiguration_isBetterThan(base: *mut AConfiguration, test: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:245:44 [INFO] [stdout] | [INFO] [stdout] 245 | extern { pub fn AConfiguration_match(base: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:245:76 [INFO] [stdout] | [INFO] [stdout] 245 | extern { pub fn AConfiguration_match(base: *mut AConfiguration, requested: *mut AConfiguration) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:247:51 [INFO] [stdout] | [INFO] [stdout] 247 | extern { pub fn AConfiguration_setCountry(config: *mut AConfiguration, country: *const c_char); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:248:51 [INFO] [stdout] | [INFO] [stdout] 248 | extern { pub fn AConfiguration_setDensity(config: *mut AConfiguration, density: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 249 | extern { pub fn AConfiguration_setKeyboard(config: *mut AConfiguration, keyboard: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:250:54 [INFO] [stdout] | [INFO] [stdout] 250 | extern { pub fn AConfiguration_setKeysHidden(config: *mut AConfiguration, keysHidden: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:251:52 [INFO] [stdout] | [INFO] [stdout] 251 | extern { pub fn AConfiguration_setLanguage(config: *mut AConfiguration, language: *const c_char); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:252:59 [INFO] [stdout] | [INFO] [stdout] 252 | extern { pub fn AConfiguration_setLayoutDirection(config: *mut AConfiguration, value: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:253:47 [INFO] [stdout] | [INFO] [stdout] 253 | extern { pub fn AConfiguration_setMcc(config: *mut AConfiguration, mcc: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:254:47 [INFO] [stdout] | [INFO] [stdout] 254 | extern { pub fn AConfiguration_setMnc(config: *mut AConfiguration, mnc: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:255:53 [INFO] [stdout] | [INFO] [stdout] 255 | extern { pub fn AConfiguration_setNavHidden(config: *mut AConfiguration, navHidden: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:256:54 [INFO] [stdout] | [INFO] [stdout] 256 | extern { pub fn AConfiguration_setNavigation(config: *mut AConfiguration, navigation: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | extern { pub fn AConfiguration_setOrientation(config: *mut AConfiguration, orientation: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:258:58 [INFO] [stdout] | [INFO] [stdout] 258 | extern { pub fn AConfiguration_setScreenHeightDp(config: *mut AConfiguration, value: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:259:54 [INFO] [stdout] | [INFO] [stdout] 259 | extern { pub fn AConfiguration_setScreenLong(config: *mut AConfiguration, screenLong: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:260:54 [INFO] [stdout] | [INFO] [stdout] 260 | extern { pub fn AConfiguration_setScreenSize(config: *mut AConfiguration, screenSize: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:261:57 [INFO] [stdout] | [INFO] [stdout] 261 | extern { pub fn AConfiguration_setScreenWidthDp(config: *mut AConfiguration, value: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:262:54 [INFO] [stdout] | [INFO] [stdout] 262 | extern { pub fn AConfiguration_setSdkVersion(config: *mut AConfiguration, sdkVersion: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:263:65 [INFO] [stdout] | [INFO] [stdout] 263 | extern { pub fn AConfiguration_setSmallestScreenWidthDp(config: *mut AConfiguration, value: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:264:55 [INFO] [stdout] | [INFO] [stdout] 264 | extern { pub fn AConfiguration_setTouchscreen(config: *mut AConfiguration, touchscreen: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:265:55 [INFO] [stdout] | [INFO] [stdout] 265 | extern { pub fn AConfiguration_setUiModeNight(config: *mut AConfiguration, uiModeNight: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:266:54 [INFO] [stdout] | [INFO] [stdout] 266 | extern { pub fn AConfiguration_setUiModeType(config: *mut AConfiguration, uiModeType: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:324:48 [INFO] [stdout] | [INFO] [stdout] 324 | extern { pub fn AInputEvent_getDeviceId(event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:325:46 [INFO] [stdout] | [INFO] [stdout] 325 | extern { pub fn AInputEvent_getSource(event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:326:44 [INFO] [stdout] | [INFO] [stdout] 326 | extern { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:328:49 [INFO] [stdout] | [INFO] [stdout] 328 | extern { pub fn AInputQueue_attachLooper(queue: *mut AInputQueue, looper: *mut ALooper, ident: c_int, callback: ALooper_callbackFunc, dat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:328:75 [INFO] [stdout] | [INFO] [stdout] 328 | extern { pub fn AInputQueue_attachLooper(queue: *mut AInputQueue, looper: *mut ALooper, ident: c_int, callback: ALooper_callbackFunc, dat... [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:329:49 [INFO] [stdout] | [INFO] [stdout] 329 | extern { pub fn AInputQueue_detachLooper(queue: *mut AInputQueue); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:330:48 [INFO] [stdout] | [INFO] [stdout] 330 | extern { pub fn AInputQueue_finishEvent(queue: *mut AInputQueue, event: *mut AInputEvent, handled: c_int); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:330:73 [INFO] [stdout] | [INFO] [stdout] 330 | extern { pub fn AInputQueue_finishEvent(queue: *mut AInputQueue, event: *mut AInputEvent, handled: c_int); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 331 | extern { pub fn AInputQueue_getEvent(queue: *mut AInputQueue, outEvent: *mut *mut AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:331:73 [INFO] [stdout] | [INFO] [stdout] 331 | extern { pub fn AInputQueue_getEvent(queue: *mut AInputQueue, outEvent: *mut *mut AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:332:46 [INFO] [stdout] | [INFO] [stdout] 332 | extern { pub fn AInputQueue_hasEvents(queue: *mut AInputQueue) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:333:53 [INFO] [stdout] | [INFO] [stdout] 333 | extern { pub fn AInputQueue_preDispatchEvent(queue: *mut AInputQueue, event: *mut AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:333:78 [INFO] [stdout] | [INFO] [stdout] 333 | extern { pub fn AInputQueue_preDispatchEvent(queue: *mut AInputQueue, event: *mut AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:352:48 [INFO] [stdout] | [INFO] [stdout] 352 | extern { pub fn AKeyEvent_getAction(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:353:50 [INFO] [stdout] | [INFO] [stdout] 353 | extern { pub fn AKeyEvent_getDownTime(key_event: *const AInputEvent) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:354:51 [INFO] [stdout] | [INFO] [stdout] 354 | extern { pub fn AKeyEvent_getEventTime(key_event: *const AInputEvent) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:355:47 [INFO] [stdout] | [INFO] [stdout] 355 | extern { pub fn AKeyEvent_getFlags(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:356:49 [INFO] [stdout] | [INFO] [stdout] 356 | extern { pub fn AKeyEvent_getKeyCode(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:357:51 [INFO] [stdout] | [INFO] [stdout] 357 | extern { pub fn AKeyEvent_getMetaState(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:358:53 [INFO] [stdout] | [INFO] [stdout] 358 | extern { pub fn AKeyEvent_getRepeatCount(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:359:50 [INFO] [stdout] | [INFO] [stdout] 359 | extern { pub fn AKeyEvent_getScanCode(key_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:450:54 [INFO] [stdout] | [INFO] [stdout] 450 | extern { pub fn AMotionEvent_getAction(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:451:57 [INFO] [stdout] | [INFO] [stdout] 451 | extern { pub fn AMotionEvent_getAxisValue(motion_event: *const AInputEvent, axis: i32, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:452:59 [INFO] [stdout] | [INFO] [stdout] 452 | extern { pub fn AMotionEvent_getButtonState(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:453:56 [INFO] [stdout] | [INFO] [stdout] 453 | extern { pub fn AMotionEvent_getDownTime(motion_event: *const AInputEvent) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:454:57 [INFO] [stdout] | [INFO] [stdout] 454 | extern { pub fn AMotionEvent_getEdgeFlags(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:455:57 [INFO] [stdout] | [INFO] [stdout] 455 | extern { pub fn AMotionEvent_getEventTime(motion_event: *const AInputEvent) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:456:53 [INFO] [stdout] | [INFO] [stdout] 456 | extern { pub fn AMotionEvent_getFlags(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 212 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:457:67 [INFO] [stdout] | [INFO] [stdout] 457 | extern { pub fn AMotionEvent_getHistoricalAxisValue(motion_event: *const AInputEvent, axis: i32, pointer_index: usize, history_index: usi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:458:67 [INFO] [stdout] | [INFO] [stdout] 458 | extern { pub fn AMotionEvent_getHistoricalEventTime(motion_event: *const AInputEvent, history_index: usize) -> i64; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:459:69 [INFO] [stdout] | [INFO] [stdout] 459 | extern { pub fn AMotionEvent_getHistoricalOrientation(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:460:66 [INFO] [stdout] | [INFO] [stdout] 460 | extern { pub fn AMotionEvent_getHistoricalPressure(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_flo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:461:62 [INFO] [stdout] | [INFO] [stdout] 461 | extern { pub fn AMotionEvent_getHistoricalRawX(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:462:62 [INFO] [stdout] | [INFO] [stdout] 462 | extern { pub fn AMotionEvent_getHistoricalRawY(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:463:62 [INFO] [stdout] | [INFO] [stdout] 463 | extern { pub fn AMotionEvent_getHistoricalSize(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:464:67 [INFO] [stdout] | [INFO] [stdout] 464 | extern { pub fn AMotionEvent_getHistoricalToolMajor(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_fl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:465:67 [INFO] [stdout] | [INFO] [stdout] 465 | extern { pub fn AMotionEvent_getHistoricalToolMinor(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_fl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:466:68 [INFO] [stdout] | [INFO] [stdout] 466 | extern { pub fn AMotionEvent_getHistoricalTouchMajor(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:467:68 [INFO] [stdout] | [INFO] [stdout] 467 | extern { pub fn AMotionEvent_getHistoricalTouchMinor(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:468:59 [INFO] [stdout] | [INFO] [stdout] 468 | extern { pub fn AMotionEvent_getHistoricalX(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:469:59 [INFO] [stdout] | [INFO] [stdout] 469 | extern { pub fn AMotionEvent_getHistoricalY(motion_event: *const AInputEvent, pointer_index: usize, history_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:470:59 [INFO] [stdout] | [INFO] [stdout] 470 | extern { pub fn AMotionEvent_getHistorySize(motion_event: *const AInputEvent) -> usize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:471:57 [INFO] [stdout] | [INFO] [stdout] 471 | extern { pub fn AMotionEvent_getMetaState(motion_event: *const AInputEvent) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:472:59 [INFO] [stdout] | [INFO] [stdout] 472 | extern { pub fn AMotionEvent_getOrientation(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:473:60 [INFO] [stdout] | [INFO] [stdout] 473 | extern { pub fn AMotionEvent_getPointerCount(motion_event: *const AInputEvent) -> usize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:474:57 [INFO] [stdout] | [INFO] [stdout] 474 | extern { pub fn AMotionEvent_getPointerId(motion_event: *const AInputEvent, pointer_index: usize) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:475:56 [INFO] [stdout] | [INFO] [stdout] 475 | extern { pub fn AMotionEvent_getPressure(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:476:52 [INFO] [stdout] | [INFO] [stdout] 476 | extern { pub fn AMotionEvent_getRawX(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:477:52 [INFO] [stdout] | [INFO] [stdout] 477 | extern { pub fn AMotionEvent_getRawY(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:478:52 [INFO] [stdout] | [INFO] [stdout] 478 | extern { pub fn AMotionEvent_getSize(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:479:57 [INFO] [stdout] | [INFO] [stdout] 479 | extern { pub fn AMotionEvent_getToolMajor(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:480:57 [INFO] [stdout] | [INFO] [stdout] 480 | extern { pub fn AMotionEvent_getToolMinor(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:481:56 [INFO] [stdout] | [INFO] [stdout] 481 | extern { pub fn AMotionEvent_getToolType(motion_event: *const AInputEvent, pointer_index: usize) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:482:58 [INFO] [stdout] | [INFO] [stdout] 482 | extern { pub fn AMotionEvent_getTouchMajor(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:483:58 [INFO] [stdout] | [INFO] [stdout] 483 | extern { pub fn AMotionEvent_getTouchMinor(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:484:49 [INFO] [stdout] | [INFO] [stdout] 484 | extern { pub fn AMotionEvent_getX(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:485:55 [INFO] [stdout] | [INFO] [stdout] 485 | extern { pub fn AMotionEvent_getXOffset(motion_event: *const AInputEvent) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:486:58 [INFO] [stdout] | [INFO] [stdout] 486 | extern { pub fn AMotionEvent_getXPrecision(motion_event: *const AInputEvent) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:487:49 [INFO] [stdout] | [INFO] [stdout] 487 | extern { pub fn AMotionEvent_getY(motion_event: *const AInputEvent, pointer_index: usize) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:488:55 [INFO] [stdout] | [INFO] [stdout] 488 | extern { pub fn AMotionEvent_getYOffset(motion_event: *const AInputEvent) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:489:58 [INFO] [stdout] | [INFO] [stdout] 489 | extern { pub fn AMotionEvent_getYPrecision(motion_event: *const AInputEvent) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:767:95 [INFO] [stdout] | [INFO] [stdout] 767 | extern { pub fn __android_log_vprint(prio: c_int, tag: *const c_char, fmt: *const c_char, ap: *mut __va_list_tag) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:785:41 [INFO] [stdout] | [INFO] [stdout] 785 | extern { pub fn ALooper_acquire(looper: *mut ALooper); } [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:786:39 [INFO] [stdout] | [INFO] [stdout] 786 | extern { pub fn ALooper_addFd(looper: *mut ALooper, fd: c_int, ident: c_int, events: c_int, callback: ALooper_callbackFunc, data: *mut c_... [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:792:41 [INFO] [stdout] | [INFO] [stdout] 792 | extern { pub fn ALooper_release(looper: *mut ALooper); } [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:793:42 [INFO] [stdout] | [INFO] [stdout] 793 | extern { pub fn ALooper_removeFd(looper: *mut ALooper, fd: c_int) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:794:38 [INFO] [stdout] | [INFO] [stdout] 794 | extern { pub fn ALooper_wake(looper: *mut ALooper); } [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:836:50 [INFO] [stdout] | [INFO] [stdout] 836 | extern { pub fn ANativeActivity_finish(activity: *mut ANativeActivity); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:837:57 [INFO] [stdout] | [INFO] [stdout] 837 | extern { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:838:58 [INFO] [stdout] | [INFO] [stdout] 838 | extern { pub fn ANativeActivity_setWindowFlags(activity: *mut ANativeActivity, addFlags: u32, removeFlags: u32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:839:59 [INFO] [stdout] | [INFO] [stdout] 839 | extern { pub fn ANativeActivity_setWindowFormat(activity: *mut ANativeActivity, format: i32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:840:57 [INFO] [stdout] | [INFO] [stdout] 840 | extern { pub fn ANativeActivity_showSoftInput(activity: *mut ANativeActivity, flags: u32); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:855:47 [INFO] [stdout] | [INFO] [stdout] 855 | extern { pub fn ANativeWindow_acquire(window: *mut ANativeWindow); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:856:49 [INFO] [stdout] | [INFO] [stdout] 856 | extern { pub fn ANativeWindow_getFormat(window: *mut ANativeWindow) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:857:49 [INFO] [stdout] | [INFO] [stdout] 857 | extern { pub fn ANativeWindow_getHeight(window: *mut ANativeWindow) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:858:48 [INFO] [stdout] | [INFO] [stdout] 858 | extern { pub fn ANativeWindow_getWidth(window: *mut ANativeWindow) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:859:44 [INFO] [stdout] | [INFO] [stdout] 859 | extern { pub fn ANativeWindow_lock(window: *mut ANativeWindow, outBuffer: *mut ANativeWindow_Buffer, inOutDirtyBounds: *mut ARect) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:860:47 [INFO] [stdout] | [INFO] [stdout] 860 | extern { pub fn ANativeWindow_release(window: *mut ANativeWindow); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:861:58 [INFO] [stdout] | [INFO] [stdout] 861 | extern { pub fn ANativeWindow_setBuffersGeometry(window: *mut ANativeWindow, width: i32, height: i32, format: i32) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:862:53 [INFO] [stdout] | [INFO] [stdout] 862 | extern { pub fn ANativeWindow_unlockAndPost(window: *mut ANativeWindow) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:870:48 [INFO] [stdout] | [INFO] [stdout] 870 | extern { pub fn ANativeWindow_fromSurface(env: *mut JNIEnv, surface: jobject) -> *mut ANativeWindow; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:870:70 [INFO] [stdout] | [INFO] [stdout] 870 | extern { pub fn ANativeWindow_fromSurface(env: *mut JNIEnv, surface: jobject) -> *mut ANativeWindow; } [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:877:42 [INFO] [stdout] | [INFO] [stdout] 877 | extern { pub fn AObbInfo_delete(obbInfo: *mut AObbInfo); } [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:878:44 [INFO] [stdout] | [INFO] [stdout] 878 | extern { pub fn AObbInfo_getFlags(obbInfo: *mut AObbInfo) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:879:50 [INFO] [stdout] | [INFO] [stdout] 879 | extern { pub fn AObbInfo_getPackageName(obbInfo: *mut AObbInfo) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:880:46 [INFO] [stdout] | [INFO] [stdout] 880 | extern { pub fn AObbInfo_getVersion(obbInfo: *mut AObbInfo) -> i32; } [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:935:56 [INFO] [stdout] | [INFO] [stdout] 935 | extern { pub fn ASensorEventQueue_disableSensor(queue: *mut ASensorEventQueue, sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:935:88 [INFO] [stdout] | [INFO] [stdout] 935 | extern { pub fn ASensorEventQueue_disableSensor(queue: *mut ASensorEventQueue, sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:936:55 [INFO] [stdout] | [INFO] [stdout] 936 | extern { pub fn ASensorEventQueue_enableSensor(queue: *mut ASensorEventQueue, sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:936:87 [INFO] [stdout] | [INFO] [stdout] 936 | extern { pub fn ASensorEventQueue_enableSensor(queue: *mut ASensorEventQueue, sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:937:52 [INFO] [stdout] | [INFO] [stdout] 937 | extern { pub fn ASensorEventQueue_getEvents(queue: *mut ASensorEventQueue, events: *mut ASensorEvent, count: usize) -> isize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:938:52 [INFO] [stdout] | [INFO] [stdout] 938 | extern { pub fn ASensorEventQueue_hasEvents(queue: *mut ASensorEventQueue) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:939:55 [INFO] [stdout] | [INFO] [stdout] 939 | extern { pub fn ASensorEventQueue_setEventRate(queue: *mut ASensorEventQueue, sensor: *const ASensor, usec: i32) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:939:87 [INFO] [stdout] | [INFO] [stdout] 939 | extern { pub fn ASensorEventQueue_setEventRate(queue: *mut ASensorEventQueue, sensor: *const ASensor, usec: i32) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:942:58 [INFO] [stdout] | [INFO] [stdout] 942 | extern { pub fn ASensorManager_createEventQueue(manager: *mut ASensorManager, looper: *mut ALooper, ident: c_int, callback: ALooper_callb... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:942:87 [INFO] [stdout] | [INFO] [stdout] 942 | extern { pub fn ASensorManager_createEventQueue(manager: *mut ASensorManager, looper: *mut ALooper, ident: c_int, callback: ALooper_callb... [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:943:59 [INFO] [stdout] | [INFO] [stdout] 943 | extern { pub fn ASensorManager_destroyEventQueue(manager: *mut ASensorManager, queue: *mut ASensorEventQueue) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:943:87 [INFO] [stdout] | [INFO] [stdout] 943 | extern { pub fn ASensorManager_destroyEventQueue(manager: *mut ASensorManager, queue: *mut ASensorEventQueue) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:944:58 [INFO] [stdout] | [INFO] [stdout] 944 | extern { pub fn ASensorManager_getDefaultSensor(manager: *mut ASensorManager, xtype: c_int) -> *const ASensor; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:945:60 [INFO] [stdout] | [INFO] [stdout] 945 | extern { pub fn ASensorManager_getDefaultSensorEx(manager: *mut ASensorManager, xtype: c_int, wakeUp: bool) -> *const ASensor; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:947:55 [INFO] [stdout] | [INFO] [stdout] 947 | extern { pub fn ASensorManager_getSensorList(manager: *mut ASensorManager, list: *mut ASensorList) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:947:82 [INFO] [stdout] | [INFO] [stdout] 947 | extern { pub fn ASensorManager_getSensorList(manager: *mut ASensorManager, list: *mut ASensorList) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:955:54 [INFO] [stdout] | [INFO] [stdout] 955 | extern { pub fn ASensor_getFifoMaxEventCount(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:956:59 [INFO] [stdout] | [INFO] [stdout] 956 | extern { pub fn ASensor_getFifoReservedEventCount(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:957:45 [INFO] [stdout] | [INFO] [stdout] 957 | extern { pub fn ASensor_getMinDelay(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:958:41 [INFO] [stdout] | [INFO] [stdout] 958 | extern { pub fn ASensor_getName(sensor: *const ASensor) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:959:50 [INFO] [stdout] | [INFO] [stdout] 959 | extern { pub fn ASensor_getReportingMode(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:960:47 [INFO] [stdout] | [INFO] [stdout] 960 | extern { pub fn ASensor_getResolution(sensor: *const ASensor) -> c_float; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:961:47 [INFO] [stdout] | [INFO] [stdout] 961 | extern { pub fn ASensor_getStringType(sensor: *const ASensor) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:962:41 [INFO] [stdout] | [INFO] [stdout] 962 | extern { pub fn ASensor_getType(sensor: *const ASensor) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:963:43 [INFO] [stdout] | [INFO] [stdout] 963 | extern { pub fn ASensor_getVendor(sensor: *const ASensor) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:964:48 [INFO] [stdout] | [INFO] [stdout] 964 | extern { pub fn ASensor_isWakeUpSensor(sensor: *const ASensor) -> bool; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1007:45 [INFO] [stdout] | [INFO] [stdout] 1007 | extern { pub fn AStorageManager_delete(mgr: *mut AStorageManager); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1008:56 [INFO] [stdout] | [INFO] [stdout] 1008 | extern { pub fn AStorageManager_getMountedObbPath(mgr: *mut AStorageManager, filename: *const c_char) -> *const c_char; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1009:51 [INFO] [stdout] | [INFO] [stdout] 1009 | extern { pub fn AStorageManager_isObbMounted(mgr: *mut AStorageManager, filename: *const c_char) -> c_int; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1010:47 [INFO] [stdout] | [INFO] [stdout] 1010 | extern { pub fn AStorageManager_mountObb(mgr: *mut AStorageManager, filename: *const c_char, key: *const c_char, cb: AStorageManager_obbC... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1013:49 [INFO] [stdout] | [INFO] [stdout] 1013 | extern { pub fn AStorageManager_unmountObb(mgr: *mut AStorageManager, filename: *const c_char, force: c_int, cb: AStorageManager_obbCallb... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1350:32 [INFO] [stdout] | [INFO] [stdout] 1350 | extern { pub fn JNI_OnLoad(vm: *mut JavaVM, reserved: *mut c_void) -> jint; } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:1351:34 [INFO] [stdout] | [INFO] [stdout] 1351 | extern { pub fn JNI_OnUnload(vm: *mut JavaVM, reserved: *mut c_void); } [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 212 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "01454d98273b015bf7a000d6a5d0c1e2fb63d05a7bdaf543b65e3f45861e28d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01454d98273b015bf7a000d6a5d0c1e2fb63d05a7bdaf543b65e3f45861e28d0", kill_on_drop: false }` [INFO] [stdout] 01454d98273b015bf7a000d6a5d0c1e2fb63d05a7bdaf543b65e3f45861e28d0