Error map
E0658: use of unstable library feature Rust: error[E0658]: use of unstable library feature `let_chains` / `#![feature]` may not be used on the stable release channel
Rust · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (9). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (9)
Rust: error[E0015]: cannot call non-const function `String::from` in constants
A `const`/`static` initializer used something that can't run at compile time.
Cargo: error: failed to parse manifest — feature `edition2024` is required / lock file version 4 requires `-Znext-lockfile-bump`
Your Cargo is older than the manifest or lockfile requires.
Cargo: Blocking waiting for file lock on package cache / on build directory
Another cargo process (or rust-analyzer/IDE) holds the lock, so this command waits.
Rust: error[E0133]: call to unsafe function `foo` is unsafe and requires unsafe function or block
You called an `unsafe` function (or dereferenced a raw pointer / accessed a `static mut`) outside `unsafe`.
Cargo: error: failed to select a version for the requirement `serde = "^2.0"` — candidate versions found which didn't match: 1.0.197
Cargo can't find a version of a dependency satisfying the constraints you (or other crates) set.
Cargo: warning: spurious network error (2 tries remaining): [35] SSL connect error / error: failed to download from `https://index.crates.io/...`
Cargo couldn't reach crates.io (network, proxy, TLS or DNS issues).
Rust: error: linker `cc` not found — note: No such file or directory (os error 2)
Rust needs a C linker (gcc/clang) to produce executables, and none is installed.
Cargo: error: package `home v0.5.9` cannot be built because it requires rustc 1.81 or newer, while the currently active rustc version is 1.78.0
A dependency's minimum supported Rust version (MSRV) is higher than your toolchain.
rustup: error: toolchain 'nightly-x86_64-unknown-linux-gnu' is not installed / error: no override and no default toolchain set
rustup can't find the toolchain requested by `rust-toolchain.toml`, an override, or no default is set.
Two steps away (20)
Rust: error[E0308]: mismatched types — expected `X`, found `Y`
A value’s type doesn’t match what the context expects — common with &str vs String, Option/Result vs plain values, and integer ty…
C++: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
C++ forbids silently dropping `const` or converting between unrelated pointer types — typically a string literal assigned to `cha…
C++: error: passing 'const X' as 'this' argument discards qualifiers [-fpermissive]
A const object (or const reference) is calling a method that is not declared const, which could modify it.
Rust: error[E0507]: cannot move out of `self.name` which is behind a shared reference
You tried to take ownership of a value through a reference (or from a Vec/Option behind `&`).
Rust: error[E0373]: closure may outlive the current function, but it borrows `v`, which is owned by the current function
A closure borrowing a local is passed somewhere that may outlive it (thread::spawn, tokio::spawn, returned closures).
Rust: error[E0425]: cannot find value `x` in this scope
The identifier (variable, function, constant) isn't defined where it's used.
Rust: error[E0499]: cannot borrow `v` as mutable more than once at a time
Two mutable references to the same value were alive at once, which Rust forbids.
Rust: error[E0505]: cannot move out of `s` because it is borrowed
You moved a value while a reference to it was still in use.
Rust: error[E0106]: missing lifetime specifier — this function's return type contains a borrowed value, but the signature does not say which one of `x`'s 2 lifetimes it is borrowed from
The compiler can't infer which input reference the returned/stored reference is tied to.
Unmet dependencies / E: Unable to correct problems, you have held broken packages
apt can’t find a set of package versions that satisfies all dependencies — usually mixed repositories or a package from another r…
Rust: error[E0277]: the trait bound `Foo: Display` is not satisfied / `Rc<RefCell<T>>` cannot be sent between threads safely
A type doesn't implement a trait required by a function, macro or generic bound.
Rust: error[E0432]: unresolved import `crate::utils` — maybe a missing crate `utils`?
A `use` path doesn't point to an existing module, crate or item.
ssh: connect to host x port 22: Connection refused
The server answered, but nothing is listening on the SSH port — sshd isn’t running, it uses another port, or a firewall actively…
ssh: connect to host x port 22: Connection timed out
SSH packets get no reply — a firewall/security group drops them, the server is off, or the IP is wrong.
ping: google.com: Temporary failure in name resolution
The Linux host can’t resolve domain names — no working DNS server is configured or reachable.
C/C++: undefined reference to `function' — collect2: error: ld returned 1 exit status
The linker can’t find the definition of a function or variable that was declared and used.
C/C++: multiple definition of `x'; first defined here — ld returned 1 exit status
The linker found the same function or global variable defined in two object files — usually something defined in a header.
C++: undefined reference to `vtable for X' — virtual function not defined
The linker cannot find the class's virtual table, which means at least one virtual member function was declared but never defined…
Rust: error[E0004]: non-exhaustive patterns: `None` not covered
A `match` doesn't handle every possible value of the type.
Cargo: error: failed to run custom build command for `openssl-sys v0.9.99` — Could not find directory of OpenSSL installation / pkg-config not found
The `openssl-sys` crate can't find OpenSSL headers/libraries (or pkg-config) to link against.
Map another error
Popular: 500403400ORA-009331064Critical errorFileNotFoundException assemblyTypeError