[INFO] cloning repository https://github.com/okieraised/rs-ekyc-pipeline [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/okieraised/rs-ekyc-pipeline" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokieraised%2Frs-ekyc-pipeline", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokieraised%2Frs-ekyc-pipeline'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a6ef737fea7d16e6ee92aa71362b36963134cfa [INFO] testing okieraised/rs-ekyc-pipeline against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokieraised%2Frs-ekyc-pipeline" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/okieraised/rs-ekyc-pipeline on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/okieraised/rs-ekyc-pipeline [INFO] finished tweaking git repo https://github.com/okieraised/rs-ekyc-pipeline [INFO] tweaked toml for git repo https://github.com/okieraised/rs-ekyc-pipeline written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/okieraised/rs-ekyc-pipeline 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f17e0e98ec47ee9b80fed64f63ca274bd8e4a06004494f06df30cfe4bdf8beb [INFO] running `Command { std: "docker" "start" "-a" "3f17e0e98ec47ee9b80fed64f63ca274bd8e4a06004494f06df30cfe4bdf8beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f17e0e98ec47ee9b80fed64f63ca274bd8e4a06004494f06df30cfe4bdf8beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f17e0e98ec47ee9b80fed64f63ca274bd8e4a06004494f06df30cfe4bdf8beb", kill_on_drop: false }` [INFO] [stdout] 3f17e0e98ec47ee9b80fed64f63ca274bd8e4a06004494f06df30cfe4bdf8beb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e04d2d7641ee4c92caccc2121bf3d17f836b0b33e583733eba01c11bda76cd4 [INFO] running `Command { std: "docker" "start" "-a" "4e04d2d7641ee4c92caccc2121bf3d17f836b0b33e583733eba01c11bda76cd4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bytemuck v1.17.1 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling clang v2.0.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling opencv-binding-generator v0.90.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling prost-types v0.13.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling opencv v0.92.2 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Compiling katexit v0.1.4 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling tonic-build v0.12.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling lapack-sys v0.14.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling rs-ekyc-pipeline v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lax v0.16.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling py_literal v0.4.0 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling rgb v0.8.48 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ndarray-npy v0.8.1 [INFO] [stderr] Compiling ndarray-linalg v0.16.0 [INFO] [stderr] Compiling ndarray-rand v0.15.0 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling tonic v0.12.2 [INFO] [stderr] Compiling nalgebra v0.33.0 [INFO] [stdout] warning: unused imports: `ArrayBase`, `Ix2`, `OwnedRepr`, `ShapeError`, `array`, and `stack` [INFO] [stdout] --> src/utils/image.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{array, Array2, ArrayBase, Ix2, OwnedRepr, ShapeError, stack}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MatTraitConst`, `Range`, and `Vector` [INFO] [stdout] --> src/utils/image.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use opencv::core::{Mat, MatTraitConst, Range, Vector}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imwrite` [INFO] [stdout] --> src/utils/image.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use opencv::imgcodecs::{imdecode, IMREAD_COLOR, imwrite}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/pipeline/pipeline.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pipeline/pipeline.rs:324:65 [INFO] [stdout] | [INFO] [stdout] 324 | let v_card = extracted_vectors.slice(s![0,..]).to_vec();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/helper/face_helper.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | / /// Calculate vectors [INFO] [stdout] 280 | | /// Calculate the cross product (determinant in 2D) [INFO] [stdout] 281 | | /// Calculate the norm of vec_lmk [INFO] [stdout] 282 | | /// Calculate the final result [INFO] [stdout] | |______________________________________^ [INFO] [stdout] 283 | let lmk0 = Vector2::new(lmk[[0, 0]], lmk[[0, 1]]); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s` [INFO] [stdout] --> src/modules/face_detection_client.rs:3:86 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{Array, Array3, Array4, ArrayBase, Axis, concatenate, IxDyn, OwnedRepr, s}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/pipeline/pipeline.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | let lmk = landmarks[0].to_owned().into_shape([5,2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/pipeline/pipeline.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | let lmk = landmarks[center_idx].to_owned().into_shape([5,2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lmk_f` is never read [INFO] [stdout] --> src/pipeline/pipeline.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | let mut lmk_f: Array2 = Array2::zeros((5, 2)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | .into_shape(IxDyn(&[1, 4]))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | .into_shape(IxDyn(&[1, 10]))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:165:55 [INFO] [stdout] | [INFO] [stdout] 165 | let filter_landmark = offset_landmark.into_shape([5, 2]).unwrap().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_cfgs` [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let output_cfgs = &model_config.output; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_cfgs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_batch_size` [INFO] [stdout] --> src/modules/face_detection_client.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let max_batch_size = self.triton_model_config.config.clone().unwrap().max_batch_size.to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/modules/face_detection_client.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let batch_size = &input_tensors[0].dim().0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_detection_client.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_detection_client.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/modules/face_quality_client.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let (input_tensors, sizes) = self.preprocess_batch(raw_input_tensors)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_quality_client.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_quality_client.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_quality_client.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/modules/face_id_client.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let (input_tensors, sizes) = self.preprocess_batch(raw_input_tensors)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_id_client.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_id_client.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_id_client.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | let reshaped = bbox.into_shape((2, 2))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/image.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut nrows = 5; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/helper/face_helper.rs:391:60 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn get_largest_face(det_faces: Vec>, h: i32, w: i32) -> (Array, usize){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FaceDetectionClient` is more private than the item `FaceHelper::new` [INFO] [stdout] --> src/helper/face_helper.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn new( [INFO] [stdout] 24 | | in_face_size: Option<(i32, i32)>, in_face_template: Option>, [INFO] [stdout] 25 | | in_fas_size: Option<(i32, i32)>, in_fas_template: Option>, [INFO] [stdout] 26 | | in_fa_size: Option<(i32, i32)>, in_fa_template: Option>, [INFO] [stdout] 27 | | face_det: FaceDetectionClient, [INFO] [stdout] 28 | | ) -> Self { [INFO] [stdout] | |_____________^ associated function `FaceHelper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FaceDetectionClient` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/modules/face_detection_client.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceDetectionClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/triton_client/client.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 54 | impl TritonInferenceClient { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 55 | pub(crate) async fn new(host: &str, port: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EKYCPipeline` is never constructed [INFO] [stdout] --> src/pipeline/pipeline.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EKYCPipeline { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EKYCPipeline` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pipeline/pipeline.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl EKYCPipeline { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn similarity_score(&self, a: &Vec, b: &Vec) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | async fn extract_embedding(&self, raw_input_tensors: Vec>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn get_face_vector(&self, img: Mat, landmark: Option>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn get_face_landmarks_5(&self, batch_imgs: Vec) -> Result>>>, Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn get_face_from_selfie(&self, img: Mat) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn get_face_from_id_card(&self, img: Mat) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn get_face_quality(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub async fn check_liveness(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn check_liveness_passive(&self, full_imgs: Vec, crop_imgs: Vec) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub async fn check_same_person(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub async fn person_card_verify(&self, id_card: Mat, i_f: Mat, in_lmk_f: Option>) -> Result<(f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FaceDetectionConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 12 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl FaceIDConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 34 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl FaceAttributeConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 58 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 81 | impl FaceQualityConfig { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 82 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_crop` and `new_full` are never used [INFO] [stdout] --> src/config/config.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 105 | impl FASConfig { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 106 | pub(crate) fn new_crop() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn new_full() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fa_size` and `fa_template` are never read [INFO] [stdout] --> src/helper/face_helper.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FaceHelper { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | fa_size: (i32, i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | fa_template: Array2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FaceHelper` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceFASClient` is never constructed [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceFASClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, and `infer_single` are never used [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FaceFASClient { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 26 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn preprocess(&self, img: &Mat) -> Result, Error>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn infer_single(&self, imgs: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/modules/face_detection_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceDetectionClient { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | timeout: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FaceDetectionClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `postprocess`, and `infer` are never used [INFO] [stdout] --> src/modules/face_detection_client.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FaceDetectionClient { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 24 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn infer(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceQualityClient` is never constructed [INFO] [stdout] --> src/modules/face_quality_client.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct FaceQualityClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `preprocess_batch`, `postprocess`, `postprocess_batch`, and `infer_batch` are never used [INFO] [stdout] --> src/modules/face_quality_client.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FaceQualityClient { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn preprocess_batch(&self, raw_input_tensors: &Vec>) -> Result<(Vec>, Vec<(i32, i32)>), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn postprocess_batch(&self, outputs: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn infer_batch(&self, raw_input_tensors: &Vec>) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceIDClient` is never constructed [INFO] [stdout] --> src/modules/face_id_client.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct FaceIDClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `preprocess_batch`, `postprocess`, `postprocess_batch`, and `infer_batch` are never used [INFO] [stdout] --> src/modules/face_id_client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FaceIDClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | async fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn preprocess_batch(&self, raw_input_tensors: &Vec>) -> Result<(Vec>, Vec<(i32, i32)>), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | async fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn postprocess_batch(&self, outputs: Vec>) -> Array { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn infer_batch(&self, raw_input_tensors: &Vec>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/helper/face_helper.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | cvt_color(img, &mut converted_img, COLOR_BGR2RGB, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = cvt_color(img, &mut converted_img, COLOR_BGR2RGB, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "4e04d2d7641ee4c92caccc2121bf3d17f836b0b33e583733eba01c11bda76cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e04d2d7641ee4c92caccc2121bf3d17f836b0b33e583733eba01c11bda76cd4", kill_on_drop: false }` [INFO] [stdout] 4e04d2d7641ee4c92caccc2121bf3d17f836b0b33e583733eba01c11bda76cd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02ac156ca678455bb0e1ac79afd30ae5d39fbb10029aab90eb90d405790faf12 [INFO] running `Command { std: "docker" "start" "-a" "02ac156ca678455bb0e1ac79afd30ae5d39fbb10029aab90eb90d405790faf12", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ArrayBase`, `Ix2`, `OwnedRepr`, `ShapeError`, `array`, and `stack` [INFO] [stdout] --> src/utils/image.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{array, Array2, ArrayBase, Ix2, OwnedRepr, ShapeError, stack}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MatTraitConst`, `Range`, and `Vector` [INFO] [stdout] --> src/utils/image.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use opencv::core::{Mat, MatTraitConst, Range, Vector}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imwrite` [INFO] [stdout] --> src/utils/image.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use opencv::imgcodecs::{imdecode, IMREAD_COLOR, imwrite}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/pipeline/pipeline.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pipeline/pipeline.rs:324:65 [INFO] [stdout] | [INFO] [stdout] 324 | let v_card = extracted_vectors.slice(s![0,..]).to_vec();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/helper/face_helper.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | / /// Calculate vectors [INFO] [stdout] 280 | | /// Calculate the cross product (determinant in 2D) [INFO] [stdout] 281 | | /// Calculate the norm of vec_lmk [INFO] [stdout] 282 | | /// Calculate the final result [INFO] [stdout] | |______________________________________^ [INFO] [stdout] 283 | let lmk0 = Vector2::new(lmk[[0, 0]], lmk[[0, 1]]); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s` [INFO] [stdout] --> src/modules/face_detection_client.rs:3:86 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{Array, Array3, Array4, ArrayBase, Axis, concatenate, IxDyn, OwnedRepr, s}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/pipeline/pipeline.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | let lmk = landmarks[0].to_owned().into_shape([5,2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/pipeline/pipeline.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | let lmk = landmarks[center_idx].to_owned().into_shape([5,2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lmk_f` is never read [INFO] [stdout] --> src/pipeline/pipeline.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | let mut lmk_f: Array2 = Array2::zeros((5, 2)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | .into_shape(IxDyn(&[1, 4]))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | .into_shape(IxDyn(&[1, 10]))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:165:55 [INFO] [stdout] | [INFO] [stdout] 165 | let filter_landmark = offset_landmark.into_shape([5, 2]).unwrap().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_cfgs` [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let output_cfgs = &model_config.output; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_cfgs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_batch_size` [INFO] [stdout] --> src/modules/face_detection_client.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let max_batch_size = self.triton_model_config.config.clone().unwrap().max_batch_size.to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/modules/face_detection_client.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let batch_size = &input_tensors[0].dim().0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_detection_client.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_detection_client.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/modules/face_quality_client.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let (input_tensors, sizes) = self.preprocess_batch(raw_input_tensors)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_quality_client.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_quality_client.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_quality_client.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/modules/face_id_client.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let (input_tensors, sizes) = self.preprocess_batch(raw_input_tensors)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_id_client.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_id_client.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_id_client.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | let reshaped = bbox.into_shape((2, 2))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/image.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut nrows = 5; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/helper/face_helper.rs:391:60 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn get_largest_face(det_faces: Vec>, h: i32, w: i32) -> (Array, usize){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FaceDetectionClient` is more private than the item `FaceHelper::new` [INFO] [stdout] --> src/helper/face_helper.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn new( [INFO] [stdout] 24 | | in_face_size: Option<(i32, i32)>, in_face_template: Option>, [INFO] [stdout] 25 | | in_fas_size: Option<(i32, i32)>, in_fas_template: Option>, [INFO] [stdout] 26 | | in_fa_size: Option<(i32, i32)>, in_fa_template: Option>, [INFO] [stdout] 27 | | face_det: FaceDetectionClient, [INFO] [stdout] 28 | | ) -> Self { [INFO] [stdout] | |_____________^ associated function `FaceHelper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FaceDetectionClient` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/modules/face_detection_client.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceDetectionClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/triton_client/client.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 54 | impl TritonInferenceClient { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 55 | pub(crate) async fn new(host: &str, port: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EKYCPipeline` is never constructed [INFO] [stdout] --> src/pipeline/pipeline.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EKYCPipeline { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EKYCPipeline` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pipeline/pipeline.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl EKYCPipeline { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn similarity_score(&self, a: &Vec, b: &Vec) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | async fn extract_embedding(&self, raw_input_tensors: Vec>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn get_face_vector(&self, img: Mat, landmark: Option>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn get_face_landmarks_5(&self, batch_imgs: Vec) -> Result>>>, Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn get_face_from_selfie(&self, img: Mat) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn get_face_from_id_card(&self, img: Mat) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn get_face_quality(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub async fn check_liveness(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn check_liveness_passive(&self, full_imgs: Vec, crop_imgs: Vec) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub async fn check_same_person(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub async fn person_card_verify(&self, id_card: Mat, i_f: Mat, in_lmk_f: Option>) -> Result<(f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FaceDetectionConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 12 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl FaceIDConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 34 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl FaceAttributeConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 58 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 81 | impl FaceQualityConfig { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 82 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_crop` and `new_full` are never used [INFO] [stdout] --> src/config/config.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 105 | impl FASConfig { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 106 | pub(crate) fn new_crop() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn new_full() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fa_size` and `fa_template` are never read [INFO] [stdout] --> src/helper/face_helper.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FaceHelper { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | fa_size: (i32, i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | fa_template: Array2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FaceHelper` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceFASClient` is never constructed [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceFASClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, and `infer_single` are never used [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FaceFASClient { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 26 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn preprocess(&self, img: &Mat) -> Result, Error>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn infer_single(&self, imgs: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/modules/face_detection_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceDetectionClient { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | timeout: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FaceDetectionClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `postprocess`, and `infer` are never used [INFO] [stdout] --> src/modules/face_detection_client.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FaceDetectionClient { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 24 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn infer(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceQualityClient` is never constructed [INFO] [stdout] --> src/modules/face_quality_client.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct FaceQualityClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `preprocess_batch`, `postprocess`, `postprocess_batch`, and `infer_batch` are never used [INFO] [stdout] --> src/modules/face_quality_client.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FaceQualityClient { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn preprocess_batch(&self, raw_input_tensors: &Vec>) -> Result<(Vec>, Vec<(i32, i32)>), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn postprocess_batch(&self, outputs: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn infer_batch(&self, raw_input_tensors: &Vec>) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceIDClient` is never constructed [INFO] [stdout] --> src/modules/face_id_client.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct FaceIDClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `preprocess_batch`, `postprocess`, `postprocess_batch`, and `infer_batch` are never used [INFO] [stdout] --> src/modules/face_id_client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FaceIDClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | async fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn preprocess_batch(&self, raw_input_tensors: &Vec>) -> Result<(Vec>, Vec<(i32, i32)>), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | async fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn postprocess_batch(&self, outputs: Vec>) -> Array { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn infer_batch(&self, raw_input_tensors: &Vec>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/helper/face_helper.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | cvt_color(img, &mut converted_img, COLOR_BGR2RGB, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = cvt_color(img, &mut converted_img, COLOR_BGR2RGB, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rs-ekyc-pipeline v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArrayBase`, `Ix2`, `OwnedRepr`, `ShapeError`, `array`, and `stack` [INFO] [stdout] --> src/utils/image.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{array, Array2, ArrayBase, Ix2, OwnedRepr, ShapeError, stack}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MatTraitConst`, `Range`, and `Vector` [INFO] [stdout] --> src/utils/image.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use opencv::core::{Mat, MatTraitConst, Range, Vector}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imwrite` [INFO] [stdout] --> src/utils/image.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use opencv::imgcodecs::{imdecode, IMREAD_COLOR, imwrite}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert_image_to_ndarray` [INFO] [stdout] --> src/utils/image.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | use crate::utils::image::{convert_image_to_ndarray, convert_hashmap_metadata_to_ndarray, convert_json_metadata_to_ndarray}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/pipeline/pipeline.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pipeline/pipeline.rs:324:65 [INFO] [stdout] | [INFO] [stdout] 324 | let v_card = extracted_vectors.slice(s![0,..]).to_vec();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FASConfig`, `FaceDetectionConfig`, `FaceIDConfig`, and `FaceQualityConfig` [INFO] [stdout] --> src/pipeline/pipeline.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | use crate::config::config::{FaceDetectionConfig, FaceIDConfig, FaceQualityConfig, FASConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::helper::face_helper::FaceHelper` [INFO] [stdout] --> src/pipeline/pipeline.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | use crate::helper::face_helper::FaceHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::modules::face_anti_spoofing::FaceFASClient` [INFO] [stdout] --> src/pipeline/pipeline.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | use crate::modules::face_anti_spoofing::FaceFASClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::modules::face_detection_client::FaceDetectionClient` [INFO] [stdout] --> src/pipeline/pipeline.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | use crate::modules::face_detection_client::FaceDetectionClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::modules::face_id_client::FaceIDClient` [INFO] [stdout] --> src/pipeline/pipeline.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | use crate::modules::face_id_client::FaceIDClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::modules::face_quality_client::FaceQualityClient` [INFO] [stdout] --> src/pipeline/pipeline.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | use crate::modules::face_quality_client::FaceQualityClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pipeline::pipeline::EKYCPipeline` [INFO] [stdout] --> src/pipeline/pipeline.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | use crate::pipeline::pipeline::EKYCPipeline; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::triton_client::client::triton::ModelConfigRequest` [INFO] [stdout] --> src/pipeline/pipeline.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | use crate::triton_client::client::triton::ModelConfigRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::triton_client::client::TritonInferenceClient` [INFO] [stdout] --> src/pipeline/pipeline.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | use crate::triton_client::client::TritonInferenceClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::coordinate::FaceLandmarkMetadata` [INFO] [stdout] --> src/pipeline/pipeline.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | use crate::utils::coordinate::FaceLandmarkMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert_image_to_ndarray` and `convert_json_metadata_to_ndarray` [INFO] [stdout] --> src/pipeline/pipeline.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | use crate::utils::image::{convert_image_to_ndarray, convert_json_metadata_to_ndarray}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/helper/face_helper.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | / /// Calculate vectors [INFO] [stdout] 280 | | /// Calculate the cross product (determinant in 2D) [INFO] [stdout] 281 | | /// Calculate the norm of vec_lmk [INFO] [stdout] 282 | | /// Calculate the final result [INFO] [stdout] | |______________________________________^ [INFO] [stdout] 283 | let lmk0 = Vector2::new(lmk[[0, 0]], lmk[[0, 1]]); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s` [INFO] [stdout] --> src/modules/face_detection_client.rs:3:86 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{Array, Array3, Array4, ArrayBase, Axis, concatenate, IxDyn, OwnedRepr, s}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/pipeline/pipeline.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | let lmk = landmarks[0].to_owned().into_shape([5,2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/pipeline/pipeline.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | let lmk = landmarks[center_idx].to_owned().into_shape([5,2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lmk_f` is never read [INFO] [stdout] --> src/pipeline/pipeline.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | let mut lmk_f: Array2 = Array2::zeros((5, 2)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | .into_shape(IxDyn(&[1, 4]))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | .into_shape(IxDyn(&[1, 10]))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:165:55 [INFO] [stdout] | [INFO] [stdout] 165 | let filter_landmark = offset_landmark.into_shape([5, 2]).unwrap().to_owned(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_cfgs` [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let output_cfgs = &model_config.output; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_cfgs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_batch_size` [INFO] [stdout] --> src/modules/face_detection_client.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let max_batch_size = self.triton_model_config.config.clone().unwrap().max_batch_size.to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/modules/face_detection_client.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let batch_size = &input_tensors[0].dim().0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_detection_client.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_detection_client.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/modules/face_quality_client.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let (input_tensors, sizes) = self.preprocess_batch(raw_input_tensors)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_quality_client.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_quality_client.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_quality_client.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/modules/face_id_client.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let (input_tensors, sizes) = self.preprocess_batch(raw_input_tensors)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_vec` is never read [INFO] [stdout] --> src/modules/face_id_client.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let mut f_vec: Vec = vec![]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_id_client.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/face_id_client.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/helper/face_helper.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | let reshaped = bbox.into_shape((2, 2))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/image.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut nrows = 5; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/image.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut metadata: HashMap<&str, Coordinate2D> = HashMap::from( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `affine_matrix_f32` [INFO] [stdout] --> src/helper/face_helper.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/helper/face_helper.rs:391:60 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn get_largest_face(det_faces: Vec>, h: i32, w: i32) -> (Array, usize){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FaceDetectionClient` is more private than the item `FaceHelper::new` [INFO] [stdout] --> src/helper/face_helper.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn new( [INFO] [stdout] 24 | | in_face_size: Option<(i32, i32)>, in_face_template: Option>, [INFO] [stdout] 25 | | in_fas_size: Option<(i32, i32)>, in_fas_template: Option>, [INFO] [stdout] 26 | | in_fa_size: Option<(i32, i32)>, in_fa_template: Option>, [INFO] [stdout] 27 | | face_det: FaceDetectionClient, [INFO] [stdout] 28 | | ) -> Self { [INFO] [stdout] | |_____________^ associated function `FaceHelper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FaceDetectionClient` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/modules/face_detection_client.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceDetectionClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EKYCPipeline` is never constructed [INFO] [stdout] --> src/pipeline/pipeline.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EKYCPipeline { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EKYCPipeline` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pipeline/pipeline.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl EKYCPipeline { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn similarity_score(&self, a: &Vec, b: &Vec) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | async fn extract_embedding(&self, raw_input_tensors: Vec>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn get_face_vector(&self, img: Mat, landmark: Option>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn get_face_landmarks_5(&self, batch_imgs: Vec) -> Result>>>, Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn get_face_from_selfie(&self, img: Mat) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn get_face_from_id_card(&self, img: Mat) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub async fn get_face_quality(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub async fn check_liveness(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn check_liveness_passive(&self, full_imgs: Vec, crop_imgs: Vec) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub async fn check_same_person(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub async fn person_card_verify(&self, id_card: Mat, i_f: Mat, in_lmk_f: Option>) -> Result<(f32, bool), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FaceDetectionConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 12 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl FaceIDConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 34 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl FaceAttributeConfig { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 58 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/config.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 81 | impl FaceQualityConfig { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 82 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_crop` and `new_full` are never used [INFO] [stdout] --> src/config/config.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 105 | impl FASConfig { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 106 | pub(crate) fn new_crop() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn new_full() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fa_size` and `fa_template` are never read [INFO] [stdout] --> src/helper/face_helper.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FaceHelper { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | fa_size: (i32, i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | fa_template: Array2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FaceHelper` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceFASClient` is never constructed [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceFASClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, and `infer_single` are never used [INFO] [stdout] --> src/modules/face_anti_spoofing.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FaceFASClient { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 26 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn preprocess(&self, img: &Mat) -> Result, Error>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn infer_single(&self, imgs: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/modules/face_detection_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct FaceDetectionClient { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | timeout: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FaceDetectionClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `postprocess`, and `infer` are never used [INFO] [stdout] --> src/modules/face_detection_client.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FaceDetectionClient { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 24 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn infer(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceQualityClient` is never constructed [INFO] [stdout] --> src/modules/face_quality_client.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct FaceQualityClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `preprocess_batch`, `postprocess`, `postprocess_batch`, and `infer_batch` are never used [INFO] [stdout] --> src/modules/face_quality_client.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FaceQualityClient { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn preprocess_batch(&self, raw_input_tensors: &Vec>) -> Result<(Vec>, Vec<(i32, i32)>), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn postprocess_batch(&self, outputs: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn infer_batch(&self, raw_input_tensors: &Vec>) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceIDClient` is never constructed [INFO] [stdout] --> src/modules/face_id_client.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct FaceIDClient { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `preprocess`, `preprocess_batch`, `postprocess`, `postprocess_batch`, and `infer_batch` are never used [INFO] [stdout] --> src/modules/face_id_client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl FaceIDClient { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | async fn preprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn preprocess_batch(&self, raw_input_tensors: &Vec>) -> Result<(Vec>, Vec<(i32, i32)>), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | async fn postprocess(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn postprocess_batch(&self, outputs: Vec>) -> Array { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn infer_batch(&self, raw_input_tensors: &Vec>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/helper/face_helper.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | cvt_color(img, &mut converted_img, COLOR_BGR2RGB, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = cvt_color(img, &mut converted_img, COLOR_BGR2RGB, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.07s [INFO] running `Command { std: "docker" "inspect" "02ac156ca678455bb0e1ac79afd30ae5d39fbb10029aab90eb90d405790faf12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02ac156ca678455bb0e1ac79afd30ae5d39fbb10029aab90eb90d405790faf12", kill_on_drop: false }` [INFO] [stdout] 02ac156ca678455bb0e1ac79afd30ae5d39fbb10029aab90eb90d405790faf12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5586bff2e32dc4b0228d4a2b9b7362d238df9c3ca440ec918630af8cf97d72d8 [INFO] running `Command { std: "docker" "start" "-a" "5586bff2e32dc4b0228d4a2b9b7362d238df9c3ca440ec918630af8cf97d72d8", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ArrayBase`, `Ix2`, `OwnedRepr`, `ShapeError`, `array`, and `stack` [INFO] [stderr] --> src/utils/image.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use ndarray::{array, Array2, ArrayBase, Ix2, OwnedRepr, ShapeError, stack}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MatTraitConst`, `Range`, and `Vector` [INFO] [stderr] --> src/utils/image.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use opencv::core::{Mat, MatTraitConst, Range, Vector}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `imwrite` [INFO] [stderr] --> src/utils/image.rs:5:49 [INFO] [stderr] | [INFO] [stderr] 5 | use opencv::imgcodecs::{imdecode, IMREAD_COLOR, imwrite}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/pipeline/pipeline.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/pipeline/pipeline.rs:324:65 [INFO] [stderr] | [INFO] [stderr] 324 | let v_card = extracted_vectors.slice(s![0,..]).to_vec();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/helper/face_helper.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | / /// Calculate vectors [INFO] [stderr] 280 | | /// Calculate the cross product (determinant in 2D) [INFO] [stderr] 281 | | /// Calculate the norm of vec_lmk [INFO] [stderr] 282 | | /// Calculate the final result [INFO] [stderr] | |______________________________________^ [INFO] [stderr] 283 | let lmk0 = Vector2::new(lmk[[0, 0]], lmk[[0, 1]]); [INFO] [stderr] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `s` [INFO] [stderr] --> src/modules/face_detection_client.rs:3:86 [INFO] [stderr] | [INFO] [stderr] 3 | use ndarray::{Array, Array3, Array4, ArrayBase, Axis, concatenate, IxDyn, OwnedRepr, s}; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stderr] --> src/pipeline/pipeline.rs:124:43 [INFO] [stderr] | [INFO] [stderr] 124 | let lmk = landmarks[0].to_owned().into_shape([5,2]).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stderr] --> src/pipeline/pipeline.rs:154:52 [INFO] [stderr] | [INFO] [stderr] 154 | let lmk = landmarks[center_idx].to_owned().into_shape([5,2]).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `lmk_f` is never read [INFO] [stderr] --> src/pipeline/pipeline.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 298 | let mut lmk_f: Array2 = Array2::zeros((5, 2)); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stderr] --> src/helper/face_helper.rs:147:22 [INFO] [stderr] | [INFO] [stderr] 147 | .into_shape(IxDyn(&[1, 4]))?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stderr] --> src/helper/face_helper.rs:151:22 [INFO] [stderr] | [INFO] [stderr] 151 | .into_shape(IxDyn(&[1, 10]))?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stderr] --> src/helper/face_helper.rs:165:55 [INFO] [stderr] | [INFO] [stderr] 165 | let filter_landmark = offset_landmark.into_shape([5, 2]).unwrap().to_owned(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output_cfgs` [INFO] [stderr] --> src/modules/face_anti_spoofing.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | let output_cfgs = &model_config.output; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_cfgs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f_vec` is never read [INFO] [stderr] --> src/modules/face_anti_spoofing.rs:137:21 [INFO] [stderr] | [INFO] [stderr] 137 | let mut f_vec: Vec = vec![]; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/modules/face_anti_spoofing.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_batch_size` [INFO] [stderr] --> src/modules/face_detection_client.rs:151:13 [INFO] [stderr] | [INFO] [stderr] 151 | let max_batch_size = self.triton_model_config.config.clone().unwrap().max_batch_size.to_owned(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_batch_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `batch_size` [INFO] [stderr] --> src/modules/face_detection_client.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | let batch_size = &input_tensors[0].dim().0; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/modules/face_detection_client.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/modules/face_detection_client.rs:203:17 [INFO] [stderr] | [INFO] [stderr] 203 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sizes` [INFO] [stderr] --> src/modules/face_quality_client.rs:84:29 [INFO] [stderr] | [INFO] [stderr] 84 | let (input_tensors, sizes) = self.preprocess_batch(raw_input_tensors)?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f_vec` is never read [INFO] [stderr] --> src/modules/face_quality_client.rs:140:25 [INFO] [stderr] | [INFO] [stderr] 140 | let mut f_vec: Vec = vec![]; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/modules/face_quality_client.rs:109:21 [INFO] [stderr] | [INFO] [stderr] 109 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/modules/face_quality_client.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sizes` [INFO] [stderr] --> src/modules/face_id_client.rs:93:29 [INFO] [stderr] | [INFO] [stderr] 93 | let (input_tensors, sizes) = self.preprocess_batch(raw_input_tensors)?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f_vec` is never read [INFO] [stderr] --> src/modules/face_id_client.rs:149:25 [INFO] [stderr] | [INFO] [stderr] 149 | let mut f_vec: Vec = vec![]; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/modules/face_id_client.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | let mut sub_tensor: Vec = input_tensors[idx].clone().into_iter().collect(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/modules/face_id_client.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | let mut sub_result = self.triton_infer_client.model_infer(model_request).await?; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stderr] --> src/helper/face_helper.rs:271:29 [INFO] [stderr] | [INFO] [stderr] 271 | let reshaped = bbox.into_shape((2, 2))?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/image.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | let mut nrows = 5; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `affine_matrix_f32` [INFO] [stderr] --> src/helper/face_helper.rs:232:17 [INFO] [stderr] | [INFO] [stderr] 232 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `affine_matrix_f32` [INFO] [stderr] --> src/helper/face_helper.rs:326:13 [INFO] [stderr] | [INFO] [stderr] 326 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `affine_matrix_f32` [INFO] [stderr] --> src/helper/face_helper.rs:362:17 [INFO] [stderr] | [INFO] [stderr] 362 | let affine_matrix_f32 = affine_matrix_f64.map(|&x| x as f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_affine_matrix_f32` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `h` [INFO] [stderr] --> src/helper/face_helper.rs:391:60 [INFO] [stderr] | [INFO] [stderr] 391 | pub fn get_largest_face(det_faces: Vec>, h: i32, w: i32) -> (Array, usize){ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stderr] [INFO] [stderr] warning: type `FaceDetectionClient` is more private than the item `FaceHelper::new` [INFO] [stderr] --> src/helper/face_helper.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | / pub fn new( [INFO] [stderr] 24 | | in_face_size: Option<(i32, i32)>, in_face_template: Option>, [INFO] [stderr] 25 | | in_fas_size: Option<(i32, i32)>, in_fas_template: Option>, [INFO] [stderr] 26 | | in_fa_size: Option<(i32, i32)>, in_fa_template: Option>, [INFO] [stderr] 27 | | face_det: FaceDetectionClient, [INFO] [stderr] 28 | | ) -> Self { [INFO] [stderr] | |_____________^ associated function `FaceHelper::new` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `FaceDetectionClient` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/modules/face_detection_client.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) struct FaceDetectionClient { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/triton_client/client.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 54 | impl TritonInferenceClient { [INFO] [stderr] | -------------------------- associated function in this implementation [INFO] [stderr] 55 | pub(crate) async fn new(host: &str, port: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `EKYCPipeline` is never constructed [INFO] [stderr] --> src/pipeline/pipeline.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct EKYCPipeline { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EKYCPipeline` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/pipeline/pipeline.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl EKYCPipeline { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn similarity_score(&self, a: &Vec, b: &Vec) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | async fn extract_embedding(&self, raw_input_tensors: Vec>) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub async fn get_face_vector(&self, img: Mat, landmark: Option>) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub async fn get_face_landmarks_5(&self, batch_imgs: Vec) -> Result>>>, Error>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub async fn get_face_from_selfie(&self, img: Mat) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 137 | pub async fn get_face_from_id_card(&self, img: Mat) -> Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 172 | pub async fn get_face_quality(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, bool), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 199 | pub async fn check_liveness(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, f32, bool), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | pub async fn check_liveness_passive(&self, full_imgs: Vec, crop_imgs: Vec) -> Result<(f32, f32, bool), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 260 | pub async fn check_same_person(&self, imgs: Vec, lmks: Vec>) -> Result<(f32, f32, bool), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 288 | pub async fn person_card_verify(&self, id_card: Mat, i_f: Mat, in_lmk_f: Option>) -> Result<(f32, bool), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/config/config.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 11 | impl FaceDetectionConfig { [INFO] [stderr] | ------------------------ associated function in this implementation [INFO] [stderr] 12 | pub(crate) fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/config/config.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 33 | impl FaceIDConfig { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 34 | pub(crate) fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/config/config.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 57 | impl FaceAttributeConfig { [INFO] [stderr] | ------------------------ associated function in this implementation [INFO] [stderr] 58 | pub(crate) fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/config/config.rs:82:19 [INFO] [stderr] | [INFO] [stderr] 81 | impl FaceQualityConfig { [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] 82 | pub(crate) fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new_crop` and `new_full` are never used [INFO] [stderr] --> src/config/config.rs:106:19 [INFO] [stderr] | [INFO] [stderr] 105 | impl FASConfig { [INFO] [stderr] | -------------- associated functions in this implementation [INFO] [stderr] 106 | pub(crate) fn new_crop() -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | pub(crate) fn new_full() -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `fa_size` and `fa_template` are never read [INFO] [stderr] --> src/helper/face_helper.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct FaceHelper { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | fa_size: (i32, i32), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 16 | fa_template: Array2, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FaceHelper` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `FaceFASClient` is never constructed [INFO] [stderr] --> src/modules/face_anti_spoofing.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) struct FaceFASClient { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `preprocess`, and `infer_single` are never used [INFO] [stderr] --> src/modules/face_anti_spoofing.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl FaceFASClient { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 26 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | fn preprocess(&self, img: &Mat) -> Result, Error>{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub async fn infer_single(&self, imgs: &Vec) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `timeout` is never read [INFO] [stderr] --> src/modules/face_detection_client.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) struct FaceDetectionClient { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | timeout: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FaceDetectionClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `preprocess`, `postprocess`, and `infer` are never used [INFO] [stderr] --> src/modules/face_detection_client.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl FaceDetectionClient { [INFO] [stderr] | ------------------------ associated items in this implementation [INFO] [stderr] 24 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | fn preprocess(&self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | fn postprocess(&self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 146 | pub async fn infer(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FaceQualityClient` is never constructed [INFO] [stderr] --> src/modules/face_quality_client.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) struct FaceQualityClient { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `preprocess`, `preprocess_batch`, `postprocess`, `postprocess_batch`, and `infer_batch` are never used [INFO] [stderr] --> src/modules/face_quality_client.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl FaceQualityClient { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 24 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | fn preprocess(&self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | fn preprocess_batch(&self, raw_input_tensors: &Vec>) -> Result<(Vec>, Vec<(i32, i32)>), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | fn postprocess(&self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | fn postprocess_batch(&self, outputs: Vec>) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub async fn infer_batch(&self, raw_input_tensors: &Vec>) -> Result>, Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FaceIDClient` is never constructed [INFO] [stderr] --> src/modules/face_id_client.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) struct FaceIDClient { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `preprocess`, `preprocess_batch`, `postprocess`, `postprocess_batch`, and `infer_batch` are never used [INFO] [stderr] --> src/modules/face_id_client.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl FaceIDClient { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 26 | pub fn new(triton_infer_client: TritonInferenceClient, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | async fn preprocess(&self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | fn preprocess_batch(&self, raw_input_tensors: &Vec>) -> Result<(Vec>, Vec<(i32, i32)>), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | async fn postprocess(&self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | fn postprocess_batch(&self, outputs: Vec>) -> Array { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | pub async fn infer_batch(&self, raw_input_tensors: &Vec>) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/helper/face_helper.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | cvt_color(img, &mut converted_img, COLOR_BGR2RGB, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 109 | let _ = cvt_color(img, &mut converted_img, COLOR_BGR2RGB, 0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `convert_image_to_ndarray` [INFO] [stderr] --> src/utils/image.rs:87:31 [INFO] [stderr] | [INFO] [stderr] 87 | use crate::utils::image::{convert_image_to_ndarray, convert_hashmap_metadata_to_ndarray, convert_json_metadata_to_ndarray}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FASConfig`, `FaceDetectionConfig`, `FaceIDConfig`, and `FaceQualityConfig` [INFO] [stderr] --> src/pipeline/pipeline.rs:339:33 [INFO] [stderr] | [INFO] [stderr] 339 | use crate::config::config::{FaceDetectionConfig, FaceIDConfig, FaceQualityConfig, FASConfig}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::helper::face_helper::FaceHelper` [INFO] [stderr] --> src/pipeline/pipeline.rs:340:9 [INFO] [stderr] | [INFO] [stderr] 340 | use crate::helper::face_helper::FaceHelper; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::modules::face_anti_spoofing::FaceFASClient` [INFO] [stderr] --> src/pipeline/pipeline.rs:341:9 [INFO] [stderr] | [INFO] [stderr] 341 | use crate::modules::face_anti_spoofing::FaceFASClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::modules::face_detection_client::FaceDetectionClient` [INFO] [stderr] --> src/pipeline/pipeline.rs:342:9 [INFO] [stderr] | [INFO] [stderr] 342 | use crate::modules::face_detection_client::FaceDetectionClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::modules::face_id_client::FaceIDClient` [INFO] [stderr] --> src/pipeline/pipeline.rs:343:9 [INFO] [stderr] | [INFO] [stderr] 343 | use crate::modules::face_id_client::FaceIDClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::modules::face_quality_client::FaceQualityClient` [INFO] [stderr] --> src/pipeline/pipeline.rs:344:9 [INFO] [stderr] | [INFO] [stderr] 344 | use crate::modules::face_quality_client::FaceQualityClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::pipeline::pipeline::EKYCPipeline` [INFO] [stderr] --> src/pipeline/pipeline.rs:345:9 [INFO] [stderr] | [INFO] [stderr] 345 | use crate::pipeline::pipeline::EKYCPipeline; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::triton_client::client::triton::ModelConfigRequest` [INFO] [stderr] --> src/pipeline/pipeline.rs:346:9 [INFO] [stderr] | [INFO] [stderr] 346 | use crate::triton_client::client::triton::ModelConfigRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::triton_client::client::TritonInferenceClient` [INFO] [stderr] --> src/pipeline/pipeline.rs:347:9 [INFO] [stderr] | [INFO] [stderr] 347 | use crate::triton_client::client::TritonInferenceClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::coordinate::FaceLandmarkMetadata` [INFO] [stderr] --> src/pipeline/pipeline.rs:348:9 [INFO] [stderr] | [INFO] [stderr] 348 | use crate::utils::coordinate::FaceLandmarkMetadata; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `convert_image_to_ndarray` and `convert_json_metadata_to_ndarray` [INFO] [stderr] --> src/pipeline/pipeline.rs:349:31 [INFO] [stderr] | [INFO] [stderr] 349 | use crate::utils::image::{convert_image_to_ndarray, convert_json_metadata_to_ndarray}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/lib.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils/image.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let mut metadata: HashMap<&str, Coordinate2D> = HashMap::from( [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: struct `EKYCPipeline` is never constructed [INFO] [stderr] --> src/pipeline/pipeline.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct EKYCPipeline { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EKYCPipeline` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rs-ekyc-pipeline` (lib) generated 53 warnings (run `cargo fix --lib -p rs-ekyc-pipeline` to apply 13 suggestions) [INFO] [stderr] warning: `rs-ekyc-pipeline` (lib test) generated 66 warnings (51 duplicates) (run `cargo fix --lib -p rs-ekyc-pipeline --tests` to apply 14 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rs_ekyc_pipeline-7194d644acbdb92b) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test modules::face_anti_spoofing::tests::test_face_antispoofing_client ... ok [INFO] [stdout] test pipeline::pipeline::tests::test_ekyc_pipeline_face_quality ... ok [INFO] [stdout] test utils::image::tests::test_convert_image_to_ndarray ... ok [INFO] [stdout] test utils::image::tests::test_convert_json_metadata_json_to_ndarray ... ok [INFO] [stdout] test utils::image::tests::test_convert_metadata_to_ndarray ... ok [INFO] [stdout] test triton_client::client::tests::test_model_infer ... FAILED [INFO] [stdout] test triton_client::client::tests::test_repository_index ... FAILED [INFO] [stdout] test triton_client::client::tests::test_model_config ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- triton_client::client::tests::test_model_infer stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'triton_client::client::tests::test_model_infer' panicked at src/triton_client/client.rs:242:63: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: transport error [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: invalid URL, scheme is missing [INFO] [stdout] 1: invalid URL, scheme is missing [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.86/src/backtrace.rs:27:14 [INFO] [stdout] 1: rs_ekyc_pipeline::triton_client::client::TritonInferenceClient::new::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:61:34 [INFO] [stdout] 2: rs_ekyc_pipeline::triton_client::client::tests::test_model_infer::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:242:57 [INFO] [stdout] 3: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:57 [INFO] [stdout] 6: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:107:5 [INFO] [stdout] 7: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:73:5 [INFO] [stdout] 8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:25 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:412:19 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:672:36 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:68 [INFO] [stdout] 12: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 13: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:26 [INFO] [stdout] 14: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:311:12 [INFO] [stdout] 15: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:275:15 [INFO] [stdout] 16: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:9 [INFO] [stdout] 17: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:27 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:660:19 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:180:28 [INFO] [stdout] 20: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:168:9 [INFO] [stdout] 22: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:361:47 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:335:13 [INFO] [stdout] 24: rs_ekyc_pipeline::triton_client::client::tests::test_model_infer [INFO] [stdout] at ./src/triton_client/client.rs:272:9 [INFO] [stdout] 25: rs_ekyc_pipeline::triton_client::client::tests::test_model_infer::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:241:32 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 29: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: std::panicking::try::do_call [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 32: std::panicking::try [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 33: std::panic::catch_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 35: test::run_test::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 37: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 38: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: std::panicking::try::do_call [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 41: std::panicking::try [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 42: std::panic::catch_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 47: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 48: [INFO] [stdout] 49: clone [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ab39bcfce72 - std::backtrace_rs::backtrace::libunwind::trace::h8d95625898284e7d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ab39bcfce72 - std::backtrace_rs::backtrace::trace_unsynchronized::h9eafd5c61303e492 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ab39bcfce72 - std::sys::backtrace::_print_fmt::hec2578e807cc4a3f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ab39bcfce72 - ::fmt::hd8ebefbbcb1fe23a [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ab39bd27b13 - core::fmt::rt::Argument::fmt::h09f3c4b7b5ff5386 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x5ab39bd27b13 - core::fmt::write::hef9d041e1d5d9592 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5ab39bcf90d3 - std::io::Write::write_fmt::h7cfb9383e0a29362 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5ab39bcfccc2 - std::sys::backtrace::BacktraceLock::print::h263d323f217ce3a7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5ab39bcfe31a - std::panicking::default_hook::{{closure}}::h25050253f7dc0d3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5ab39bcfe109 - std::panicking::default_hook::hf3291a4c87ea2887 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5ab39ba772e7 - as core::ops::function::Fn>::call::h51204ed24e282361 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5ab39ba772e7 - test::test_main::{{closure}}::h3588678a150ab7c4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x5ab39bcfee03 - as core::ops::function::Fn>::call::h95d63edfac47e230 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5ab39bcfee03 - std::panicking::rust_panic_with_hook::h3550dbeaa1041124 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5ab39bcfeaba - std::panicking::begin_panic_handler::{{closure}}::hde0dd646a9e2b5b7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5ab39bcfd369 - std::sys::backtrace::__rust_end_short_backtrace::haeb22ba48b4d728e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5ab39bcfe74d - rust_begin_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5ab39bd25330 - core::panicking::panic_fmt::hca923aa694825dc3 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5ab39bd25836 - core::result::unwrap_failed::h1fd41ecb05679f50 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x5ab39b9ea79e - core::result::Result::unwrap::h70498bb959f5e266 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x5ab39b9ea79e - rs_ekyc_pipeline::triton_client::client::tests::test_model_infer::{{closure}}::hfa3b7148f91c4014 [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:242:22 [INFO] [stdout] 21: 0x5ab39b9b1ed2 - as core::future::future::Future>::poll::h9f79cf4a78c2e308 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 22: 0x5ab39b9b1e8d - as core::future::future::Future>::poll::h9328a93250d8eb85 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x5ab39b9fc63f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha8c62b55cb326fc4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:57 [INFO] [stdout] 24: 0x5ab39b9fc3a5 - tokio::runtime::coop::with_budget::h595bf18f00f61369 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x5ab39b9fc3a5 - tokio::runtime::coop::budget::h88dc13adebc3cd95 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x5ab39b9fc3a5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h35a499cec6e89905 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:25 [INFO] [stdout] 27: 0x5ab39b9f9bf0 - tokio::runtime::scheduler::current_thread::Context::enter::hfd8ec4aa3a178b61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:412:19 [INFO] [stdout] 28: 0x5ab39b9fba05 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hf4fa52ab6ff3219f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:672:36 [INFO] [stdout] 29: 0x5ab39b9faba4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::haaf6ea1b984a6118 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:68 [INFO] [stdout] 30: 0x5ab39b9f835b - tokio::runtime::context::scoped::Scoped::set::h841da7882fa967eb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x5ab39b9bb909 - tokio::runtime::context::set_scheduler::{{closure}}::haab4b87e75f7c653 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:26 [INFO] [stdout] 32: 0x5ab39ba12552 - std::thread::local::LocalKey::try_with::h5b0097f9c4e5e159 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:311:12 [INFO] [stdout] 33: 0x5ab39ba11e9e - std::thread::local::LocalKey::with::hfeca1bdebab8079b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:275:15 [INFO] [stdout] 34: 0x5ab39b9bb83d - tokio::runtime::context::set_scheduler::h54dde44e380ea0e1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:9 [INFO] [stdout] 35: 0x5ab39b9fa950 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h652d50a73faed736 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:27 [INFO] [stdout] 36: 0x5ab39b9fabe3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h4717b4964d863c14 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:660:19 [INFO] [stdout] 37: 0x5ab39b9f88cc - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h76a8b6ad596c0490 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:180:28 [INFO] [stdout] 38: 0x5ab39b9e3c28 - tokio::runtime::context::runtime::enter_runtime::hbed0213f32477bc1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x5ab39b9f85d1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h4927b26fc186b0b1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:168:9 [INFO] [stdout] 40: 0x5ab39b9e44da - tokio::runtime::runtime::Runtime::block_on_inner::h39ba8ea20fed5ff4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:361:47 [INFO] [stdout] 41: 0x5ab39b9e46d5 - tokio::runtime::runtime::Runtime::block_on::h9a37a1f97ea6397e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:335:13 [INFO] [stdout] 42: 0x5ab39b9ea4ad - rs_ekyc_pipeline::triton_client::client::tests::test_model_infer::h74cccf680834b425 [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:272:9 [INFO] [stdout] 43: 0x5ab39b9ea347 - rs_ekyc_pipeline::triton_client::client::tests::test_model_infer::{{closure}}::h1d6ed859ed2a6135 [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:241:32 [INFO] [stdout] 44: 0x5ab39b9a2996 - core::ops::function::FnOnce::call_once::h35024346072be2fc [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5ab39ba7cbcb - core::ops::function::FnOnce::call_once::hbd335dbb4bb5fce4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5ab39ba7cbcb - test::__rust_begin_short_backtrace::h04cc5e3b375a80f9 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 47: 0x5ab39ba7bc85 - test::run_test_in_process::{{closure}}::h820e05c00a84ca94 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 48: 0x5ab39ba7bc85 - as core::ops::function::FnOnce<()>>::call_once::h5d54c80bc199f62c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x5ab39ba7bc85 - std::panicking::try::do_call::h832d61a9fc2b6e3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 50: 0x5ab39ba7bc85 - std::panicking::try::h9a404c5f3a090501 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 51: 0x5ab39ba7bc85 - std::panic::catch_unwind::hf5157d4c366d9053 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x5ab39ba7bc85 - test::run_test_in_process::h671deca6957ee157 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 53: 0x5ab39ba7bc85 - test::run_test::{{closure}}::h8a18e214254d2663 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 54: 0x5ab39ba3ec74 - test::run_test::{{closure}}::ha2abac7cc0a13c10 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 55: 0x5ab39ba3ec74 - std::sys::backtrace::__rust_begin_short_backtrace::h013f8b8ca29e5f67 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 56: 0x5ab39ba427aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc0336636a8c55b05 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x5ab39ba427aa - as core::ops::function::FnOnce<()>>::call_once::h256d9472a72a8c66 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x5ab39ba427aa - std::panicking::try::do_call::hf49ea3ffcc3bd1db [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 59: 0x5ab39ba427aa - std::panicking::try::h2a067a3336161e1c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 60: 0x5ab39ba427aa - std::panic::catch_unwind::h931ea2a9df59b7fa [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 61: 0x5ab39ba427aa - std::thread::Builder::spawn_unchecked_::{{closure}}::haf08f1439431615c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x5ab39ba427aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd1dc5dd1edff0233 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x5ab39bd0253b - as core::ops::function::FnOnce>::call_once::hf6ad22f40418d409 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 64: 0x5ab39bd0253b - as core::ops::function::FnOnce>::call_once::h734c3e370b18da4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 65: 0x5ab39bd0253b - std::sys::pal::unix::thread::Thread::new::thread_start::hfbde3a90511cd82d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 66: 0x753ce5c92ac3 - [INFO] [stdout] 67: 0x753ce5d23a04 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- triton_client::client::tests::test_repository_index stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'triton_client::client::tests::test_repository_index' panicked at src/triton_client/client.rs:208:63: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: transport error [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: invalid URL, scheme is missing [INFO] [stdout] 1: invalid URL, scheme is missing [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.86/src/backtrace.rs:27:14 [INFO] [stdout] 1: rs_ekyc_pipeline::triton_client::client::TritonInferenceClient::new::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:61:34 [INFO] [stdout] 2: rs_ekyc_pipeline::triton_client::client::tests::test_repository_index::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:208:57 [INFO] [stdout] 3: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:57 [INFO] [stdout] 6: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:107:5 [INFO] [stdout] 7: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:73:5 [INFO] [stdout] 8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:25 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:412:19 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:672:36 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:68 [INFO] [stdout] 12: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 13: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:26 [INFO] [stdout] 14: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:311:12 [INFO] [stdout] 15: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:275:15 [INFO] [stdout] 16: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:9 [INFO] [stdout] 17: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:27 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:660:19 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:180:28 [INFO] [stdout] 20: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:168:9 [INFO] [stdout] 22: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:361:47 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:335:13 [INFO] [stdout] 24: rs_ekyc_pipeline::triton_client::client::tests::test_repository_index [INFO] [stdout] at ./src/triton_client/client.rs:216:9 [INFO] [stdout] 25: rs_ekyc_pipeline::triton_client::client::tests::test_repository_index::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:207:37 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 29: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: std::panicking::try::do_call [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 32: std::panicking::try [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 33: std::panic::catch_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 35: test::run_test::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 37: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 38: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: std::panicking::try::do_call [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 41: std::panicking::try [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 42: std::panic::catch_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 47: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 48: [INFO] [stdout] 49: clone [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ab39bcfce72 - std::backtrace_rs::backtrace::libunwind::trace::h8d95625898284e7d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ab39bcfce72 - std::backtrace_rs::backtrace::trace_unsynchronized::h9eafd5c61303e492 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ab39bcfce72 - std::sys::backtrace::_print_fmt::hec2578e807cc4a3f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ab39bcfce72 - ::fmt::hd8ebefbbcb1fe23a [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ab39bd27b13 - core::fmt::rt::Argument::fmt::h09f3c4b7b5ff5386 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x5ab39bd27b13 - core::fmt::write::hef9d041e1d5d9592 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5ab39bcf90d3 - std::io::Write::write_fmt::h7cfb9383e0a29362 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5ab39bcfccc2 - std::sys::backtrace::BacktraceLock::print::h263d323f217ce3a7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5ab39bcfe31a - std::panicking::default_hook::{{closure}}::h25050253f7dc0d3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5ab39bcfe109 - std::panicking::default_hook::hf3291a4c87ea2887 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5ab39ba772e7 - as core::ops::function::Fn>::call::h51204ed24e282361 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5ab39ba772e7 - test::test_main::{{closure}}::h3588678a150ab7c4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x5ab39bcfee03 - as core::ops::function::Fn>::call::h95d63edfac47e230 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5ab39bcfee03 - std::panicking::rust_panic_with_hook::h3550dbeaa1041124 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5ab39bcfeaba - std::panicking::begin_panic_handler::{{closure}}::hde0dd646a9e2b5b7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5ab39bcfd369 - std::sys::backtrace::__rust_end_short_backtrace::haeb22ba48b4d728e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5ab39bcfe74d - rust_begin_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5ab39bd25330 - core::panicking::panic_fmt::hca923aa694825dc3 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5ab39bd25836 - core::result::unwrap_failed::h1fd41ecb05679f50 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x5ab39b9e948f - core::result::Result::unwrap::h70498bb959f5e266 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x5ab39b9e948f - rs_ekyc_pipeline::triton_client::client::tests::test_repository_index::{{closure}}::h57a5ff3d819e310a [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:208:22 [INFO] [stdout] 21: 0x5ab39b9b1ed2 - as core::future::future::Future>::poll::h9f79cf4a78c2e308 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 22: 0x5ab39b9b1e8d - as core::future::future::Future>::poll::h9328a93250d8eb85 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x5ab39b9fc63f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha8c62b55cb326fc4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:57 [INFO] [stdout] 24: 0x5ab39b9fc3a5 - tokio::runtime::coop::with_budget::h595bf18f00f61369 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x5ab39b9fc3a5 - tokio::runtime::coop::budget::h88dc13adebc3cd95 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x5ab39b9fc3a5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h35a499cec6e89905 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:25 [INFO] [stdout] 27: 0x5ab39b9f9bf0 - tokio::runtime::scheduler::current_thread::Context::enter::hfd8ec4aa3a178b61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:412:19 [INFO] [stdout] 28: 0x5ab39b9fba05 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hf4fa52ab6ff3219f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:672:36 [INFO] [stdout] 29: 0x5ab39b9faba4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::haaf6ea1b984a6118 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:68 [INFO] [stdout] 30: 0x5ab39b9f835b - tokio::runtime::context::scoped::Scoped::set::h841da7882fa967eb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x5ab39b9bb909 - tokio::runtime::context::set_scheduler::{{closure}}::haab4b87e75f7c653 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:26 [INFO] [stdout] 32: 0x5ab39ba12552 - std::thread::local::LocalKey::try_with::h5b0097f9c4e5e159 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:311:12 [INFO] [stdout] 33: 0x5ab39ba11e9e - std::thread::local::LocalKey::with::hfeca1bdebab8079b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:275:15 [INFO] [stdout] 34: 0x5ab39b9bb83d - tokio::runtime::context::set_scheduler::h54dde44e380ea0e1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:9 [INFO] [stdout] 35: 0x5ab39b9fa950 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h652d50a73faed736 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:27 [INFO] [stdout] 36: 0x5ab39b9fabe3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h4717b4964d863c14 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:660:19 [INFO] [stdout] 37: 0x5ab39b9f88cc - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h76a8b6ad596c0490 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:180:28 [INFO] [stdout] 38: 0x5ab39b9e3c28 - tokio::runtime::context::runtime::enter_runtime::hbed0213f32477bc1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x5ab39b9f85d1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h4927b26fc186b0b1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:168:9 [INFO] [stdout] 40: 0x5ab39b9e44da - tokio::runtime::runtime::Runtime::block_on_inner::h39ba8ea20fed5ff4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:361:47 [INFO] [stdout] 41: 0x5ab39b9e46d5 - tokio::runtime::runtime::Runtime::block_on::h9a37a1f97ea6397e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:335:13 [INFO] [stdout] 42: 0x5ab39b9e9177 - rs_ekyc_pipeline::triton_client::client::tests::test_repository_index::hd27b8ac559fb1479 [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:216:9 [INFO] [stdout] 43: 0x5ab39b9e9017 - rs_ekyc_pipeline::triton_client::client::tests::test_repository_index::{{closure}}::h91c8f2e90fff3606 [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:207:37 [INFO] [stdout] 44: 0x5ab39b9a2e96 - core::ops::function::FnOnce::call_once::h80c9ae5008e76433 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5ab39ba7cbcb - core::ops::function::FnOnce::call_once::hbd335dbb4bb5fce4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5ab39ba7cbcb - test::__rust_begin_short_backtrace::h04cc5e3b375a80f9 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 47: 0x5ab39ba7bc85 - test::run_test_in_process::{{closure}}::h820e05c00a84ca94 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 48: 0x5ab39ba7bc85 - as core::ops::function::FnOnce<()>>::call_once::h5d54c80bc199f62c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x5ab39ba7bc85 - std::panicking::try::do_call::h832d61a9fc2b6e3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 50: 0x5ab39ba7bc85 - std::panicking::try::h9a404c5f3a090501 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 51: 0x5ab39ba7bc85 - std::panic::catch_unwind::hf5157d4c366d9053 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x5ab39ba7bc85 - test::run_test_in_process::h671deca6957ee157 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 53: 0x5ab39ba7bc85 - test::run_test::{{closure}}::h8a18e214254d2663 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 54: 0x5ab39ba3ec74 - test::run_test::{{closure}}::ha2abac7cc0a13c10 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 55: 0x5ab39ba3ec74 - std::sys::backtrace::__rust_begin_short_backtrace::h013f8b8ca29e5f67 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 56: 0x5ab39ba427aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc0336636a8c55b05 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x5ab39ba427aa - as core::ops::function::FnOnce<()>>::call_once::h256d9472a72a8c66 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x5ab39ba427aa - std::panicking::try::do_call::hf49ea3ffcc3bd1db [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 59: 0x5ab39ba427aa - std::panicking::try::h2a067a3336161e1c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 60: 0x5ab39ba427aa - std::panic::catch_unwind::h931ea2a9df59b7fa [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 61: 0x5ab39ba427aa - std::thread::Builder::spawn_unchecked_::{{closure}}::haf08f1439431615c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x5ab39ba427aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd1dc5dd1edff0233 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x5ab39bd0253b - as core::ops::function::FnOnce>::call_once::hf6ad22f40418d409 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 64: 0x5ab39bd0253b - as core::ops::function::FnOnce>::call_once::h734c3e370b18da4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 65: 0x5ab39bd0253b - std::sys::pal::unix::thread::Thread::new::thread_start::hfbde3a90511cd82d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 66: 0x753ce5c92ac3 - [INFO] [stdout] 67: 0x753ce5d23a04 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- triton_client::client::tests::test_model_config stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'triton_client::client::tests::test_model_config' panicked at src/triton_client/client.rs:223:63: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: transport error [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: invalid URL, scheme is missing [INFO] [stdout] 1: invalid URL, scheme is missing [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.86/src/backtrace.rs:27:14 [INFO] [stdout] 1: rs_ekyc_pipeline::triton_client::client::TritonInferenceClient::new::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:61:34 [INFO] [stdout] 2: rs_ekyc_pipeline::triton_client::client::tests::test_model_config::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:223:57 [INFO] [stdout] 3: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:57 [INFO] [stdout] 6: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:107:5 [INFO] [stdout] 7: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:73:5 [INFO] [stdout] 8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:25 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:412:19 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:672:36 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:68 [INFO] [stdout] 12: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 13: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:26 [INFO] [stdout] 14: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:311:12 [INFO] [stdout] 15: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:275:15 [INFO] [stdout] 16: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:9 [INFO] [stdout] 17: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:27 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:660:19 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:180:28 [INFO] [stdout] 20: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:168:9 [INFO] [stdout] 22: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:361:47 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:335:13 [INFO] [stdout] 24: rs_ekyc_pipeline::triton_client::client::tests::test_model_config [INFO] [stdout] at ./src/triton_client/client.rs:233:9 [INFO] [stdout] 25: rs_ekyc_pipeline::triton_client::client::tests::test_model_config::{{closure}} [INFO] [stdout] at ./src/triton_client/client.rs:222:33 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 29: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: std::panicking::try::do_call [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 32: std::panicking::try [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 33: std::panic::catch_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 35: test::run_test::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 37: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 38: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: std::panicking::try::do_call [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 41: std::panicking::try [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 42: std::panic::catch_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 47: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 48: [INFO] [stdout] 49: clone [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ab39bcfce72 - std::backtrace_rs::backtrace::libunwind::trace::h8d95625898284e7d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ab39bcfce72 - std::backtrace_rs::backtrace::trace_unsynchronized::h9eafd5c61303e492 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ab39bcfce72 - std::sys::backtrace::_print_fmt::hec2578e807cc4a3f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ab39bcfce72 - ::fmt::hd8ebefbbcb1fe23a [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ab39bd27b13 - core::fmt::rt::Argument::fmt::h09f3c4b7b5ff5386 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x5ab39bd27b13 - core::fmt::write::hef9d041e1d5d9592 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5ab39bcf90d3 - std::io::Write::write_fmt::h7cfb9383e0a29362 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5ab39bcfccc2 - std::sys::backtrace::BacktraceLock::print::h263d323f217ce3a7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5ab39bcfe31a - std::panicking::default_hook::{{closure}}::h25050253f7dc0d3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5ab39bcfe109 - std::panicking::default_hook::hf3291a4c87ea2887 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5ab39ba772e7 - as core::ops::function::Fn>::call::h51204ed24e282361 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5ab39ba772e7 - test::test_main::{{closure}}::h3588678a150ab7c4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x5ab39bcfee03 - as core::ops::function::Fn>::call::h95d63edfac47e230 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5ab39bcfee03 - std::panicking::rust_panic_with_hook::h3550dbeaa1041124 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5ab39bcfeaba - std::panicking::begin_panic_handler::{{closure}}::hde0dd646a9e2b5b7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5ab39bcfd369 - std::sys::backtrace::__rust_end_short_backtrace::haeb22ba48b4d728e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5ab39bcfe74d - rust_begin_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5ab39bd25330 - core::panicking::panic_fmt::hca923aa694825dc3 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5ab39bd25836 - core::result::unwrap_failed::h1fd41ecb05679f50 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x5ab39b9e9dda - core::result::Result::unwrap::h70498bb959f5e266 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x5ab39b9e9dda - rs_ekyc_pipeline::triton_client::client::tests::test_model_config::{{closure}}::he246dc3667796c18 [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:223:22 [INFO] [stdout] 21: 0x5ab39b9b1ed2 - as core::future::future::Future>::poll::h9f79cf4a78c2e308 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 22: 0x5ab39b9b1e8d - as core::future::future::Future>::poll::h9328a93250d8eb85 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x5ab39b9fc63f - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha8c62b55cb326fc4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:57 [INFO] [stdout] 24: 0x5ab39b9fc3a5 - tokio::runtime::coop::with_budget::h595bf18f00f61369 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:107:5 [INFO] [stdout] 25: 0x5ab39b9fc3a5 - tokio::runtime::coop::budget::h88dc13adebc3cd95 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/coop.rs:73:5 [INFO] [stdout] 26: 0x5ab39b9fc3a5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h35a499cec6e89905 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:673:25 [INFO] [stdout] 27: 0x5ab39b9f9bf0 - tokio::runtime::scheduler::current_thread::Context::enter::hfd8ec4aa3a178b61 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:412:19 [INFO] [stdout] 28: 0x5ab39b9fba05 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hf4fa52ab6ff3219f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:672:36 [INFO] [stdout] 29: 0x5ab39b9faba4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::haaf6ea1b984a6118 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:68 [INFO] [stdout] 30: 0x5ab39b9f835b - tokio::runtime::context::scoped::Scoped::set::h841da7882fa967eb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x5ab39b9bb909 - tokio::runtime::context::set_scheduler::{{closure}}::haab4b87e75f7c653 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:26 [INFO] [stdout] 32: 0x5ab39ba12552 - std::thread::local::LocalKey::try_with::h5b0097f9c4e5e159 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:311:12 [INFO] [stdout] 33: 0x5ab39ba11e9e - std::thread::local::LocalKey::with::hfeca1bdebab8079b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/local.rs:275:15 [INFO] [stdout] 34: 0x5ab39b9bb83d - tokio::runtime::context::set_scheduler::h54dde44e380ea0e1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context.rs:180:9 [INFO] [stdout] 35: 0x5ab39b9fa950 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h652d50a73faed736 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:751:27 [INFO] [stdout] 36: 0x5ab39b9fabe3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h4717b4964d863c14 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:660:19 [INFO] [stdout] 37: 0x5ab39b9f88cc - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h76a8b6ad596c0490 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:180:28 [INFO] [stdout] 38: 0x5ab39b9e3c28 - tokio::runtime::context::runtime::enter_runtime::hbed0213f32477bc1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x5ab39b9f85d1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h4927b26fc186b0b1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/scheduler/current_thread/mod.rs:168:9 [INFO] [stdout] 40: 0x5ab39b9e44da - tokio::runtime::runtime::Runtime::block_on_inner::h39ba8ea20fed5ff4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:361:47 [INFO] [stdout] 41: 0x5ab39b9e46d5 - tokio::runtime::runtime::Runtime::block_on::h9a37a1f97ea6397e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.3/src/runtime/runtime.rs:335:13 [INFO] [stdout] 42: 0x5ab39b9e9aad - rs_ekyc_pipeline::triton_client::client::tests::test_model_config::h57fb4dbc638ce96b [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:233:9 [INFO] [stdout] 43: 0x5ab39b9e9947 - rs_ekyc_pipeline::triton_client::client::tests::test_model_config::{{closure}}::h76bd67c50ce195b9 [INFO] [stdout] at /opt/rustwide/workdir/src/triton_client/client.rs:222:33 [INFO] [stdout] 44: 0x5ab39b9a2b96 - core::ops::function::FnOnce::call_once::h531ddc8ab3d0ee6e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5ab39ba7cbcb - core::ops::function::FnOnce::call_once::hbd335dbb4bb5fce4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5ab39ba7cbcb - test::__rust_begin_short_backtrace::h04cc5e3b375a80f9 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 47: 0x5ab39ba7bc85 - test::run_test_in_process::{{closure}}::h820e05c00a84ca94 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 48: 0x5ab39ba7bc85 - as core::ops::function::FnOnce<()>>::call_once::h5d54c80bc199f62c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x5ab39ba7bc85 - std::panicking::try::do_call::h832d61a9fc2b6e3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 50: 0x5ab39ba7bc85 - std::panicking::try::h9a404c5f3a090501 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 51: 0x5ab39ba7bc85 - std::panic::catch_unwind::hf5157d4c366d9053 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x5ab39ba7bc85 - test::run_test_in_process::h671deca6957ee157 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 53: 0x5ab39ba7bc85 - test::run_test::{{closure}}::h8a18e214254d2663 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 54: 0x5ab39ba3ec74 - test::run_test::{{closure}}::ha2abac7cc0a13c10 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 55: 0x5ab39ba3ec74 - std::sys::backtrace::__rust_begin_short_backtrace::h013f8b8ca29e5f67 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 56: 0x5ab39ba427aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc0336636a8c55b05 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 57: 0x5ab39ba427aa - as core::ops::function::FnOnce<()>>::call_once::h256d9472a72a8c66 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x5ab39ba427aa - std::panicking::try::do_call::hf49ea3ffcc3bd1db [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 59: 0x5ab39ba427aa - std::panicking::try::h2a067a3336161e1c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 60: 0x5ab39ba427aa - std::panic::catch_unwind::h931ea2a9df59b7fa [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 61: 0x5ab39ba427aa - std::thread::Builder::spawn_unchecked_::{{closure}}::haf08f1439431615c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 62: 0x5ab39ba427aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd1dc5dd1edff0233 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x5ab39bd0253b - as core::ops::function::FnOnce>::call_once::hf6ad22f40418d409 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 64: 0x5ab39bd0253b - as core::ops::function::FnOnce>::call_once::h734c3e370b18da4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 65: 0x5ab39bd0253b - std::sys::pal::unix::thread::Thread::new::thread_start::hfbde3a90511cd82d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 66: 0x753ce5c92ac3 - [INFO] [stdout] 67: 0x753ce5d23a04 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] triton_client::client::tests::test_model_config [INFO] [stdout] triton_client::client::tests::test_model_infer [INFO] [stdout] triton_client::client::tests::test_repository_index [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "5586bff2e32dc4b0228d4a2b9b7362d238df9c3ca440ec918630af8cf97d72d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5586bff2e32dc4b0228d4a2b9b7362d238df9c3ca440ec918630af8cf97d72d8", kill_on_drop: false }` [INFO] [stdout] 5586bff2e32dc4b0228d4a2b9b7362d238df9c3ca440ec918630af8cf97d72d8