emilk / emilk/eframe_template

Rust-Analyzer fails on Image crate version 0.25

Open
#150 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.2k
Forks
230
Avg merge
11m
Merged PRs (30d)
1

Description

Using Rust-Analyzer inside VS Code.

Add ```image = "0.24"``` to dependencies = works fine.

Add ```image = "0.25.2"``` to dependencies leads to Rust-Analyzer errors:

```
Failed to run build scripts of some packages.

cargo check failed to start: Cargo watcher failed, the command produced no valid metadata (exit code: ExitStatus(unix_wait_status(25856))):

error: package `bitstream-io v2.5.0` cannot be built because it requires rustc 1.79 or newer, while the currently active rustc version is 1.76.0

Either upgrade to rustc 1.79 or newer, or use

cargo update bitstream-[io@2.5.0](vscode-file://vscode-app/snap/code/164/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html) --precise ver

where `ver` is the latest version of `bitstream-io` supporting rustc 1.76.0

[Extension Info](vscode-file://vscode-app/snap/code/164/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html): Version 0.3.2045, Server Version 0.3.2045-standalone
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.