Open yoranns opened 1 year ago
might be empty project or issue in the recipe file, or just outdated serve-d version.
You can update to the preview serve-d version by setting d.releaseChannel to nightly inside your vscode user settings (Ctrl-,) and then reload the window. code-d will then follow up with automatically downloading the latest pre-compiled nightly release.
If that still doesn't work, can you share your project (at least dub.json/dub.sdl) here?
Hi WebFreak, I already do all this. My version of serve-d was 'stable' and I change to 'nightly'. I tried to change my recipe file in json/sdl, but no success.
If you think is necessary, I can open my github repo to you.
See below the 'dub.json' and 'dub.selections.json':
{
"authors": [
"Mike Yoranns"
],
"copyright": "Copyright © 2022, Mike Yoranns",
"dependencies": {
"mysql-lited": "~>0.4.9",
"vibe-d": "~>0.9.5"
},
"description": "A system for medical care management.",
"license": "proprietary",
"name": "clin-data"
}
{
"fileVersion": 1,
"versions": {
"diet-ng": "1.8.1",
"eventcore": "0.9.21",
"libasync": "0.8.6",
"memutils": "1.0.4",
"mir-linux-kernel": "1.0.1",
"mysql-lited": "0.4.9",
"openssl": "3.2.2",
"stdx-allocator": "2.77.5",
"taggedalgebraic": "0.11.22",
"vibe-core": "1.22.5",
"vibe-d": "0.9.5"
}
}
hm yes I can't see anything immediately wrong with this recipe. Could you open up the repository to me?
Just opened! Invite sent. Sorry, most of the code is in Brazilian Portuguese.
ok with your project I can still not reproduce your issue on my linux machine.
What OS / distro are you on?
What does dmd --version
report?
Do you have some special characters in your path name?
I'm using
Linux Pop!_OS 22.04
This is the return of dmd --version
:
DMD64 D Compiler v2.101.1 Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved written by Walter Bright
My local path:
/home/yoranns/DlangProjects/clin-data
what does ~/.local/share/code-d/bin/serve-d --version
print?
Prints this:
serve-d standalone v0.8.0-beta.10
Included features: "d", "workspaces"
Built: Sat Jan 7 02:42:48 2023
with compiler LDC v2.100 on linux x86_64
dub, dfmt and dscanner are bundled within (compiled in)
dub --version
:
DUB version 1.30.0, built on Dec 15 2022
ok can you try manually building serve-d?
git clone https://github.com/Pure-D/serve-d.git
cd serve-d
dub build
This needs about 8GB of free RAM
Then go into your user settings and change d.servedPath to /path/to/serve-d/serve-d
(note the /serve-d/serve-d
at the end, because both the folder and the executable are called "serve-d")
Then reload the window and send the output log from there, because there are gonna be lines of code in the stacktrace.
Done:
2023-01-08T18:24:20.532 [info] app.d:148:main Setting language to pt
2023-01-08T18:24:20.532 [trace] app.d:162:main Features fulfilled
2023-01-08T18:24:20.532 [trace] app.d:171:main Interactive HTTP downloads handled via editor
2023-01-08T18:24:20.532 [trace] app.d:177:main Auto-implement interface supports snippets
2023-01-08T18:24:20.532 [trace] app.d:183:main Context snippets handled by serve-d
2023-01-08T18:24:20.532 [trace] app.d:201:main Using `$current` in build tasks
serve-d standalone v0.8.0-beta.10
Included features: "d", "workspaces"
Built: Sun Jan 8 18:18:38 2023
with compiler Digital Mars D v2.101 on linux x86_64
dub, dfmt and dscanner are bundled within (compiled in)
2023-01-08T18:24:20.532 [trace] serverbase.d:452:run Started reading from stdin
2023-01-08T18:24:20.532 [trace] serverbase.d:456:run RPC started
2023-01-08T18:24:20.553 [trace] serverbase.d:114:processRequest Initializing
2023-01-08T18:24:20.553 [trace] extension.d:232:initialize initialize params:
2023-01-08T18:24:20.553 [trace] extension.d:233:initialize processId: 141
2023-01-08T18:24:20.553 [trace] extension.d:233:initialize rootPath?: /home/yoranns/DlangProjects/clin-data
2023-01-08T18:24:20.553 [trace] extension.d:233:initialize rootUri: file:///home/yoranns/DlangProjects/clin-data
2023-01-08T18:24:20.553 [trace] extension.d:233:initialize initializationOptions?: <null>
2023-01-08T18:24:20.553 [trace] extension.d:233:initialize capabilities:
2023-01-08T18:24:20.553 [trace] extension.d:233:initialize workspace?:
2023-01-08T18:24:20.553 [trace] extension.d:233:initialize applyEdit?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize workspaceEdit?:
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize documentChanges?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize resourceOperations?: [create, rename, delete_]
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize failureHandling?: textOnlyTransactional
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize normalizesLineEndings?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize changeAnnotationSupport?:
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize groupsOnLabel?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize didChangeConfiguration?:
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize didChangeWatchedFiles?:
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize symbol?:
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize executeCommand?:
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize workspaceFolders?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize configuration?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize semanticTokens?:
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize refreshSupport?: true
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize codeLens?:
2023-01-08T18:24:20.554 [trace] extension.d:233:initialize refreshSupport?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize fileOperations?:
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize didCreate?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize willCreate?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize didRename?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize willRename?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize didDelete?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize willDelete?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize textDocument?:
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize synchronization?:
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize willSave?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize willSaveWaitUntil?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize didSave?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize completion?:
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize completionItem?:
2023-01-08T18:24:20.555 [trace] extension.d:233:initialize snippetSupport?: true
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize commitCharactersSupport?: true
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize documentationFormat?: [markdown, plaintext]
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize deprecatedSupport?: true
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize preselectSupport?: true
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize tagSupport?:
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize valueSet: [deprecated_]
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize insertReplaceSupport?: true
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize resolveSupport?:
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize properties: ["documentation", "detail", "additionalTextEdits"]
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize insertTextModeSupport?:
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize valueSet: [asIs, adjustIndentation]
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize labelDetailsSupport?: true
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize completionItemKind?:
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize valueSet?: [text, method, function_, constructor, field, variable, class_, interface_, module_, property, unit, value, enum_, keyword, snippet, color, file, reference, folder, enumMember, constant, struct_, event, operator, typeParameter]
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize contextSupport?: true
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize hover?:
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.556 [trace] extension.d:233:initialize contentFormat?: [markdown, plaintext]
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize signatureHelp?:
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize signatureInformation?:
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize documentationFormat?: [markdown, plaintext]
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize parameterInformation?:
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize labelOffsetSupport?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize activeParameterSupport?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize contextSupport?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize declaration?:
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize linkSupport?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize definition?:
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize linkSupport?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize typeDefinition?:
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize linkSupport?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize implementation?:
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.557 [trace] extension.d:233:initialize linkSupport?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize references?:
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize documentHighlight?:
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize documentSymbol?:
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize symbolKind?:
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize valueSet?: [file, module_, namespace, package_, class_, method, property, field, constructor, enum_, interface_, function_, variable, constant, string, number, boolean, array, object, key, null_, enumMember, struct_, event, operator, typeParameter]
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize hierarchicalDocumentSymbolSupport?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize tagSupport?:
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize valueSet: [deprecated_]
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize labelSupport?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize codeAction?:
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize codeActionLiteralSupport?:
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize codeActionKind:
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize valueSet: [empty, quickfix, refactor, refactorExtract, refactorInline, refactorRewrite, source, sourceOrganizeImports]
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize isPreferredSupport?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize disabledSupport?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize dataSupport?: true
2023-01-08T18:24:20.558 [trace] extension.d:233:initialize resolveSupport?:
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize properties: ["edit"]
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize honorsChangeAnnotations?: false
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize codeLens?:
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize documentLink?:
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize tooltipSupport?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize colorProvider?:
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize formatting?:
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize rangeFormatting?:
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize onTypeFormatting?:
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize rename?:
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize prepareSupport?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize prepareSupportDefaultBehavior?: identifier
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize honorsChangeAnnotations?: true
2023-01-08T18:24:20.559 [trace] extension.d:233:initialize publishDiagnostics?:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize relatedInformation?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize tagSupport?:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize valueSet: [unnecessary, deprecated_]
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize versionSupport?: false
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize codeDescriptionSupport?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize dataSupport?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize foldingRange?:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize rangeLimit?: 5000
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize lineFoldingOnly?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize selectionRange?:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize linkedEditingRange?:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize callHierarchy?:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize semanticTokens?:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize dynamicRegistration?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize requests:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize range?: true
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize full?:
2023-01-08T18:24:20.560 [trace] extension.d:233:initialize delta?: true
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize tokenTypes: ["namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator"]
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize tokenModifiers: ["declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary"]
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize formats: [relative]
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize overlappingTokenSupport?: false
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize multilineTokenSupport?: false
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize moniker?: <null>
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize window?:
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize workDoneProgress?: true
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize showMessage?:
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize messageActionItem?:
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize additionalPropertiesSupport?: true
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize showDocument?:
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize support: true
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize general?:
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize regularExpressions?:
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize engine: ECMAScript
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize version_?: ES2020
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize markdown?:
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize parser: marked
2023-01-08T18:24:20.561 [trace] extension.d:233:initialize version_?: 1.1.0
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize experimental?: <null>
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize trace?: off
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize workspaceFolders:
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize isSet: true
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize embed: [WorkspaceFolder("file:///home/yoranns/DlangProjects/clin-data", "clin-data")]
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize clientInfo?:
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize name: Visual Studio Code
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize version_?: 1.74.1
2023-01-08T18:24:20.562 [trace] extension.d:233:initialize locale?: pt-br
2023-01-08T18:24:20.562 [trace] serverbase.d:120:processRequest Initialized
2023-01-08T18:24:20.582 [trace] serverbase.d:359:__lambda3 Calling notification method setupConfig_Initialized
2023-01-08T18:24:20.582 [trace] async.d:85:setTimeout Setting timeout for 250 ms
2023-01-08T18:24:20.593 [trace] serverbase.d:359:__lambda3 Calling notification method didChangeConfiguration
2023-01-08T18:24:20.593 [trace] extension.d:60:changedConfig Config for file:///home/yoranns/DlangProjects/clin-data changed: Configuration(D(auto, "/home/yoranns/.local/share/code-d/bin/dcd-client", "/home/yoranns/.local/share/code-d/bin/dcd-server", "/home/yoranns/dlang/dmd-2.101.1/linux/bin64/dub", "/home/yoranns/dlang/dmd-2.101.1/linux/bin64/dmd", true, true, true, true, true, true, true, true, true, false, [], "", "", "", "/home/yoranns/dlang/dmd-2.101.1/linux/bin64/dmd", true, true, false, true, [], [], "ask", 4, "project", false, true), DFmt(true, "allman", true, true, false, true, true, "conditional_newline_indent", false, false, false, true, true), DScanner([]), Editor([], 4), Git(""))
2023-01-08T18:24:20.593 [trace] extension.d:348:doGlobalStartup Initializing serve-d for global access
2023-01-08T18:24:20.593 [trace] types.d:180:detectDcdPath using custom DCD provided from /home/yoranns/.local/share/code-d/bin/dcd-client
2023-01-08T18:24:20.593 [trace] types.d:180:detectDcdPath using custom DCD provided from /home/yoranns/.local/share/code-d/bin/dcd-server
2023-01-08T18:24:20.593 [trace] extension.d:361:doGlobalStartup Setup global configuration as ["dcd":Section(["serverPath":/home/yoranns/.local/share/code-d/bin/dcd-server, "port":9166, "clientPath":/home/yoranns/.local/share/code-d/bin/dcd-client]), "dmd":Section(["path":/home/yoranns/dlang/dmd-2.101.1/linux/bin64/dmd])]
2023-01-08T18:24:20.593 [trace] extension.d:365:doGlobalStartup Registering dub
2023-01-08T18:24:20.594 [trace] api.d:276:create Failed to create DubComponent on instance null: object.Exception@workspace-d/source/workspaced/com/dub.d(58): dub requires to be instanced
----------------
workspace-d/source/workspaced/com/dub.d:58 void workspaced.com.dub.DubComponent.load() [0x55b011ade5ca]
workspace-d/source/workspaced/api.d:231 void workspaced.com.dub.DubComponent.__mixin57.bind(workspaced.backend.WorkspaceD, workspaced.backend.WorkspaceD.Instance) [0x55b011ade547]
workspace-d/source/workspaced/api.d:268 nothrow workspaced.api.ComponentWrapper workspaced.api.DefaultComponentFactory!(workspaced.com.dub.DubComponent).DefaultComponentFactory.create(workspaced.backend.WorkspaceD, workspaced.backend.WorkspaceD.Instance, out Exception) [0x55b01177eadc]
source/served/backend/lazy_workspaced.d:193 void served.backend.lazy_workspaced.LazyWorkspaceD.onRegisterComponent(ref workspaced.api.ComponentFactory, bool) [0x55b01177ab2b]
workspace-d/source/workspaced/backend.d:561 workspaced.api.ComponentFactory workspaced.backend.WorkspaceD.register!(workspaced.com.dub.DubComponent).register(bool) [0x55b01177ea82]
source/served/extension.d:366 void served.extension.doGlobalStartup(served.types.Configuration) [0x55b0117af4ca]
source/served/extension.d:339 void served.extension.ensureStartedUp(served.types.Configuration) [0x55b0117af0ae]
source/served/extension.d:64 void served.extension.changedConfig(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration) [0x55b0117a99b9]
serverbase/source/served/utils/events.d:296 bool served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration).__lambda5!(immutable(char)[], void function(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration)*, ).__lambda5(immutable(char)[], void function(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration)*, ) [0x55b0118fd417]
serverbase/source/served/utils/events.d:357 bool served.types.lspRouter.eventProcessor.iterateExtensionMethodsByUDA!(served.utils.serverconfig.onConfigChanged, served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration).__lambda5, false).iterateExtensionMethodsByUDA() [0x55b0118fd24b]
serverbase/source/served/utils/events.d:295 bool served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration) [0x55b0118fd214]
serverbase/source/served/utils/serverconfig.d:322 void served.extension.__mixin68.processConfigChange(served.types.Configuration, bool) [0x55b0117ac6ac]
serverbase/source/served/utils/serverconfig.d:241 void served.extension.__mixin68.didChangeConfiguration(served.lsp.jsonops.RootJsonToken) [0x55b0117abe4d]
serverbase/source/served/utils/events.d:219 void served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4!(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).__lambda4(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).callSymbol() [0x55b0118c44ae]
serverbase/source/served/serverbase.d:362 void served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3!(immutable(char)[], void delegate(), served.utils.events.protocolNotification).__lambda3(immutable(char)[], void delegate(), served.utils.events.protocolNotification) [0x55b0118c42f1]
serverbase/source/served/utils/events.d:233 bool served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4!(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).__lambda4(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification) [0x55b0118c4453]
serverbase/source/served/utils/events.d:357 bool served.types.lspRouter.eventProcessor.iterateExtensionMethodsByUDA!(served.utils.events.protocolNotification, served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4, false).iterateExtensionMethodsByUDA() [0x55b0118c3b32]
serverbase/source/served/utils/events.d:204 bool served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]) [0x55b0118c3a86]
serverbase/source/served/serverbase.d:368 void served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw) [0x55b0117ebeb5]
serverbase/source/served/serverbase.d:412 void served.types.lspRouter.gotNotify(served.lsp.protocol.RequestMessageRaw).__lambda2() [0x55b0117ec32f]
??:? void core.thread.context.Callable.opCall() [0x55b011f420fc]
??:? fiber_entryPoint [0x55b011faa07f]
2023-01-08T18:24:20.632 [trace] extension.d:367:doGlobalStartup Registering fsworkspace
2023-01-08T18:24:20.633 [trace] api.d:276:create Failed to create FSWorkspaceComponent on instance null: object.Exception@workspace-d/source/workspaced/com/fsworkspace.d(14): fsworkspace requires to be instanced
----------------
workspace-d/source/workspaced/com/fsworkspace.d:14 void workspaced.com.fsworkspace.FSWorkspaceComponent.load() [0x55b011ae868a]
workspace-d/source/workspaced/api.d:231 void workspaced.com.fsworkspace.FSWorkspaceComponent.__mixin5.bind(workspaced.backend.WorkspaceD, workspaced.backend.WorkspaceD.Instance) [0x55b011ae8623]
workspace-d/source/workspaced/api.d:268 nothrow workspaced.api.ComponentWrapper workspaced.api.DefaultComponentFactory!(workspaced.com.fsworkspace.FSWorkspaceComponent).DefaultComponentFactory.create(workspaced.backend.WorkspaceD, workspaced.backend.WorkspaceD.Instance, out Exception) [0x55b01177ed10]
source/served/backend/lazy_workspaced.d:193 void served.backend.lazy_workspaced.LazyWorkspaceD.onRegisterComponent(ref workspaced.api.ComponentFactory, bool) [0x55b01177ab2b]
workspace-d/source/workspaced/backend.d:561 workspaced.api.ComponentFactory workspaced.backend.WorkspaceD.register!(workspaced.com.fsworkspace.FSWorkspaceComponent).register(bool) [0x55b01177ecba]
source/served/extension.d:368 void served.extension.doGlobalStartup(served.types.Configuration) [0x55b0117af4f1]
source/served/extension.d:339 void served.extension.ensureStartedUp(served.types.Configuration) [0x55b0117af0ae]
source/served/extension.d:64 void served.extension.changedConfig(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration) [0x55b0117a99b9]
serverbase/source/served/utils/events.d:296 bool served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration).__lambda5!(immutable(char)[], void function(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration)*, ).__lambda5(immutable(char)[], void function(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration)*, ) [0x55b0118fd417]
serverbase/source/served/utils/events.d:357 bool served.types.lspRouter.eventProcessor.iterateExtensionMethodsByUDA!(served.utils.serverconfig.onConfigChanged, served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration).__lambda5, false).iterateExtensionMethodsByUDA() [0x55b0118fd24b]
serverbase/source/served/utils/events.d:295 bool served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration) [0x55b0118fd214]
serverbase/source/served/utils/serverconfig.d:322 void served.extension.__mixin68.processConfigChange(served.types.Configuration, bool) [0x55b0117ac6ac]
serverbase/source/served/utils/serverconfig.d:241 void served.extension.__mixin68.didChangeConfiguration(served.lsp.jsonops.RootJsonToken) [0x55b0117abe4d]
serverbase/source/served/utils/events.d:219 void served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4!(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).__lambda4(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).callSymbol() [0x55b0118c44ae]
serverbase/source/served/serverbase.d:362 void served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3!(immutable(char)[], void delegate(), served.utils.events.protocolNotification).__lambda3(immutable(char)[], void delegate(), served.utils.events.protocolNotification) [0x55b0118c42f1]
serverbase/source/served/utils/events.d:233 bool served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4!(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).__lambda4(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification) [0x55b0118c4453]
serverbase/source/served/utils/events.d:357 bool served.types.lspRouter.eventProcessor.iterateExtensionMethodsByUDA!(served.utils.events.protocolNotification, served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4, false).iterateExtensionMethodsByUDA() [0x55b0118c3b32]
serverbase/source/served/utils/events.d:204 bool served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]) [0x55b0118c3a86]
serverbase/source/served/serverbase.d:368 void served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw) [0x55b0117ebeb5]
serverbase/source/served/serverbase.d:412 void served.types.lspRouter.gotNotify(served.lsp.protocol.RequestMessageRaw).__lambda2() [0x55b0117ec32f]
??:? void core.thread.context.Callable.opCall() [0x55b011f420fc]
??:? fiber_entryPoint [0x55b011faa07f]
2023-01-08T18:24:20.672 [trace] extension.d:369:doGlobalStartup Registering dcd
2023-01-08T18:24:20.697 [trace] dcd.d:68:reloadBinaries Detected dcd-server (/home/yoranns/.local/share/code-d/bin/dcd-server) v0.15.0
2023-01-08T18:24:20.697 [trace] dcd.d:73:reloadBinaries Using dcd-client instead of internal workspace-d client
2023-01-08T18:24:20.718 [trace] dcd.d:77:reloadBinaries Detected dcd-client (/home/yoranns/.local/share/code-d/bin/dcd-client) v0.15.0
2023-01-08T18:24:20.718 [trace] extension.d:371:doGlobalStartup Registering dcdext
2023-01-08T18:24:20.718 [trace] extension.d:373:doGlobalStartup Registering dmd
2023-01-08T18:24:20.718 [trace] extension.d:375:doGlobalStartup Starting dscanner
2023-01-08T18:24:20.718 [trace] extension.d:377:doGlobalStartup Starting dfmt
2023-01-08T18:24:20.719 [trace] extension.d:379:doGlobalStartup Starting dlangui
2023-01-08T18:24:20.719 [trace] extension.d:381:doGlobalStartup Starting importer
2023-01-08T18:24:20.719 [trace] extension.d:383:doGlobalStartup Starting moduleman
2023-01-08T18:24:20.719 [trace] extension.d:385:doGlobalStartup Starting snippets
2023-01-08T18:24:20.720 [trace] extension.d:512:doStartup Initializing serve-d for file:///home/yoranns/DlangProjects/clin-data
2023-01-08T18:24:20.727 [info] extension.d:498:rootsForProject Root Suggestions: [RootSuggestion("/home/yoranns/DlangProjects/clin-data", true)]
2023-01-08T18:24:20.727 [info] extension.d:530:doStartup registering instance for root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true)
2023-01-08T18:24:20.727 [trace] types.d:180:detectDcdPath using custom DCD provided from /home/yoranns/.local/share/code-d/bin/dcd-client
2023-01-08T18:24:20.727 [trace] types.d:180:detectDcdPath using custom DCD provided from /home/yoranns/.local/share/code-d/bin/dcd-server
2023-01-08T18:24:20.727 [trace] types.d:417:activeInstance Setting active instance to /home/yoranns/DlangProjects/clin-data.
2023-01-08T18:24:20.727 [trace] profilegc.d:80:update File Exception processing profilegc: /home/yoranns/DlangProjects/clin-data/profilegc.log: No such file or directory
2023-01-08T18:24:20.727 [trace] extension.d:566:doStartup Starting auto completion service...
2023-01-08T18:24:20.727 [trace] extension.d:577:doStartup Started all completion servers in 21 μs and 4 hnsecs
2023-01-08T18:24:20.727 [trace] lazy_workspaced.d:134:accessCheck attaching cwd /home/yoranns/DlangProjects/clin-data
2023-01-08T18:24:20.727 [info] extension.d:620:delayedProjectActivation Initializing instance for root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true)
2023-01-08T18:24:20.727 [trace] extension.d:631:delayedProjectActivation Starting dub...
2023-01-08T18:24:20.900 [error] extension.d:654:delayedProjectActivation Exception starting dub: object.Exception@workspace-d/source/workspaced/com/dub.d(255): Cannot use dub with invalid configuration
----------------
workspace-d/source/workspaced/com/dub.d:255 const void workspaced.com.dub.DubComponent.validateConfiguration() [0x55b011adf90d]
source/served/extension.d:643 void served.extension.delayedProjectActivation(workspaced.backend.WorkspaceD.Instance, immutable(char)[], immutable(char)[], served.extension.RootSuggestion) [0x55b0117b1602]
source/served/extension.d:555 void served.extension.doStartup(immutable(char)[], served.types.Configuration).lazyLoadCallback(workspaced.backend.WorkspaceD.Instance, immutable(char)[], immutable(char)[], served.extension.RootSuggestion).__lambda5() [0x55b0117b109a]
source/served/backend/lazy_workspaced.d:137 const void served.backend.lazy_workspaced.LazyWorkspaceD.LazyInstance.accessCheck() [0x55b01177a800]
source/served/backend/lazy_workspaced.d:79 const nothrow bool served.backend.lazy_workspaced.LazyWorkspaceD.LazyInstance.checkHasComponent(workspaced.api.ComponentInfo) [0x55b01177a381]
workspace-d/source/workspaced/backend.d:265 const nothrow bool workspaced.backend.WorkspaceD.Instance.has!(workspaced.com.dub.DubComponent).has() [0x55b01177d989]
workspace-d/source/workspaced/backend.d:509 nothrow bool workspaced.backend.WorkspaceD.has!(workspaced.com.dub.DubComponent).has(immutable(char)[]) [0x55b01177db38]
source/served/extension.d:146 void served.extension.changedConfig(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration) [0x55b0117aa15c]
serverbase/source/served/utils/events.d:296 bool served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration).__lambda5!(immutable(char)[], void function(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration)*, ).__lambda5(immutable(char)[], void function(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration)*, ) [0x55b0118fd417]
serverbase/source/served/utils/events.d:357 bool served.types.lspRouter.eventProcessor.iterateExtensionMethodsByUDA!(served.utils.serverconfig.onConfigChanged, served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration).__lambda5, false).iterateExtensionMethodsByUDA() [0x55b0118fd24b]
serverbase/source/served/utils/events.d:295 bool served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration) [0x55b0118fd214]
serverbase/source/served/utils/serverconfig.d:322 void served.extension.__mixin68.processConfigChange(served.types.Configuration, bool) [0x55b0117ac6ac]
serverbase/source/served/utils/serverconfig.d:241 void served.extension.__mixin68.didChangeConfiguration(served.lsp.jsonops.RootJsonToken) [0x55b0117abe4d]
serverbase/source/served/utils/events.d:219 void served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4!(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).__lambda4(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).callSymbol() [0x55b0118c44ae]
serverbase/source/served/serverbase.d:362 void served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3!(immutable(char)[], void delegate(), served.utils.events.protocolNotification).__lambda3(immutable(char)[], void delegate(), served.utils.events.protocolNotification) [0x55b0118c42f1]
serverbase/source/served/utils/events.d:233 bool served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4!(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).__lambda4(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification) [0x55b0118c4453]
serverbase/source/served/utils/events.d:357 bool served.types.lspRouter.eventProcessor.iterateExtensionMethodsByUDA!(served.utils.events.protocolNotification, served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4, false).iterateExtensionMethodsByUDA() [0x55b0118c3b32]
serverbase/source/served/utils/events.d:204 bool served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]) [0x55b0118c3a86]
serverbase/source/served/serverbase.d:368 void served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw) [0x55b0117ebeb5]
serverbase/source/served/serverbase.d:412 void served.types.lspRouter.gotNotify(served.lsp.protocol.RequestMessageRaw).__lambda2() [0x55b0117ec32f]
??:? void core.thread.context.Callable.opCall() [0x55b011f420fc]
??:? fiber_entryPoint [0x55b011faa07f]
2023-01-08T18:24:20.940 [error] extension.d:662:delayedProjectActivation Failed starting dub in RootSuggestion("/home/yoranns/DlangProjects/clin-data", true) - falling back to fsworkspace
2023-01-08T18:24:20.940 [trace] extension.d:667:delayedProjectActivation Starting fsworkspace...
2023-01-08T18:24:20.941 [trace] extension.d:683:delayedProjectActivation Started files provider for root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true)
2023-01-08T18:24:20.941 [trace] extension.d:685:delayedProjectActivation Loaded Components for /home/yoranns/DlangProjects/clin-data: ["fsworkspace"]
2023-01-08T18:24:20.941 [info] extension.d:691:delayedProjectActivation Root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true) initialized in 213 ms, 228 μs, and 7 hnsecs
2023-01-08T18:24:20.941 [trace] extension.d:196:changedConfig Finished config change of file:///home/yoranns/DlangProjects/clin-data with 10 changes in 347 ms, 684 μs, and 5 hnsecs.
2023-01-08T18:24:20.951 [trace] async.d:44:parallelMain Calling timeout
2023-01-08T18:24:20.951 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:20.961 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:20.972 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:20.982 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:20.992 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:21.002 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:22.083 [trace] serverbase.d:359:__lambda3 Calling notification method onDidOpenDocument
2023-01-08T18:24:22.083 [error] jsonrpc.d:942:showErrorMessage Error message: Could not initialize dub for /home/yoranns/DlangProjects/clin-data. Falling back to limited functionality!
Cannot use dub with invalid configuration
File: source/served/extension.d:874
2023-01-08T18:24:22.083 [trace] async.d:85:setTimeout Setting timeout for 200 ms
2023-01-08T18:24:22.083 [trace] async.d:85:setTimeout Setting timeout for 50 ms
2023-01-08T18:24:22.083 [trace] serverbase.d:359:__lambda3 Calling notification method markRecentFileOpened
2023-01-08T18:24:22.093 [trace] serverbase.d:227:__lambda22 Calling request method provideDocumentSymbols
2023-01-08T18:24:22.093 [trace] lazy_workspaced.d:56:onBeforeAccessComponent Lazy loading component dscanner
2023-01-08T18:24:22.104 [trace] serverbase.d:227:__lambda22 Calling request method provideDocumentColor
2023-01-08T18:24:22.135 [trace] async.d:44:parallelMain Calling timeout
2023-01-08T18:24:22.175 [trace] serverbase.d:227:__lambda22 Calling request method provideCodeActions
2023-01-08T18:24:22.176 [trace] types.d:417:activeInstance Setting active instance to /home/yoranns/DlangProjects/clin-data.
2023-01-08T18:24:22.176 [trace] lazy_workspaced.d:56:onBeforeAccessComponent Lazy loading component dcd
2023-01-08T18:24:22.176 [trace] dcd.d:51:load Reusing previously identified DCD v0.15.0
2023-01-08T18:24:22.176 [trace] extension.d:764:startDCDServer Running DCD setup
2023-01-08T18:24:22.176 [trace] stdlib_detect.d:30:autoDetectStdlibPaths detecting dmd stdlib path from /home/yoranns/dlang/dmd-2.101.1/linux/bin64/dmd
2023-01-08T18:24:22.176 [trace] stdlib_detect.d:332:parseDmdConfImports test dmd conf /home/yoranns/dlang/dmd-2.101.1/linux/bin64/dmd.conf
2023-01-08T18:24:22.176 [trace] extension.d:769:startDCDServer startServer ["/home/yoranns/dlang/dmd-2.101.1/linux/bin64/../../src/phobos", "/home/yoranns/dlang/dmd-2.101.1/linux/bin64/../../src/druntime/import"]
2023-01-08T18:24:22.176 [trace] dcd.d:219:startServer Start dcd-server ["/home/yoranns/.local/share/code-d/bin/dcd-server", "--socketFile", "/tmp/workspace-d-sock241-VXKW0VIO9YR2"]
2023-01-08T18:24:22.214 [trace] dcd.d:226:startServer Server: 2023-01-08T18:24:22.214 [info] main.d:130:runServer Starting up...
2023-01-08T18:24:22.214 [trace] dcd.d:226:startServer Server: 2023-01-08T18:24:22.214 [info] main.d:164:runServer Listening at /tmp/workspace-d-sock241-VXKW0VIO9YR2
2023-01-08T18:24:22.214 [trace] dcd.d:226:startServer Server: 2023-01-08T18:24:22.214 [info] main.d:181:runServer Import directories:
2023-01-08T18:24:22.215 [trace] dcd.d:226:startServer Server: /home/yoranns/dlang/dmd-2.101.1/linux/bin64/../../src/phobos
2023-01-08T18:24:22.215 [trace] dcd.d:226:startServer Server: /home/yoranns/dlang/dmd-2.101.1/linux/bin64/../../src/druntime/import
2023-01-08T18:24:22.215 [trace] dcd.d:226:startServer Server: 2023-01-08T18:24:22.214 [info] main.d:187:runServer 0 symbols cached.
2023-01-08T18:24:22.215 [trace] dcd.d:226:startServer Server: 2023-01-08T18:24:22.214 [info] main.d:188:runServer Startup completed in 159 μs and 2 hnsecs
2023-01-08T18:24:22.215 [trace] extension.d:771:startDCDServer refreshImports
2023-01-08T18:24:22.254 [trace] dcd.d:246:__lambda18 Server: 2023-01-08T18:24:22.254 [info] main.d:305:runServer Returning import path list
2023-01-08T18:24:22.255 [trace] dcd.d:246:__lambda18 Server: 2023-01-08T18:24:22.254 [info] main.d:242:runServer Request processed in 109 μs and 3 hnsecs
2023-01-08T18:24:22.283 [trace] dcd.d:246:__lambda18 Server: 2023-01-08T18:24:22.283 [info] main.d:242:runServer Request processed in 21 μs and 6 hnsecs
2023-01-08T18:24:22.283 [info] extension.d:782:startDCDServer Imports for /home/yoranns/DlangProjects/clin-data: ["/home/yoranns/DlangProjects/clin-data", "/home/yoranns/DlangProjects/clin-data/source"]
2023-01-08T18:24:22.293 [trace] async.d:44:parallelMain Calling timeout
2023-01-08T18:24:22.293 [trace] types.d:417:activeInstance Setting active instance to /home/yoranns/DlangProjects/clin-data.
2023-01-08T18:24:22.294 [warning] first.d:371:visit Could not locate object.d or object.di
2023-01-08T18:24:22.294 [warning] first.d:468:visit Could not resolve location of module 'vibe/d'
2023-01-08T18:24:22.294 [warning] first.d:468:visit Could not resolve location of module 'mysql'
2023-01-08T18:24:22.295 [warning] first.d:468:visit Could not resolve location of module 'model/usuario'
2023-01-08T18:24:22.295 [warning] first.d:468:visit Could not resolve location of module 'std/uuid'
2023-01-08T18:24:22.295 [warning] first.d:468:visit Could not resolve location of module 'std/file'
2023-01-08T18:24:22.295 [warning] first.d:547:visit Could not resolve location of module 'immutable(istring)("std/stdio")'
2023-01-08T18:24:22.587 [trace] serverbase.d:227:__lambda22 Calling request method provideCodeActions
2023-01-08T18:24:22.587 [trace] types.d:417:activeInstance Setting active instance to /home/yoranns/DlangProjects/clin-data.
2023-01-08T18:24:22.770 [trace] serverbase.d:227:__lambda22 Calling request method provideCodeLens
2023-01-08T18:24:22.770 [trace] serverbase.d:227:__lambda22 Calling request method provideProfileGCCodeLens
2023-01-08T18:24:22.780 [trace] serverbase.d:176:__lambda3 Partial 2 / 2... (no support)
2023-01-08T18:24:22.780 [trace] serverbase.d:178:__lambda3 Partial 2 = [CodeLens([Position(1, 0), Position(1, 0)], void, ["type": importcompilecheck, "module": vibe.d, "file": /home/yoranns/DlangProjects/clin-data/source/ctrl/login.d, "code": import vibe.d;]), CodeLens([Position(2, 0), Position(2, 0)], void, ["type": importcompilecheck, "module": mysql, "file": /home/yoranns/DlangProjects/clin-data/source/ctrl/login.d, "code": import mysql;]), CodeLens([Position(4, 0), Position(4, 0)], void, ["type": importcompilecheck, "module": model.usuario, "file": /home/yoranns/DlangProjects/clin-data/source/ctrl/login.d, "code": import model.usuario;]), CodeLens([Position(6, 0), Position(6, 0)], void, ["type": importcompilecheck, "module": std.uuid, "file": /home/yoranns/DlangProjects/clin-data/source/ctrl/login.d, "code": import std.uuid;]), CodeLens([Position(7, 0), Position(7, 0)], void, ["type": importcompilecheck, "module": std.file, "file": /home/yoranns/DlangProjects/clin-data/source/ctrl/login.d, "code": import std.file;]), CodeLens([Position(67, 8), Position(67, 8)], void, ["type": importcompilecheck, "module": std.stdio, "file": /home/yoranns/DlangProjects/clin-data/source/ctrl/login.d, "code": import std.stdio : writeln;])]
2023-01-08T18:24:22.780 [trace] serverbase.d:176:__lambda3 Partial 1 / 2... (no support)
2023-01-08T18:24:22.781 [trace] serverbase.d:178:__lambda3 Partial 1 = []
2023-01-08T18:24:23.480 [trace] serverbase.d:227:__lambda22 Calling request method resolveCodeLens
2023-01-08T18:24:23.480 [trace] lazy_workspaced.d:56:onBeforeAccessComponent Lazy loading component dmd
2023-01-08T18:24:23.555 [trace] serverbase.d:227:__lambda22 Calling request method resolveCodeLens
2023-01-08T18:24:23.595 [trace] serverbase.d:227:__lambda22 Calling request method resolveCodeLens
2023-01-08T18:24:23.633 [trace] serverbase.d:227:__lambda22 Calling request method resolveCodeLens
2023-01-08T18:24:24.537 [trace] serverbase.d:227:__lambda22 Calling request method resolveCodeLens
2023-01-08T18:24:50.548 [trace] serverbase.d:496:collectGC GC run in 6 ms, 494 μs, and 5 hnsecs. Freed 4202640 bytes (1871200 bytes allocated, 10711712 bytes available)
Relevant area:
2023-01-08T18:24:20.900 [error] extension.d:654:delayedProjectActivation Exception starting dub: object.Exception@workspace-d/source/workspaced/com/dub.d(255): Cannot use dub with invalid configuration
----------------
workspace-d/source/workspaced/com/dub.d:255 const void workspaced.com.dub.DubComponent.validateConfiguration() [0x55b011adf90d]
source/served/extension.d:643 void served.extension.delayedProjectActivation(workspaced.backend.WorkspaceD.Instance, immutable(char)[], immutable(char)[], served.extension.RootSuggestion) [0x55b0117b1602]
source/served/extension.d:555 void served.extension.doStartup(immutable(char)[], served.types.Configuration).lazyLoadCallback(workspaced.backend.WorkspaceD.Instance, immutable(char)[], immutable(char)[], served.extension.RootSuggestion).__lambda5() [0x55b0117b109a]
source/served/backend/lazy_workspaced.d:137 const void served.backend.lazy_workspaced.LazyWorkspaceD.LazyInstance.accessCheck() [0x55b01177a800]
source/served/backend/lazy_workspaced.d:79 const nothrow bool served.backend.lazy_workspaced.LazyWorkspaceD.LazyInstance.checkHasComponent(workspaced.api.ComponentInfo) [0x55b01177a381]
workspace-d/source/workspaced/backend.d:265 const nothrow bool workspaced.backend.WorkspaceD.Instance.has!(workspaced.com.dub.DubComponent).has() [0x55b01177d989]
workspace-d/source/workspaced/backend.d:509 nothrow bool workspaced.backend.WorkspaceD.has!(workspaced.com.dub.DubComponent).has(immutable(char)[]) [0x55b01177db38]
source/served/extension.d:146 void served.extension.changedConfig(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration) [0x55b0117aa15c]
serverbase/source/served/utils/events.d:296 bool served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration).__lambda5!(immutable(char)[], void function(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration)*, ).__lambda5(immutable(char)[], void function(served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration)*, ) [0x55b0118fd417]
serverbase/source/served/utils/events.d:357 bool served.types.lspRouter.eventProcessor.iterateExtensionMethodsByUDA!(served.utils.serverconfig.onConfigChanged, served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration).__lambda5, false).iterateExtensionMethodsByUDA() [0x55b0118fd24b]
serverbase/source/served/utils/events.d:295 bool served.types.lspRouter.eventProcessor.emitExtensionEvent!(served.utils.serverconfig.onConfigChanged, served.utils.serverconfig.ConfigWorkspace, immutable(char)[][], served.types.Configuration).emitExtensionEvent(served.utils.serverconfig.ConfigWorkspace, ref immutable(char)[][], ref served.types.Configuration) [0x55b0118fd214]
serverbase/source/served/utils/serverconfig.d:322 void served.extension.__mixin68.processConfigChange(served.types.Configuration, bool) [0x55b0117ac6ac]
serverbase/source/served/utils/serverconfig.d:241 void served.extension.__mixin68.didChangeConfiguration(served.lsp.jsonops.RootJsonToken) [0x55b0117abe4d]
serverbase/source/served/utils/events.d:219 void served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4!(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).__lambda4(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).callSymbol() [0x55b0118c44ae]
serverbase/source/served/serverbase.d:362 void served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3!(immutable(char)[], void delegate(), served.utils.events.protocolNotification).__lambda3(immutable(char)[], void delegate(), served.utils.events.protocolNotification) [0x55b0118c42f1]
serverbase/source/served/utils/events.d:233 bool served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4!(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification).__lambda4(immutable(char)[], void function(served.lsp.jsonops.RootJsonToken)*, served.utils.events.protocolNotification) [0x55b0118c4453]
serverbase/source/served/utils/events.d:357 bool served.types.lspRouter.eventProcessor.iterateExtensionMethodsByUDA!(served.utils.events.protocolNotification, served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]).__lambda4, false).iterateExtensionMethodsByUDA() [0x55b0118c3b32]
serverbase/source/served/utils/events.d:204 bool served.types.lspRouter.eventProcessor.emitProtocol!(served.utils.events.protocolNotification, served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw).__lambda3, false).emitProtocol(immutable(char)[], immutable(char)[]) [0x55b0118c3a86]
serverbase/source/served/serverbase.d:368 void served.types.lspRouter.processNotify(served.lsp.protocol.RequestMessageRaw) [0x55b0117ebeb5]
serverbase/source/served/serverbase.d:412 void served.types.lspRouter.gotNotify(served.lsp.protocol.RequestMessageRaw).__lambda2() [0x55b0117ec32f]
??:? void core.thread.context.Callable.opCall() [0x55b011f420fc]
??:? fiber_entryPoint [0x55b011faa07f]
2023-01-08T18:24:20.940 [error] extension.d:662:delayedProjectActivation Failed starting dub in RootSuggestion("/home/yoranns/DlangProjects/clin-data", true) - falling back to fsworkspace
2023-01-08T18:24:20.940 [trace] extension.d:667:delayedProjectActivation Starting fsworkspace...
2023-01-08T18:24:20.941 [trace] extension.d:683:delayedProjectActivation Started files provider for root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true)
2023-01-08T18:24:20.941 [trace] extension.d:685:delayedProjectActivation Loaded Components for /home/yoranns/DlangProjects/clin-data: ["fsworkspace"]
2023-01-08T18:24:20.941 [info] extension.d:691:delayedProjectActivation Root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true) initialized in 213 ms, 228 μs, and 7 hnsecs
2023-01-08T18:24:20.941 [trace] extension.d:196:changedConfig Finished config change of file:///home/yoranns/DlangProjects/clin-data with 10 changes in 347 ms, 684 μs, and 5 hnsecs.
2023-01-08T18:24:20.951 [trace] async.d:44:parallelMain Calling timeout
2023-01-08T18:24:20.951 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:20.961 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:20.972 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:20.982 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:20.992 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:21.002 [trace] serverbase.d:227:__lambda22 Calling request method addDependencySnippet
2023-01-08T18:24:22.083 [trace] serverbase.d:359:__lambda3 Calling notification method onDidOpenDocument
2023-01-08T18:24:22.083 [error] jsonrpc.d:942:showErrorMessage Error message: Could not initialize dub for /home/yoranns/DlangProjects/clin-data. Falling back to limited functionality!
Hi ddevs, i got this error starting code-d & serve-d:
2023-01-07T16:57:21.049 [info] app.d:148:main Setting language to pt serve-d standalone v0.8.0-beta.10 Included features: "d", "workspaces" Built: Sat Jan 7 02:42:48 2023 with compiler LDC v2.100 on linux x86_64 dub, dfmt and dscanner are bundled within (compiled in) 2023-01-07T16:57:21.181 [info] extension.d:498:rootsForProject Root Suggestions: [RootSuggestion("/home/yoranns/DlangProjects/clin-data", true)] 2023-01-07T16:57:21.181 [info] extension.d:530:doStartup registering instance for root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true) 2023-01-07T16:57:21.182 [info] extension.d:620:delayedProjectActivation Initializing instance for root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true) 2023-01-07T16:57:21.269 [error] extension.d:654:delayedProjectActivation Exception starting dub: object.Exception@workspace-d/source/workspaced/com/dub.d(255): Cannot use dub with invalid configuration
??:? [0x5606019c6a06] ??:? [0x5606019c82a6] ??:? [0x5606019a96df] ??:? [0x5606016cd4db] ??:? [0x560601508716] ??:? [0x560601507ff0] ??:? [0x5606015278c5] ??:? [0x560601527c09] ??:? [0x5606014b25df] ??:? [0x5606015018bc] ??:? [0x5606014970a9] ??:? [0x560601496d93] ??:? [0x560601496b17] ??:? [0x560601495e1c] ??:? [0x5606014263fa] ??:? [0x560601426c70] ??:? [0x5606019a1fea] 2023-01-07T16:57:21.270 [error] extension.d:662:delayedProjectActivation Failed starting dub in RootSuggestion("/home/yoranns/DlangProjects/clin-data", true) - falling back to fsworkspace 2023-01-07T16:57:21.270 [info] extension.d:691:delayedProjectActivation Root RootSuggestion("/home/yoranns/DlangProjects/clin-data", true) initialized in 87 ms, 833 μs, and 9 hnsecs 2023-01-07T16:57:21.280 [error] jsonrpc.d:942:showErrorMessage Error message: Could not initialize dub for /home/yoranns/DlangProjects/clin-data. Falling back to limited functionality!
Cannot use dub with invalid configuration
What could be?