Skip to content

Instantly share code, notes, and snippets.

@fkohlgrueber
Created September 3, 2021 13:17
Show Gist options
  • Save fkohlgrueber/9eed1568d0ae01cfff8d9a1993886fba to your computer and use it in GitHub Desktop.
Save fkohlgrueber/9eed1568d0ae01cfff8d9a1993886fba to your computer and use it in GitHub Desktop.
Panic context:
>
version: 796bfccac 2021-09-03 dev
request: codeLens/resolve CodeLens {
range: Range {
start: Position {
line: 0,
character: 3,
},
end: Position {
line: 0,
character: 7,
},
},
command: Some(
Command {
title: "���\u{fe0e} Run ",
command: "rust-analyzer.runSingle",
arguments: Some(
[
Object({
"label": String(
"run cargo_test",
),
"location": Object({
"targetUri": String(
"file:///home/fkohlgru/work/rust/eclipse_ws/cargo_test/src/main.rs",
),
"targetRange": Object({
"start": Object({
"line": Number(
0,
),
"character": Number(
0,
),
}),
"end": Object({
"line": Number(
2,
),
"character": Number(
1,
),
}),
}),
"targetSelectionRange": Object({
"start": Object({
"line": Number(
0,
),
"character": Number(
3,
),
}),
"end": Object({
"line": Number(
0,
),
"character": Number(
7,
),
}),
}),
}),
"kind": String(
"cargo",
),
"args": Object({
"workspaceRoot": String(
"/home/fkohlgru/work/rust/eclipse_ws/cargo_test",
),
"cargoArgs": Array([
String(
"run",
),
String(
"--package",
),
String(
"cargo_test",
),
String(
"--bin",
),
String(
"cargo_test",
),
]),
"cargoExtraArgs": Array([]),
"executableArgs": Array([]),
}),
}),
],
),
},
),
data: None,
}
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates/rust-analyzer/src/from_proto.rs:88:31
stack backtrace:
0: rust_begin_unwind
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/std/src/panicking.rs:515:5
1: core::panicking::panic_fmt
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/panicking.rs:92:14
2: core::panicking::panic
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/panicking.rs:50:5
3: rust_analyzer::from_proto::annotation
4: rust_analyzer::handlers::handle_code_lens_resolve
5: std::panicking::try
6: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Panic context:
>
version: 796bfccac 2021-09-03 dev
request: codeLens/resolve CodeLens {
range: Range {
start: Position {
line: 0,
character: 3,
},
end: Position {
line: 0,
character: 7,
},
},
command: Some(
Command {
title: "���\u{fe0e} Run ",
command: "rust-analyzer.runSingle",
arguments: Some(
[
Object({
"label": String(
"run cargo_test",
),
"location": Object({
"targetUri": String(
"file:///home/fkohlgru/work/rust/eclipse_ws/cargo_test/src/main.rs",
),
"targetRange": Object({
"start": Object({
"line": Number(
0,
),
"character": Number(
0,
),
}),
"end": Object({
"line": Number(
2,
),
"character": Number(
1,
),
}),
}),
"targetSelectionRange": Object({
"start": Object({
"line": Number(
0,
),
"character": Number(
3,
),
}),
"end": Object({
"line": Number(
0,
),
"character": Number(
7,
),
}),
}),
}),
"kind": String(
"cargo",
),
"args": Object({
"workspaceRoot": String(
"/home/fkohlgru/work/rust/eclipse_ws/cargo_test",
),
"cargoArgs": Array([
String(
"run",
),
String(
"--package",
),
String(
"cargo_test",
),
String(
"--bin",
),
String(
"cargo_test",
),
]),
"cargoExtraArgs": Array([]),
"executableArgs": Array([]),
}),
}),
],
),
},
),
data: None,
}
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates/rust-analyzer/src/from_proto.rs:88:31
stack backtrace:
0: rust_begin_unwind
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/std/src/panicking.rs:515:5
1: core::panicking::panic_fmt
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/panicking.rs:92:14
2: core::panicking::panic
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/panicking.rs:50:5
3: rust_analyzer::from_proto::annotation
4: rust_analyzer::handlers::handle_code_lens_resolve
5: std::panicking::try
6: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Panic context:
>
version: 796bfccac 2021-09-03 dev
request: codeLens/resolve CodeLens {
range: Range {
start: Position {
line: 0,
character: 3,
},
end: Position {
line: 0,
character: 7,
},
},
command: Some(
Command {
title: "���\u{fe0e} Run ",
command: "rust-analyzer.runSingle",
arguments: Some(
[
Object({
"label": String(
"run cargo_test",
),
"location": Object({
"targetUri": String(
"file:///home/fkohlgru/work/rust/eclipse_ws/cargo_test/src/main.rs",
),
"targetRange": Object({
"start": Object({
"line": Number(
0,
),
"character": Number(
0,
),
}),
"end": Object({
"line": Number(
2,
),
"character": Number(
1,
),
}),
}),
"targetSelectionRange": Object({
"start": Object({
"line": Number(
0,
),
"character": Number(
3,
),
}),
"end": Object({
"line": Number(
0,
),
"character": Number(
7,
),
}),
}),
}),
"kind": String(
"cargo",
),
"args": Object({
"workspaceRoot": String(
"/home/fkohlgru/work/rust/eclipse_ws/cargo_test",
),
"cargoArgs": Array([
String(
"run",
),
String(
"--package",
),
String(
"cargo_test",
),
String(
"--bin",
),
String(
"cargo_test",
),
]),
"cargoExtraArgs": Array([]),
"executableArgs": Array([]),
}),
}),
],
),
},
),
data: None,
}
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', crates/rust-analyzer/src/from_proto.rs:88:31
stack backtrace:
0: rust_begin_unwind
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/std/src/panicking.rs:515:5
1: core::panicking::panic_fmt
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/panicking.rs:92:14
2: core::panicking::panic
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/panicking.rs:50:5
3: rust_analyzer::from_proto::annotation
4: rust_analyzer::handlers::handle_code_lens_resolve
5: std::panicking::try
6: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment