[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/e93a0a812ba923d4323285986cfe73f2699accc9 against master#249595384b4589c71a00d622c4253f62c7f5ddbd for pr-127054 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlhr202%2Fandroid-nnapi-example" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hlhr202/android-nnapi-example on toolchain 249595384b4589c71a00d622c4253f62c7f5ddbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "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-4-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" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/hlhr202/nnapi.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded android_logger v0.13.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efea49baa616d9f9b7c8749ef6395c7a8e375a7dd199067b091d412cc3ce2282 [INFO] running `Command { std: "docker" "start" "-a" "efea49baa616d9f9b7c8749ef6395c7a8e375a7dd199067b091d412cc3ce2282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efea49baa616d9f9b7c8749ef6395c7a8e375a7dd199067b091d412cc3ce2282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efea49baa616d9f9b7c8749ef6395c7a8e375a7dd199067b091d412cc3ce2282", kill_on_drop: false }` [INFO] [stdout] efea49baa616d9f9b7c8749ef6395c7a8e375a7dd199067b091d412cc3ce2282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0660bd9022d22cbc832a2efbc7dadb4dcededbf09f9150c2e0f5c8df7378e73e [INFO] running `Command { std: "docker" "start" "-a" "0660bd9022d22cbc832a2efbc7dadb4dcededbf09f9150c2e0f5c8df7378e73e", 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 undeclared crate or module `android_activity` [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 undeclared crate or module `android_activity` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi_sys` [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 undeclared crate or module `nnapi_sys` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi_sys` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi_sys` [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 undeclared crate or module `nnapi_sys` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi` [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 undeclared crate or module `nnapi_sys` [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 undeclared crate or module `nnapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `android_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `android_logger` [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 undeclared crate or module `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 undeclared crate or module `android_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `android_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nnapi` [INFO] [stdout] --> src/test.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn test_nn() -> nnapi::Result<()> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `nnapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [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 undeclared crate or module `nnapi` [INFO] [stdout] --> src/test.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn test_nn() -> nnapi::Result<()> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `nnapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [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] [stderr] error: could not compile `android-nnapi-example` (lib test) due to 14 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `android-nnapi-example` (lib) due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0660bd9022d22cbc832a2efbc7dadb4dcededbf09f9150c2e0f5c8df7378e73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0660bd9022d22cbc832a2efbc7dadb4dcededbf09f9150c2e0f5c8df7378e73e", kill_on_drop: false }` [INFO] [stdout] 0660bd9022d22cbc832a2efbc7dadb4dcededbf09f9150c2e0f5c8df7378e73e