Guest User

Untitled

a guest
Jan 9th, 2018
669
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.42 KB | None | 0 0
  1. DEBUG:rls::server: Language Server starting up. Version: 0.124.0-nightly (9782aa4 2017-12-15)
  2. TRACE:rls::server::io: reading: 422 bytes
  3. TRACE:rls::server: Read message `{"jsonrpc":"2.0","method":"initialize","params":{"processId":5998,"rootPath":"/home/skeleten/Source/skeleten/rusty-lisp/","rootUri":"file:///home/skeleten/Source/skeleten/rusty-lisp/","capabilities":{"workspace":{"executeCommand":{"dynamicRegistration":true}},"textDocument":{"synchronization":{"willSave":true,"didSave":true},"completion":{"completionItem":{"snippetSupport":true}}}},"initializationOptions":null},"id":1}`
  4. TRACE:rls::server: Parsed message `RawMessage { method: "initialize", id: Some(Num(1)), params: Object({"capabilities": Object({"textDocument": Object({"completion": Object({"completionItem": Object({"snippetSupport": Bool(true)})}), "synchronization": Object({"didSave": Bool(true), "willSave": Bool(true)})}), "workspace": Object({"executeCommand": Object({"dynamicRegistration": Bool(true)})})}), "initializationOptions": Null, "processId": Number(PosInt(5998)), "rootPath": String("/home/skeleten/Source/skeleten/rusty-lisp/"), "rootUri": String("file:///home/skeleten/Source/skeleten/rusty-lisp/")}) }`
  5. TRACE:rls::server: Handling `initialize`
  6. TRACE:rls::server: init: InitializationOptions { omit_init_build: false }
  7. TRACE:rls::server::io: response: "Content-Length: 520\r\n\r\n{\"jsonrpc\":\"2.0\",\"id\":1,\"result\":{\"capabilities\":{\"textDocumentSync\":2,\"hoverProvider\":true,\"completionProvider\":{\"resolveProvider\":true,\"triggerCharacters\":[\".\",\":\"]},\"definitionProvider\":true,\"referencesProvider\":true,\"documentHighlightProvider\":true,\"documentSymbolProvider\":true,\"workspaceSymbolProvider\":true,\"codeActionProvider\":true,\"documentFormattingProvider\":true,\"documentRangeFormattingProvider\":false,\"renameProvider\":true,\"executeCommandProvider\":{\"commands\":[\"rls.applySuggestion\",\"rls.deglobImports\"]}}}}"
  8. TRACE:rls::server::io: response: "Content-Length: 66\r\n\r\n{\"jsonrpc\":\"2.0\",\"method\":\"rustDocument/beginBuild\",\"params\":null}"
  9. TRACE:rls::build: request_build Cargo
  10. TRACE:rls::build: run_build, "/home/skeleten/Source/skeleten/rusty-lisp/" Cargo
  11. TRACE:rls::build: running build
  12. TRACE:rls::config: root manifest_path: "/home/skeleten/Source/skeleten/rusty-lisp/Cargo.toml"
  13. TRACE:rls::config: infer_config_defaults: Auto-detected `rusty-lisp` package
  14. TRACE:rls::config: infer_config_defaults: build_lib: false, build_bin: Some("rusty-lisp")
  15. TRACE:rls::build::cargo: root manifest_path: "/home/skeleten/Source/skeleten/rusty-lisp/Cargo.toml"
  16. TRACE:rls::build::cargo: Cargo compilation options:
  17. CargoOptions { package: [], target: None, lib: false, bin: ["rusty-lisp"], bins: false, all: false, exclude: [], all_features: false, no_default_features: false, features: [], jobs: None }
  18. TRACE:rls::server::io: reading: 54 bytes
  19. TRACE:rls::server: Read message `{"jsonrpc":"2.0","method":"initialized","params":null}`
  20. TRACE:rls::server: Parsed message `RawMessage { method: "initialized", id: None, params: Null }`
  21. TRACE:rls::server: Handling `initialized`
  22. TRACE:rls::server::io: response: "Content-Length: 342\r\n\r\n{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"client/registerCapability\",\"params\":{\"registrations\":[{\"id\":\"rls-watch\",\"method\":\"workspace/didChangeWatchedFiles\",\"registerOptions\":{\"watchers\":[{\"globPattern\":\"/home/skeleten/Source/skeleten/rusty-lisp//Cargo{.toml,.lock}\"},{\"globPattern\":\"/home/skeleten/Source/skeleten/rusty-lisp//target\",\"kind\":4}]}}]}}"
  23. TRACE:rls::server::io: reading: 95 bytes
  24. TRACE:rls::server: Read message `{"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"rust":{}}}}`
  25. TRACE:rls::server: Parsed message `RawMessage { method: "workspace/didChangeConfiguration", id: None, params: Object({"settings": Object({"rust": Object({})})}) }`
  26. TRACE:rls::server: Handling `workspace/didChangeConfiguration`
  27. TRACE:rls::actions::notifications: config change: Object({"rust": Object({})})
  28. TRACE:rls::actions::notifications: Updated config: Config { sysroot: None, target: None, rustflags: None, build_lib: Inferred(false), build_bin: Inferred(None), cfg_test: false, unstable_features: false, wait_to_build: 500, show_warnings: true, goto_def_racer_fallback: false, workspace_mode: false, analyze_package: None, clear_env_rust_log: true, build_on_save: false, use_crate_blacklist: true, target_dir: None, features: [], all_features: false, no_default_features: false, jobs: None }
  29. TRACE:rls::server::io: response: "Content-Length: 66\r\n\r\n{\"jsonrpc\":\"2.0\",\"method\":\"rustDocument/beginBuild\",\"params\":null}"
  30. TRACE:rls::build: request_build Cargo
  31. TRACE:rls::server::io: response: "Content-Length: 165\r\n\r\n{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"client/unregisterCapability\",\"params\":{\"unregisterations\":[{\"id\":\"rls-range-formatting\",\"method\":\"textDocument/rangeFormatting\"}]}}"
  32. TRACE:rls::server::io: reading: 492 bytes
  33. TRACE:rls::server: Read message `{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///home/skeleten/Source/skeleten/rusty-lisp/src/main.rs","languageId":"rust","version":0,"text":"mod lexer;\n\nuse std::io::{Read, Write};\n\nfn main() {\n let mut s = String::new();\n print!(\"> \");\n std::io::stdout().flush();\n std::io::stdin().read_line(&mut s).unwrap();\n let iter = lexer::lex(&s);\n let items = iter.collect::<Vec<_>>();\n println!(\"{:#?}\", items);\n}\n"}}}`
  34. TRACE:rls::server: Parsed message `RawMessage { method: "textDocument/didOpen", id: None, params: Object({"textDocument": Object({"languageId": String("rust"), "text": String("mod lexer;\n\nuse std::io::{Read, Write};\n\nfn main() {\n let mut s = String::new();\n print!(\"> \");\n std::io::stdout().flush();\n std::io::stdin().read_line(&mut s).unwrap();\n let iter = lexer::lex(&s);\n let items = iter.collect::<Vec<_>>();\n println!(\"{:#?}\", items);\n}\n"), "uri": String("file:///home/skeleten/Source/skeleten/rusty-lisp/src/main.rs"), "version": Number(PosInt(0))})}) }`
  35. TRACE:rls::server: Handling `textDocument/didOpen`
  36. TRACE:rls::actions::notifications: on_open: "file:///home/skeleten/Source/skeleten/rusty-lisp/src/main.rs"
  37. TRACE:rls::server::io: reading: 51 bytes
  38. TRACE:rls::server: Read message `{"jsonrpc":"2.0","id":1,"result":null,"error":null}`
  39. TRACE:rls::server::io: reading: 51 bytes
  40. TRACE:rls::server: Read message `{"jsonrpc":"2.0","id":2,"result":null,"error":null}`
  41. TRACE:rls::build::cargo: exec: rusty_lisp
  42. TRACE:rls::build::cargo: rustc intercepted - args: ["--crate-name", "rusty_lisp", "main.rs", "--color", "never", "--crate-type", "bin", "--emit=dep-info,metadata", "-C", "debuginfo=2", "-C", "metadata=0f2060deac6e9a33", "-C", "extra-filename=-0f2060deac6e9a33", "--out-dir", "/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps", "-L", "dependency=/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps", "--error-format=json"] envs: {"CARGO_PKG_VERSION_MINOR": Some("1"), "LD_LIBRARY_PATH": Some("/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps:/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu/lib"), "CARGO_PKG_AUTHORS": Some("Jan Pelle Thomson <pelle.thomson@yahoo.de>"), "CARGO_MANIFEST_DIR": Some("/home/skeleten/Source/skeleten/rusty-lisp"), "CARGO_PKG_VERSION_PATCH": Some("0"), "CARGO_PKG_VERSION_MAJOR": Some("0"), "CARGO_PKG_VERSION_PRE": Some(""), "CARGO": Some("/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu/bin/rls"), "CARGO_PKG_DESCRIPTION": Some(""), "CARGO_PKG_NAME": Some("rusty-lisp"), "CARGO_PKG_HOMEPAGE": Some(""), "CARGO_PKG_VERSION": Some("0.1.0")}
  43. {"message":"unused import: `Read`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"main.rs","byte_start":26,"byte_end":30,"line_start":3,"line_end":3,"column_start":15,"column_end":19,"is_primary":true,"text":[{"text":"use std::io::{Read, Write};","highlight_start":15,"highlight_end":19}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[{"message":"#[warn(unused_imports)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `Read`\n --> main.rs:3:15\n |\n3 | use std::io::{Read, Write};\n | ^^^^\n |\n = note: #[warn(unused_imports)] on by default\n\n"}
  44. TRACE:rls::build::cargo: Created build plan after Cargo compilation routine: Units: {(PackageId { name: "rusty-lisp", version: "0.1.0", source: "file:///home/skeleten/Source/skeleten/rusty-lisp" }, Bin): OwnedUnit { id: PackageId { name: "rusty-lisp", version: "0.1.0", source: "file:///home/skeleten/Source/skeleten/rusty-lisp" }, target: Target { kind: Bin, name: "rusty-lisp", src_path: "/home/skeleten/Source/skeleten/rusty-lisp/src/main.rs", required_features: None, tested: true, benched: true, doc: true, doctest: false, harness: true, for_host: false }, profile: Profile { opt_level: "0", lto: false, codegen_units: None, rustc_args: None, rustdoc_args: None, debuginfo: Some(2), debug_assertions: true, overflow_checks: true, rpath: false, test: false, doc: false, run_custom_build: false, check: true, panic: None }, kind: Host }}
  45. Dependency graph:
  46. (PackageId { name: "rusty-lisp", version: "0.1.0", source: "file:///home/skeleten/Source/skeleten/rusty-lisp" }, Bin)
  47. Reverse dependency graph:
  48. (PackageId { name: "rusty-lisp", version: "0.1.0", source: "file:///home/skeleten/Source/skeleten/rusty-lisp" }, Bin)
  49. Compiler jobs: {(PackageId { name: "rusty-lisp", version: "0.1.0", source: "file:///home/skeleten/Source/skeleten/rusty-lisp" }, Bin): ProcessBuilder { program: "/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu/bin/rls", args: ["--crate-name", "rusty_lisp", "main.rs", "--color", "never", "--crate-type", "bin", "--emit=dep-info", "-C", "debuginfo=2", "-C", "metadata=0f2060deac6e9a33", "-C", "extra-filename=-0f2060deac6e9a33", "--out-dir", "/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps", "-L", "dependency=/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps", "--error-format=json", "--sysroot", "/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu"], env: {"RLS_RUSTC_SHIM": Some("1"), "CARGO_PKG_VERSION_MINOR": Some("1"), "LD_LIBRARY_PATH": Some("/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps:/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu/lib"), "CARGO_PKG_AUTHORS": Some("Jan Pelle Thomson <pelle.thomson@yahoo.de>"), "CARGO_MANIFEST_DIR": Some("/home/skeleten/Source/skeleten/rusty-lisp"), "CARGO_PKG_VERSION_PATCH": Some("0"), "CARGO_PKG_VERSION_MAJOR": Some("0"), "CARGO_PKG_VERSION_PRE": Some(""), "CARGO": Some("/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu/bin/rls"), "CARGO_PKG_DESCRIPTION": Some(""), "CARGO_PKG_NAME": Some("rusty-lisp"), "CARGO_PKG_HOMEPAGE": Some(""), "CARGO_PKG_VERSION": Some("0.1.0")}, cwd: Some("/home/skeleten/Source/skeleten/rusty-lisp/src"), jobserver: Some(Client { inner: Client { read: File { fd: 4, path: "pipe:[436696]", read: true, write: false }, write: File { fd: 5, path: "pipe:[436696]", read: false, write: true } } }) }}
  50.  
  51. TRACE:rls::build::rustc: rustc - args: `["rustc", "--crate-name", "rusty_lisp", "main.rs", "--color", "never", "--crate-type", "bin", "--emit=dep-info,metadata", "-C", "debuginfo=2", "-C", "metadata=0f2060deac6e9a33", "-C", "extra-filename=-0f2060deac6e9a33", "--out-dir", "/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps", "-L", "dependency=/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps", "--error-format=json", "--sysroot", "/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu"]`, envs: {"CARGO_PKG_VERSION_MINOR": Some("1"), "LD_LIBRARY_PATH": Some("/home/skeleten/Source/skeleten/rusty-lisp/target/rls/debug/deps:/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu/lib"), "CARGO_PKG_AUTHORS": Some("Jan Pelle Thomson <pelle.thomson@yahoo.de>"), "CARGO_MANIFEST_DIR": Some("/home/skeleten/Source/skeleten/rusty-lisp"), "CARGO_PKG_VERSION_PATCH": Some("0"), "CARGO_PKG_VERSION_MAJOR": Some("0"), "CARGO_PKG_VERSION_PRE": Some(""), "CARGO": Some("/home/skeleten/.rustup/toolchains/nightly-2017-12-21-x86_64-unknown-linux-gnu/bin/rls"), "CARGO_PKG_DESCRIPTION": Some(""), "CARGO_PKG_NAME": Some("rusty-lisp"), "CARGO_PKG_HOMEPAGE": Some(""), "CARGO_PKG_VERSION": Some("0.1.0")}, build dir: "/home/skeleten/Source/skeleten/rusty-lisp/"
  52. fatal runtime error: allocator memory exhausted
  53.  
  54. Process lsp-rust stderr finished
Add Comment
Please, Sign In to add comment