[INFO] fetching crate rknpu2 0.0.7... [INFO] testing rknpu2-0.0.7 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rknpu2 0.0.7 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rknpu2 0.0.7 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rknpu2 0.0.7 [INFO] tweaked toml for crates.io crate rknpu2 0.0.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rknpu2 0.0.7 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rknpu2 0.0.7 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddf4e7a7852364c47124ae39e22a291c7ba88c80fafa51e0087023c5ea8ea503 [INFO] running `Command { std: "docker" "start" "-a" "ddf4e7a7852364c47124ae39e22a291c7ba88c80fafa51e0087023c5ea8ea503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddf4e7a7852364c47124ae39e22a291c7ba88c80fafa51e0087023c5ea8ea503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf4e7a7852364c47124ae39e22a291c7ba88c80fafa51e0087023c5ea8ea503", kill_on_drop: false }` [INFO] [stdout] ddf4e7a7852364c47124ae39e22a291c7ba88c80fafa51e0087023c5ea8ea503 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b00d0cf04ddce696368dc89c0f6f7be890698924c5ad2ab3e35945a02b5e483 [INFO] running `Command { std: "docker" "start" "-a" "4b00d0cf04ddce696368dc89c0f6f7be890698924c5ad2ab3e35945a02b5e483", kill_on_drop: false }` [INFO] [stderr] Compiling rknpu2-sys v0.0.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rknpu2 v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `ptr` and `size` are never read [INFO] [stdout] --> src/io/buffer.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct RknnBuffer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 159 | pub(crate) ptr: *mut c_void, [INFO] [stdout] | ^^^ [INFO] [stdout] 160 | pub(crate) size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_sys_input` is never used [INFO] [stdout] --> src/io/input.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Input<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn as_sys_input(&mut self) -> rknn_input { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_sys_output` and `from_sys_output` are never used [INFO] [stdout] --> src/io/output.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Output<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 25 | /// PRE-FFI-CALL: Converts the safe struct into a raw C struct. [INFO] [stdout] 26 | pub(crate) fn as_sys_output(&mut self) -> rknn_output { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn from_sys_output(&mut self, sys_out: &rknn_output) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "4b00d0cf04ddce696368dc89c0f6f7be890698924c5ad2ab3e35945a02b5e483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b00d0cf04ddce696368dc89c0f6f7be890698924c5ad2ab3e35945a02b5e483", kill_on_drop: false }` [INFO] [stdout] 4b00d0cf04ddce696368dc89c0f6f7be890698924c5ad2ab3e35945a02b5e483 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e894792ae9f0baf24d98d08a62fc3179c15c619921ef346a3cc05f3fe2019a0 [INFO] running `Command { std: "docker" "start" "-a" "3e894792ae9f0baf24d98d08a62fc3179c15c619921ef346a3cc05f3fe2019a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stdout] warning: fields `ptr` and `size` are never read [INFO] [stdout] --> src/io/buffer.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct RknnBuffer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 159 | pub(crate) ptr: *mut c_void, [INFO] [stdout] | ^^^ [INFO] [stdout] 160 | pub(crate) size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_sys_input` is never used [INFO] [stdout] --> src/io/input.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Input<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn as_sys_input(&mut self) -> rknn_input { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_sys_output` and `from_sys_output` are never used [INFO] [stdout] --> src/io/output.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Output<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 25 | /// PRE-FFI-CALL: Converts the safe struct into a raw C struct. [INFO] [stdout] 26 | pub(crate) fn as_sys_output(&mut self) -> rknn_output { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn from_sys_output(&mut self, sys_out: &rknn_output) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling rknpu2 v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `collections::BTreeMap`, `image::ImageReader`, and `itertools::Itertools` [INFO] [stdout] --> examples/mobilenet.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | image::ImageReader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | itertools::Itertools, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | io::{BufRead, BufReader}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptr` and `size` are never read [INFO] [stdout] --> src/io/buffer.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct RknnBuffer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 159 | pub(crate) ptr: *mut c_void, [INFO] [stdout] | ^^^ [INFO] [stdout] 160 | pub(crate) size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_sys_input` is never used [INFO] [stdout] --> src/io/input.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Input<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn as_sys_input(&mut self) -> rknn_input { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_sys_output` and `from_sys_output` are never used [INFO] [stdout] --> src/io/output.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Output<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 25 | /// PRE-FFI-CALL: Converts the safe struct into a raw C struct. [INFO] [stdout] 26 | pub(crate) fn as_sys_output(&mut self) -> rknn_output { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) fn from_sys_output(&mut self, sys_out: &rknn_output) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MODEL_DATA` is never used [INFO] [stdout] --> tests/test_run.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | static MODEL_DATA: &[u8] = include_bytes!("./fixtures/mobilenet_v2.rknn"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rknn` is never used [INFO] [stdout] --> tests/test_run.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_rknn(flag: u32) -> RKNN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MODEL_DATA` is never used [INFO] [stdout] --> examples/mobilenet.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static MODEL_DATA: &[u8] = include_bytes!("models/mobilenet_v2.rknn"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MODEL_OUTPUTS` is never used [INFO] [stdout] --> examples/mobilenet.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static MODEL_OUTPUTS: &str = include_str!("models/mobilenet-synset.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALE` is never used [INFO] [stdout] --> examples/mobilenet.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SCALE: f32 = 0.018658448; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_image` is never used [INFO] [stdout] --> examples/mobilenet.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn preprocess_image(img: &image::RgbImage) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rknn` is never used [INFO] [stdout] --> examples/mobilenet.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_rknn(flag: u32) -> RKNN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax` is never used [INFO] [stdout] --> examples/mobilenet.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn softmax(logits: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc7bK6np/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librknpu2-aeceaf1aa605e64f,libhalf-a6e70da3e3f455f5,libcfg_if-5a199b0ec0054672,librknpu2_sys-edffbce2ae14e513}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc7bK6np/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/test_query-29ec73c69e4045f5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: rknn_init [INFO] [stdout] >>> referenced by linked.rs:437 (src/api/linked.rs:437) [INFO] [stdout] >>> rknpu2-aeceaf1aa605e64f.rknpu2.382391e03f1f43bb-cgu.0.rcgu.o:(rknpu2::api::linked::_$LT$impl$u20$rknpu2..rknn..RKNN$LT$rknpu2..api..linked..LinkedAPI$GT$$GT$::new::hf6b054d8ae1fdcaa) in archive /opt/rustwide/target/debug/deps/librknpu2-aeceaf1aa605e64f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: rknn_query [INFO] [stdout] >>> referenced by linked.rs:40 (src/api/linked.rs:40) [INFO] [stdout] >>> rknpu2-aeceaf1aa605e64f.rknpu2.382391e03f1f43bb-cgu.0.rcgu.o:(_$LT$rknpu2..api..linked..LinkedAPI$u20$as$u20$rknpu2..api..RKNNAPI$GT$::query::he97c1ae29316781b) in archive /opt/rustwide/target/debug/deps/librknpu2-aeceaf1aa605e64f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: rknn_destroy [INFO] [stdout] >>> referenced by linked.rs:29 (src/api/linked.rs:29) [INFO] [stdout] >>> rknpu2-aeceaf1aa605e64f.rknpu2.382391e03f1f43bb-cgu.0.rcgu.o:(_$LT$rknpu2..api..linked..LinkedAPI$u20$as$u20$rknpu2..api..RKNNAPI$GT$::destroy::h5a24ec6cee39030c) in archive /opt/rustwide/target/debug/deps/librknpu2-aeceaf1aa605e64f.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rknpu2` (test "test_query") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3e894792ae9f0baf24d98d08a62fc3179c15c619921ef346a3cc05f3fe2019a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e894792ae9f0baf24d98d08a62fc3179c15c619921ef346a3cc05f3fe2019a0", kill_on_drop: false }` [INFO] [stdout] 3e894792ae9f0baf24d98d08a62fc3179c15c619921ef346a3cc05f3fe2019a0