[INFO] fetching crate android_ffi 0.1.0...
[INFO] testing android_ffi-0.1.0 against 1.76.0 for beta-1.77-1
[INFO] extracting crate android_ffi 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate android_ffi 0.1.0 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate android_ffi 0.1.0
[INFO] finished tweaking crates.io crate android_ffi 0.1.0
[INFO] tweaked toml for crates.io crate android_ffi 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84af42c4166b85e244758a6c9957edb9e2dda3c5ef8b322634ad2e9d6c03bb94
[INFO] running `Command { std: "docker" "start" "-a" "84af42c4166b85e244758a6c9957edb9e2dda3c5ef8b322634ad2e9d6c03bb94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84af42c4166b85e244758a6c9957edb9e2dda3c5ef8b322634ad2e9d6c03bb94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84af42c4166b85e244758a6c9957edb9e2dda3c5ef8b322634ad2e9d6c03bb94", kill_on_drop: false }`
[INFO] [stdout] 84af42c4166b85e244758a6c9957edb9e2dda3c5ef8b322634ad2e9d6c03bb94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4198515f903cd56b9011e89e408d6ca4a3c958711317f031f40a5f6e1c4aa8a4
[INFO] running `Command { std: "docker" "start" "-a" "4198515f903cd56b9011e89e408d6ca4a3c958711317f031f40a5f6e1c4aa8a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:294:35
[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:35
[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:66
[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:17
[INFO] [stdout]     |
[INFO] [stdout] 580 |         thread::sleep_ms(10);
[INFO] [stdout]     |                 ^^^^^^^^
[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<Vec<Box<SyncEventHandler>>>,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 97 |     sync_event_handlers:  Mutex<Vec<Box<dyn SyncEventHandler>>>,
[INFO] [stdout]    |                                         +++
[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<SyncEventHandler>) {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 530 | pub fn add_sync_event_handler(handler: Box<dyn SyncEventHandler>) {
[INFO] [stdout]     |                                            +++
[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]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 536 | pub fn remove_sync_event_handler(handler: *const dyn SyncEventHandler) {
[INFO] [stdout]     |                                                  +++
[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<SyncEventHandler>> = Box::from_raw(handler as *mut _);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let handler: Box<Box<dyn SyncEventHandler>> = Box::from_raw(handler as *mut _);
[INFO] [stdout]    |                          +++
[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]    |                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let handler: Box<*const dyn SyncEventHandler> = Box::from_raw(handler as *mut _);
[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: the type `i64` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:294:30
[INFO] [stdout]     |
[INFO] [stdout] 294 |             let mut thread = mem::uninitialized();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this code causes undefined behavior when executed
[INFO] [stdout]     |                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `i32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:344:30
[INFO] [stdout]     |
[INFO] [stdout] 344 |             let mut events = mem::uninitialized();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this code causes undefined behavior when executed
[INFO] [stdout]     |                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `*mut android_poll_source` does not permit being left uninitialized
[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]     |                                                             this code causes undefined behavior when executed
[INFO] [stdout]     |                                                             help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
[INFO] [stdout]    --> src/lib.rs:538:29
[INFO] [stdout]     |
[INFO] [stdout] 538 |     handlers.retain(|ref b| b.as_ref() as *const _ != handler);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default
[INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
[INFO] [stdout]     |
[INFO] [stdout] 538 |     handlers.retain(|ref b| !std::ptr::addr_eq(b.as_ref() as *const _, handler));
[INFO] [stdout]     |                             +++++++++++++++++++                      ~        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "4198515f903cd56b9011e89e408d6ca4a3c958711317f031f40a5f6e1c4aa8a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4198515f903cd56b9011e89e408d6ca4a3c958711317f031f40a5f6e1c4aa8a4", kill_on_drop: false }`
[INFO] [stdout] 4198515f903cd56b9011e89e408d6ca4a3c958711317f031f40a5f6e1c4aa8a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 519e5e05a5b468bd8849f69af52984702acdeb25ab55307e7e5e99c67aa0a09f
[INFO] running `Command { std: "docker" "start" "-a" "519e5e05a5b468bd8849f69af52984702acdeb25ab55307e7e5e99c67aa0a09f", kill_on_drop: false }`
[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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:294:35
[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:35
[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:66
[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:17
[INFO] [stdout]     |
[INFO] [stdout] 580 |         thread::sleep_ms(10);
[INFO] [stdout]     |                 ^^^^^^^^
[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<Vec<Box<SyncEventHandler>>>,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 97 |     sync_event_handlers:  Mutex<Vec<Box<dyn SyncEventHandler>>>,
[INFO] [stdout]    |                                         +++
[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<SyncEventHandler>) {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 530 | pub fn add_sync_event_handler(handler: Box<dyn SyncEventHandler>) {
[INFO] [stdout]     |                                            +++
[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]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 536 | pub fn remove_sync_event_handler(handler: *const dyn SyncEventHandler) {
[INFO] [stdout]     |                                                  +++
[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<SyncEventHandler>> = Box::from_raw(handler as *mut _);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let handler: Box<Box<dyn SyncEventHandler>> = Box::from_raw(handler as *mut _);
[INFO] [stdout]    |                          +++
[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]    |                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let handler: Box<*const dyn SyncEventHandler> = Box::from_raw(handler as *mut _);
[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: the type `i64` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:294:30
[INFO] [stdout]     |
[INFO] [stdout] 294 |             let mut thread = mem::uninitialized();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this code causes undefined behavior when executed
[INFO] [stdout]     |                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `i32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:344:30
[INFO] [stdout]     |
[INFO] [stdout] 344 |             let mut events = mem::uninitialized();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this code causes undefined behavior when executed
[INFO] [stdout]     |                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `*mut android_poll_source` does not permit being left uninitialized
[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]     |                                                             this code causes undefined behavior when executed
[INFO] [stdout]     |                                                             help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
[INFO] [stdout]    --> src/lib.rs:538:29
[INFO] [stdout]     |
[INFO] [stdout] 538 |     handlers.retain(|ref b| b.as_ref() as *const _ != handler);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default
[INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
[INFO] [stdout]     |
[INFO] [stdout] 538 |     handlers.retain(|ref b| !std::ptr::addr_eq(b.as_ref() as *const _, handler));
[INFO] [stdout]     |                             +++++++++++++++++++                      ~        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/lib.rs:294:35
[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:35
[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:66
[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:17
[INFO] [stdout]     |
[INFO] [stdout] 580 |         thread::sleep_ms(10);
[INFO] [stdout]     |                 ^^^^^^^^
[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<Vec<Box<SyncEventHandler>>>,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 97 |     sync_event_handlers:  Mutex<Vec<Box<dyn SyncEventHandler>>>,
[INFO] [stdout]    |                                         +++
[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<SyncEventHandler>) {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 530 | pub fn add_sync_event_handler(handler: Box<dyn SyncEventHandler>) {
[INFO] [stdout]     |                                            +++
[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]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 536 | pub fn remove_sync_event_handler(handler: *const dyn SyncEventHandler) {
[INFO] [stdout]     |                                                  +++
[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<SyncEventHandler>> = Box::from_raw(handler as *mut _);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let handler: Box<Box<dyn SyncEventHandler>> = Box::from_raw(handler as *mut _);
[INFO] [stdout]    |                          +++
[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]    |                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let handler: Box<*const dyn SyncEventHandler> = Box::from_raw(handler as *mut _);
[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: the type `i64` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:294:30
[INFO] [stdout]     |
[INFO] [stdout] 294 |             let mut thread = mem::uninitialized();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this code causes undefined behavior when executed
[INFO] [stdout]     |                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `i32` does not permit being left uninitialized
[INFO] [stdout]    --> src/lib.rs:344:30
[INFO] [stdout]     |
[INFO] [stdout] 344 |             let mut events = mem::uninitialized();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this code causes undefined behavior when executed
[INFO] [stdout]     |                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `*mut android_poll_source` does not permit being left uninitialized
[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]     |                                                             this code causes undefined behavior when executed
[INFO] [stdout]     |                                                             help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
[INFO] [stdout]    --> src/lib.rs:538:29
[INFO] [stdout]     |
[INFO] [stdout] 538 |     handlers.retain(|ref b| b.as_ref() as *const _ != handler);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default
[INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
[INFO] [stdout]     |
[INFO] [stdout] 538 |     handlers.retain(|ref b| !std::ptr::addr_eq(b.as_ref() as *const _, handler));
[INFO] [stdout]     |                             +++++++++++++++++++                      ~        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcuoRSbT/symbols.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.android_ffi.d963587079e3ba7d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.android_ffi.d963587079e3ba7d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.android_ffi.d963587079e3ba7d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.android_ffi.d963587079e3ba7d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.android_ffi.d963587079e3ba7d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.android_ffi.d963587079e3ba7d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.android_ffi.d963587079e3ba7d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.android_ffi.d963587079e3ba7d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d.3wajbq11dl4n8suu.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-llog" "-landroid" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-5d722ce3e5d0595e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-76f5006e4e062e57.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-a18ed5fdf4a57b72.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a14b8d31733ef9e9.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-66d8041607d2929b.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a57e2388c0aea9b1.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-dcd9be90ae2cb505.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-516789932d161b4e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-1ff34b0cf871cb60.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0c110dd0650d6cb7.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a6e97aae2681ad8f.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b93dac2525ec4d1e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-ce1d65fb391ae98b.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8933a2fb54d88492.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-306712ebb1ee1a3f.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-349c574f342b0d30.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-65c422a3ad95273d.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-7e6330a6c0cb9441.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-39c59240bfdfab27.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e9d126c51bb8b2bb.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5af394d9b1f07bdc.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-693a8f23970c5917.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13fc9d1ed9c7a2bc.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/android_ffi-7894613cb5f3694d" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -llog: No such file or directory
[INFO] [stdout]           /usr/bin/ld: cannot find -landroid: No such file or directory
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `android_ffi` (lib test) due to 2 previous errors; 20 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "519e5e05a5b468bd8849f69af52984702acdeb25ab55307e7e5e99c67aa0a09f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "519e5e05a5b468bd8849f69af52984702acdeb25ab55307e7e5e99c67aa0a09f", kill_on_drop: false }`
[INFO] [stdout] 519e5e05a5b468bd8849f69af52984702acdeb25ab55307e7e5e99c67aa0a09f
