Describe the bug
A clear and concise description of what the bug is.
Updating crates.io index
Downloaded url v2.5.0
Downloaded percent-encoding v2.3.1
Downloaded form_urlencoded v1.2.1
Downloaded unicode-bidi v0.3.15
Downloaded unicode-normalization v0.1.23
Downloaded idna v0.5.0
Downloaded 6 crates (549.2 KB) in 0.51s
Compiling percent-encoding v2.3.1
Compiling unicode-bidi v0.3.15
Compiling unicode-normalization v0.1.23
Compiling jpeg-decoder v0.3.0
error[E0786]: found invalid metadata files for crate `rayon`
--> /Users/randyt/.cargo/registry/src/github.com-1ecc6299db9ec823/jpeg-decoder-0.3.0/src/lib.rs:37:1
|
37 | extern crate rayon;
| ^^^^^^^^^^^^^^^^^^^
|
= note: invalid metadata version found: /Users/randyt/.local/share/nvim/lazy/tabnine-nvim/chat/target/debug/deps/librayon-c1fb2c484de5d2d1.rmeta
Compiling form_urlencoded v1.2.1
error[E0599]: no method named `par_chunks_mut` found for struct `Vec<u8>` in the current scope
--> /Users/randyt/.cargo/registry/src/github.com-1ecc6299db9ec823/jpeg-decoder-0.3.0/src/worker/rayon.rs:207:10
|
207 | .par_chunks_mut(line_size)
| ^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_chunks_mut`
Some errors have detailed explanations: E0599, E0786.
For more information about an error, try `rustc --explain E0599`.
error: could not compile `jpeg-decoder` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
To Reproduce
Steps to reproduce the behavior:
cargo build --release
with Cargo.toml dependencies below
❯ rustup --version
rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.74.1 (a28077b28 2023-12-04)`
Additional context
build succesfully after changed the dependency
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior compile succesfully
Version Info:
Additional context build succesfully after changed the dependency