Rust-Analyzer fails on Image crate version 0.25

Open
#150 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust, vscode

Research direction

The report names no repository file, test, or entry point. Start by reproducing the failure with image 0.25.2 and rustc 1.76.0, then inspect the dependency and toolchain resolution; done requires a confirmed project-level resolution or documented compatibility outcome.

Written by the indexing model from the issue text.

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-[[email protected]](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
Dominant language
Rust
Stars
1.2k
Forks
235
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from emilk/eframe_template

All issues in emilk/eframe_template

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.