[INFO] cloning repository https://github.com/kuviman/android-audio-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kuviman/android-audio-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuviman%2Fandroid-audio-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuviman%2Fandroid-audio-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e92de969bf5d6f10bbad7cbedfd6ad38b9cd85b8 [INFO] checking kuviman/android-audio-test/e92de969bf5d6f10bbad7cbedfd6ad38b9cd85b8 against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuviman%2Fandroid-audio-test" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kuviman/android-audio-test [INFO] finished tweaking git repo https://github.com/kuviman/android-audio-test [INFO] tweaked toml for git repo https://github.com/kuviman/android-audio-test written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kuviman/android-audio-test on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kuviman/android-audio-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/geng-engine/batbox` [INFO] [stderr] Updating git repository `https://github.com/geng-engine/web-audio-api-rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] warning: patch `batbox-android v0.16.0 (https://github.com/geng-engine/batbox#71c8b113)` was not used in the crate graph [INFO] [stderr] help: Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia-codec-aac v0.5.4 [INFO] [stderr] Downloaded llq v0.1.1 [INFO] [stderr] Downloaded android_logger v0.11.3 [INFO] [stderr] Downloaded creek-core v0.2.2 [INFO] [stderr] Downloaded rtrb v0.3.1 [INFO] [stderr] Downloaded rubato v0.14.1 [INFO] [stderr] Downloaded creek v1.2.2 [INFO] [stderr] Downloaded float_eq v1.0.1 [INFO] [stderr] Downloaded symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Downloaded creek-decode-symphonia v0.3.1 [INFO] [stderr] Downloaded creek-encode-wav v0.2.0 [INFO] [stderr] Downloaded hrtf v0.8.1 [INFO] [stderr] Downloaded rubato v0.15.0 [INFO] [stderr] Downloaded symphonia-codec-alac v0.5.4 [INFO] [stderr] Downloaded no_denormals v0.1.2 [INFO] [stderr] Downloaded realfft v3.3.0 [INFO] [stderr] Downloaded symphonia-bundle-flac v0.5.4 [INFO] [stderr] Downloaded symphonia-format-mkv v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3de314f5cbb45e0e0745e5df25c8ede1a04f757d2bf13648ddbcbec1b8031735 [INFO] running `Command { std: "docker" "start" "-a" "3de314f5cbb45e0e0745e5df25c8ede1a04f757d2bf13648ddbcbec1b8031735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3de314f5cbb45e0e0745e5df25c8ede1a04f757d2bf13648ddbcbec1b8031735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de314f5cbb45e0e0745e5df25c8ede1a04f757d2bf13648ddbcbec1b8031735", kill_on_drop: false }` [INFO] [stdout] 3de314f5cbb45e0e0745e5df25c8ede1a04f757d2bf13648ddbcbec1b8031735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b49eb880b0d37aee4d59eb058f3f910579b19180c06a7e18641eb86a574c77a8 [INFO] running `Command { std: "docker" "start" "-a" "b49eb880b0d37aee4d59eb058f3f910579b19180c06a7e18641eb86a574c77a8", kill_on_drop: false }` [INFO] [stderr] warning: patch `batbox-android v0.16.0 (https://github.com/geng-engine/batbox#71c8b113)` was not used in the crate graph [INFO] [stderr] help: Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking rtrb v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking alsa-sys v0.3.1 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking llq v0.1.1 [INFO] [stderr] Checking float_eq v1.0.1 [INFO] [stderr] Checking no_denormals v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking creek-core v0.2.2 [INFO] [stderr] Checking creek-encode-wav v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-alac v0.5.4 [INFO] [stderr] Checking symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-aac v0.5.4 [INFO] [stderr] Checking cpal v0.15.3 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.4 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking symphonia-format-riff v0.5.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking symphonia-format-mkv v0.5.4 [INFO] [stderr] Checking symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.4 [INFO] [stderr] Checking symphonia-format-ogg v0.5.4 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking creek-decode-symphonia v0.3.1 [INFO] [stderr] Checking creek v1.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking rodio v0.18.1 [INFO] [stderr] Checking realfft v3.3.0 [INFO] [stderr] Checking rubato v0.14.1 [INFO] [stderr] Checking rubato v0.15.0 [INFO] [stderr] Checking hrtf v0.8.1 [INFO] [stderr] Checking web-audio-api v0.45.1 (https://github.com/geng-engine/web-audio-api-rs?branch=android-buffer-size#b602b476) [INFO] [stderr] Checking android-audio-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `android_activity` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use android_activity::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `android_activity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `android_activity`, use `cargo add android_activity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `android_activity` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use android_activity::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `android_activity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `android_activity`, use `cargo add android_activity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] --> src/lib.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | android_logger::init_once(android_logger::Config::default().with_min_level(log::Level::Debug)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `android_logger`, use `cargo add android_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk` [INFO] [stdout] --> src/lib.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let mut native_window: Option = None; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ndk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk`, use `cargo add ndk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk` [INFO] [stdout] --> src/lib.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | fn dummy_render(native_window: &ndk::native_window::NativeWindow) { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ndk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk`, use `cargo add ndk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `android_activity` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use android_activity::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `android_activity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `android_activity`, use `cargo add android_activity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `android_activity` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use android_activity::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `android_activity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `android_activity`, use `cargo add android_activity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `never` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "never")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `never` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `android-audio-test` (lib) due to 12 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | android_logger::init_once(android_logger::Config::default().with_min_level(log::Level::Debug)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `android_logger`, use `cargo add android_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] --> src/lib.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | android_logger::init_once(android_logger::Config::default().with_min_level(log::Level::Debug)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `android_logger`, use `cargo add android_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | ... if !iter.next(|event| { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk` [INFO] [stdout] --> src/lib.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let mut native_window: Option = None; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ndk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk`, use `cargo add ndk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let key_map = match app.device_key_character_map(device_id) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | match key_map.get(key_event.key_code(), key_event.meta_state()) { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `key_map` an explicit type [INFO] [stdout] | [INFO] [stdout] 192 | let key_map: /* Type */ = match app.device_key_character_map(device_id) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] --> src/lib.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | ndk_sys::ANativeWindow_lock( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk_sys`, use `cargo add ndk_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] --> src/lib.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | ndk_sys::ANativeWindow_unlockAndPost(native_window.ptr().as_ptr() as _); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk_sys`, use `cargo add ndk_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk` [INFO] [stdout] --> src/lib.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | fn dummy_render(native_window: &ndk::native_window::NativeWindow) { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ndk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk`, use `cargo add ndk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] --> src/lib.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | let mut rect: ndk_sys::ARect = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk_sys`, use `cargo add ndk_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] --> src/lib.rs:256:22 [INFO] [stdout] | [INFO] [stdout] 256 | let mut buf: ndk_sys::ANativeWindow_Buffer = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk_sys`, use `cargo add ndk_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `never` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "never")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `never` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | android_logger::init_once(android_logger::Config::default().with_min_level(log::Level::Debug)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `android_logger`, use `cargo add android_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | ... if !iter.next(|event| { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let key_map = match app.device_key_character_map(device_id) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | match key_map.get(key_event.key_code(), key_event.meta_state()) { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `key_map` an explicit type [INFO] [stdout] | [INFO] [stdout] 192 | let key_map: /* Type */ = match app.device_key_character_map(device_id) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] --> src/lib.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | ndk_sys::ANativeWindow_lock( [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk_sys`, use `cargo add ndk_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] --> src/lib.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | ndk_sys::ANativeWindow_unlockAndPost(native_window.ptr().as_ptr() as _); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk_sys`, use `cargo add ndk_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] --> src/lib.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | let mut rect: ndk_sys::ARect = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk_sys`, use `cargo add ndk_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] --> src/lib.rs:256:22 [INFO] [stdout] | [INFO] [stdout] 256 | let mut buf: ndk_sys::ANativeWindow_Buffer = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ndk_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ndk_sys`, use `cargo add ndk_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `android-audio-test` (lib test) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b49eb880b0d37aee4d59eb058f3f910579b19180c06a7e18641eb86a574c77a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49eb880b0d37aee4d59eb058f3f910579b19180c06a7e18641eb86a574c77a8", kill_on_drop: false }` [INFO] [stdout] b49eb880b0d37aee4d59eb058f3f910579b19180c06a7e18641eb86a574c77a8