# Rust analyzer crushed when using fuels 0.35.1

**URL:** <https://forum.fuel.network/t/rust-analyzer-crushed-when-using-fuels-0-35-1/1773>\
**Category:** Rust SDK\
**Created:** [February 6, 2023, 1:04pm UTC](https://forum.fuel.network/t/rust-analyzer-crushed-when-using-fuels-0-35-1/1773 "2023-02-06T13:04:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fuel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/fuel/32/1677_2.png) [@fuel](https://forum.fuel.network/u/fuel)\
**Post date:** [February 6, 2023, 1:04pm UTC](https://forum.fuel.network/t/rust-analyzer-crushed-when-using-fuels-0-35-1/1773/1 "2023-02-06T13:04:28Z")

</div>

Hi there  
When I’m install `fuels` in new project my Rust analyzer crushed with this error

```auto
Error: Custom { kind: InvalidData, error: Error("unknown variant `ApiVersionCheck`, expected `ListMacros` or `ExpandMacro`", line: 1, column: 18) }

[ERROR flycheck] Flycheck failed to run the following command: "cargo" "check" "--workspace" "--message-format=json-diagnostic-rendered-ansi" "--manifest-path" "/Users/alexey/projects/fuel/swaylend-liquidator/Cargo.toml" "--all-targets"

[ERROR rust_analyzer::lsp_utils] cargo check failed:

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

error: package `fuels-types v0.35.1` cannot be built because it requires rustc 1.67.0 or newer, while the currently active rustc version is 1.66.0

Either upgrade to rustc 1.67.0 or newer, or use

cargo update -p fuels-types@0.35.1 --precise ver

where `ver` is the latest version of `fuels-types` supporting rustc 1.66.0

```

---

<div class="post-metadata">

**Author:** ![ControlCplusControlV](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/controlcpluscontrolv/32/999_2.png) [@ControlCplusControlV](https://forum.fuel.network/u/ControlCplusControlV)\
**Post date:** [February 6, 2023, 2:30pm UTC](https://forum.fuel.network/t/rust-analyzer-crushed-when-using-fuels-0-35-1/1773/2 "2023-02-06T14:30:29Z")

</div>

Run `rustup update`, looks like you need to be on rust 1.67.0

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/5/57d5a345cc15a64b636e0d56e042857f8a0e80b1.png) [@system](https://forum.fuel.network/u/system)\
**Post date:** [February 27, 2023, 10:30am UTC](https://forum.fuel.network/t/rust-analyzer-crushed-when-using-fuels-0-35-1/1773/3 "2023-02-27T10:30:30Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
