Skip to content

Instantly share code, notes, and snippets.

@skeleten
Created April 26, 2017 11:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skeleten/36c3caae13fdcd2fcdc2817877bac067 to your computer and use it in GitHub Desktop.
Save skeleten/36c3caae13fdcd2fcdc2817877bac067 to your computer and use it in GitHub Desktop.
Spacemacs is ready.
Loading /home/VKM/thomson/.emacs.d/.cache/recentf...done
Open the quickhelp.
Skipping check for new version (reason: dotfile)
main.rs has auto save data; consider M-x recover-this-file
[yas] Prepared just-in-time loading of snippets successfully. [2 times]
Start a new Language Server for this project? (y or n) y
lsp--stdio-send-sync: Content-Length: 239
{"jsonrpc":"2.0","method":"initialize","params":{"processId":12585,"rootPath":"/home/VKM/thomson/Source/thomson/snap-to-road-realdata/","capabilities":{"workspace":{"executeCommand":{"dynamicRegistration":true}},"textDocument":{}}},"id":1}
Output from language server: {"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":2,"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":[".",":"]},"signatureHelpProvider":{"triggerCharacters":[]},"definitionProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"codeActionProvider":false,"documentFormattingProvider":false,"documentRangeFormattingProvider":false,"renameProvider":false}}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
lsp--stdio-send-async: Content-Length: 1777
{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","languageId":"rust","version":0,"text":"#![recursion_limit = \"1024\"]\n#![feature(conservative_impl_trait)]\n\nextern crate clap;\n#[macro_use]\nextern crate log;\nextern crate log4rs;\nextern crate rayon;\nextern crate term;\nextern crate xml;\n#[macro_use]\nextern crate error_chain;\n#[macro_use]\nextern crate bitflags;\nextern crate serde;\nextern crate serde_yaml;\n\nmod args;\nmod errors;\n#[macro_use]\nmod macros;\nmod osm;\nmod rtree;\nmod input;\nmod data_indizes;\nmod math_helper;\n\nuse errors::*;\nuse std::io::prelude::*;\n\npub const LOG_CONFIG_PATH: &'static str = \"config/log4rs.yml\";\n\ninclude_resources!(\n \"config/log4rs.yml\" => LOG_CONFIG_PATH\n);\n\nfn main() {\n // run the actual program and catch any errors that bubble up.\n if let Err(ref e) = run() {\n println!(\"error: {}\", e);\n\n for e in e.iter().skip(1) {\n println!(\"caused by: {}\", e);\n }\n\n if let Some(backtrace) = e.backtrace() {\n println!(\"backtrace: {:?}\", backtrace);\n }\n\n ::std::process::exit(1);\n }\n}\n\nfn run() -> Result<()> {\n ensure_resources_exist()?;\n log4rs::init_file(LOG_CONFIG_PATH, Default::default()).unwrap();\n let args = args::get_matches();\n\n let input = args::get_input(&args)?;\n let csv_waypoints = input::read_csv_waypoints(input);\n info!(\"Read {} input waypoints!\", csv_waypoints.len());\n\n let osm_file = args::get_osm_file(&args)?;\n let osm_parser = osm::OsmParser::new(osm_file);\n for item in osm_parser {\n\n }\n Ok(())\n}\n\n// Move this to another mod?\n"}}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/math_helper.rs","diagnostics":[{"range":{"start":{"line":4,"character":0},"end":{"line":16,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function is never used: `haversine`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":20,"character":0},"end":{"line":25,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function is never used: `manhattan_distance`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":42,"character":0},"end":{"line":77,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function is never used: `intersection`\n\nnote: #[warn(dead_code)] on by default"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","diagnostics":[{"range":{"start":{"line":28,"character":4},"end":{"line":28,"character":20},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused import: `std::io::prelude`\n\nnote: #[warn(unused_imports)] on by default"},{"range":{"start":{"line":64,"character":8},"end":{"line":64,"character":12},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused variable: `item`\n\nnote: #[warn(unused_variables)] on by default"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/args.rs","diagnostics":[{"range":{"start":{"line":0,"character":4},"end":{"line":0,"character":9},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused import: `::std`\n\nnote: #[warn(unused_imports)] on by default"},{"range":{"start":{"line":64,"character":0},"end":{"line":75,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function is never used: `get_output`\n\nnote: #[warn(dead_code)] on by default"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/rtree/mod.rs","diagnostics":[{"range":{"start":{"line":21,"character":4},"end":{"line":28,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `zero`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":76,"character":4},"end":{"line":85,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `collides`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":87,"character":4},"end":{"line":92,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `contains_point`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":138,"character":14},"end":{"line":139,"character":65},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `new`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":141,"character":4},"end":{"line":143,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":145,"character":4},"end":{"line":169,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert_child`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":171,"character":4},"end":{"line":193,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `childs_within`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":195,"character":4},"end":{"line":210,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert_at`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":212,"character":4},"end":{"line":226,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `bubble_bb_changes`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":228,"character":4},"end":{"line":283,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `split_node`\n\nnote: #[warn(dead_code)] on by default"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/rtree/backends/memory.rs","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":11,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"struct is never used: `MemBackend`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":14,"character":4},"end":{"line":28,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `new`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":30,"character":4},"end":{"line":49,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `create_node`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":95,"character":4},"end":{"line":97,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function cannot return without recurring\n\nnote: #[warn(unconditional_recursion)] on by default\nnote: recursive call site\nhelp: a `loop` may express intention better if this is on purpose"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/data_indizes.rs","diagnostics":[{"range":{"start":{"line":2,"character":4},"end":{"line":2,"character":17},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused import: `::math_helper`\n\nnote: #[warn(unused_imports)] on by default"},{"range":{"start":{"line":8,"character":4},"end":{"line":8,"character":22},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused import: `std::cmp::Ordering`\n\nnote: #[warn(unused_imports)] on by default"},{"range":{"start":{"line":10,"character":0},"end":{"line":18,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"struct is never used: `DataIndizes`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":21,"character":4},"end":{"line":28,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `new`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":30,"character":4},"end":{"line":40,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert_node`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":31,"character":8},"end":{"line":36,"character":28},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused result which must be used\n\nnote: #[warn(unused_must_use)] on by default"},{"range":{"start":{"line":42,"character":4},"end":{"line":97,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert_way`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":127,"character":4},"end":{"line":144,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `way_is_relevant`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":146,"character":4},"end":{"line":181,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `clear_nodes_without_ways`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":175,"character":16},"end":{"line":175,"character":19},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused variable: `lon`\n\nnote: #[warn(unused_variables)] on by default"},{"range":{"start":{"line":176,"character":16},"end":{"line":176,"character":19},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused variable: `lat`\n\nnote: #[warn(unused_variables)] on by default"},{"range":{"start":{"line":195,"character":4},"end":{"line":203,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `new`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":205,"character":0},"end":{"line":208,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `get_info_from_payload`\n\nnote: #[warn(dead_code)] on by default"}]}}
lsp--stdio-send-async: Content-Length: 193
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":1},"contentChanges":[]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
lsp--stdio-send-async: Content-Length: 299
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":2},"contentChanges":[{"range":{"start":{"line":28,"character":24},"end":{"line":29,"character":0}},"rangeLength":1,"text":"\n"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/math_helper.rs","diagnostics":[{"range":{"start":{"line":4,"character":0},"end":{"line":16,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function is never used: `haversine`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":20,"character":0},"end":{"line":25,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function is never used: `manhattan_distance`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":42,"character":0},"end":{"line":77,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function is never used: `intersection`\n\nnote: #[warn(dead_code)] on by default"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","diagnostics":[{"range":{"start":{"line":28,"character":4},"end":{"line":28,"character":20},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused import: `std::io::prelude`\n\nnote: #[warn(unused_imports)] on by default"},{"range":{"start":{"line":64,"character":8},"end":{"line":64,"character":12},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused variable: `item`\n\nnote: #[warn(unused_variables)] on by default"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/args.rs","diagnostics":[{"range":{"start":{"line":0,"character":4},"end":{"line":0,"character":9},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused import: `::std`\n\nnote: #[warn(unused_imports)] on by default"},{"range":{"start":{"line":64,"character":0},"end":{"line":75,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function is never used: `get_output`\n\nnote: #[warn(dead_code)] on by default"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/rtree/mod.rs","diagnostics":[{"range":{"start":{"line":21,"character":4},"end":{"line":28,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `zero`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":76,"character":4},"end":{"line":85,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `collides`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":87,"character":4},"end":{"line":92,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `contains_point`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":138,"character":14},"end":{"line":139,"character":65},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `new`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":141,"character":4},"end":{"line":143,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":145,"character":4},"end":{"line":169,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert_child`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":171,"character":4},"end":{"line":193,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `childs_within`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":195,"character":4},"end":{"line":210,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert_at`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":212,"character":4},"end":{"line":226,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `bubble_bb_changes`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":228,"character":4},"end":{"line":283,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `split_node`\n\nnote: #[warn(dead_code)] on by default"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/rtree/backends/memory.rs","diagnostics":[{"range":{"start":{"line":5,"character":0},"end":{"line":11,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"struct is never used: `MemBackend`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":14,"character":4},"end":{"line":28,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `new`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":30,"character":4},"end":{"line":49,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `create_node`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":95,"character":4},"end":{"line":97,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"function cannot return without recurring\n\nnote: #[warn(unconditional_recursion)] on by default\nnote: recursive call site\nhelp: a `loop` may express intention better if this is on purpose"}]}}
lsp--stdio-send-async: Content-Length: 297
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":3},"contentChanges":[{"range":{"start":{"line":29,"character":0},"end":{"line":29,"character":1}},"rangeLength":1,"text":"u"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/data_indizes.rs","diagnostics":[{"range":{"start":{"line":2,"character":4},"end":{"line":2,"character":17},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused import: `::math_helper`\n\nnote: #[warn(unused_imports)] on by default"},{"range":{"start":{"line":8,"character":4},"end":{"line":8,"character":22},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused import: `std::cmp::Ordering`\n\nnote: #[warn(unused_imports)] on by default"},{"range":{"start":{"line":10,"character":0},"end":{"line":18,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"struct is never used: `DataIndizes`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":21,"character":4},"end":{"line":28,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `new`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":30,"character":4},"end":{"line":40,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert_node`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":31,"character":8},"end":{"line":36,"character":28},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused result which must be used\n\nnote: #[warn(unused_must_use)] on by default"},{"range":{"start":{"line":42,"character":4},"end":{"line":97,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `insert_way`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":127,"character":4},"end":{"line":144,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `way_is_relevant`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":146,"character":4},"end":{"line":181,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `clear_nodes_without_ways`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":175,"character":16},"end":{"line":175,"character":19},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused variable: `lon`\n\nnote: #[warn(unused_variables)] on by default"},{"range":{"start":{"line":176,"character":16},"end":{"line":176,"character":19},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"unused variable: `lat`\n\nnote: #[warn(unused_variables)] on by default"},{"range":{"start":{"line":195,"character":4},"end":{"line":203,"character":1},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `new`\n\nnote: #[warn(dead_code)] on by default"},{"range":{"start":{"line":205,"character":0},"end":{"line":208,"character":5},"label":null},"secondaryRanges":[],"severity":2,"code":"","source":"rustc","message":"method is never used: `get_info_from_payload`\n\nnote: #[warn(dead_code)] on by default"}]}}
lsp--stdio-send-async: Content-Length: 297
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":4},"contentChanges":[{"range":{"start":{"line":29,"character":1},"end":{"line":29,"character":2}},"rangeLength":1,"text":"s"}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null} [2 times]
lsp--stdio-send-async: Content-Length: 402
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":5},"contentChanges":[{"range":{"start":{"line":29,"character":2},"end":{"line":29,"character":3}},"rangeLength":1,"text":"e"},{"range":{"start":{"line":29,"character":3},"end":{"line":29,"character":4}},"rangeLength":1,"text":" "}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null} [2 times]
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null} [2 times]
lsp--stdio-send-async: Content-Length: 402
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":6},"contentChanges":[{"range":{"start":{"line":29,"character":4},"end":{"line":29,"character":5}},"rangeLength":1,"text":"s"},{"range":{"start":{"line":29,"character":5},"end":{"line":29,"character":6}},"rangeLength":1,"text":"t"}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null}
lsp--stdio-send-async: Content-Length: 297
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":7},"contentChanges":[{"range":{"start":{"line":29,"character":6},"end":{"line":29,"character":7}},"rangeLength":1,"text":"d"}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null}
lsp--stdio-send-async: Content-Length: 297
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":8},"contentChanges":[{"range":{"start":{"line":29,"character":7},"end":{"line":29,"character":8}},"rangeLength":1,"text":":"}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
lsp--stdio-send-async: Content-Length: 297
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":9},"contentChanges":[{"range":{"start":{"line":29,"character":8},"end":{"line":29,"character":9}},"rangeLength":1,"text":":"}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null} [3 times]
lsp--stdio-send-async: Content-Length: 406
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":10},"contentChanges":[{"range":{"start":{"line":29,"character":9},"end":{"line":29,"character":10}},"rangeLength":1,"text":"i"},{"range":{"start":{"line":29,"character":10},"end":{"line":29,"character":11}},"rangeLength":1,"text":"o"}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null}
lsp--stdio-send-async: Content-Length: 300
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":11},"contentChanges":[{"range":{"start":{"line":29,"character":11},"end":{"line":29,"character":12}},"rangeLength":1,"text":":"}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
lsp--stdio-send-async: Content-Length: 300
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","version":12},"contentChanges":[{"range":{"start":{"line":29,"character":12},"end":{"line":29,"character":13}},"rangeLength":1,"text":":"}]}}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsBegin","params":null}
lsp--stdio-send-sync: Content-Length: 207
{"jsonrpc":"2.0","method":"textDocument/completion","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs"},"position":{"line":29,"character":13}},"id":2}
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null}
Output from language server: {"jsonrpc":"2.0","id":2,"result":[]}
lsp--stdio-send-sync: Content-Length: 207
{"jsonrpc":"2.0","method":"textDocument/completion","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs"},"position":{"line":29,"character":13}},"id":3}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/math_helper.rs","diagnostics":[]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs","diagnostics":[{"range":{"start":{"line":29,"character":26},"end":{"line":29,"character":27},"label":"expected one of `::`, `;`, or `as` here"},"secondaryRanges":[],"severity":1,"code":"","source":"rustc","message":"expected one of `::`, `;`, or `as`, found `:`\nexpected one of `::`, `;`, or `as` here"}]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/args.rs","diagnostics":[]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/rtree/mod.rs","diagnostics":[]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/rtree/backends/memory.rs","diagnostics":[]}}
Output from language server: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/data_indizes.rs","diagnostics":[]}}
Output from language server: {"jsonrpc":"2.0","id":3,"result":[]}
lsp--stdio-send-sync: Content-Length: 207
{"jsonrpc":"2.0","method":"textDocument/completion","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs"},"position":{"line":29,"character":13}},"id":4}
Output from language server: {"jsonrpc":"2.0","id":4,"result":[]}
completion--some: Wrong type argument: hash-table-p, nil
Output from language server: {"jsonrpc":"2.0","method":"rustDocument/diagnosticsEnd","params":null}
lsp--stdio-send-sync: Content-Length: 207
{"jsonrpc":"2.0","method":"textDocument/completion","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs"},"position":{"line":29,"character":13}},"id":5}
Output from language server: {"jsonrpc":"2.0","id":5,"result":[]}
lsp--stdio-send-sync: Content-Length: 207
{"jsonrpc":"2.0","method":"textDocument/completion","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs"},"position":{"line":29,"character":13}},"id":6}
Output from language server: {"jsonrpc":"2.0","id":6,"result":[]}
lsp--stdio-send-sync: Content-Length: 207
{"jsonrpc":"2.0","method":"textDocument/completion","params":{"textDocument":{"uri":"file:///home/VKM/thomson/Source/thomson/snap-to-road-realdata/src/main.rs"},"position":{"line":29,"character":13}},"id":7}
Output from language server: {"jsonrpc":"2.0","id":7,"result":[]}
completion--some: Wrong type argument: hash-table-p, nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment