[INFO] cloning repository https://github.com/scanlate-wiki/pipeline-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scanlate-wiki/pipeline-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscanlate-wiki%2Fpipeline-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscanlate-wiki%2Fpipeline-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 598ea367059dff1c66a4c753577ed063a345ecec [INFO] checking scanlate-wiki/pipeline-rs against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscanlate-wiki%2Fpipeline-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scanlate-wiki/pipeline-rs on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scanlate-wiki/pipeline-rs [INFO] finished tweaking git repo https://github.com/scanlate-wiki/pipeline-rs [INFO] tweaked toml for git repo https://github.com/scanlate-wiki/pipeline-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 144 packages to latest compatible versions [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding numpy v0.23.0 (available: v0.24.0) [INFO] [stderr] Adding pyo3 v0.23.5 (available: v0.24.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded filebuffer v1.0.0 [INFO] [stderr] Downloaded pyo3-macros v0.23.5 [INFO] [stderr] Downloaded pyo3-build-config v0.23.5 [INFO] [stderr] Downloaded fast_image_resize v5.1.3 [INFO] [stderr] Downloaded pyo3-macros-backend v0.23.5 [INFO] [stderr] Downloaded pyo3-ffi v0.23.5 [INFO] [stderr] Downloaded zune-psd v0.4.0 [INFO] [stderr] Downloaded pyo3 v0.23.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 896ee835edafb69e443cb7f1b29accd24d6827cfe885babd0abb1fb3f04d6fd9 [INFO] running `Command { std: "docker" "start" "-a" "896ee835edafb69e443cb7f1b29accd24d6827cfe885babd0abb1fb3f04d6fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "896ee835edafb69e443cb7f1b29accd24d6827cfe885babd0abb1fb3f04d6fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896ee835edafb69e443cb7f1b29accd24d6827cfe885babd0abb1fb3f04d6fd9", kill_on_drop: false }` [INFO] [stdout] 896ee835edafb69e443cb7f1b29accd24d6827cfe885babd0abb1fb3f04d6fd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 588cd5b021db68860b54d765fd1a279fe2b5bab8a083f93bb97474f472e674ae [INFO] running `Command { std: "docker" "start" "-a" "588cd5b021db68860b54d765fd1a279fe2b5bab8a083f93bb97474f472e674ae", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling pyo3-build-config v0.23.5 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking avif-serialize v0.8.3 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking zune-psd v0.4.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking filebuffer v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pyo3-ffi v0.23.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.5 [INFO] [stderr] Compiling pyo3 v0.23.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking fast_image_resize v5.1.3 [INFO] [stderr] Compiling pyo3-macros v0.23.5 [INFO] [stderr] Checking ravif v0.11.12 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking numpy v0.23.0 [INFO] [stderr] Checking pepeline v0.3.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IntoPyObjectExt` and `IntoPyObject` [INFO] [stdout] --> src/utils/functions/img_function.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use pyo3::{pyfunction, IntoPy, IntoPyObject, IntoPyObjectExt, PyErr, PyObject, PyResult, Python}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/decode.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let img = image::io::Reader::new(Cursor::new(bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/decode.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | let img = image::io::Reader::new(Cursor::new(bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/decode.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let img = image::io::Reader::new(Cursor::new(bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/decode.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | let img = image::io::Reader::new(Cursor::new(bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/size_decode.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/size_decode.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | match ImageReader::new(&mut cursor).with_guessed_format()?.into_dimensions(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::color_function::__pyfunction_fast_color_level::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (input, in_low=None, in_high=None, out_low=None, out_high=None, gamma=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/color_function.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn fast_color_level<'py>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::core_funcion::__pyfunction_noise_generate::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (size, type_noise, octaves, frequency, lacunarity, seed=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/core_funcion.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn noise_generate<'py>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::halftone_function::__pyfunction_screentone::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (input, dot_size, angle=None, dot_type=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/halftone_function.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn screentone<'py>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. [INFO] [stdout] --> src/utils/functions/img_function.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use pyo3::{pyfunction, IntoPy, IntoPyObject, IntoPyObjectExt, PyErr, PyObject, PyResult, Python}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::img_function::__pyfunction_read::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (path, mode=None, format=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/img_function.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. [INFO] [stdout] --> src/utils/functions/img_resize.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use pyo3::{pyfunction, IntoPy, PyObject, PyResult, Python}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::img_resize::__pyfunction_resize_img::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (input, size, filter=None, conv=None, sampling=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/img_resize.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn resize_img<'py>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoPyObjectExt` and `IntoPyObject` [INFO] [stdout] --> src/utils/functions/img_function.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use pyo3::{pyfunction, IntoPy, IntoPyObject, IntoPyObjectExt, PyErr, PyObject, PyResult, Python}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/decode.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let img = image::io::Reader::new(Cursor::new(bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/decode.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | let img = image::io::Reader::new(Cursor::new(bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/decode.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let img = image::io::Reader::new(Cursor::new(bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/decode.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | let img = image::io::Reader::new(Cursor::new(bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/size_decode.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/utils/image/size_decode.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | match ImageReader::new(&mut cursor).with_guessed_format()?.into_dimensions(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::color_function::__pyfunction_fast_color_level::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (input, in_low=None, in_high=None, out_low=None, out_high=None, gamma=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/color_function.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn fast_color_level<'py>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::core_funcion::__pyfunction_noise_generate::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (size, type_noise, octaves, frequency, lacunarity, seed=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/core_funcion.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn noise_generate<'py>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::halftone_function::__pyfunction_screentone::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (input, dot_size, angle=None, dot_type=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/halftone_function.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn screentone<'py>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. [INFO] [stdout] --> src/utils/functions/img_function.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use pyo3::{pyfunction, IntoPy, IntoPyObject, IntoPyObjectExt, PyErr, PyObject, PyResult, Python}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::img_function::__pyfunction_read::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (path, mode=None, format=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/img_function.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. [INFO] [stdout] --> src/utils/functions/img_resize.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use pyo3::{pyfunction, IntoPy, PyObject, PyResult, Python}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `utils::functions::img_resize::__pyfunction_resize_img::SIGNATURE`: this function has implicit defaults for the trailing `Option` arguments [INFO] [stdout] = note: these implicit defaults are being phased out [INFO] [stdout] = help: add `#[pyo3(signature = (input, size, filter=None, conv=None, sampling=None))]` to this function to silence this warning and keep the current behavior [INFO] [stdout] --> src/utils/functions/img_resize.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn resize_img<'py>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/color_function.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | levels(&mut array, in_low, in_high, out_low, out_high, gamma); [INFO] [stdout] | ------ ^^^^^^^^^^ expected `ArrayBase, Dim<...>>`, found a different `ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/core/color_levels.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn levels( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | vec_img: &mut ArrayD, [INFO] [stdout] | ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `numpy::ndarray::impl_owned_array::, D>>::into_raw_vec`: Use .into_raw_vec_and_offset() instead [INFO] [stdout] --> src/utils/functions/color_function.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let vec = array.to_owned().into_raw_vec(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::impl_::pyclass::Deprecation::autogenerated_equality`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)]` to keep the current behavior. [INFO] [stdout] --> src/utils/core/enums.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/color_function.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(array.to_pyarray(py).into()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] | [INFO] [stdout] note: there's an earlier shadowed binding `array` of type `numpy::ndarray::ArrayBase, numpy::ndarray::Dim>` that has method `to_pyarray` available [INFO] [stdout] --> src/utils/functions/color_function.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let array = img.as_array(); [INFO] [stdout] | ^^^^^ `array` of type `numpy::ndarray::ArrayBase, numpy::ndarray::Dim>` that has method `to_pyarray` defined earlier here [INFO] [stdout] ... [INFO] [stdout] 42 | let array = match cvt_type { [INFO] [stdout] | ----- earlier `array` shadowed here with type `ndarray::ArrayBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/color_function.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | levels(&mut array, in_low, in_high, out_low, out_high, gamma); [INFO] [stdout] | ------ ^^^^^^^^^^ expected `ArrayBase, Dim<...>>`, found a different `ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/core/color_levels.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn levels( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | vec_img: &mut ArrayD, [INFO] [stdout] | ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `numpy::ndarray::impl_owned_array::, D>>::into_raw_vec`: Use .into_raw_vec_and_offset() instead [INFO] [stdout] --> src/utils/functions/color_function.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let vec = array.to_owned().into_raw_vec(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/core_funcion.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(array.into_dyn().to_pyarray(py).into()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/core_funcion.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(array.into_dyn().to_pyarray(py).into()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/color_function.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(array.to_pyarray(py).into()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] | [INFO] [stdout] note: there's an earlier shadowed binding `array` of type `numpy::ndarray::ArrayBase, numpy::ndarray::Dim>` that has method `to_pyarray` available [INFO] [stdout] --> src/utils/functions/color_function.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let array = img.as_array(); [INFO] [stdout] | ^^^^^ `array` of type `numpy::ndarray::ArrayBase, numpy::ndarray::Dim>` that has method `to_pyarray` defined earlier here [INFO] [stdout] ... [INFO] [stdout] 42 | let array = match cvt_type { [INFO] [stdout] | ----- earlier `array` shadowed here with type `ndarray::ArrayBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/core_funcion.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | 2 => Ok(crop_cord_2d(&array)), [INFO] [stdout] | ------------ ^^^^^^ expected `ArrayBase, Dim<...>>`, found a different `ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/functions/core_funcion.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn crop_cord_2d(img: &ndarray::ArrayD) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/core_funcion.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | 3 => Ok(crop_cord_3d(&array)), [INFO] [stdout] | ------------ ^^^^^^ expected `ArrayBase, Dim<...>>`, found a different `ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/functions/core_funcion.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn crop_cord_3d(img: &ndarray::ArrayD) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | .slice(s![0..tile_size, 0..tile_size]) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-1957786316962704237.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:141:53 [INFO] [stdout] | [INFO] [stdout] 141 | let mean_left = laplacian_abs.slice(s![row..(tile_size + row), col..(col + 1)]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-1957786316962704237.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:142:54 [INFO] [stdout] | [INFO] [stdout] 142 | let mean_right = laplacian_abs.slice(s![row..(tile_size + row), (tile_size + col)..(tile_size + col + 1)]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-1957786316962704237.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | let mean_up = laplacian_abs.slice(s![row, col..(col + tile_size)]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 1]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-3441797132150224359.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:152:49 [INFO] [stdout] | [INFO] [stdout] 152 | let mean_down = laplacian_abs.slice(s![tile_size + row, col..(col + tile_size)]).sum() ; [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 1]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-3441797132150224359.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/core_funcion.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(array.into_dyn().to_pyarray(py).into()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | ..._abs.slice(s![row..(tile_size + row), img_shape.1 - (tile_size + col) - 1..img_shape.1 - tile_size - col]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-1957786316962704237.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:163:53 [INFO] [stdout] | [INFO] [stdout] 163 | let mean_left = laplacian_abs.slice(s![row..(tile_size + row), img_shape.1 - col - 1..img_shape.1 - col]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-1957786316962704237.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | let mean_up = laplacian_abs.slice(s![row, 0..tile_size]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 1]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-3441797132150224359.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:172:49 [INFO] [stdout] | [INFO] [stdout] 172 | let mean_down = laplacian_abs.slice(s![tile_size + row, 0..tile_size]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 1]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-639253d2715e3498.long-type-3441797132150224359.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/halftone_function.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | screentone_rotate_add(&mut array, dot_size, (angle as f32).to_radians(), dot_type); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `ArrayBase, ...>`, found a different `ArrayBase, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/halftone/screentone_add.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn screentone_rotate_add( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | array: &mut Array2, [INFO] [stdout] | ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/core_funcion.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(array.into_dyn().to_pyarray(py).into()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/halftone_function.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | screentone_add(&mut array, dot_size, dot_type); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `ArrayBase, ...>`, found a different `ArrayBase, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/halftone/screentone_add.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn screentone_add(array: &mut Array2, dot_size: usize, dot_type: TypeDot) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/core_funcion.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | 2 => Ok(crop_cord_2d(&array)), [INFO] [stdout] | ------------ ^^^^^^ expected `ArrayBase, Dim<...>>`, found a different `ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/functions/core_funcion.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn crop_cord_2d(img: &ndarray::ArrayD) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/core_funcion.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | 3 => Ok(crop_cord_3d(&array)), [INFO] [stdout] | ------------ ^^^^^^ expected `ArrayBase, Dim<...>>`, found a different `ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/functions/core_funcion.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn crop_cord_3d(img: &ndarray::ArrayD) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | .slice(s![0..tile_size, 0..tile_size]) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-2790987012745863621.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:141:53 [INFO] [stdout] | [INFO] [stdout] 141 | let mean_left = laplacian_abs.slice(s![row..(tile_size + row), col..(col + 1)]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-2790987012745863621.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:142:54 [INFO] [stdout] | [INFO] [stdout] 142 | let mean_right = laplacian_abs.slice(s![row..(tile_size + row), (tile_size + col)..(tile_size + col + 1)]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-2790987012745863621.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | let mean_up = laplacian_abs.slice(s![row, col..(col + tile_size)]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 1]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-4362788642664138987.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/img_function.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(array) => Ok(array.to_pyarray(py).into_py(py)), [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:152:49 [INFO] [stdout] | [INFO] [stdout] 152 | let mean_down = laplacian_abs.slice(s![tile_size + row, col..(col + tile_size)]).sum() ; [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 1]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-4362788642664138987.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | ..._abs.slice(s![row..(tile_size + row), img_shape.1 - (tile_size + col) - 1..img_shape.1 - tile_size - col]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-2790987012745863621.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:163:53 [INFO] [stdout] | [INFO] [stdout] 163 | let mean_left = laplacian_abs.slice(s![row..(tile_size + row), img_shape.1 - col - 1..img_shape.1 - col]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 2]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-2790987012745863621.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | let mean_up = laplacian_abs.slice(s![row, 0..tile_size]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 1]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-4362788642664138987.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, ...>: SliceArg<...>` is not satisfied [INFO] [stdout] --> src/utils/functions/core_funcion.rs:172:49 [INFO] [stdout] | [INFO] [stdout] 172 | let mean_down = laplacian_abs.slice(s![tile_size + row, 0..tile_size]).sum(); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `numpy::ndarray::SliceArg>` is not implemented for `SliceInfo<[SliceInfoElem; 2], Dim<[usize; 2]>, Dim<[usize; 1]>>` [INFO] [stdout] note: there are multiple different versions of crate `ndarray` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/slice.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | pub unsafe trait SliceArg: AsRef<[SliceInfoElem]> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 435 | pub struct SliceInfo [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/slice.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct SliceInfo { [INFO] [stdout] | -------------------------------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/argument_traits.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AssignElem { [INFO] [stdout] | ----------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/impl_methods.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn slice(&self, info: I) -> ArrayView<'_, A, I::OutDim> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 477 | where [INFO] [stdout] 478 | I: SliceArg, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::>::slice` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/pepeline-466f2b2a21636555.long-type-4362788642664138987.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/img_function.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(array) => Ok(array.to_pyarray(py).into_py(py)), [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/halftone_function.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | screentone_rotate_add(&mut array, dot_size, (angle as f32).to_radians(), dot_type); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `ArrayBase, ...>`, found a different `ArrayBase, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/halftone/screentone_add.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn screentone_rotate_add( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | array: &mut Array2, [INFO] [stdout] | ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/functions/halftone_function.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | screentone_add(&mut array, dot_size, dot_type); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `ArrayBase, ...>`, found a different `ArrayBase, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `numpy::ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/image/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{Array2, Array3, ArrayD}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/utils/functions/color_function.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::{PyArrayDyn, PyReadonlyArrayDyn, ToPyArray}; [INFO] [stdout] | ----- one version of crate `ndarray` used here, as a dependency of crate `numpy` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/halftone/screentone_add.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn screentone_add(array: &mut Array2, dot_size: usize, dot_type: TypeDot) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `numpy::ndarray::impl_owned_array::, D>>::into_raw_vec`: Use .into_raw_vec_and_offset() instead [INFO] [stdout] --> src/utils/functions/img_resize.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let img = array.into_raw_vec(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. [INFO] [stdout] --> src/utils/functions/img_resize.rs:75:117 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(PyArray::from_vec(py, result_vec.to_vec()).to_dyn().reshape([size.1 as Ix,size.0 as Ix,shape[2] as Ix])?.into_py(py)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. [INFO] [stdout] --> src/utils/functions/img_resize.rs:77:102 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(PyArray::from_vec(py, result_vec.to_vec()).to_dyn().reshape([size.1 as Ix,size.0 as Ix])?.into_py(py)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/img_function.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(array) => Ok(array.to_pyarray(py).into_py(py)), [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_pyarray` found for struct `ndarray::ArrayBase` in the current scope [INFO] [stdout] --> src/utils/functions/img_function.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(array) => Ok(array.to_pyarray(py).into_py(py)), [INFO] [stdout] | ^^^^^^^^^^ method not found in `ArrayBase, Dim>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `numpy::ndarray::impl_owned_array::, D>>::into_raw_vec`: Use .into_raw_vec_and_offset() instead [INFO] [stdout] --> src/utils/functions/img_resize.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let img = array.into_raw_vec(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. [INFO] [stdout] --> src/utils/functions/img_resize.rs:75:117 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(PyArray::from_vec(py, result_vec.to_vec()).to_dyn().reshape([size.1 as Ix,size.0 as Ix,shape[2] as Ix])?.into_py(py)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. [INFO] [stdout] --> src/utils/functions/img_resize.rs:77:102 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(PyArray::from_vec(py, result_vec.to_vec()).to_dyn().reshape([size.1 as Ix,size.0 as Ix])?.into_py(py)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pepeline` (lib test) due to 19 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pepeline` (lib) due to 19 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "588cd5b021db68860b54d765fd1a279fe2b5bab8a083f93bb97474f472e674ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "588cd5b021db68860b54d765fd1a279fe2b5bab8a083f93bb97474f472e674ae", kill_on_drop: false }` [INFO] [stdout] 588cd5b021db68860b54d765fd1a279fe2b5bab8a083f93bb97474f472e674ae