Error map
E0499: cannot borrow as mutable more than once at a time Rust: error[E0499]: cannot borrow `v` as mutable more than once at a time
Rust · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (8). 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 (8)
Rust: error[E0382]: borrow of moved value: `x`
A value was moved (ownership transferred) and then used again.
Rust: error[E0502]: cannot borrow `x` as mutable because it is also borrowed as immutable
You tried to mutate a value while an immutable reference to it is still in use.
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[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable
You called a `&mut` method (or took `&mut`) on a binding/reference that isn't mutable.
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[E0597]: `x` does not live long enough — borrowed value does not live long enough
A reference outlives the value it points to (the value is dropped first).
Rust: thread 'main' panicked at src/main.rs:8:9: already borrowed: BorrowMutError / already mutably borrowed: BorrowError
A `RefCell` was borrowed in conflicting ways at runtime (a mutable borrow while another borrow was alive).
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).
Two steps away (16)
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…
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 `&`).
ObjectDisposedException: Cannot access a disposed context instance
Code used a DbContext after its scope ended — usually async void, fire-and-forget tasks, or capturing a scoped context in a singl…
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.
Rust: error[E0384]: cannot assign twice to immutable variable `x`
You reassigned a variable declared without `mut`.
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[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[E0599]: no method named `push_str` found for struct `Vec<String>` in the current scope
The type doesn't have that method — wrong type, trait not in scope, or missing derive/feature.
Rust: error[E0716]: temporary value dropped while borrowed — creates a temporary value which is freed while still in use
A reference points to a temporary that's dropped at the end of the statement.
Rust: error[E0521]: borrowed data escapes outside of function — `data` escapes the function body here (tokio::spawn requires 'static)
A reference was passed to something requiring `'static` (spawn tasks/threads) but it borrows local data.
Go: panic: runtime error: index out of range [3] with length 3
Code accessed a slice, array or string element beyond its length.
Go: panic: runtime error: slice bounds out of range [:5] with capacity 3
A slice expression `s[a:b]` used bounds outside the slice's length or capacity.
Go: panic: runtime error: integer divide by zero
Integer division or modulo by zero.
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.
Map another error
Popular: 500403400ORA-009331064Critical errorFileNotFoundException assemblyTypeError