[INFO] cloning repository https://github.com/hlhr202/android-nnapi-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hlhr202/android-nnapi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlhr202%2Fandroid-nnapi-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlhr202%2Fandroid-nnapi-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e93a0a812ba923d4323285986cfe73f2699accc9 [INFO] checking hlhr202/android-nnapi-example against master#90384941aae4ea38de00e4702b50757e9b882a19 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlhr202%2Fandroid-nnapi-example" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hlhr202/android-nnapi-example on toolchain 90384941aae4ea38de00e4702b50757e9b882a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hlhr202/android-nnapi-example [INFO] finished tweaking git repo https://github.com/hlhr202/android-nnapi-example [INFO] tweaked toml for git repo https://github.com/hlhr202/android-nnapi-example written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hlhr202/android-nnapi-example 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" "+90384941aae4ea38de00e4702b50757e9b882a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/hlhr202/nnapi.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d897394829b0dd75fff65e8701b3f9ef4ff2f0a1b01f11c7e3060ac5a133f232 [INFO] running `Command { std: "docker" "start" "-a" "d897394829b0dd75fff65e8701b3f9ef4ff2f0a1b01f11c7e3060ac5a133f232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d897394829b0dd75fff65e8701b3f9ef4ff2f0a1b01f11c7e3060ac5a133f232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d897394829b0dd75fff65e8701b3f9ef4ff2f0a1b01f11c7e3060ac5a133f232", kill_on_drop: false }` [INFO] [stdout] d897394829b0dd75fff65e8701b3f9ef4ff2f0a1b01f11c7e3060ac5a133f232 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3726c462daa06e4b7e8123abe159f3badcb83faece8cdd84b83237bb2376e78 [INFO] running `Command { std: "docker" "start" "-a" "b3726c462daa06e4b7e8123abe159f3badcb83faece8cdd84b83237bb2376e78", kill_on_drop: false }` [INFO] [stderr] Checking android-nnapi-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `android_activity` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use android_activity::AndroidApp; [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 `nnapi` [INFO] [stdout] --> src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nnapi::{Device, Model}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/tensor/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nnapi::{Burst, Compilation, Operand}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi_sys` [INFO] [stdout] --> src/tensor/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nnapi_sys::OperandCode; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nnapi_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi_sys`, use `cargo add nnapi_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/operators/add.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nnapi::Operand; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi_sys` [INFO] [stdout] --> src/operators/add.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nnapi_sys::OperationCode; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nnapi_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi_sys`, use `cargo add nnapi_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/operators/matmul.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nnapi::Operand; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` 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::AndroidApp; [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 `nnapi_sys` [INFO] [stdout] --> src/operators/matmul.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nnapi_sys::OperationCode; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nnapi_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi_sys`, use `cargo add nnapi_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nnapi::Device; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nnapi::{Device, Model}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/tensor/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nnapi::{Burst, Compilation, Operand}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi_sys` [INFO] [stdout] --> src/tensor/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nnapi_sys::OperandCode; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nnapi_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi_sys`, use `cargo add nnapi_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/operators/add.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nnapi::Operand; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi_sys` [INFO] [stdout] --> src/operators/add.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nnapi_sys::OperationCode; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nnapi_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi_sys`, use `cargo add nnapi_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/operators/matmul.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nnapi::Operand; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi_sys` [INFO] [stdout] --> src/operators/matmul.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nnapi_sys::OperationCode; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `nnapi_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi_sys`, use `cargo add nnapi_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nnapi` [INFO] [stdout] --> src/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nnapi::Device; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` 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:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | android_logger::init_once(android_logger::Config::default().with_max_level(log::max_level())); [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 `android_logger` [INFO] [stdout] --> src/lib.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | android_logger::init_once(android_logger::Config::default().with_max_level(log::max_level())); [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] warning: unused import: `add::*` [INFO] [stdout] --> src/operators/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use add::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add::*` [INFO] [stdout] --> src/operators/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use add::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | android_logger::init_once(android_logger::Config::default().with_max_level(log::max_level())); [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 `log` [INFO] [stdout] --> src/lib.rs:10:80 [INFO] [stdout] | [INFO] [stdout] 10 | android_logger::init_once(android_logger::Config::default().with_max_level(log::max_level())); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` 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 `nnapi` [INFO] [stdout] --> src/test.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn test_nn() -> nnapi::Result<()> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `android_logger` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | android_logger::init_once(android_logger::Config::default().with_max_level(log::max_level())); [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 `log` [INFO] [stdout] --> src/lib.rs:10:80 [INFO] [stdout] | [INFO] [stdout] 10 | android_logger::init_once(android_logger::Config::default().with_max_level(log::max_level())); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` 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 `nnapi` [INFO] [stdout] --> src/test.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn test_nn() -> nnapi::Result<()> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `nnapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nnapi`, use `cargo add nnapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `android-nnapi-example` (lib test) due to 13 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `android-nnapi-example` (lib) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b3726c462daa06e4b7e8123abe159f3badcb83faece8cdd84b83237bb2376e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3726c462daa06e4b7e8123abe159f3badcb83faece8cdd84b83237bb2376e78", kill_on_drop: false }` [INFO] [stdout] b3726c462daa06e4b7e8123abe159f3badcb83faece8cdd84b83237bb2376e78