Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: intellisense for CGO function or data type #43919

Open
linlinlinlin opened this issue Jan 26, 2021 · 5 comments
Open

x/tools/gopls: intellisense for CGO function or data type #43919

linlinlinlin opened this issue Jan 26, 2021 · 5 comments

Comments

@linlinlinlin
Copy link

@linlinlinlin linlinlinlin commented Jan 26, 2021

What version of Go are you using (go version)?

1.14.6

Does this issue reproduce with the latest release?

Write some CGO in Golang files.

圖片

What did you expect to see?

Should not show warning not declared by package C for C type or C exported function.

Not sure is it belong to gopls issue or others.

@gopherbot gopherbot added this to the Unreleased milestone Jan 26, 2021
@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Jan 26, 2021

/cc @heschik

@heschik
Copy link
Contributor

@heschik heschik commented Jan 26, 2021

Please follow the VS Code troubleshooting guide, and then upload a log of the problem, following the "Collect gopls information" section.

@linlinlinlin
Copy link
Author

@linlinlinlin linlinlinlin commented Jan 27, 2021

圖片

Logs from gopls(server)

[Trace - 11:10:33.273 AM] Sending request 'initialize - (0)'.
Params: {"processId":91441,"clientInfo":{"name":"vscode","version":"1.52.1"},"rootPath":"/Users/ggg_user/edge","rootUri":"file:///Users/ggg_user/edge","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true,"semanticTokens":{"refreshSupport":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","member","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}}}},"window":{"workDoneProgress":true}},"initializationOptions":{"usePlaceholders":true,"staticcheck":false,"completeUnimported":true,"buildFlags":["-tags=bruno"]},"trace":"off","workspaceFolders":[{"uri":"file:///Users/ggg_user/edge","name":"edge"},{"uri":"file:///Users/ggg_user/edge/go-practice","name":"go-practice"},{"uri":"file:///Users/ggg_user/mxio","name":"mxio"},{"uri":"file:///Users/ggg_user/cdm","name":"cdm"},{"uri":"file:///Users/ggg_user/git/burford","name":"burford"}]}


[Trace - 11:10:33.275 AM] Received response 'initialize - (0)' in 1ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["gopls.generate","gopls.fill_struct","gopls.regenerate_cgo","gopls.test","gopls.tidy","gopls.update_go_sum","gopls.undeclared_name","gopls.go_get_package","gopls.add_dependency","gopls.upgrade_dependency","gopls.remove_dependency","gopls.vendor","gopls.extract_variable","gopls.extract_function","gopls.gc_details","gopls.generate_gopls_mod"]},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"path\":\"golang.org/x/tools/gopls\",\"version\":\"v0.6.4\",\"sum\":\"h1:PO8rURGmi+QEKZ3pk+ZXJh51EFTVTSXqxzoRzrGSTJM=\",\"deps\":[{\"path\":\"github.com/BurntSushi/toml\",\"version\":\"v0.3.1\",\"sum\":\"h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\"},{\"path\":\"github.com/google/go-cmp\",\"version\":\"v0.5.4\",\"sum\":\"h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=\"},{\"path\":\"github.com/sergi/go-diff\",\"version\":\"v1.1.0\",\"sum\":\"h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\"},{\"path\":\"golang.org/x/mod\",\"version\":\"v0.4.0\",\"sum\":\"h1:8pl+sMODzuvGJkmj2W4kZihvVb5mKm8pB/X44PIQHv8=\"},{\"path\":\"golang.org/x/sync\",\"version\":\"v0.0.0-20201020160332-67f06af15bc9\",\"sum\":\"h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=\"},{\"path\":\"golang.org/x/sys\",\"version\":\"v0.0.0-20210119212857-b64e53b001e4\",\"sum\":\"h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k=\"},{\"path\":\"golang.org/x/tools\",\"version\":\"v0.1.1-0.20210119222907-0a1a9685734a\",\"sum\":\"h1:ttr/sghFptib3jlHwNS65KwGoqjr03TFzso3kpHyia8=\"},{\"path\":\"golang.org/x/xerrors\",\"version\":\"v0.0.0-20200804184101-5ec99f83aff1\",\"sum\":\"h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=\"},{\"path\":\"honnef.co/go/tools\",\"version\":\"v0.0.1-2020.1.6\",\"sum\":\"h1:W18jzjh8mfPez+AwGLxmOImucz/IFjpNlrKVnaj2YVc=\"},{\"path\":\"mvdan.cc/gofumpt\",\"version\":\"v0.1.0\",\"sum\":\"h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw=\"},{\"path\":\"mvdan.cc/xurls/v2\",\"version\":\"v2.2.0\",\"sum\":\"h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\"}]}"}}


[Trace - 11:10:33.336 AM] Sending notification 'initialized'.
Params: {}


[Trace - 11:10:33.337 AM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go","languageId":"go","version":1,"text":"package main\n\n/*\n#cgo LDFLAGS: /usr/local/lib/libmxio_x64.a\n#include <stdlib.h>\n#include <stdio.h>\n#include \"mxio2.h\"\n\n*/\nimport \"C\"\nimport (\n\t\"fmt\"\n)\n\nfunc main() {\n\t// Init\n\tret := C.MXEIO_Init()\n\tif ret == C.MXIO_OK {\n\t\tfmt.Println(\"MXEIO_Init Initiate succeed.\")\n\t}\n\n\tpwd := C.CString(\"\")\n\tvar connection C.int\n\tvar port C.ushort = 502\n\tfmt.Println(pwd)\n\tfmt.Println(connection)\n\tfmt.Println(port)\n}\n"}}


[Trace - 11:10:33.337 AM] Received request 'window/workDoneProgress/create - (1)'.
Params: {"token":"5577006791947779410"}


[Trace - 11:10:33.347 AM] Sending response 'window/workDoneProgress/create - (1)' in 10ms.
Result: 


[Trace - 11:10:33.347 AM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 11:10:33.348 AM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///Users/ggg_user/edge","section":"gopls"}]}


[Trace - 11:10:33.395 AM] Sending response 'workspace/configuration - (2)' in 47ms.
Result: [{"usePlaceholders":true,"staticcheck":false,"completeUnimported":true,"buildFlags":["-tags=bruno"]}]


[Trace - 11:10:33.582 AM] Received request 'window/workDoneProgress/create - (3)'.
Params: {"token":"8674665223082153551"}


[Trace - 11:10:33.582 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:33 go env for /Users/ggg_user/edge\n(root /Users/ggg_user/edge)\n(go version go version go1.15.7 darwin/amd64)\n(valid build configuration = false)\n(build flags: [-tags=bruno])\nGOCACHE=/Users/ggg_user/Library/Caches/go-build\nGONOSUMDB=\nGOMODCACHE=/Users/ggg_user/go/pkg/mod\nGOPRIVATE=\nGOROOT=/usr/local/Cellar/go/1.15.7/libexec\nGOINSECURE=\nGOMOD=\nGO111MODULE=\nGONOPROXY=\nGOPATH=/Users/ggg_user/go\nGOPROXY=https://proxy.golang.org,direct\nGOSUMDB=sum.golang.org\nGOFLAGS=\n\n"}


[Info  - 11:10:33 AM] 2021/01/27 11:10:33 go env for /Users/ggg_user/edge
(root /Users/ggg_user/edge)
(go version go version go1.15.7 darwin/amd64)
(valid build configuration = false)
(build flags: [-tags=bruno])
GOCACHE=/Users/ggg_user/Library/Caches/go-build
GONOSUMDB=
GOMODCACHE=/Users/ggg_user/go/pkg/mod
GOPRIVATE=
GOROOT=/usr/local/Cellar/go/1.15.7/libexec
GOINSECURE=
GOMOD=
GO111MODULE=
GONOPROXY=
GOPATH=/Users/ggg_user/go
GOPROXY=https://proxy.golang.org,direct
GOSUMDB=sum.golang.org
GOFLAGS=


[Trace - 11:10:33.595 AM] Sending response 'window/workDoneProgress/create - (3)' in 13ms.
Result: 


[Trace - 11:10:33.596 AM] Received notification '$/progress'.
Params: {"token":"8674665223082153551","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 11:10:33.597 AM] Received request 'workspace/configuration - (4)'.
Params: {"items":[{"scopeUri":"file:///Users/ggg_user/edge/go-practice","section":"gopls"}]}


[Trace - 11:10:33.603 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:33 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/edge\n\tquery=[./ builtin]\n\tpackages=2\n"}


[Trace - 11:10:33.604 AM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"end","message":"Finished loading packages."}}


[Info  - 11:10:33 AM] 2021/01/27 11:10:33 go/packages.Load
	snapshot=0
	directory=/Users/ggg_user/edge
	query=[./ builtin]
	packages=2

[Trace - 11:10:33.607 AM] Sending response 'workspace/configuration - (4)' in 10ms.
Result: [{"usePlaceholders":true,"staticcheck":false,"completeUnimported":true,"buildFlags":["-tags=bruno"]}]


[Trace - 11:10:33.634 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:33 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/edge\n\tquery=[./]\n\tpackages=1\n"}


[Info  - 11:10:33 AM] 2021/01/27 11:10:33 go/packages.Load
	snapshot=0
	directory=/Users/ggg_user/edge
	query=[./]
	packages=1

[Trace - 11:10:33.670 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:33 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/edge\n\tquery=[./]\n\tpackages=1\n"}


[Trace - 11:10:33.674 AM] Received request 'window/workDoneProgress/create - (5)'.
Params: {"token":"6129484611666145821"}


[Trace - 11:10:33.674 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:33 go env for /Users/ggg_user/edge/go-practice\n(root /Users/ggg_user/edge/go-practice)\n(go version go version go1.15.7 darwin/amd64)\n(valid build configuration = true)\n(build flags: [-tags=bruno])\nGOPROXY=https://proxy.golang.org,direct\nGONOSUMDB=\nGOPATH=/Users/ggg_user/go\nGOINSECURE=\nGOROOT=/usr/local/Cellar/go/1.15.7/libexec\nGOMODCACHE=/Users/ggg_user/go/pkg/mod\nGOSUMDB=sum.golang.org\nGOCACHE=/Users/ggg_user/Library/Caches/go-build\nGONOPROXY=\nGOPRIVATE=\nGO111MODULE=\nGOFLAGS=\nGOMOD=/Users/ggg_user/edge/go-practice/go.mod\n\n"}


[Trace - 11:10:33.695 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2021/01/27 11:10:33 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -tags=bruno -- builtin github.com/ggghuang/go-practice/...]: exit status 1: go: inconsistent vendoring in /Users/ggg_user/edge/go-practice:\n\tgithub.com/gin-contrib/sse@v0.1.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod\n\nrun 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory\n\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/edge/go-practice\n\tquery=[builtin github.com/ggghuang/go-practice/...]\n\tpackages=0\n"}


[Trace - 11:10:33.696 AM] Received notification '$/progress'.
Params: {"token":"8674665223082153551","value":{"kind":"end","message":"Finished loading packages."}}


[Trace - 11:10:33.696 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2021/01/27 11:10:33 initial workspace load failed: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -tags=bruno -- builtin github.com/ggghuang/go-practice/...]: exit status 1: go: inconsistent vendoring in /Users/ggg_user/edge/go-practice:\n\tgithub.com/gin-contrib/sse@v0.1.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod\n\nrun 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory\n: packages.Load error\n"}


[Trace - 11:10:33.701 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:33 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/edge\n\tquery=[./]\n\tpackages=1\n"}


[Info  - 11:10:33 AM] 2021/01/27 11:10:33 go/packages.Load
	snapshot=0
	directory=/Users/ggg_user/edge
	query=[./]
	packages=1

[Trace - 11:10:33.754 AM] Sending request 'textDocument/documentSymbol - (1)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:10:33.754 AM] Sending request 'textDocument/codeAction - (2)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"range":{"start":{"line":23,"character":16},"end":{"line":23,"character":16}},"context":{"diagnostics":[]}}


[Trace - 11:10:33.755 AM] Sending request 'textDocument/documentLink - (3)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:10:33.762 AM] Received request 'window/workDoneProgress/create - (6)'.
Params: {"token":"4037200794235010051"}


[Trace - 11:10:33.762 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2021/01/27 11:10:33 errors loading workspace: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -tags=bruno -- builtin github.com/ggghuang/go-practice/...]: exit status 1: go: inconsistent vendoring in /Users/ggg_user/edge/go-practice:\n\tgithub.com/gin-contrib/sse@v0.1.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod\n\nrun 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory\n: packages.Load error\n\tsnapshot=0\n\tdirectory=file:///Users/ggg_user/edge/go-practice\n"}


[Info  - 11:10:33 AM] 2021/01/27 11:10:33 go env for /Users/ggg_user/edge/go-practice
(root /Users/ggg_user/edge/go-practice)
(go version go version go1.15.7 darwin/amd64)
(valid build configuration = true)
(build flags: [-tags=bruno])
GOPROXY=https://proxy.golang.org,direct
GONOSUMDB=
GOPATH=/Users/ggg_user/go
GOINSECURE=
GOROOT=/usr/local/Cellar/go/1.15.7/libexec
GOMODCACHE=/Users/ggg_user/go/pkg/mod
GOSUMDB=sum.golang.org
GOCACHE=/Users/ggg_user/Library/Caches/go-build
GONOPROXY=
GOPRIVATE=
GO111MODULE=
GOFLAGS=
GOMOD=/Users/ggg_user/edge/go-practice/go.mod


[Trace - 11:10:33.831 AM] Sending response 'window/workDoneProgress/create - (5)' in 156ms.
Result: 


[Trace - 11:10:33.831 AM] Received notification '$/progress'.
Params: {"token":"6129484611666145821","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 11:10:33.831 AM] Received request 'workspace/configuration - (7)'.
Params: {"items":[{"scopeUri":"file:///Users/ggg_user/edge/edge-device-mil","section":"gopls"}]}


[Error - 11:10:33 AM] 2021/01/27 11:10:33 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -tags=bruno -- builtin github.com/ggghuang/go-practice/...]: exit status 1: go: inconsistent vendoring in /Users/ggg_user/edge/go-practice:
	github.com/gin-contrib/sse@v0.1.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod

run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory

	snapshot=0
	directory=/Users/ggg_user/edge/go-practice
	query=[builtin github.com/ggghuang/go-practice/...]
	packages=0

[Error - 11:10:33 AM] 2021/01/27 11:10:33 initial workspace load failed: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -tags=bruno -- builtin github.com/ggghuang/go-practice/...]: exit status 1: go: inconsistent vendoring in /Users/ggg_user/edge/go-practice:
	github.com/gin-contrib/sse@v0.1.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod

run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory
: packages.Load error

[Info  - 11:10:33 AM] 2021/01/27 11:10:33 go/packages.Load
	snapshot=0
	directory=/Users/ggg_user/edge
	query=[./]
	packages=1

[Error - 11:10:33 AM] 2021/01/27 11:10:33 errors loading workspace: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -tags=bruno -- builtin github.com/ggghuang/go-practice/...]: exit status 1: go: inconsistent vendoring in /Users/ggg_user/edge/go-practice:
	github.com/gin-contrib/sse@v0.1.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod

run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory
: packages.Load error
	snapshot=0
	directory=file:///Users/ggg_user/edge/go-practice

[Trace - 11:10:33.849 AM] Sending response 'window/workDoneProgress/create - (6)' in 87ms.
Result: 


[Trace - 11:10:33.850 AM] Received notification '$/progress'.
Params: {"token":"4037200794235010051","value":{"kind":"begin","title":"Error loading workspace","message":"go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -tags=bruno -- builtin github.com/ggghuang/go-practice/...]: exit status 1: go: inconsistent vendoring in /Users/ggg_user/edge/go-practice: \tgithub.com/gin-contrib/sse@v0.1.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod  run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory : packages.Load error"}}


[Trace - 11:10:33.850 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/go-practice/go.mod","diagnostics":[{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":40}},"severity":1,"message":"Inconsistent vendoring detected. Please re-run \"go mod vendor\".\nSee https://github.com/golang/go/issues/39164 for more detail on this issue."},{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":40}},"severity":1,"message":"go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -tags=bruno -- builtin github.com/ggghuang/go-practice/...]: exit status 1: go: inconsistent vendoring in /Users/ggg_user/edge/go-practice:\n\tgithub.com/gin-contrib/sse@v0.1.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod\n\nrun 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory\n: packages.Load error"}]}


[Trace - 11:10:33.860 AM] Sending response 'workspace/configuration - (7)' in 28ms.
Result: [{"usePlaceholders":true,"staticcheck":false,"completeUnimported":true,"buildFlags":["-tags=bruno"]}]


[Trace - 11:10:33.943 AM] Received request 'window/workDoneProgress/create - (8)'.
Params: {"token":"3916589616287113937"}


[Trace - 11:10:33.943 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:33 go env for /Users/ggg_user/edge/edge-device-mil\n(root /Users/ggg_user/edge/edge-device-mil)\n(go version go version go1.15.7 darwin/amd64)\n(valid build configuration = true)\n(build flags: [-tags=bruno])\nGOSUMDB=sum.golang.org\nGOMODCACHE=/Users/ggg_user/go/pkg/mod\nGO111MODULE=\nGOMOD=/Users/ggg_user/edge/edge-device-mil/go.mod\nGOFLAGS=\nGOINSECURE=\nGOPROXY=https://proxy.golang.org,direct\nGOCACHE=/Users/ggg_user/Library/Caches/go-build\nGOPATH=/Users/ggg_user/go\nGONOPROXY=\nGONOSUMDB=\nGOPRIVATE=\nGOROOT=/usr/local/Cellar/go/1.15.7/libexec\n\n"}


[Info  - 11:10:33 AM] 2021/01/27 11:10:33 go env for /Users/ggg_user/edge/edge-device-mil
(root /Users/ggg_user/edge/edge-device-mil)
(go version go version go1.15.7 darwin/amd64)
(valid build configuration = true)
(build flags: [-tags=bruno])
GOSUMDB=sum.golang.org
GOMODCACHE=/Users/ggg_user/go/pkg/mod
GO111MODULE=
GOMOD=/Users/ggg_user/edge/edge-device-mil/go.mod
GOFLAGS=
GOINSECURE=
GOPROXY=https://proxy.golang.org,direct
GOCACHE=/Users/ggg_user/Library/Caches/go-build
GOPATH=/Users/ggg_user/go
GONOPROXY=
GONOSUMDB=
GOPRIVATE=
GOROOT=/usr/local/Cellar/go/1.15.7/libexec


[Trace - 11:10:33.946 AM] Sending response 'window/workDoneProgress/create - (8)' in 3ms.
Result: 


[Trace - 11:10:33.946 AM] Received notification '$/progress'.
Params: {"token":"3916589616287113937","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}





[Trace - 11:10:34.259 AM] Sending response 'window/workDoneProgress/create - (10)' in 201ms.
Result: 


[Trace - 11:10:34.259 AM] Received notification '$/progress'.
Params: {"token":"6334824724549167320","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 11:10:34.260 AM] Received request 'workspace/configuration - (11)'.
Params: {"items":[{"scopeUri":"file:///Users/ggg_user/mxio","section":"gopls"}]}


[Trace - 11:10:34.268 AM] Sending response 'workspace/configuration - (11)' in 8ms.
Result: [{"usePlaceholders":true,"staticcheck":false,"completeUnimported":true,"buildFlags":["-tags=bruno"]}]


[Trace - 11:10:34.447 AM] Received request 'window/workDoneProgress/create - (12)'.
Params: {"token":"605394647632969758"}


[Trace - 11:10:34.448 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:34 go env for /Users/ggg_user/mxio\n(root /Users/ggg_user/mxio)\n(go version go version go1.15.7 darwin/amd64)\n(valid build configuration = false)\n(build flags: [-tags=bruno])\nGONOSUMDB=\nGOMOD=\nGOSUMDB=sum.golang.org\nGOFLAGS=\nGOMODCACHE=/Users/ggg_user/go/pkg/mod\nGONOPROXY=\nGOROOT=/usr/local/Cellar/go/1.15.7/libexec\nGO111MODULE=\nGOCACHE=/Users/ggg_user/Library/Caches/go-build\nGOINSECURE=\nGOPRIVATE=\nGOPROXY=https://proxy.golang.org,direct\nGOPATH=/Users/ggg_user/go\n\n"}


[Info  - 11:10:34 AM] 2021/01/27 11:10:34 go env for /Users/ggg_user/mxio
(root /Users/ggg_user/mxio)
(go version go version go1.15.7 darwin/amd64)
(valid build configuration = false)
(build flags: [-tags=bruno])
GONOSUMDB=
GOMOD=
GOSUMDB=sum.golang.org
GOFLAGS=
GOMODCACHE=/Users/ggg_user/go/pkg/mod
GONOPROXY=
GOROOT=/usr/local/Cellar/go/1.15.7/libexec
GO111MODULE=
GOCACHE=/Users/ggg_user/Library/Caches/go-build
GOINSECURE=
GOPRIVATE=
GOPROXY=https://proxy.golang.org,direct
GOPATH=/Users/ggg_user/go


[Trace - 11:10:34.550 AM] Sending response 'window/workDoneProgress/create - (12)' in 102ms.
Result: 


[Trace - 11:10:34.550 AM] Received notification '$/progress'.
Params: {"token":"605394647632969758","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 11:10:34.550 AM] Received request 'workspace/configuration - (13)'.
Params: {"items":[{"scopeUri":"file:///Users/ggg_user/cdm","section":"gopls"}]}


[Trace - 11:10:34.573 AM] Sending response 'workspace/configuration - (13)' in 22ms.
Result: [{"usePlaceholders":true,"staticcheck":false,"completeUnimported":true,"buildFlags":["-tags=bruno"]}]


[Trace - 11:10:34.649 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:34 go env for /Users/ggg_user/cdm\n(root /Users/ggg_user/cdm)\n(go version go version go1.15.7 darwin/amd64)\n(valid build configuration = true)\n(build flags: [-tags=bruno])\nGOPRIVATE=\nGO111MODULE=\nGOINSECURE=\nGONOPROXY=\nGOROOT=/usr/local/Cellar/go/1.15.7/libexec\nGOFLAGS=\nGOMODCACHE=/Users/ggg_user/go/pkg/mod\nGOPATH=/Users/ggg_user/go\nGOSUMDB=sum.golang.org\nGOCACHE=/Users/ggg_user/Library/Caches/go-build\nGONOSUMDB=\nGOPROXY=https://proxy.golang.org,direct\nGOMOD=/Users/ggg_user/cdm/go.mod\n\n"}


[Trace - 11:10:34.649 AM] Received request 'window/workDoneProgress/create - (14)'.
Params: {"token":"1443635317331776148"}


[Info  - 11:10:34 AM] 2021/01/27 11:10:34 go env for /Users/ggg_user/cdm
(root /Users/ggg_user/cdm)
(go version go version go1.15.7 darwin/amd64)
(valid build configuration = true)
(build flags: [-tags=bruno])
GOPRIVATE=
GO111MODULE=
GOINSECURE=
GONOPROXY=
GOROOT=/usr/local/Cellar/go/1.15.7/libexec
GOFLAGS=
GOMODCACHE=/Users/ggg_user/go/pkg/mod
GOPATH=/Users/ggg_user/go
GOSUMDB=sum.golang.org
GOCACHE=/Users/ggg_user/Library/Caches/go-build
GONOSUMDB=
GOPROXY=https://proxy.golang.org,direct
GOMOD=/Users/ggg_user/cdm/go.mod


[Trace - 11:10:34.654 AM] Sending response 'window/workDoneProgress/create - (14)' in 4ms.
Result: 


[Trace - 11:10:34.654 AM] Received notification '$/progress'.
Params: {"token":"1443635317331776148","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}


[Trace - 11:10:34.654 AM] Received request 'workspace/configuration - (15)'.
Params: {"items":[{"scopeUri":"file:///Users/ggg_user/git/burford","section":"gopls"}]}


[Trace - 11:10:34.661 AM] Sending response 'workspace/configuration - (15)' in 6ms.
Result: [{"usePlaceholders":true,"staticcheck":false,"completeUnimported":true,"buildFlags":["-tags=bruno"]}]


[Trace - 11:10:34.838 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:34 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/mxio\n\tquery=[./ builtin]\n\tpackages=2\n"}


[Info  - 11:10:34 AM] 2021/01/27 11:10:34 go/packages.Load
	snapshot=0
	directory=/Users/ggg_user/mxio
	query=[./ builtin]
	packages=2

[Trace - 11:10:34.921 AM] Received notification '$/progress'.
Params: {"token":"6334824724549167320","value":{"kind":"end","message":"Finished loading packages."}}



[Trace - 11:10:35.107 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:35 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/cdm\n\tquery=[builtin github.com/ggghuang/cdm/...]\n\tpackages=26\n"}


[Info  - 11:10:35 AM] 2021/01/27 11:10:35 go/packages.Load
	snapshot=0
	directory=/Users/ggg_user/cdm
	query=[builtin github.com/ggghuang/cdm/...]
	packages=26

[Trace - 11:10:35.137 AM] Received notification '$/progress'.
Params: {"token":"6129484611666145821","value":{"kind":"end","message":"Finished loading packages."}}


[Trace - 11:10:35.163 AM] Sending notification '$/cancelRequest'.
Params: {"id":5}


[Trace - 11:10:35.221 AM] Received notification '$/progress'.
Params: {"token":"605394647632969758","value":{"kind":"end","message":"Finished loading packages."}}


[Trace - 11:10:35.334 AM] Received notification '$/progress'.
Params: {"token":"3916589616287113937","value":{"kind":"end","message":"Finished loading packages."}}


[Trace - 11:10:35.413 AM] Sending request 'textDocument/codeLens - (6)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:10:35.539 AM] Sending request 'textDocument/documentLink - (7)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:10:35.551 AM] Sending notification '$/cancelRequest'.
Params: {"id":6}


[Trace - 11:10:35.647 AM] Received request 'window/workDoneProgress/create - (16)'.
Params: {"token":"894385949183117216"}


[Trace - 11:10:35.648 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:35 go env for /Users/ggg_user/git/burford\n(root /Users/ggg_user/git/burford)\n(go version go version go1.15.7 darwin/amd64)\n(valid build configuration = true)\n(build flags: [-tags=bruno])\nGONOSUMDB=\nGOSUMDB=sum.golang.org\nGO111MODULE=\nGOCACHE=/Users/ggg_user/Library/Caches/go-build\nGOPRIVATE=\nGOROOT=/usr/local/Cellar/go/1.15.7/libexec\nGOINSECURE=\nGOMODCACHE=/Users/ggg_user/go/pkg/mod\nGOPATH=/Users/ggg_user/go\nGOMOD=/Users/ggg_user/git/burford/go.mod\nGONOPROXY=\nGOPROXY=https://proxy.golang.org,direct\nGOFLAGS=\n\n"}


[Info  - 11:10:35 AM] 2021/01/27 11:10:35 go env for /Users/ggg_user/git/burford
(root /Users/ggg_user/git/burford)
(go version go version go1.15.7 darwin/amd64)
(valid build configuration = true)
(build flags: [-tags=bruno])
GONOSUMDB=
GOSUMDB=sum.golang.org
GO111MODULE=
GOCACHE=/Users/ggg_user/Library/Caches/go-build
GOPRIVATE=
GOROOT=/usr/local/Cellar/go/1.15.7/libexec
GOINSECURE=
GOMODCACHE=/Users/ggg_user/go/pkg/mod
GOPATH=/Users/ggg_user/go
GOMOD=/Users/ggg_user/git/burford/go.mod
GONOPROXY=
GOPROXY=https://proxy.golang.org,direct
GOFLAGS=


[Trace - 11:10:35.658 AM] Sending response 'window/workDoneProgress/create - (16)' in 10ms.
Result: 





[Trace - 11:10:35.914 AM] Sending request 'textDocument/codeLens - (8)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:10:36.082 AM] Sending notification '$/cancelRequest'.
Params: {"id":7}


[Trace - 11:10:36.082 AM] Sending request 'textDocument/documentLink - (9)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}



[Trace - 11:10:36.214 AM] Sending request 'textDocument/documentLink - (10)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:10:36.214 AM] Sending notification '$/cancelRequest'.
Params: {"id":4}


[Trace - 11:10:36.241 AM] Received notification '$/progress'.
Params: {"token":"894385949183117216","value":{"kind":"end","message":"Finished loading packages."}}


[Trace - 11:10:36.520 AM] Sending request 'textDocument/foldingRange - (11)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:10:36.737 AM] Received notification '$/progress'.
Params: {"token":"4037200794235010051","value":{"kind":"end","message":"Done."}}


[Trace - 11:10:36.742 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/pkg/minicard/api.go","diagnostics":[{"range":{"start":{"line":47,"character":106},"end":{"line":47,"character":106}},"severity":1,"source":"compiler","message":"too few arguments in call to s.mxlog.Alert"},{"range":{"start":{"line":90,"character":109},"end":{"line":90,"character":109}},"severity":1,"source":"compiler","message":"too few arguments in call to s.mxlog.Alert"},{"range":{"start":{"line":94,"character":117},"end":{"line":94,"character":119}},"severity":1,"source":"compiler","message":"cannot use id (variable of type int) as string value in argument to s.mxlog.Alert"},{"range":{"start":{"line":101,"character":106},"end":{"line":101,"character":106}},"severity":1,"source":"compiler","message":"too few arguments in call to s.mxlog.Alert"}]}


[Trace - 11:10:36.742 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/sample/systag/systag.go","diagnostics":[{"range":{"start":{"line":86,"character":8},"end":{"line":86,"character":19}},"severity":1,"source":"compiler","message":"client.AddListener undefined (type *tag.SysTagClient has no field or method AddListener)"},{"range":{"start":{"line":88,"character":46},"end":{"line":88,"character":54}},"severity":1,"source":"compiler","message":"cannot use interval (variable of type int) as tag.TagHookFunc value in argument to client.AddGroupListener"},{"range":{"start":{"line":88,"character":56},"end":{"line":88,"character":74}},"severity":1,"source":"compiler","message":"too many arguments"}]}


[Trace - 11:10:36.742 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/sample/devicedb.go","diagnostics":[{"range":{"start":{"line":32,"character":1},"end":{"line":32,"character":19}},"severity":1,"source":"compiler","message":"undeclared name: listenForInterrupt"}]}


[Trace - 11:10:36.742 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/pkg/minicard/index.go","diagnostics":[{"range":{"start":{"line":45,"character":34},"end":{"line":45,"character":43}},"severity":1,"source":"compiler","message":"cannot use s.logger (variable of type *log.Logger) as *logrus.Logger value in struct literal"},{"range":{"start":{"line":100,"character":23},"end":{"line":100,"character":31}},"severity":1,"source":"compiler","message":"cannot use s.logger (variable of type *log.Logger) as *logrus.Logger value in argument to service.APINew"}]}


[Trace - 11:10:36.743 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/pkg/sample/index.go","diagnostics":[{"range":{"start":{"line":37,"character":34},"end":{"line":37,"character":43}},"severity":1,"source":"compiler","message":"cannot use s.logger (variable of type *log.Logger) as *logrus.Logger value in struct literal"}]}


[Trace - 11:10:36.743 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/pkg/serial/ifaceImp/ifaceImp.go","diagnostics":[{"range":{"start":{"line":42,"character":10},"end":{"line":42,"character":18}},"severity":1,"source":"compiler","message":"sio_open not declared by package C"},{"range":{"start":{"line":42,"character":21},"end":{"line":42,"character":27}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":43,"character":13},"end":{"line":43,"character":19}},"severity":1,"source":"compiler","message":"SIO_OK not declared by package C"},{"range":{"start":{"line":50,"character":10},"end":{"line":50,"character":19}},"severity":1,"source":"compiler","message":"sio_close not declared by package C"},{"range":{"start":{"line":50,"character":22},"end":{"line":50,"character":28}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":51,"character":13},"end":{"line":51,"character":19}},"severity":1,"source":"compiler","message":"SIO_OK not declared by package C"},{"range":{"start":{"line":85,"character":10},"end":{"line":85,"character":18}},"severity":1,"source":"compiler","message":"sio_baud not declared by package C"},{"range":{"start":{"line":85,"character":21},"end":{"line":85,"character":28}},"severity":1,"source":"compiler","message":"int16_t not declared by package C"},{"range":{"start":{"line":85,"character":39},"end":{"line":85,"character":46}},"severity":1,"source":"compiler","message":"int32_t not declared by package C"},{"range":{"start":{"line":86,"character":13},"end":{"line":86,"character":19}},"severity":1,"source":"compiler","message":"SIO_OK not declared by package C"},{"range":{"start":{"line":97,"character":14},"end":{"line":97,"character":28}},"severity":1,"source":"compiler","message":"DATA_BIT_VAL_5 not declared by package C"},{"range":{"start":{"line":99,"character":14},"end":{"line":99,"character":28}},"severity":1,"source":"compiler","message":"DATA_BIT_VAL_6 not declared by package C"},{"range":{"start":{"line":101,"character":14},"end":{"line":101,"character":28}},"severity":1,"source":"compiler","message":"DATA_BIT_VAL_7 not declared by package C"},{"range":{"start":{"line":103,"character":14},"end":{"line":103,"character":28}},"severity":1,"source":"compiler","message":"DATA_BIT_VAL_8 not declared by package C"},{"range":{"start":{"line":105,"character":14},"end":{"line":105,"character":28}},"severity":1,"source":"compiler","message":"DATA_BIT_VAL_8 not declared by package C"},{"range":{"start":{"line":111,"character":13},"end":{"line":111,"character":28}},"severity":1,"source":"compiler","message":"PARITY_VAL_NONE not declared by package C"},{"range":{"start":{"line":113,"character":13},"end":{"line":113,"character":27}},"severity":1,"source":"compiler","message":"PARITY_VAL_ODD not declared by package C"},{"range":{"start":{"line":115,"character":13},"end":{"line":115,"character":28}},"severity":1,"source":"compiler","message":"PARITY_VAL_EVEN not declared by package C"},{"range":{"start":{"line":117,"character":13},"end":{"line":117,"character":27}},"severity":1,"source":"compiler","message":"PARITY_VAL_MRK not declared by package C"},{"range":{"start":{"line":119,"character":13},"end":{"line":119,"character":27}},"severity":1,"source":"compiler","message":"PARITY_VAL_SPC not declared by package C"},{"range":{"start":{"line":121,"character":13},"end":{"line":121,"character":28}},"severity":1,"source":"compiler","message":"PARITY_VAL_NONE not declared by package C"},{"range":{"start":{"line":127,"character":14},"end":{"line":127,"character":28}},"severity":1,"source":"compiler","message":"STOP_BIT_VAL_1 not declared by package C"},{"range":{"start":{"line":129,"character":14},"end":{"line":129,"character":28}},"severity":1,"source":"compiler","message":"STOP_BIT_VAL_2 not declared by package C"},{"range":{"start":{"line":131,"character":14},"end":{"line":131,"character":28}},"severity":1,"source":"compiler","message":"STOP_BIT_VAL_1 not declared by package C"},{"range":{"start":{"line":134,"character":10},"end":{"line":134,"character":26}},"severity":1,"source":"compiler","message":"sio_ioctl_by_val not declared by package C"},{"range":{"start":{"line":134,"character":29},"end":{"line":134,"character":35}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":134,"character":46},"end":{"line":134,"character":54}},"severity":1,"source":"compiler","message":"uint32_t not declared by package C"},{"range":{"start":{"line":134,"character":65},"end":{"line":134,"character":73}},"severity":1,"source":"compiler","message":"uint32_t not declared by package C"},{"range":{"start":{"line":134,"character":86},"end":{"line":134,"character":94}},"severity":1,"source":"compiler","message":"uint32_t not declared by package C"},{"range":{"start":{"line":134,"character":106},"end":{"line":134,"character":114}},"severity":1,"source":"compiler","message":"uint32_t not declared by package C"},{"range":{"start":{"line":135,"character":13},"end":{"line":135,"character":19}},"severity":1,"source":"compiler","message":"SIO_OK not declared by package C"},{"range":{"start":{"line":145,"character":15},"end":{"line":145,"character":21}},"severity":1,"source":"compiler","message":"F_NONE not declared by package C"},{"range":{"start":{"line":147,"character":15},"end":{"line":147,"character":19}},"severity":1,"source":"compiler","message":"F_HW not declared by package C"},{"range":{"start":{"line":149,"character":15},"end":{"line":149,"character":19}},"severity":1,"source":"compiler","message":"F_SW not declared by package C"},{"range":{"start":{"line":151,"character":15},"end":{"line":151,"character":21}},"severity":1,"source":"compiler","message":"F_NONE not declared by package C"},{"range":{"start":{"line":154,"character":10},"end":{"line":154,"character":22}},"severity":1,"source":"compiler","message":"sio_flowctrl not declared by package C"},{"range":{"start":{"line":154,"character":25},"end":{"line":154,"character":33}},"severity":1,"source":"compiler","message":"uint16_t not declared by package C"},{"range":{"start":{"line":154,"character":44},"end":{"line":154,"character":51}},"severity":1,"source":"compiler","message":"int32_t not declared by package C"},{"range":{"start":{"line":155,"character":13},"end":{"line":155,"character":19}},"severity":1,"source":"compiler","message":"SIO_OK not declared by package C"}]}


[Trace - 11:10:36.746 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/go.mod","diagnostics":[{"range":{"start":{"line":25,"character":1},"end":{"line":25,"character":52}},"severity":2,"source":"go mod tidy","message":"golang.org/x/net is not used in this module"}]}



[Trace - 11:10:37.471 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/mxio/main.go","diagnostics":[{"range":{"start":{"line":230,"character":10},"end":{"line":230,"character":20}},"severity":1,"source":"compiler","message":"MXEIO_Init not declared by package C"},{"range":{"start":{"line":231,"character":13},"end":{"line":231,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":236,"character":9},"end":{"line":236,"character":16}},"severity":1,"source":"compiler","message":"CString not declared by package C"},{"range":{"start":{"line":237,"character":10},"end":{"line":237,"character":17}},"severity":1,"source":"compiler","message":"CString not declared by package C"},{"range":{"start":{"line":238,"character":18},"end":{"line":238,"character":21}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":239,"character":12},"end":{"line":239,"character":18}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":240,"character":15},"end":{"line":240,"character":19}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":243,"character":9},"end":{"line":243,"character":26}},"severity":1,"source":"compiler","message":"MXEIO_E1K_Connect not declared by package C"},{"range":{"start":{"line":244,"character":13},"end":{"line":244,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":253,"character":9},"end":{"line":253,"character":26}},"severity":1,"source":"compiler","message":"E1K_GetSafeStatus not declared by package C"},{"range":{"start":{"line":273,"character":9},"end":{"line":273,"character":27}},"severity":1,"source":"compiler","message":"MXIO_GetDllVersion not declared by package C"},{"range":{"start":{"line":276,"character":9},"end":{"line":276,"character":29}},"severity":1,"source":"compiler","message":"MXIO_GetDllBuildDate not declared by package C"},{"range":{"start":{"line":299,"character":13},"end":{"line":299,"character":19}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":300,"character":9},"end":{"line":300,"character":27}},"severity":1,"source":"compiler","message":"MXIO_GetModuleType not declared by package C"},{"range":{"start":{"line":301,"character":13},"end":{"line":301,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":327,"character":3},"end":{"line":327,"character":19}},"severity":1,"source":"compiler","message":"MXEIO_Disconnect not declared by package C"},{"range":{"start":{"line":329,"character":3},"end":{"line":329,"character":13}},"severity":1,"source":"compiler","message":"MXEIO_Exit not declared by package C"},{"range":{"start":{"line":334,"character":15},"end":{"line":334,"character":21}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":335,"character":10},"end":{"line":335,"character":21}},"severity":1,"source":"compiler","message":"MXIO_ListIF not declared by package C"},{"range":{"start":{"line":336,"character":13},"end":{"line":336,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":338,"character":21},"end":{"line":338,"character":25}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":338,"character":37},"end":{"line":338,"character":54}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":339,"character":10},"end":{"line":339,"character":24}},"severity":1,"source":"compiler","message":"MXIO_GetIFInfo not declared by package C"},{"range":{"start":{"line":341,"character":14},"end":{"line":341,"character":21}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":344,"character":16},"end":{"line":344,"character":33}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":344,"character":36},"end":{"line":344,"character":51}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_NUM not declared by package C"},{"range":{"start":{"line":345,"character":7},"end":{"line":345,"character":16}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":345,"character":29},"end":{"line":345,"character":46}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":345,"character":49},"end":{"line":345,"character":63}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_IP not declared by package C"},{"range":{"start":{"line":346,"character":7},"end":{"line":346,"character":12}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":346,"character":24},"end":{"line":346,"character":41}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":346,"character":44},"end":{"line":346,"character":59}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_MAC not declared by package C"},{"range":{"start":{"line":346,"character":65},"end":{"line":346,"character":70}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":346,"character":82},"end":{"line":346,"character":99}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":346,"character":102},"end":{"line":346,"character":117}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_MAC not declared by package C"},{"range":{"start":{"line":347,"character":7},"end":{"line":347,"character":12}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":347,"character":24},"end":{"line":347,"character":41}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":347,"character":44},"end":{"line":347,"character":59}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_MAC not declared by package C"},{"range":{"start":{"line":347,"character":67},"end":{"line":347,"character":72}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":347,"character":84},"end":{"line":347,"character":101}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":347,"character":104},"end":{"line":347,"character":119}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_MAC not declared by package C"},{"range":{"start":{"line":348,"character":7},"end":{"line":348,"character":12}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":348,"character":24},"end":{"line":348,"character":41}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":348,"character":44},"end":{"line":348,"character":59}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_MAC not declared by package C"},{"range":{"start":{"line":348,"character":67},"end":{"line":348,"character":72}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":348,"character":84},"end":{"line":348,"character":101}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":348,"character":104},"end":{"line":348,"character":119}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_MAC not declared by package C"},{"range":{"start":{"line":349,"character":7},"end":{"line":349,"character":16}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":349,"character":29},"end":{"line":349,"character":46}},"severity":1,"source":"compiler","message":"MX_IF_ONE_IF_SIZE not declared by package C"},{"range":{"start":{"line":349,"character":49},"end":{"line":349,"character":65}},"severity":1,"source":"compiler","message":"MX_IF_INDEX_DESC not declared by package C"},{"range":{"start":{"line":493,"character":34},"end":{"line":493,"character":37}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":496,"character":15},"end":{"line":496,"character":19}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":497,"character":17},"end":{"line":497,"character":22}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":498,"character":10},"end":{"line":498,"character":31}},"severity":1,"source":"compiler","message":"MXEIO_CheckConnection not declared by package C"},{"range":{"start":{"line":500,"character":13},"end":{"line":500,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":503,"character":9},"end":{"line":503,"character":28}},"severity":1,"source":"compiler","message":"CHECK_CONNECTION_OK not declared by package C"},{"range":{"start":{"line":506,"character":9},"end":{"line":506,"character":30}},"severity":1,"source":"compiler","message":"CHECK_CONNECTION_FAIL not declared by package C"},{"range":{"start":{"line":509,"character":9},"end":{"line":509,"character":34}},"severity":1,"source":"compiler","message":"CHECK_CONNECTION_TIME_OUT not declared by package C"},{"range":{"start":{"line":512,"character":20},"end":{"line":512,"character":32}},"severity":1,"source":"compiler","message":"HANDLE_ERROR not declared by package C"},{"range":{"start":{"line":518,"character":35},"end":{"line":518,"character":38}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":520,"character":11},"end":{"line":520,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":521,"character":18},"end":{"line":521,"character":24}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":522,"character":9},"end":{"line":522,"character":25}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":524,"character":4},"end":{"line":524,"character":32}},"severity":1,"source":"compiler","message":"MODBUS_READ_HOLDINGREGISTERS not declared by package C"},{"range":{"start":{"line":525,"character":4},"end":{"line":525,"character":22}},"severity":1,"source":"compiler","message":"E1K_IPCONF_ADDRESS not declared by package C"},{"range":{"start":{"line":528,"character":13},"end":{"line":528,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":529,"character":10},"end":{"line":529,"character":17}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":546,"character":9},"end":{"line":546,"character":25}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":548,"character":4},"end":{"line":548,"character":32}},"severity":1,"source":"compiler","message":"MODBUS_READ_HOLDINGREGISTERS not declared by package C"},{"range":{"start":{"line":549,"character":4},"end":{"line":549,"character":18}},"severity":1,"source":"compiler","message":"E1K_IP_ADDRESS not declared by package C"},{"range":{"start":{"line":552,"character":13},"end":{"line":552,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":563,"character":10},"end":{"line":563,"character":17}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":570,"character":10},"end":{"line":570,"character":17}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":577,"character":9},"end":{"line":577,"character":25}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":579,"character":4},"end":{"line":579,"character":32}},"severity":1,"source":"compiler","message":"MODBUS_READ_HOLDINGREGISTERS not declared by package C"},{"range":{"start":{"line":580,"character":4},"end":{"line":580,"character":23}},"severity":1,"source":"compiler","message":"E1K_NETMASK_ADDRESS not declared by package C"},{"range":{"start":{"line":583,"character":13},"end":{"line":583,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":585,"character":10},"end":{"line":585,"character":17}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":586,"character":10},"end":{"line":586,"character":17}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":593,"character":9},"end":{"line":593,"character":25}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":595,"character":4},"end":{"line":595,"character":32}},"severity":1,"source":"compiler","message":"MODBUS_READ_HOLDINGREGISTERS not declared by package C"},{"range":{"start":{"line":596,"character":4},"end":{"line":596,"character":23}},"severity":1,"source":"compiler","message":"E1K_GATEWAY_ADDRESS not declared by package C"},{"range":{"start":{"line":599,"character":13},"end":{"line":599,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":601,"character":10},"end":{"line":601,"character":17}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":602,"character":10},"end":{"line":602,"character":17}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":623,"character":30},"end":{"line":623,"character":33}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":625,"character":11},"end":{"line":625,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":626,"character":18},"end":{"line":626,"character":24}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":627,"character":9},"end":{"line":627,"character":25}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":629,"character":4},"end":{"line":629,"character":30}},"severity":1,"source":"compiler","message":"MODBUS_READ_INPUTREGISTERS not declared by package C"},{"range":{"start":{"line":630,"character":4},"end":{"line":630,"character":18}},"severity":1,"source":"compiler","message":"E1K_SN_ADDRESS not declared by package C"},{"range":{"start":{"line":633,"character":13},"end":{"line":633,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":638,"character":36},"end":{"line":638,"character":39}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":640,"character":11},"end":{"line":640,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":643,"character":24},"end":{"line":643,"character":30}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":644,"character":9},"end":{"line":644,"character":25}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":646,"character":4},"end":{"line":646,"character":32}},"severity":1,"source":"compiler","message":"MODBUS_READ_HOLDINGREGISTERS not declared by package C"},{"range":{"start":{"line":647,"character":4},"end":{"line":647,"character":24}},"severity":1,"source":"compiler","message":"E1K_LOCATION_ADDRESS not declared by package C"},{"range":{"start":{"line":648,"character":4},"end":{"line":648,"character":10}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":651,"character":13},"end":{"line":651,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":654,"character":11},"end":{"line":654,"character":18}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":668,"character":39},"end":{"line":668,"character":42}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":670,"character":11},"end":{"line":670,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":673,"character":24},"end":{"line":673,"character":30}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":674,"character":9},"end":{"line":674,"character":25}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":676,"character":4},"end":{"line":676,"character":32}},"severity":1,"source":"compiler","message":"MODBUS_READ_HOLDINGREGISTERS not declared by package C"},{"range":{"start":{"line":677,"character":4},"end":{"line":677,"character":27}},"severity":1,"source":"compiler","message":"E1K_DESCRIPTION_ADDRESS not declared by package C"},{"range":{"start":{"line":678,"character":4},"end":{"line":678,"character":10}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":681,"character":13},"end":{"line":681,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":685,"character":11},"end":{"line":685,"character":18}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":699,"character":34},"end":{"line":699,"character":37}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":702,"character":11},"end":{"line":702,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":703,"character":18},"end":{"line":703,"character":24}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":707,"character":9},"end":{"line":707,"character":26}},"severity":1,"source":"compiler","message":"MXIO_WriteRegs_Ex not declared by package C"},{"range":{"start":{"line":709,"character":4},"end":{"line":709,"character":22}},"severity":1,"source":"compiler","message":"E1K_LOCATE_ADDRESS not declared by package C"},{"range":{"start":{"line":712,"character":13},"end":{"line":712,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":724,"character":34},"end":{"line":724,"character":37}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":726,"character":11},"end":{"line":726,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":728,"character":24},"end":{"line":728,"character":30}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":729,"character":18},"end":{"line":729,"character":24}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":733,"character":9},"end":{"line":733,"character":25}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":735,"character":4},"end":{"line":735,"character":32}},"severity":1,"source":"compiler","message":"MODBUS_READ_HOLDINGREGISTERS not declared by package C"},{"range":{"start":{"line":736,"character":4},"end":{"line":736,"character":28}},"severity":1,"source":"compiler","message":"E1K_EXPORT_START_ADDRESS not declared by package C"},{"range":{"start":{"line":742,"character":13},"end":{"line":742,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":744,"character":10},"end":{"line":744,"character":17}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":785,"character":11},"end":{"line":785,"character":27}},"severity":1,"source":"compiler","message":"MXIO_ReadRegs_Ex not declared by package C"},{"range":{"start":{"line":787,"character":6},"end":{"line":787,"character":34}},"severity":1,"source":"compiler","message":"MODBUS_READ_HOLDINGREGISTERS not declared by package C"},{"range":{"start":{"line":788,"character":6},"end":{"line":788,"character":29}},"severity":1,"source":"compiler","message":"E1K_EXPORT_DATA_ADDRESS not declared by package C"},{"range":{"start":{"line":789,"character":6},"end":{"line":789,"character":12}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":792,"character":15},"end":{"line":792,"character":22}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":800,"character":13},"end":{"line":800,"character":20}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":825,"character":13},"end":{"line":825,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":827,"character":10},"end":{"line":827,"character":27}},"severity":1,"source":"compiler","message":"MXIO_WriteRegs_Ex not declared by package C"},{"range":{"start":{"line":829,"character":5},"end":{"line":829,"character":27}},"severity":1,"source":"compiler","message":"E1K_EXPORT_END_ADDRESS not declared by package C"},{"range":{"start":{"line":837,"character":34},"end":{"line":837,"character":37}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":839,"character":11},"end":{"line":839,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":843,"character":18},"end":{"line":843,"character":24}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":871,"character":9},"end":{"line":871,"character":26}},"severity":1,"source":"compiler","message":"MXIO_WriteRegs_Ex not declared by package C"},{"range":{"start":{"line":873,"character":4},"end":{"line":873,"character":28}},"severity":1,"source":"compiler","message":"E1K_IMPORT_START_ADDRESS not declared by package C"},{"range":{"start":{"line":875,"character":6},"end":{"line":875,"character":12}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":878,"character":13},"end":{"line":878,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":918,"character":11},"end":{"line":918,"character":28}},"severity":1,"source":"compiler","message":"MXIO_WriteRegs_Ex not declared by package C"},{"range":{"start":{"line":920,"character":6},"end":{"line":920,"character":29}},"severity":1,"source":"compiler","message":"E1K_IMPORT_DATA_ADDRESS not declared by package C"},{"range":{"start":{"line":921,"character":6},"end":{"line":921,"character":12}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":922,"character":8},"end":{"line":922,"character":14}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":924,"character":15},"end":{"line":924,"character":22}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":944,"character":13},"end":{"line":944,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":945,"character":10},"end":{"line":945,"character":27}},"severity":1,"source":"compiler","message":"MXIO_WriteRegs_Ex not declared by package C"},{"range":{"start":{"line":947,"character":5},"end":{"line":947,"character":27}},"severity":1,"source":"compiler","message":"E1K_IMPORT_END_ADDRESS not declared by package C"},{"range":{"start":{"line":953,"character":10},"end":{"line":953,"character":22}},"severity":1,"source":"compiler","message":"MXIO_Restart not declared by package C"},{"range":{"start":{"line":954,"character":14},"end":{"line":954,"character":21}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":964,"character":36},"end":{"line":964,"character":39}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":968,"character":11},"end":{"line":968,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":984,"character":9},"end":{"line":984,"character":26}},"severity":1,"source":"compiler","message":"MXIO_WriteRegs_Ex not declared by package C"},{"range":{"start":{"line":986,"character":4},"end":{"line":986,"character":24}},"severity":1,"source":"compiler","message":"E1K_LOCATION_ADDRESS not declared by package C"},{"range":{"start":{"line":987,"character":4},"end":{"line":987,"character":10}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":988,"character":6},"end":{"line":988,"character":12}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":990,"character":13},"end":{"line":990,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":998,"character":39},"end":{"line":998,"character":42}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1002,"character":11},"end":{"line":1002,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1006,"character":15},"end":{"line":1006,"character":21}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1019,"character":9},"end":{"line":1019,"character":26}},"severity":1,"source":"compiler","message":"MXIO_WriteRegs_Ex not declared by package C"},{"range":{"start":{"line":1021,"character":4},"end":{"line":1021,"character":27}},"severity":1,"source":"compiler","message":"E1K_DESCRIPTION_ADDRESS not declared by package C"},{"range":{"start":{"line":1022,"character":4},"end":{"line":1022,"character":10}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1023,"character":6},"end":{"line":1023,"character":12}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1025,"character":13},"end":{"line":1025,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1033,"character":35},"end":{"line":1033,"character":38}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1050,"character":9},"end":{"line":1050,"character":20}},"severity":1,"source":"compiler","message":"MODULE_LIST not declared by package C"},{"range":{"start":{"line":1051,"character":8},"end":{"line":1051,"character":11}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1053,"character":14},"end":{"line":1053,"character":17}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1055,"character":20},"end":{"line":1055,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":1057,"character":21},"end":{"line":1057,"character":32}},"severity":1,"source":"compiler","message":"MODULE_LIST not declared by package C"},{"range":{"start":{"line":1057,"character":36},"end":{"line":1057,"character":58}},"severity":1,"source":"compiler","message":"MX_ML_MODULE_LIST_SIZE not declared by package C"},{"range":{"start":{"line":1059,"character":10},"end":{"line":1059,"character":25}},"severity":1,"source":"compiler","message":"MXIO_AutoSearch not declared by package C"},{"range":{"start":{"line":1059,"character":28},"end":{"line":1059,"character":40}},"severity":1,"source":"compiler","message":"E1200_SERIES not declared by package C"},{"range":{"start":{"line":1059,"character":64},"end":{"line":1059,"character":68}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":1060,"character":13},"end":{"line":1060,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1065,"character":12},"end":{"line":1065,"character":23}},"severity":1,"source":"compiler","message":"MODULE_LIST not declared by package C"},{"range":{"start":{"line":1073,"character":20},"end":{"line":1073,"character":42}},"severity":1,"source":"compiler","message":"MX_ML_MODULE_LIST_SIZE not declared by package C"},{"range":{"start":{"line":1074,"character":13},"end":{"line":1074,"character":24}},"severity":1,"source":"compiler","message":"MODULE_LIST not declared by package C"},{"range":{"start":{"line":1077,"character":6},"end":{"line":1077,"character":21}},"severity":1,"source":"compiler","message":"CheckModuleType not declared by package C"},{"range":{"start":{"line":1079,"character":7},"end":{"line":1079,"character":16}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":1080,"character":7},"end":{"line":1080,"character":16}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":1081,"character":7},"end":{"line":1081,"character":12}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1081,"character":30},"end":{"line":1081,"character":35}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1081,"character":53},"end":{"line":1081,"character":58}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1082,"character":7},"end":{"line":1082,"character":12}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1082,"character":30},"end":{"line":1082,"character":35}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1082,"character":53},"end":{"line":1082,"character":58}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1098,"character":35},"end":{"line":1098,"character":38}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1101,"character":17},"end":{"line":1101,"character":22}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1102,"character":10},"end":{"line":1102,"character":35}},"severity":1,"source":"compiler","message":"MXIO_ReadFirmwareRevision not declared by package C"},{"range":{"start":{"line":1103,"character":13},"end":{"line":1103,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1111,"character":31},"end":{"line":1111,"character":34}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1114,"character":18},"end":{"line":1114,"character":24}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1115,"character":10},"end":{"line":1115,"character":31}},"severity":1,"source":"compiler","message":"MXIO_ReadFirmwareDate not declared by package C"},{"range":{"start":{"line":1116,"character":13},"end":{"line":1116,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1124,"character":24},"end":{"line":1124,"character":27}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1126,"character":11},"end":{"line":1126,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1127,"character":23},"end":{"line":1127,"character":28}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1128,"character":16},"end":{"line":1128,"character":21}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1129,"character":21},"end":{"line":1129,"character":25}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":1130,"character":20},"end":{"line":1130,"character":26}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1143,"character":9},"end":{"line":1143,"character":24}},"severity":1,"source":"compiler","message":"E1K_DO_SetModes not declared by package C"},{"range":{"start":{"line":1144,"character":13},"end":{"line":1144,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1149,"character":26},"end":{"line":1149,"character":32}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1152,"character":9},"end":{"line":1152,"character":24}},"severity":1,"source":"compiler","message":"E1K_DO_SetModes not declared by package C"},{"range":{"start":{"line":1153,"character":13},"end":{"line":1153,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1168,"character":9},"end":{"line":1168,"character":31}},"severity":1,"source":"compiler","message":"E1K_DO_SetSafeValues_W not declared by package C"},{"range":{"start":{"line":1170,"character":13},"end":{"line":1170,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1180,"character":9},"end":{"line":1180,"character":32}},"severity":1,"source":"compiler","message":"E1K_DO_SetPowerOnValues not declared by package C"},{"range":{"start":{"line":1182,"character":13},"end":{"line":1182,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1191,"character":9},"end":{"line":1191,"character":32}},"severity":1,"source":"compiler","message":"E1K_DO_SetPowerOnValues not declared by package C"},{"range":{"start":{"line":1193,"character":13},"end":{"line":1193,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1202,"character":9},"end":{"line":1202,"character":39}},"severity":1,"source":"compiler","message":"E1K_DO_SetPowerOnSeqDelaytimes not declared by package C"},{"range":{"start":{"line":1204,"character":13},"end":{"line":1204,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1210,"character":24},"end":{"line":1210,"character":27}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1212,"character":11},"end":{"line":1212,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1213,"character":23},"end":{"line":1213,"character":28}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1214,"character":16},"end":{"line":1214,"character":21}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1215,"character":21},"end":{"line":1215,"character":25}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":1216,"character":20},"end":{"line":1216,"character":26}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1224,"character":9},"end":{"line":1224,"character":21}},"severity":1,"source":"compiler","message":"E1K_DO_Reads not declared by package C"},{"range":{"start":{"line":1228,"character":13},"end":{"line":1228,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1242,"character":9},"end":{"line":1242,"character":31}},"severity":1,"source":"compiler","message":"E1K_DO_GetSafeValues_W not declared by package C"},{"range":{"start":{"line":1246,"character":13},"end":{"line":1246,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1263,"character":9},"end":{"line":1263,"character":24}},"severity":1,"source":"compiler","message":"E1K_DO_GetModes not declared by package C"},{"range":{"start":{"line":1267,"character":13},"end":{"line":1267,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1283,"character":9},"end":{"line":1283,"character":32}},"severity":1,"source":"compiler","message":"E1K_DO_GetPowerOnValues not declared by package C"},{"range":{"start":{"line":1287,"character":13},"end":{"line":1287,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1305,"character":9},"end":{"line":1305,"character":39}},"severity":1,"source":"compiler","message":"E1K_DO_GetPowerOnSeqDelaytimes not declared by package C"},{"range":{"start":{"line":1309,"character":13},"end":{"line":1309,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1320,"character":27},"end":{"line":1320,"character":30}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1324,"character":11},"end":{"line":1324,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1325,"character":21},"end":{"line":1325,"character":25}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":1326,"character":20},"end":{"line":1326,"character":26}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1327,"character":23},"end":{"line":1327,"character":28}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1328,"character":16},"end":{"line":1328,"character":21}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1329,"character":22},"end":{"line":1329,"character":28}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1330,"character":22},"end":{"line":1330,"character":28}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1346,"character":9},"end":{"line":1346,"character":34}},"severity":1,"source":"compiler","message":"E1K_Pulse_SetSignalWidths not declared by package C"},{"range":{"start":{"line":1348,"character":13},"end":{"line":1348,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1357,"character":9},"end":{"line":1357,"character":34}},"severity":1,"source":"compiler","message":"E1K_Pulse_SetOutputCounts not declared by package C"},{"range":{"start":{"line":1359,"character":13},"end":{"line":1359,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1367,"character":9},"end":{"line":1367,"character":35}},"severity":1,"source":"compiler","message":"E1K_Pulse_SetPowerOnValues not declared by package C"},{"range":{"start":{"line":1369,"character":13},"end":{"line":1369,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1375,"character":27},"end":{"line":1375,"character":30}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1377,"character":11},"end":{"line":1377,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1378,"character":23},"end":{"line":1378,"character":28}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1379,"character":16},"end":{"line":1379,"character":21}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":1380,"character":21},"end":{"line":1380,"character":25}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":1382,"character":22},"end":{"line":1382,"character":28}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1383,"character":22},"end":{"line":1383,"character":28}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":1385,"character":9},"end":{"line":1385,"character":34}},"severity":1,"source":"compiler","message":"E1K_Pulse_GetSignalWidths not declared by package C"},{"range":{"start":{"line":1390,"character":13},"end":{"line":1390,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1399,"character":9},"end":{"line":1399,"character":34}},"severity":1,"source":"compiler","message":"E1K_Pulse_GetOutputCounts not declared by package C"},{"range":{"start":{"line":1403,"character":13},"end":{"line":1403,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1413,"character":9},"end":{"line":1413,"character":35}},"severity":1,"source":"compiler","message":"E1K_Pulse_GetStartStatuses not declared by package C"},{"range":{"start":{"line":1417,"character":13},"end":{"line":1417,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1431,"character":9},"end":{"line":1431,"character":35}},"severity":1,"source":"compiler","message":"E1K_Pulse_GetPowerOnValues not declared by package C"},{"range":{"start":{"line":1435,"character":13},"end":{"line":1435,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1449,"character":9},"end":{"line":1449,"character":32}},"severity":1,"source":"compiler","message":"E1K_Pulse_GetSafeValues not declared by package C"},{"range":{"start":{"line":1453,"character":13},"end":{"line":1453,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":1482,"character":22},"end":{"line":1482,"character":25}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":1488,"character":13},"end":{"line":1488,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"}]}


[Trace - 11:10:37.588 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2021/01/27 11:10:37 unable to compute error positions: no parsed file for file:///Users/ggg_user/edge/pkg/monitor/monitor.go in github.com/ggghuang/cdm/pkg/monitor\n\tpackage=\"github.com/ggghuang/cdm/pkg/monitor\"\n"}


[Error - 11:10:37 AM] 2021/01/27 11:10:37 unable to compute error positions: no parsed file for file:///Users/ggg_user/edge/pkg/monitor/monitor.go in github.com/ggghuang/cdm/pkg/monitor
	package="github.com/ggghuang/cdm/pkg/monitor"

[Trace - 11:10:37.785 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/upgrade/upgrade.go","diagnostics":[{"range":{"start":{"line":18,"character":19},"end":{"line":18,"character":22}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":20,"character":20},"end":{"line":20,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":24,"character":9},"end":{"line":24,"character":29}},"severity":1,"source":"compiler","message":"dsc_LibSetUpgTimeout not declared by package C"},{"range":{"start":{"line":24,"character":33},"end":{"line":24,"character":36}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":28,"character":15},"end":{"line":28,"character":22}},"severity":1,"source":"compiler","message":"CString not declared by package C"},{"range":{"start":{"line":31,"character":20},"end":{"line":31,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":32,"character":9},"end":{"line":32,"character":22}},"severity":1,"source":"compiler","message":"dsc_GetFsInfo not declared by package C"},{"range":{"start":{"line":32,"character":26},"end":{"line":32,"character":29}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":32,"character":45},"end":{"line":32,"character":52}},"severity":1,"source":"compiler","message":"PFSINFO not declared by package C"},{"range":{"start":{"line":33,"character":9},"end":{"line":33,"character":30}},"severity":1,"source":"compiler","message":"dsc_Upgrade_WebKernel not declared by package C"},{"range":{"start":{"line":33,"character":34},"end":{"line":33,"character":37}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":33,"character":64},"end":{"line":33,"character":71}},"severity":1,"source":"compiler","message":"PFSINFO not declared by package C"},{"range":{"start":{"line":34,"character":3},"end":{"line":34,"character":7}},"severity":1,"source":"compiler","message":"free not declared by package C"},{"range":{"start":{"line":35,"character":13},"end":{"line":35,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"}]}


[Trace - 11:10:37.785 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/basic/basic.go","diagnostics":[{"range":{"start":{"line":44,"character":3},"end":{"line":44,"character":11}},"severity":1,"source":"compiler","message":"dsc_init not declared by package C"},{"range":{"start":{"line":46,"character":3},"end":{"line":46,"character":19}},"severity":1,"source":"compiler","message":"dsc_SetSearchOpt not declared by package C"},{"range":{"start":{"line":54,"character":9},"end":{"line":54,"character":15}},"severity":1,"source":"compiler","message":"PIDMAP not declared by package C"},{"range":{"start":{"line":59,"character":23},"end":{"line":59,"character":35}},"severity":1,"source":"compiler","message":"getIDMapItem not declared by package C"},{"range":{"start":{"line":59,"character":39},"end":{"line":59,"character":44}},"severity":1,"source":"compiler","message":"DWORD not declared by package C"},{"range":{"start":{"line":59,"character":56},"end":{"line":59,"character":60}},"severity":1,"source":"compiler","message":"WORD not declared by package C"},{"range":{"start":{"line":65,"character":10},"end":{"line":65,"character":16}},"severity":1,"source":"compiler","message":"PIDMAP not declared by package C"},{"range":{"start":{"line":66,"character":37},"end":{"line":66,"character":44}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":81,"character":21},"end":{"line":81,"character":25}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":82,"character":11},"end":{"line":82,"character":28}},"severity":1,"source":"compiler","message":"dsc_GetDSInfo_op3 not declared by package C"},{"range":{"start":{"line":82,"character":32},"end":{"line":82,"character":35}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":82,"character":51},"end":{"line":82,"character":58}},"severity":1,"source":"compiler","message":"PDSINFO not declared by package C"},{"range":{"start":{"line":83,"character":14},"end":{"line":83,"character":20}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":84,"character":13},"end":{"line":84,"character":20}},"severity":1,"source":"compiler","message":"PDSINFO not declared by package C"},{"range":{"start":{"line":102,"character":12},"end":{"line":102,"character":15}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":103,"character":14},"end":{"line":103,"character":18}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":108,"character":17},"end":{"line":108,"character":21}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":108,"character":25},"end":{"line":108,"character":35}},"severity":1,"source":"compiler","message":"SVRNAMELEN not declared by package C"},{"range":{"start":{"line":109,"character":9},"end":{"line":109,"character":20}},"severity":1,"source":"compiler","message":"dsc_GetName not declared by package C"},{"range":{"start":{"line":109,"character":24},"end":{"line":109,"character":27}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":110,"character":13},"end":{"line":110,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":111,"character":25},"end":{"line":111,"character":34}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":111,"character":47},"end":{"line":111,"character":57}},"severity":1,"source":"compiler","message":"SVRNAMELEN not declared by package C"},{"range":{"start":{"line":113,"character":41},"end":{"line":113,"character":48}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":113,"character":77},"end":{"line":113,"character":87}},"severity":1,"source":"compiler","message":"SVRNAMELEN not declared by package C"},{"range":{"start":{"line":126,"character":8},"end":{"line":126,"character":11}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":127,"character":8},"end":{"line":127,"character":15}},"severity":1,"source":"compiler","message":"PDSINFO not declared by package C"},{"range":{"start":{"line":131,"character":20},"end":{"line":131,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":132,"character":9},"end":{"line":132,"character":26}},"severity":1,"source":"compiler","message":"dsc_GetDSInfo_op3 not declared by package C"},{"range":{"start":{"line":132,"character":30},"end":{"line":132,"character":33}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":132,"character":49},"end":{"line":132,"character":56}},"severity":1,"source":"compiler","message":"PDSINFO not declared by package C"},{"range":{"start":{"line":133,"character":13},"end":{"line":133,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":134,"character":11},"end":{"line":134,"character":18}},"severity":1,"source":"compiler","message":"PDSINFO not declared by package C"},{"range":{"start":{"line":146,"character":15},"end":{"line":146,"character":18}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":147,"character":17},"end":{"line":147,"character":21}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":148,"character":15},"end":{"line":148,"character":26}},"severity":1,"source":"compiler","message":"PKERNELINFO not declared by package C"},{"range":{"start":{"line":153,"character":23},"end":{"line":153,"character":27}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":153,"character":45},"end":{"line":153,"character":57}},"severity":1,"source":"compiler","message":"KERNELINFO not declared by package C"},{"range":{"start":{"line":154,"character":9},"end":{"line":154,"character":26}},"severity":1,"source":"compiler","message":"dsc_GetKernelInfo not declared by package C"},{"range":{"start":{"line":154,"character":30},"end":{"line":154,"character":33}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":154,"character":49},"end":{"line":154,"character":60}},"severity":1,"source":"compiler","message":"PKERNELINFO not declared by package C"},{"range":{"start":{"line":155,"character":13},"end":{"line":155,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":157,"character":11},"end":{"line":157,"character":22}},"severity":1,"source":"compiler","message":"PKERNELINFO not declared by package C"},{"range":{"start":{"line":226,"character":9},"end":{"line":226,"character":12}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":227,"character":9},"end":{"line":227,"character":13}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":231,"character":9},"end":{"line":231,"character":25}},"severity":1,"source":"compiler","message":"dsc_GetBuildDate not declared by package C"},{"range":{"start":{"line":231,"character":29},"end":{"line":231,"character":32}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":232,"character":13},"end":{"line":232,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":251,"character":11},"end":{"line":251,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":252,"character":11},"end":{"line":252,"character":15}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":256,"character":9},"end":{"line":256,"character":25}},"severity":1,"source":"compiler","message":"dsc_GetSysUpTime not declared by package C"},{"range":{"start":{"line":256,"character":29},"end":{"line":256,"character":32}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":257,"character":13},"end":{"line":257,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":295,"character":8},"end":{"line":295,"character":11}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":296,"character":8},"end":{"line":296,"character":15}},"severity":1,"source":"compiler","message":"PFSINFO not declared by package C"},{"range":{"start":{"line":300,"character":20},"end":{"line":300,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":301,"character":9},"end":{"line":301,"character":22}},"severity":1,"source":"compiler","message":"dsc_GetFsInfo not declared by package C"},{"range":{"start":{"line":301,"character":26},"end":{"line":301,"character":29}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":301,"character":45},"end":{"line":301,"character":52}},"severity":1,"source":"compiler","message":"PFSINFO not declared by package C"},{"range":{"start":{"line":302,"character":13},"end":{"line":302,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":304,"character":11},"end":{"line":304,"character":18}},"severity":1,"source":"compiler","message":"PFSINFO not declared by package C"},{"range":{"start":{"line":307,"character":25},"end":{"line":307,"character":34}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":307,"character":51},"end":{"line":307,"character":57}},"severity":1,"source":"compiler","message":"FSNAME not declared by package C"}]}


[Trace - 11:10:37.786 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/backup/backup.go","diagnostics":[{"range":{"start":{"line":18,"character":9},"end":{"line":18,"character":12}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":19,"character":9},"end":{"line":19,"character":12}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":20,"character":11},"end":{"line":20,"character":15}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":25,"character":9},"end":{"line":25,"character":23}},"severity":1,"source":"compiler","message":"dsc_ReadConfig not declared by package C"},{"range":{"start":{"line":25,"character":27},"end":{"line":25,"character":30}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":26,"character":13},"end":{"line":26,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":28,"character":18},"end":{"line":28,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":29,"character":10},"end":{"line":29,"character":26}},"severity":1,"source":"compiler","message":"dsc_receive_data not declared by package C"},{"range":{"start":{"line":29,"character":30},"end":{"line":29,"character":33}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":30,"character":14},"end":{"line":30,"character":20}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":33,"character":11},"end":{"line":33,"character":18}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":50,"character":14},"end":{"line":50,"character":17}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":51,"character":15},"end":{"line":51,"character":19}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":55,"character":15},"end":{"line":55,"character":22}},"severity":1,"source":"compiler","message":"CString not declared by package C"},{"range":{"start":{"line":56,"character":9},"end":{"line":56,"character":25}},"severity":1,"source":"compiler","message":"dsc_UpdateConfig not declared by package C"},{"range":{"start":{"line":56,"character":29},"end":{"line":56,"character":32}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":57,"character":3},"end":{"line":57,"character":7}},"severity":1,"source":"compiler","message":"free not declared by package C"},{"range":{"start":{"line":58,"character":13},"end":{"line":58,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":73,"character":12},"end":{"line":73,"character":15}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":74,"character":12},"end":{"line":74,"character":15}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":75,"character":12},"end":{"line":75,"character":17}},"severity":1,"source":"compiler","message":"DWORD not declared by package C"},{"range":{"start":{"line":76,"character":12},"end":{"line":76,"character":17}},"severity":1,"source":"compiler","message":"DWORD not declared by package C"},{"range":{"start":{"line":77,"character":12},"end":{"line":77,"character":17}},"severity":1,"source":"compiler","message":"DWORD not declared by package C"},{"range":{"start":{"line":78,"character":12},"end":{"line":78,"character":17}},"severity":1,"source":"compiler","message":"DWORD not declared by package C"},{"range":{"start":{"line":79,"character":12},"end":{"line":79,"character":17}},"severity":1,"source":"compiler","message":"DWORD not declared by package C"},{"range":{"start":{"line":80,"character":12},"end":{"line":80,"character":16}},"severity":1,"source":"compiler","message":"BYTE not declared by package C"},{"range":{"start":{"line":104,"character":12},"end":{"line":104,"character":21}},"severity":1,"source":"compiler","message":"dsc_SetIP not declared by package C"},{"range":{"start":{"line":104,"character":25},"end":{"line":104,"character":28}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":104,"character":58},"end":{"line":104,"character":64}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":108,"character":12},"end":{"line":108,"character":27}},"severity":1,"source":"compiler","message":"dsc_SetIPConfig not declared by package C"},{"range":{"start":{"line":108,"character":31},"end":{"line":108,"character":34}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":108,"character":69},"end":{"line":108,"character":75}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":112,"character":12},"end":{"line":112,"character":26}},"severity":1,"source":"compiler","message":"dsc_SetGateway not declared by package C"},{"range":{"start":{"line":112,"character":30},"end":{"line":112,"character":33}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":112,"character":68},"end":{"line":112,"character":74}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":116,"character":12},"end":{"line":116,"character":26}},"severity":1,"source":"compiler","message":"dsc_SetNetmask not declared by package C"},{"range":{"start":{"line":116,"character":30},"end":{"line":116,"character":33}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":116,"character":68},"end":{"line":116,"character":74}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":120,"character":12},"end":{"line":120,"character":22}},"severity":1,"source":"compiler","message":"dsc_SetDNS not declared by package C"},{"range":{"start":{"line":120,"character":26},"end":{"line":120,"character":29}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":120,"character":67},"end":{"line":120,"character":73}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":128,"character":24},"end":{"line":128,"character":45}},"severity":1,"source":"compiler","message":"dsc_SaveAndRestart_Ex not declared by package C"},{"range":{"start":{"line":128,"character":49},"end":{"line":128,"character":52}},"severity":1,"source":"compiler","message":"int not declared by package C"}]}


[Trace - 11:10:37.787 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/auth/auth.go","diagnostics":[{"range":{"start":{"line":18,"character":15},"end":{"line":18,"character":22}},"severity":1,"source":"compiler","message":"CString not declared by package C"},{"range":{"start":{"line":19,"character":9},"end":{"line":19,"character":13}},"severity":1,"source":"compiler","message":"free not declared by package C"},{"range":{"start":{"line":20,"character":10},"end":{"line":20,"character":19}},"severity":1,"source":"compiler","message":"dsc_Login not declared by package C"},{"range":{"start":{"line":20,"character":23},"end":{"line":20,"character":26}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":21,"character":13},"end":{"line":21,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":23,"character":10},"end":{"line":23,"character":20}},"severity":1,"source":"compiler","message":"dsc_Detach not declared by package C"},{"range":{"start":{"line":23,"character":24},"end":{"line":23,"character":27}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":24,"character":14},"end":{"line":24,"character":20}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":30,"character":10},"end":{"line":30,"character":20}},"severity":1,"source":"compiler","message":"dsc_Attach not declared by package C"},{"range":{"start":{"line":30,"character":24},"end":{"line":30,"character":32}},"severity":1,"source":"compiler","message":"PDS_INFO not declared by package C"},{"range":{"start":{"line":30,"character":64},"end":{"line":30,"character":67}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":31,"character":14},"end":{"line":31,"character":20}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":36,"character":15},"end":{"line":36,"character":22}},"severity":1,"source":"compiler","message":"CString not declared by package C"},{"range":{"start":{"line":37,"character":10},"end":{"line":37,"character":19}},"severity":1,"source":"compiler","message":"dsc_Login not declared by package C"},{"range":{"start":{"line":37,"character":23},"end":{"line":37,"character":26}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":38,"character":14},"end":{"line":38,"character":20}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"}]}


[Trace - 11:10:37.789 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/serial/serial.go","diagnostics":[{"range":{"start":{"line":44,"character":8},"end":{"line":44,"character":11}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":45,"character":10},"end":{"line":45,"character":15}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":47,"character":25},"end":{"line":47,"character":29}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":48,"character":23},"end":{"line":48,"character":35}},"severity":1,"source":"compiler","message":"PSERPARMITEM not declared by package C"},{"range":{"start":{"line":51,"character":23},"end":{"line":51,"character":26}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":52,"character":25},"end":{"line":52,"character":30}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":53,"character":25},"end":{"line":53,"character":30}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":54,"character":25},"end":{"line":54,"character":30}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":55,"character":23},"end":{"line":55,"character":26}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":56,"character":25},"end":{"line":56,"character":30}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":57,"character":23},"end":{"line":57,"character":34}},"severity":1,"source":"compiler","message":"PSERDATACNT not declared by package C"},{"range":{"start":{"line":60,"character":24},"end":{"line":60,"character":31}},"severity":1,"source":"compiler","message":"SERINIT not declared by package C"},{"range":{"start":{"line":70,"character":15},"end":{"line":70,"character":20}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":70,"character":38},"end":{"line":70,"character":51}},"severity":1,"source":"compiler","message":"SERPARMITEM not declared by package C"},{"range":{"start":{"line":70,"character":55},"end":{"line":70,"character":62}},"severity":1,"source":"compiler","message":"MAXPORT not declared by package C"},{"range":{"start":{"line":71,"character":9},"end":{"line":71,"character":27}},"severity":1,"source":"compiler","message":"dsc_GetSerialIOCtl not declared by package C"},{"range":{"start":{"line":71,"character":31},"end":{"line":71,"character":34}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":71,"character":73},"end":{"line":71,"character":85}},"severity":1,"source":"compiler","message":"PSERPARMITEM not declared by package C"},{"range":{"start":{"line":72,"character":13},"end":{"line":72,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":79,"character":19},"end":{"line":79,"character":26}},"severity":1,"source":"compiler","message":"MAXPORT not declared by package C"},{"range":{"start":{"line":80,"character":11},"end":{"line":80,"character":23}},"severity":1,"source":"compiler","message":"PSERPARMITEM not declared by package C"},{"range":{"start":{"line":81,"character":18},"end":{"line":81,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":81,"character":26},"end":{"line":81,"character":37}},"severity":1,"source":"compiler","message":"PORTNAMELEN not declared by package C"},{"range":{"start":{"line":91,"character":12},"end":{"line":91,"character":15}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":93,"character":4},"end":{"line":93,"character":25}},"severity":1,"source":"compiler","message":"dsc_GetSerialPortName not declared by package C"},{"range":{"start":{"line":93,"character":29},"end":{"line":93,"character":32}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":93,"character":56},"end":{"line":93,"character":67}},"severity":1,"source":"compiler","message":"PORTNAMELEN not declared by package C"},{"range":{"start":{"line":93,"character":70},"end":{"line":93,"character":74}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":97,"character":27},"end":{"line":97,"character":32}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":98,"character":10},"end":{"line":98,"character":32}},"severity":1,"source":"compiler","message":"dsc_GetSerialInterface not declared by package C"},{"range":{"start":{"line":98,"character":36},"end":{"line":98,"character":39}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":102,"character":22},"end":{"line":102,"character":27}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":103,"character":10},"end":{"line":103,"character":27}},"severity":1,"source":"compiler","message":"dsc_GetSerialFIFO not declared by package C"},{"range":{"start":{"line":103,"character":31},"end":{"line":103,"character":34}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":107,"character":28},"end":{"line":107,"character":33}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":108,"character":10},"end":{"line":108,"character":33}},"severity":1,"source":"compiler","message":"dsc_GetSerialLineStatus not declared by package C"},{"range":{"start":{"line":108,"character":37},"end":{"line":108,"character":40}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":112,"character":17},"end":{"line":112,"character":22}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":112,"character":40},"end":{"line":112,"character":52}},"severity":1,"source":"compiler","message":"SERDATACNT not declared by package C"},{"range":{"start":{"line":112,"character":56},"end":{"line":112,"character":63}},"severity":1,"source":"compiler","message":"MAXPORT not declared by package C"},{"range":{"start":{"line":113,"character":10},"end":{"line":113,"character":32}},"severity":1,"source":"compiler","message":"dsc_GetSerialDataCount not declared by package C"},{"range":{"start":{"line":113,"character":36},"end":{"line":113,"character":39}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":113,"character":61},"end":{"line":113,"character":72}},"severity":1,"source":"compiler","message":"PSERDATACNT not declared by package C"},{"range":{"start":{"line":114,"character":14},"end":{"line":114,"character":25}},"severity":1,"source":"compiler","message":"PSERDATACNT not declared by package C"},{"range":{"start":{"line":122,"character":16},"end":{"line":122,"character":25}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":122,"character":38},"end":{"line":122,"character":49}},"severity":1,"source":"compiler","message":"PORTNAMELEN not declared by package C"},{"range":{"start":{"line":141,"character":49},"end":{"line":141,"character":56}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":141,"character":85},"end":{"line":141,"character":96}},"severity":1,"source":"compiler","message":"PORTNAMELEN not declared by package C"},{"range":{"start":{"line":200,"character":8},"end":{"line":200,"character":11}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":207,"character":15},"end":{"line":207,"character":18}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":208,"character":15},"end":{"line":208,"character":18}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":217,"character":19},"end":{"line":217,"character":26}},"severity":1,"source":"compiler","message":"MAXPORT not declared by package C"},{"range":{"start":{"line":226,"character":12},"end":{"line":226,"character":15}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":231,"character":10},"end":{"line":231,"character":23}},"severity":1,"source":"compiler","message":"dsc_GetOpMode not declared by package C"},{"range":{"start":{"line":231,"character":27},"end":{"line":231,"character":30}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":233,"character":14},"end":{"line":233,"character":20}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":246,"character":24},"end":{"line":246,"character":27}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":275,"character":35},"end":{"line":275,"character":38}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":275,"character":47},"end":{"line":275,"character":50}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":278,"character":16},"end":{"line":278,"character":20}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":279,"character":14},"end":{"line":279,"character":29}},"severity":1,"source":"compiler","message":"PDRVMODEINFO_EX not declared by package C"},{"range":{"start":{"line":280,"character":14},"end":{"line":280,"character":28}},"severity":1,"source":"compiler","message":"PTCPSVRINFO_EX not declared by package C"},{"range":{"start":{"line":281,"character":14},"end":{"line":281,"character":28}},"severity":1,"source":"compiler","message":"PTCPCLIINFO_EX not declared by package C"},{"range":{"start":{"line":282,"character":14},"end":{"line":282,"character":23}},"severity":1,"source":"compiler","message":"PUDP_INFO not declared by package C"},{"range":{"start":{"line":283,"character":14},"end":{"line":283,"character":23}},"severity":1,"source":"compiler","message":"PPAIRCONN not declared by package C"},{"range":{"start":{"line":285,"character":19},"end":{"line":285,"character":27}},"severity":1,"source":"compiler","message":"PRTELNET not declared by package C"},{"range":{"start":{"line":300,"character":18},"end":{"line":300,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":300,"character":40},"end":{"line":300,"character":56}},"severity":1,"source":"compiler","message":"DRVMODEINFO_EX not declared by package C"},{"range":{"start":{"line":301,"character":4},"end":{"line":301,"character":24}},"severity":1,"source":"compiler","message":"dsc_GetDriverMode_Ex not declared by package C"},{"range":{"start":{"line":301,"character":44},"end":{"line":301,"character":59}},"severity":1,"source":"compiler","message":"PDRVMODEINFO_EX not declared by package C"},{"range":{"start":{"line":302,"character":16},"end":{"line":302,"character":31}},"severity":1,"source":"compiler","message":"PDRVMODEINFO_EX not declared by package C"},{"range":{"start":{"line":327,"character":18},"end":{"line":327,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":327,"character":40},"end":{"line":327,"character":55}},"severity":1,"source":"compiler","message":"TCPSVRINFO_EX not declared by package C"},{"range":{"start":{"line":328,"character":4},"end":{"line":328,"character":27}},"severity":1,"source":"compiler","message":"dsc_GetTCPServerMode_Ex not declared by package C"},{"range":{"start":{"line":328,"character":47},"end":{"line":328,"character":61}},"severity":1,"source":"compiler","message":"PTCPSVRINFO_EX not declared by package C"},{"range":{"start":{"line":329,"character":14},"end":{"line":329,"character":28}},"severity":1,"source":"compiler","message":"PTCPSVRINFO_EX not declared by package C"},{"range":{"start":{"line":357,"character":18},"end":{"line":357,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":357,"character":40},"end":{"line":357,"character":55}},"severity":1,"source":"compiler","message":"TCPCLIINFO_EX not declared by package C"},{"range":{"start":{"line":358,"character":4},"end":{"line":358,"character":27}},"severity":1,"source":"compiler","message":"dsc_GetTCPClientMode_Ex not declared by package C"},{"range":{"start":{"line":358,"character":47},"end":{"line":358,"character":61}},"severity":1,"source":"compiler","message":"PTCPCLIINFO_EX not declared by package C"},{"range":{"start":{"line":359,"character":17},"end":{"line":359,"character":31}},"severity":1,"source":"compiler","message":"PTCPCLIINFO_EX not declared by package C"},{"range":{"start":{"line":363,"character":27},"end":{"line":363,"character":42}},"severity":1,"source":"compiler","message":"MAXMULTISESSION not declared by package C"},{"range":{"start":{"line":364,"character":20},"end":{"line":364,"character":35}},"severity":1,"source":"compiler","message":"MAXMULTISESSION not declared by package C"},{"range":{"start":{"line":366,"character":30},"end":{"line":366,"character":39}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":366,"character":81},"end":{"line":366,"character":92}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":367,"character":43},"end":{"line":367,"character":50}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":367,"character":108},"end":{"line":367,"character":119}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":423,"character":18},"end":{"line":423,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":423,"character":40},"end":{"line":423,"character":50}},"severity":1,"source":"compiler","message":"UDP_INFO not declared by package C"},{"range":{"start":{"line":424,"character":4},"end":{"line":424,"character":18}},"severity":1,"source":"compiler","message":"dsc_GetUDPMode not declared by package C"},{"range":{"start":{"line":424,"character":38},"end":{"line":424,"character":47}},"severity":1,"source":"compiler","message":"PUDP_INFO not declared by package C"},{"range":{"start":{"line":425,"character":14},"end":{"line":425,"character":23}},"severity":1,"source":"compiler","message":"PUDP_INFO not declared by package C"},{"range":{"start":{"line":466,"character":18},"end":{"line":466,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":466,"character":40},"end":{"line":466,"character":50}},"severity":1,"source":"compiler","message":"PAIRCONN not declared by package C"},{"range":{"start":{"line":467,"character":4},"end":{"line":467,"character":21}},"severity":1,"source":"compiler","message":"dsc_GetConnection not declared by package C"},{"range":{"start":{"line":467,"character":41},"end":{"line":467,"character":50}},"severity":1,"source":"compiler","message":"PPAIRCONN not declared by package C"},{"range":{"start":{"line":468,"character":15},"end":{"line":468,"character":24}},"severity":1,"source":"compiler","message":"PPAIRCONN not declared by package C"},{"range":{"start":{"line":471,"character":43},"end":{"line":471,"character":52}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":471,"character":77},"end":{"line":471,"character":88}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":473,"character":52},"end":{"line":473,"character":59}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":473,"character":100},"end":{"line":473,"character":111}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":481,"character":18},"end":{"line":481,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":481,"character":40},"end":{"line":481,"character":50}},"severity":1,"source":"compiler","message":"PAIRCONN not declared by package C"},{"range":{"start":{"line":482,"character":4},"end":{"line":482,"character":21}},"severity":1,"source":"compiler","message":"dsc_GetConnection not declared by package C"},{"range":{"start":{"line":482,"character":41},"end":{"line":482,"character":50}},"severity":1,"source":"compiler","message":"PPAIRCONN not declared by package C"},{"range":{"start":{"line":483,"character":15},"end":{"line":483,"character":24}},"severity":1,"source":"compiler","message":"PPAIRCONN not declared by package C"},{"range":{"start":{"line":501,"character":18},"end":{"line":501,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":501,"character":40},"end":{"line":501,"character":50}},"severity":1,"source":"compiler","message":"PAIRCONN not declared by package C"},{"range":{"start":{"line":502,"character":4},"end":{"line":502,"character":21}},"severity":1,"source":"compiler","message":"dsc_GetConnection not declared by package C"},{"range":{"start":{"line":502,"character":41},"end":{"line":502,"character":50}},"severity":1,"source":"compiler","message":"PPAIRCONN not declared by package C"},{"range":{"start":{"line":503,"character":15},"end":{"line":503,"character":24}},"severity":1,"source":"compiler","message":"PPAIRCONN not declared by package C"},{"range":{"start":{"line":518,"character":18},"end":{"line":518,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":518,"character":40},"end":{"line":518,"character":50}},"severity":1,"source":"compiler","message":"PAIRCONN not declared by package C"},{"range":{"start":{"line":519,"character":4},"end":{"line":519,"character":18}},"severity":1,"source":"compiler","message":"dsc_GetRTelnet not declared by package C"},{"range":{"start":{"line":519,"character":38},"end":{"line":519,"character":46}},"severity":1,"source":"compiler","message":"PRTELNET not declared by package C"},{"range":{"start":{"line":520,"character":17},"end":{"line":520,"character":25}},"severity":1,"source":"compiler","message":"PRTELNET not declared by package C"},{"range":{"start":{"line":530,"character":34},"end":{"line":530,"character":37}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":532,"character":9},"end":{"line":532,"character":12}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":533,"character":11},"end":{"line":533,"character":15}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":535,"character":17},"end":{"line":535,"character":21}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":535,"character":25},"end":{"line":535,"character":32}},"severity":1,"source":"compiler","message":"MAXPORT not declared by package C"},{"range":{"start":{"line":535,"character":35},"end":{"line":535,"character":46}},"severity":1,"source":"compiler","message":"PORTNAMELEN not declared by package C"},{"range":{"start":{"line":536,"character":9},"end":{"line":536,"character":30}},"severity":1,"source":"compiler","message":"dsc_GetSerialPortName not declared by package C"},{"range":{"start":{"line":536,"character":49},"end":{"line":536,"character":56}},"severity":1,"source":"compiler","message":"MAXPORT not declared by package C"},{"range":{"start":{"line":536,"character":59},"end":{"line":536,"character":63}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":537,"character":13},"end":{"line":537,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":539,"character":20},"end":{"line":539,"character":27}},"severity":1,"source":"compiler","message":"MAXPORT not declared by package C"},{"range":{"start":{"line":540,"character":26},"end":{"line":540,"character":35}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":540,"character":48},"end":{"line":540,"character":59}},"severity":1,"source":"compiler","message":"PORTNAMELEN not declared by package C"},{"range":{"start":{"line":540,"character":64},"end":{"line":540,"character":75}},"severity":1,"source":"compiler","message":"PORTNAMELEN not declared by package C"},{"range":{"start":{"line":547,"character":19},"end":{"line":547,"character":24}},"severity":1,"source":"compiler","message":"BIT_8 not declared by package C"},{"range":{"start":{"line":547,"character":31},"end":{"line":547,"character":36}},"severity":1,"source":"compiler","message":"BIT_8 not declared by package C"},{"range":{"start":{"line":549,"character":26},"end":{"line":549,"character":31}},"severity":1,"source":"compiler","message":"BIT_8 not declared by package C"},{"range":{"start":{"line":549,"character":38},"end":{"line":549,"character":43}},"severity":1,"source":"compiler","message":"BIT_7 not declared by package C"},{"range":{"start":{"line":551,"character":26},"end":{"line":551,"character":31}},"severity":1,"source":"compiler","message":"BIT_8 not declared by package C"},{"range":{"start":{"line":551,"character":38},"end":{"line":551,"character":43}},"severity":1,"source":"compiler","message":"BIT_6 not declared by package C"},{"range":{"start":{"line":553,"character":26},"end":{"line":553,"character":31}},"severity":1,"source":"compiler","message":"BIT_8 not declared by package C"},{"range":{"start":{"line":553,"character":38},"end":{"line":553,"character":43}},"severity":1,"source":"compiler","message":"BIT_5 not declared by package C"},{"range":{"start":{"line":560,"character":19},"end":{"line":560,"character":25}},"severity":1,"source":"compiler","message":"STOP_2 not declared by package C"},{"range":{"start":{"line":560,"character":32},"end":{"line":560,"character":38}},"severity":1,"source":"compiler","message":"STOP_1 not declared by package C"},{"range":{"start":{"line":562,"character":53},"end":{"line":562,"character":59}},"severity":1,"source":"compiler","message":"STOP_2 not declared by package C"},{"range":{"start":{"line":562,"character":66},"end":{"line":562,"character":72}},"severity":1,"source":"compiler","message":"STOP_2 not declared by package C"},{"range":{"start":{"line":564,"character":26},"end":{"line":564,"character":32}},"severity":1,"source":"compiler","message":"STOP_2 not declared by package C"},{"range":{"start":{"line":564,"character":39},"end":{"line":564,"character":45}},"severity":1,"source":"compiler","message":"STOP_2 not declared by package C"},{"range":{"start":{"line":571,"character":19},"end":{"line":571,"character":25}},"severity":1,"source":"compiler","message":"P_MASK not declared by package C"},{"range":{"start":{"line":571,"character":32},"end":{"line":571,"character":38}},"severity":1,"source":"compiler","message":"P_NONE not declared by package C"},{"range":{"start":{"line":573,"character":26},"end":{"line":573,"character":32}},"severity":1,"source":"compiler","message":"P_MASK not declared by package C"},{"range":{"start":{"line":573,"character":39},"end":{"line":573,"character":44}},"severity":1,"source":"compiler","message":"P_ODD not declared by package C"},{"range":{"start":{"line":575,"character":26},"end":{"line":575,"character":32}},"severity":1,"source":"compiler","message":"P_MASK not declared by package C"},{"range":{"start":{"line":575,"character":39},"end":{"line":575,"character":45}},"severity":1,"source":"compiler","message":"P_EVEN not declared by package C"},{"range":{"start":{"line":577,"character":26},"end":{"line":577,"character":32}},"severity":1,"source":"compiler","message":"P_MASK not declared by package C"},{"range":{"start":{"line":577,"character":39},"end":{"line":577,"character":44}},"severity":1,"source":"compiler","message":"P_MRK not declared by package C"},{"range":{"start":{"line":579,"character":26},"end":{"line":579,"character":32}},"severity":1,"source":"compiler","message":"P_MASK not declared by package C"},{"range":{"start":{"line":579,"character":39},"end":{"line":579,"character":44}},"severity":1,"source":"compiler","message":"P_SPC not declared by package C"},{"range":{"start":{"line":587,"character":11},"end":{"line":587,"character":24}},"severity":1,"source":"compiler","message":"NONE_FLOWCTRL not declared by package C"},{"range":{"start":{"line":589,"character":18},"end":{"line":589,"character":29}},"severity":1,"source":"compiler","message":"HW_FLOWCTRL not declared by package C"},{"range":{"start":{"line":591,"character":18},"end":{"line":591,"character":29}},"severity":1,"source":"compiler","message":"SW_FLOWCTRL not declared by package C"},{"range":{"start":{"line":593,"character":18},"end":{"line":593,"character":33}},"severity":1,"source":"compiler","message":"DTRDSR_FLOWCTRL not declared by package C"},{"range":{"start":{"line":610,"character":11},"end":{"line":610,"character":19}},"severity":1,"source":"compiler","message":"IF_RS232 not declared by package C"},{"range":{"start":{"line":612,"character":18},"end":{"line":612,"character":26}},"severity":1,"source":"compiler","message":"IF_RS422 not declared by package C"},{"range":{"start":{"line":614,"character":18},"end":{"line":614,"character":28}},"severity":1,"source":"compiler","message":"IF_RS4852W not declared by package C"},{"range":{"start":{"line":616,"character":18},"end":{"line":616,"character":28}},"severity":1,"source":"compiler","message":"IF_RS4854W not declared by package C"},{"range":{"start":{"line":622,"character":32},"end":{"line":622,"character":35}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":622,"character":44},"end":{"line":622,"character":47}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":623,"character":15},"end":{"line":623,"character":19}},"severity":1,"source":"compiler","message":"WORD not declared by package C"},{"range":{"start":{"line":624,"character":11},"end":{"line":624,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":626,"character":12},"end":{"line":626,"character":31}},"severity":1,"source":"compiler","message":"dsc_GetTCPAliveTime not declared by package C"},{"range":{"start":{"line":626,"character":68},"end":{"line":626,"character":74}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":633,"character":34},"end":{"line":633,"character":37}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":633,"character":46},"end":{"line":633,"character":49}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":634,"character":15},"end":{"line":634,"character":19}},"severity":1,"source":"compiler","message":"WORD not declared by package C"},{"range":{"start":{"line":635,"character":11},"end":{"line":635,"character":14}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":637,"character":12},"end":{"line":637,"character":33}},"severity":1,"source":"compiler","message":"dsc_GetInactivityTime not declared by package C"},{"range":{"start":{"line":637,"character":70},"end":{"line":637,"character":76}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":644,"character":31},"end":{"line":644,"character":34}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":644,"character":43},"end":{"line":644,"character":46}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":646,"character":21},"end":{"line":646,"character":25}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":647,"character":19},"end":{"line":647,"character":38}},"severity":1,"source":"compiler","message":"PDATAPACKINGINFO_EX not declared by package C"},{"range":{"start":{"line":653,"character":24},"end":{"line":653,"character":28}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":653,"character":46},"end":{"line":653,"character":66}},"severity":1,"source":"compiler","message":"DATAPACKINGINFO_EX not declared by package C"},{"range":{"start":{"line":654,"character":3},"end":{"line":654,"character":24}},"severity":1,"source":"compiler","message":"dsc_GetDataPacking_Ex not declared by package C"},{"range":{"start":{"line":654,"character":44},"end":{"line":654,"character":63}},"severity":1,"source":"compiler","message":"PDATAPACKINGINFO_EX not declared by package C"},{"range":{"start":{"line":655,"character":14},"end":{"line":655,"character":33}},"severity":1,"source":"compiler","message":"PDATAPACKINGINFO_EX not declared by package C"},{"range":{"start":{"line":697,"character":61},"end":{"line":697,"character":68}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":700,"character":54},"end":{"line":700,"character":61}},"severity":1,"source":"compiler","message":"GoBytes not declared by package C"},{"range":{"start":{"line":718,"character":30},"end":{"line":718,"character":33}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":719,"character":11},"end":{"line":719,"character":23}},"severity":1,"source":"compiler","message":"DISABLE_MODE not declared by package C"},{"range":{"start":{"line":721,"character":18},"end":{"line":721,"character":26}},"severity":1,"source":"compiler","message":"DRV_MODE not declared by package C"},{"range":{"start":{"line":723,"character":18},"end":{"line":723,"character":29}},"severity":1,"source":"compiler","message":"TCPSVR_MODE not declared by package C"},{"range":{"start":{"line":725,"character":18},"end":{"line":725,"character":29}},"severity":1,"source":"compiler","message":"TCPCLI_MODE not declared by package C"},{"range":{"start":{"line":727,"character":18},"end":{"line":727,"character":26}},"severity":1,"source":"compiler","message":"UDP_MODE not declared by package C"},{"range":{"start":{"line":729,"character":18},"end":{"line":729,"character":33}},"severity":1,"source":"compiler","message":"PAIRMASTER_MODE not declared by package C"},{"range":{"start":{"line":731,"character":18},"end":{"line":731,"character":32}},"severity":1,"source":"compiler","message":"PAIRSLAVE_MODE not declared by package C"},{"range":{"start":{"line":733,"character":18},"end":{"line":733,"character":31}},"severity":1,"source":"compiler","message":"ETHMODEM_MODE not declared by package C"},{"range":{"start":{"line":735,"character":18},"end":{"line":735,"character":30}},"severity":1,"source":"compiler","message":"RTELNET_MODE not declared by package C"},{"range":{"start":{"line":742,"character":32},"end":{"line":742,"character":36}},"severity":1,"source":"compiler","message":"WORD not declared by package C"}]}


[Trace - 11:10:37.801 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/snmp/snmp.go","diagnostics":[{"range":{"start":{"line":35,"character":13},"end":{"line":35,"character":16}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":36,"character":15},"end":{"line":36,"character":19}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":38,"character":13},"end":{"line":38,"character":17}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":39,"character":11},"end":{"line":39,"character":20}},"severity":1,"source":"compiler","message":"PSNMPINFO not declared by package C"},{"range":{"start":{"line":56,"character":21},"end":{"line":56,"character":25}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":56,"character":43},"end":{"line":56,"character":53}},"severity":1,"source":"compiler","message":"SNMPINFO not declared by package C"},{"range":{"start":{"line":57,"character":9},"end":{"line":57,"character":20}},"severity":1,"source":"compiler","message":"dsc_GetSNMP not declared by package C"},{"range":{"start":{"line":57,"character":24},"end":{"line":57,"character":27}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":57,"character":43},"end":{"line":57,"character":52}},"severity":1,"source":"compiler","message":"PSNMPINFO not declared by package C"},{"range":{"start":{"line":59,"character":13},"end":{"line":59,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":61,"character":11},"end":{"line":61,"character":20}},"severity":1,"source":"compiler","message":"PSNMPINFO not declared by package C"},{"range":{"start":{"line":65,"character":28},"end":{"line":65,"character":37}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":65,"character":57},"end":{"line":65,"character":68}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":66,"character":29},"end":{"line":66,"character":38}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":66,"character":59},"end":{"line":66,"character":70}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":67,"character":30},"end":{"line":67,"character":39}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":67,"character":61},"end":{"line":67,"character":72}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":69,"character":20},"end":{"line":69,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":69,"character":28},"end":{"line":69,"character":39}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":70,"character":4},"end":{"line":70,"character":20}},"severity":1,"source":"compiler","message":"community_decode not declared by package C"},{"range":{"start":{"line":70,"character":31},"end":{"line":70,"character":36}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":71,"character":37},"end":{"line":71,"character":46}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":71,"character":61},"end":{"line":71,"character":72}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":80,"character":13},"end":{"line":80,"character":16}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":81,"character":15},"end":{"line":81,"character":19}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":83,"character":13},"end":{"line":83,"character":17}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":84,"character":11},"end":{"line":84,"character":21}},"severity":1,"source":"compiler","message":"PSNMPINFO2 not declared by package C"},{"range":{"start":{"line":102,"character":21},"end":{"line":102,"character":25}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":102,"character":43},"end":{"line":102,"character":54}},"severity":1,"source":"compiler","message":"SNMPINFO2 not declared by package C"},{"range":{"start":{"line":103,"character":9},"end":{"line":103,"character":21}},"severity":1,"source":"compiler","message":"dsc_GetSNMP2 not declared by package C"},{"range":{"start":{"line":103,"character":25},"end":{"line":103,"character":28}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":103,"character":44},"end":{"line":103,"character":54}},"severity":1,"source":"compiler","message":"PSNMPINFO2 not declared by package C"},{"range":{"start":{"line":105,"character":13},"end":{"line":105,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":106,"character":11},"end":{"line":106,"character":21}},"severity":1,"source":"compiler","message":"PSNMPINFO2 not declared by package C"},{"range":{"start":{"line":110,"character":42},"end":{"line":110,"character":62}},"severity":1,"source":"compiler","message":"D_SNMP_FLAGS_DIS_ALL not declared by package C"},{"range":{"start":{"line":113,"character":42},"end":{"line":113,"character":63}},"severity":1,"source":"compiler","message":"D_SNMP_FLAGS_DIS_TRAP not declared by package C"},{"range":{"start":{"line":116,"character":42},"end":{"line":116,"character":63}},"severity":1,"source":"compiler","message":"D_SNMP_FLAGS_DIS_MIB2 not declared by package C"},{"range":{"start":{"line":119,"character":42},"end":{"line":119,"character":61}},"severity":1,"source":"compiler","message":"D_SNMP_FLAGS_DIS_V1 not declared by package C"},{"range":{"start":{"line":122,"character":42},"end":{"line":122,"character":61}},"severity":1,"source":"compiler","message":"D_SNMP_FLAGS_DIS_V2 not declared by package C"},{"range":{"start":{"line":125,"character":42},"end":{"line":125,"character":61}},"severity":1,"source":"compiler","message":"D_SNMP_FLAGS_DIS_V3 not declared by package C"},{"range":{"start":{"line":128,"character":42},"end":{"line":128,"character":64}},"severity":1,"source":"compiler","message":"D_SNMP_FLAGS_DIS_READY not declared by package C"},{"range":{"start":{"line":140,"character":28},"end":{"line":140,"character":37}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":140,"character":57},"end":{"line":140,"character":68}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":141,"character":29},"end":{"line":141,"character":38}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":141,"character":59},"end":{"line":141,"character":70}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":142,"character":30},"end":{"line":142,"character":39}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":142,"character":61},"end":{"line":142,"character":72}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":143,"character":20},"end":{"line":143,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":143,"character":28},"end":{"line":143,"character":39}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":144,"character":4},"end":{"line":144,"character":20}},"severity":1,"source":"compiler","message":"community_decode not declared by package C"},{"range":{"start":{"line":144,"character":31},"end":{"line":144,"character":36}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":145,"character":42},"end":{"line":145,"character":51}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":145,"character":66},"end":{"line":145,"character":77}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":147,"character":20},"end":{"line":147,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":147,"character":28},"end":{"line":147,"character":39}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":148,"character":4},"end":{"line":148,"character":20}},"severity":1,"source":"compiler","message":"community_decode not declared by package C"},{"range":{"start":{"line":148,"character":31},"end":{"line":148,"character":36}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":149,"character":43},"end":{"line":149,"character":52}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":149,"character":67},"end":{"line":149,"character":78}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":151,"character":20},"end":{"line":151,"character":24}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":151,"character":28},"end":{"line":151,"character":39}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":152,"character":4},"end":{"line":152,"character":20}},"severity":1,"source":"compiler","message":"community_decode not declared by package C"},{"range":{"start":{"line":152,"character":31},"end":{"line":152,"character":36}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":153,"character":42},"end":{"line":153,"character":51}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":153,"character":66},"end":{"line":153,"character":77}},"severity":1,"source":"compiler","message":"HOSTNAMELEN not declared by package C"},{"range":{"start":{"line":163,"character":13},"end":{"line":163,"character":16}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":164,"character":15},"end":{"line":164,"character":19}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":165,"character":13},"end":{"line":165,"character":29}},"severity":1,"source":"compiler","message":"PSNMP_AGENT_INFO not declared by package C"},{"range":{"start":{"line":171,"character":21},"end":{"line":171,"character":25}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":171,"character":43},"end":{"line":171,"character":60}},"severity":1,"source":"compiler","message":"SNMP_AGENT_INFO not declared by package C"},{"range":{"start":{"line":172,"character":9},"end":{"line":172,"character":25}},"severity":1,"source":"compiler","message":"dsc_GetSNMPAgent not declared by package C"},{"range":{"start":{"line":172,"character":29},"end":{"line":172,"character":32}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":172,"character":48},"end":{"line":172,"character":64}},"severity":1,"source":"compiler","message":"PSNMP_AGENT_INFO not declared by package C"},{"range":{"start":{"line":173,"character":13},"end":{"line":173,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":174,"character":11},"end":{"line":174,"character":27}},"severity":1,"source":"compiler","message":"PSNMP_AGENT_INFO not declared by package C"},{"range":{"start":{"line":188,"character":31},"end":{"line":188,"character":40}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":188,"character":63},"end":{"line":188,"character":75}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":189,"character":31},"end":{"line":189,"character":40}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":189,"character":63},"end":{"line":189,"character":75}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":190,"character":28},"end":{"line":190,"character":37}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":190,"character":57},"end":{"line":190,"character":69}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":191,"character":29},"end":{"line":191,"character":38}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":191,"character":59},"end":{"line":191,"character":71}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":200,"character":32},"end":{"line":200,"character":41}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":200,"character":65},"end":{"line":200,"character":77}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":201,"character":32},"end":{"line":201,"character":41}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":201,"character":65},"end":{"line":201,"character":77}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":210,"character":31},"end":{"line":210,"character":40}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":210,"character":63},"end":{"line":210,"character":75}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":219,"character":32},"end":{"line":219,"character":41}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":219,"character":65},"end":{"line":219,"character":77}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":220,"character":32},"end":{"line":220,"character":41}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":220,"character":65},"end":{"line":220,"character":77}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"},{"range":{"start":{"line":229,"character":31},"end":{"line":229,"character":40}},"severity":1,"source":"compiler","message":"GoStringN not declared by package C"},{"range":{"start":{"line":229,"character":63},"end":{"line":229,"character":75}},"severity":1,"source":"compiler","message":"SNMP_STR_LEN not declared by package C"}]}


[Trace - 11:10:37.806 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/network/network.go","diagnostics":[{"range":{"start":{"line":20,"character":15},"end":{"line":20,"character":18}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":21,"character":15},"end":{"line":21,"character":18}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":26,"character":9},"end":{"line":26,"character":24}},"severity":1,"source":"compiler","message":"dsc_GetIPConfig not declared by package C"},{"range":{"start":{"line":26,"character":28},"end":{"line":26,"character":31}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":28,"character":13},"end":{"line":28,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":51,"character":12},"end":{"line":51,"character":15}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":52,"character":12},"end":{"line":52,"character":15}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":53,"character":12},"end":{"line":53,"character":25}},"severity":1,"source":"compiler","message":"PIFCONFIGINFO not declared by package C"},{"range":{"start":{"line":61,"character":22},"end":{"line":61,"character":26}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":61,"character":44},"end":{"line":61,"character":58}},"severity":1,"source":"compiler","message":"IFCONFIGINFO not declared by package C"},{"range":{"start":{"line":62,"character":9},"end":{"line":62,"character":24}},"severity":1,"source":"compiler","message":"dsc_GetIfConfig not declared by package C"},{"range":{"start":{"line":62,"character":28},"end":{"line":62,"character":31}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":62,"character":56},"end":{"line":62,"character":69}},"severity":1,"source":"compiler","message":"PIFCONFIGINFO not declared by package C"},{"range":{"start":{"line":64,"character":13},"end":{"line":64,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":67,"character":11},"end":{"line":67,"character":24}},"severity":1,"source":"compiler","message":"PIFCONFIGINFO not declared by package C"},{"range":{"start":{"line":110,"character":12},"end":{"line":110,"character":15}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":111,"character":12},"end":{"line":111,"character":17}},"severity":1,"source":"compiler","message":"DWORD not declared by package C"},{"range":{"start":{"line":112,"character":12},"end":{"line":112,"character":17}},"severity":1,"source":"compiler","message":"DWORD not declared by package C"},{"range":{"start":{"line":118,"character":9},"end":{"line":118,"character":19}},"severity":1,"source":"compiler","message":"dsc_GetDNS not declared by package C"},{"range":{"start":{"line":118,"character":23},"end":{"line":118,"character":26}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":119,"character":13},"end":{"line":119,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":147,"character":22},"end":{"line":147,"character":25}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":149,"character":8},"end":{"line":149,"character":11}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":150,"character":8},"end":{"line":150,"character":12}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":154,"character":9},"end":{"line":154,"character":18}},"severity":1,"source":"compiler","message":"dsc_GetIP not declared by package C"},{"range":{"start":{"line":155,"character":13},"end":{"line":155,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"}]}


[Trace - 11:10:37.807 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/discovery/discovery_dsci.go","diagnostics":[{"range":{"start":{"line":54,"character":10},"end":{"line":54,"character":14}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":66,"character":10},"end":{"line":66,"character":17}},"severity":1,"source":"compiler","message":"CString not declared by package C"},{"range":{"start":{"line":67,"character":9},"end":{"line":67,"character":13}},"severity":1,"source":"compiler","message":"free not declared by package C"},{"range":{"start":{"line":77,"character":4},"end":{"line":77,"character":18}},"severity":1,"source":"compiler","message":"dsc_EnumSearch not declared by package C"},{"range":{"start":{"line":77,"character":21},"end":{"line":77,"character":28}},"severity":1,"source":"compiler","message":"AF_INET not declared by package C"},{"range":{"start":{"line":77,"character":64},"end":{"line":77,"character":81}},"severity":1,"source":"compiler","message":"cgoSearchCallback not declared by package C"},{"range":{"start":{"line":103,"character":38},"end":{"line":103,"character":46}},"severity":1,"source":"compiler","message":"PDS_INFO not declared by package C"},{"range":{"start":{"line":104,"character":16},"end":{"line":104,"character":19}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":106,"character":11},"end":{"line":106,"character":19}},"severity":1,"source":"compiler","message":"PDS_INFO not declared by package C"},{"range":{"start":{"line":121,"character":4},"end":{"line":121,"character":9}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":121,"character":25},"end":{"line":121,"character":30}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":121,"character":46},"end":{"line":121,"character":51}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":122,"character":4},"end":{"line":122,"character":9}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":122,"character":25},"end":{"line":122,"character":30}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":122,"character":46},"end":{"line":122,"character":51}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":125,"character":10},"end":{"line":125,"character":20}},"severity":1,"source":"compiler","message":"dsc_Attach not declared by package C"},{"range":{"start":{"line":126,"character":13},"end":{"line":126,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":128,"character":10},"end":{"line":128,"character":20}},"severity":1,"source":"compiler","message":"dsc_Detach not declared by package C"},{"range":{"start":{"line":165,"character":32},"end":{"line":165,"character":40}},"severity":1,"source":"compiler","message":"PDS_INFO not declared by package C"},{"range":{"start":{"line":166,"character":16},"end":{"line":166,"character":19}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":168,"character":11},"end":{"line":168,"character":19}},"severity":1,"source":"compiler","message":"PDS_INFO not declared by package C"},{"range":{"start":{"line":207,"character":4},"end":{"line":207,"character":9}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":207,"character":25},"end":{"line":207,"character":30}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":207,"character":46},"end":{"line":207,"character":51}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":208,"character":4},"end":{"line":208,"character":9}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":208,"character":25},"end":{"line":208,"character":30}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":208,"character":46},"end":{"line":208,"character":51}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":211,"character":10},"end":{"line":211,"character":20}},"severity":1,"source":"compiler","message":"dsc_Attach not declared by package C"},{"range":{"start":{"line":212,"character":13},"end":{"line":212,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":214,"character":10},"end":{"line":214,"character":20}},"severity":1,"source":"compiler","message":"dsc_Detach not declared by package C"}]}


[Trace - 11:10:37.809 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/info/info.go","diagnostics":[{"range":{"start":{"line":62,"character":18},"end":{"line":62,"character":22}},"severity":1,"source":"compiler","message":"char not declared by package C"},{"range":{"start":{"line":62,"character":40},"end":{"line":62,"character":49}},"severity":1,"source":"compiler","message":"DS_INFO not declared by package C"},{"range":{"start":{"line":63,"character":14},"end":{"line":63,"character":22}},"severity":1,"source":"compiler","message":"PDS_INFO not declared by package C"},{"range":{"start":{"line":68,"character":18},"end":{"line":68,"character":22}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":70,"character":18},"end":{"line":70,"character":24}},"severity":1,"source":"compiler","message":"ushort not declared by package C"},{"range":{"start":{"line":72,"character":28},"end":{"line":72,"character":32}},"severity":1,"source":"compiler","message":"uint not declared by package C"},{"range":{"start":{"line":76,"character":21},"end":{"line":76,"character":26}},"severity":1,"source":"compiler","message":"uchar not declared by package C"},{"range":{"start":{"line":80,"character":16},"end":{"line":80,"character":19}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":81,"character":10},"end":{"line":81,"character":20}},"severity":1,"source":"compiler","message":"dsc_Attach not declared by package C"},{"range":{"start":{"line":82,"character":13},"end":{"line":82,"character":19}},"severity":1,"source":"compiler","message":"DSC_OK not declared by package C"},{"range":{"start":{"line":109,"character":3},"end":{"line":109,"character":13}},"severity":1,"source":"compiler","message":"dsc_Detach not declared by package C"},{"range":{"start":{"line":109,"character":17},"end":{"line":109,"character":20}},"severity":1,"source":"compiler","message":"int not declared by package C"}]}


[Trace - 11:10:37.809 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/monitor/monitor.go","diagnostics":[{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"severity":1,"source":"syntax","message":"expected ';', found 'EOF'"}]}


[Trace - 11:10:38.503 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:38 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/git/burford\n\tquery=[builtin github.com/fcwu/burford/...]\n\tpackages=22\n"}


[Info  - 11:10:38 AM] 2021/01/27 11:10:38 go/packages.Load
	snapshot=0
	directory=/Users/ggg_user/git/burford
	query=[builtin github.com/fcwu/burford/...]
	packages=22

[Trace - 11:10:38.589 AM] Received notification '$/progress'.
Params: {"token":"1443635317331776148","value":{"kind":"end","message":"Finished loading packages."}}


[

[Trace - 11:10:38.700 AM] Sending response 'client/registerCapability - (18)' in 69ms.
Result: 


[Trace - 11:10:38.704 AM] Received request 'client/registerCapability - (19)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"}]}


[Trace - 11:10:38.706 AM] Sending response 'client/registerCapability - (19)' in 2ms.
Result: 

[Trace - 11:10:38.989 AM] Sending response 'client/registerCapability - (20)' in 2ms.
Result: 


[Trace - 11:10:38.989 AM] Received request 'client/unregisterCapability - (21)'.
Params: {"unregisterations":[{"id":"workspace/didChangeWatchedFiles-0","method":"workspace/didChangeWatchedFiles"}]}


[Trace - 11:10:38.990 AM] Sending response 'client/unregisterCapability - (21)' in 0ms.
Result: 


[Trace - 11:10:39.792 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:39 go/packages.Load\n\tsnapshot=1\n\tdirectory=/Users/ggg_user/mxio\n\tquery=[file=/Users/ggg_user/mxio/cgo/main.go]\n\tpackages=1\n"}


[Trace - 11:10:39.792 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:39 go/packages.Load\n\tsnapshot=1\n\tpackage=\"command-line-arguments\"\n\tfiles=[/Users/ggg_user/mxio/cgo/main.go]\n"}


[Info  - 11:10:39 AM] 2021/01/27 11:10:39 go/packages.Load
	snapshot=1
	directory=/Users/ggg_user/mxio
	query=[file=/Users/ggg_user/mxio/cgo/main.go]
	packages=1

[Info  - 11:10:39 AM] 2021/01/27 11:10:39 go/packages.Load
	snapshot=1
	package="command-line-arguments"
	files=[/Users/ggg_user/mxio/cgo/main.go]

[Trace - 11:10:39.793 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/mxio/cgo/main.go","version":1,"diagnostics":[{"range":{"start":{"line":16,"character":10},"end":{"line":16,"character":20}},"severity":1,"source":"compiler","message":"MXEIO_Init not declared by package C"},{"range":{"start":{"line":17,"character":13},"end":{"line":17,"character":20}},"severity":1,"source":"compiler","message":"MXIO_OK not declared by package C"},{"range":{"start":{"line":21,"character":10},"end":{"line":21,"character":17}},"severity":1,"source":"compiler","message":"CString not declared by package C"},{"range":{"start":{"line":22,"character":18},"end":{"line":22,"character":21}},"severity":1,"source":"compiler","message":"int not declared by package C"},{"range":{"start":{"line":23,"character":12},"end":{"line":23,"character":18}},"severity":1,"source":"compiler","message":"ushort not declared by package C"}]}


[Trace - 11:10:39.939 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:39 go/packages.Load\n\tsnapshot=1\n\tpackage=\"command-line-arguments\"\n\tfiles=[/Users/ggg_user/mxio/cgo/main.go]\n"}


[Trace - 11:10:39.939 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:39 go/packages.Load\n\tsnapshot=1\n\tdirectory=/Users/ggg_user/mxio\n\tquery=[file=/Users/ggg_user/mxio/cgo/main.go]\n\tpackages=1\n"}


[Info  - 11:10:39 AM] 2021/01/27 11:10:39 go/packages.Load
	snapshot=1
	package="command-line-arguments"
	files=[/Users/ggg_user/mxio/cgo/main.go]

[Trace - 11:10:39.939 AM] Received response 'textDocument/documentSymbol - (1)' in 6184ms.
Result: [{"name":"main","detail":"()","kind":12,"range":{"start":{"line":14,"character":0},"end":{"line":27,"character":1}},"selectionRange":{"start":{"line":14,"character":5},"end":{"line":14,"character":9}}}]


[Info  - 11:10:39 AM] 2021/01/27 11:10:39 go/packages.Load
	snapshot=1
	directory=/Users/ggg_user/mxio
	query=[file=/Users/ggg_user/mxio/cgo/main.go]
	packages=1

[Trace - 11:10:39.969 AM] Received response 'textDocument/codeAction - (2)' in 6214ms.
Result: null


[Trace - 11:10:39.970 AM] Received response 'textDocument/documentLink - (3)' in 6215ms.
Result: [{"range":{"start":{"line":9,"character":8},"end":{"line":9,"character":9}},"target":"https://pkg.go.dev/C?utm_source=gopls"},{"range":{"start":{"line":11,"character":2},"end":{"line":11,"character":5}},"target":"https://pkg.go.dev/fmt?utm_source=gopls"}]


[Error - Received] 11:10:39.970 AM #4 JSON RPC cancelled


[Error - Received] 11:10:39.970 AM #5 JSON RPC cancelled


[Error - Received] 11:10:39.970 AM #6 JSON RPC cancelled


[Error - Received] 11:10:39.970 AM #7 JSON RPC cancelled


[Trace - 11:10:39.970 AM] Received response 'textDocument/codeLens - (8)' in 4055ms.
Result: [{"range":{"start":{"line":9,"character":7},"end":{"line":9,"character":7}},"command":{"title":"regenerate cgo definitions","command":"gopls.regenerate_cgo","arguments":["file:///Users/ggg_user/mxio/cgo/main.go"]}}]


[Trace - 11:10:39.971 AM] Received response 'textDocument/documentLink - (9)' in 3888ms.
Result: [{"range":{"start":{"line":9,"character":8},"end":{"line":9,"character":9}},"target":"https://pkg.go.dev/C?utm_source=gopls"},{"range":{"start":{"line":11,"character":2},"end":{"line":11,"character":5}},"target":"https://pkg.go.dev/fmt?utm_source=gopls"}]


[Trace - 11:10:39.971 AM] Received response 'textDocument/documentLink - (10)' in 3757ms.
Result: [{"range":{"start":{"line":9,"character":8},"end":{"line":9,"character":9}},"target":"https://pkg.go.dev/C?utm_source=gopls"},{"range":{"start":{"line":11,"character":2},"end":{"line":11,"character":5}},"target":"https://pkg.go.dev/fmt?utm_source=gopls"}]


[Trace - 11:10:39.971 AM] Received response 'textDocument/foldingRange - (11)' in 3451ms.
Result: [{"startLine":10,"startCharacter":8,"endLine":11,"endCharacter":6,"kind":"imports"},{"startLine":14,"startCharacter":13,"endLine":26,"endCharacter":18},{"startLine":17,"startCharacter":22,"endLine":18,"endCharacter":45}]


[Trace - 11:10:39.979 AM] Sending request 'textDocument/hover - (12)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"position":{"line":26,"character":14}}


[Trace - 11:10:39.979 AM] Received response 'textDocument/hover - (12)' in 0ms.
Result: {"contents":{"kind":"markdown","value":"```go\nvar port invalid type\n```"},"range":{"start":{"line":26,"character":13},"end":{"line":26,"character":17}}}


[Trace - 11:10:40.085 AM] Sending request 'textDocument/codeAction - (13)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"range":{"start":{"line":23,"character":16},"end":{"line":23,"character":16}},"context":{"diagnostics":[{"range":{"start":{"line":23,"character":12},"end":{"line":23,"character":18}},"message":"ushort not declared by package C","severity":1,"source":"compiler"}]}}


[Trace - 11:10:40.100 AM] Received response 'textDocument/codeAction - (13)' in 15ms.
Result: null


[Trace - 11:10:41.337 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:41 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/ggg_user/git/burford\n\tquery=[file=/Users/ggg_user/mxio/cgo/main.go]\n\tpackages=1\n"}


[Trace - 11:10:41.338 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:41 go/packages.Load\n\tsnapshot=0\n\tpackage=\"command-line-arguments\"\n\tfiles=[/Users/ggg_user/mxio/cgo/main.go]\n"}


[Info  - 11:10:41 AM] 2021/01/27 11:10:41 go/packages.Load
	snapshot=0
	directory=/Users/ggg_user/git/burford
	query=[file=/Users/ggg_user/mxio/cgo/main.go]
	packages=1

[Info  - 11:10:41 AM] 2021/01/27 11:10:41 go/packages.Load
	snapshot=0
	package="command-line-arguments"
	files=[/Users/ggg_user/mxio/cgo/main.go]

[Trace - 11:10:41.340 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/git/burford/go.mod","diagnostics":[{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":30}},"severity":2,"source":"go mod tidy","message":"github.com/konsorten/go-windows-terminal-sequences is not in your go.mod file"},{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":30}},"severity":2,"source":"go mod tidy","message":"github.com/pelletier/go-toml is not in your go.mod file"},{"range":{"start":{"line":5,"character":1},"end":{"line":5,"character":29}},"severity":2,"source":"go mod tidy","message":"aletheia.icu/broccoli is not used in this module"},{"range":{"start":{"line":7,"character":1},"end":{"line":7,"character":67}},"severity":2,"source":"go mod tidy","message":"bitbucket.org/bodhisnarkva/cbor is not used in this module"},{"range":{"start":{"line":8,"character":1},"end":{"line":8,"character":38}},"severity":2,"source":"go mod tidy","message":"github.com/PuerkitoBio/goquery is not used in this module"},{"range":{"start":{"line":9,"character":1},"end":{"line":9,"character":60}},"severity":2,"source":"go mod tidy","message":"github.com/Sereal/Sereal is not used in this module"},{"range":{"start":{"line":10,"character":1},"end":{"line":10,"character":30}},"severity":2,"source":"go mod tidy","message":"github.com/akavel/rsrc is not used in this module"},{"range":{"start":{"line":11,"character":1},"end":{"line":11,"character":61}},"severity":2,"source":"go mod tidy","message":"github.com/davecgh/go-xdr is not used in this module"},{"range":{"start":{"line":16,"character":1},"end":{"line":16,"character":40}},"severity":2,"source":"go mod tidy","message":"github.com/go-playground/ansi/v3 is not used in this module"},{"range":{"start":{"line":17,"character":1},"end":{"line":17,"character":40}},"severity":2,"source":"go mod tidy","message":"github.com/go-playground/pure/v5 is not used in this module"},{"range":{"start":{"line":21,"character":1},"end":{"line":21,"character":34}},"severity":2,"source":"go mod tidy","message":"github.com/mailru/easyjson is not used in this module"},{"range":{"start":{"line":23,"character":1},"end":{"line":23,"character":32}},"severity":2,"source":"go mod tidy","message":"github.com/philhofer/fwd is not used in this module"},{"range":{"start":{"line":25,"character":1},"end":{"line":25,"character":28}},"severity":2,"source":"go mod tidy","message":"github.com/pkg/sftp is not used in this module"},{"range":{"start":{"line":26,"character":1},"end":{"line":26,"character":61}},"severity":2,"source":"go mod tidy","message":"github.com/pquerna/ffjson is not used in this module"},{"range":{"start":{"line":32,"character":1},"end":{"line":32,"character":31}},"severity":2,"source":"go mod tidy","message":"github.com/tinylib/msgp is not used in this module"},{"range":{"start":{"line":34,"character":1},"end":{"line":34,"character":35}},"severity":2,"source":"go mod tidy","message":"go.mongodb.org/mongo-driver is not used in this module"},{"range":{"start":{"line":36,"character":1},"end":{"line":36,"character":51}},"severity":2,"source":"go mod tidy","message":"gopkg.in/mgo.v2 is not used in this module"},{"range":{"start":{"line":37,"character":1},"end":{"line":37,"character":39}},"severity":2,"source":"go mod tidy","message":"gopkg.in/vmihailenco/msgpack.v2 is not used in this module"}]}


[Trace - 11:10:42.412 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:10:42 go/packages.Load\n\tsnapshot=0\n\tpackage=\"command-line-arguments\"\n\tfiles=[/Users/ggg_user/mxio/cgo/main.go]\n"}



[Trace - 11:10:42.433 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/serial/serial.go","diagnostics":[]}


[Trace - 11:10:42.434 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/snmp/snmp.go","diagnostics":[]}



[Trace - 11:10:42.436 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/pkg/minicard/api.go","diagnostics":[]}


[Trace - 11:10:42.436 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/edge/edge-device-mil/pkg/minicard/index.go","diagnostics":[]}


[Trace - 11:10:42.436 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/upgrade/upgrade.go","diagnostics":[]}


[Trace - 11:10:42.436 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/git/burford/go.mod","diagnostics":[]}


[Trace - 11:10:42.436 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/basic/basic.go","diagnostics":[]}


[Trace - 11:10:42.437 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/backup/backup.go","diagnostics":[]}


[Trace - 11:10:42.437 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/ggg_user/cdm/pkg/auth/auth.go","diagnostics":[]}


[Trace - 11:11:01.364 AM] Sending request 'textDocument/documentHighlight - (14)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"position":{"line":3,"character":42}}


[Trace - 11:11:01.365 AM] Received response 'textDocument/documentHighlight - (14)' in 0ms.
Result: []


[Trace - 11:11:01.599 AM] Sending request 'textDocument/codeAction - (15)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"range":{"start":{"line":3,"character":42},"end":{"line":3,"character":42}},"context":{"diagnostics":[]}}


[Trace - 11:11:01.616 AM] Received response 'textDocument/codeAction - (15)' in 17ms.
Result: null


[Trace - 11:11:03.841 AM] Sending request 'textDocument/codeLens - (16)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:11:03.842 AM] Received response 'textDocument/codeLens - (16)' in 0ms.
Result: [{"range":{"start":{"line":9,"character":7},"end":{"line":9,"character":7}},"command":{"title":"regenerate cgo definitions","command":"gopls.regenerate_cgo","arguments":["file:///Users/ggg_user/mxio/cgo/main.go"]}}]


[Trace - 11:11:09.974 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:11:09 background imports cache refresh starting\n"}


[Info  - 11:11:09 AM] 2021/01/27 11:11:09 background imports cache refresh starting

[Trace - 11:11:09.975 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2021/01/27 11:11:09 background refresh finished after 1.564883ms\n"}


[Info  - 11:11:09 AM] 2021/01/27 11:11:09 background refresh finished after 1.564883ms

[Trace - 11:11:21.085 AM] Sending request 'textDocument/codeAction - (17)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"range":{"start":{"line":10,"character":8},"end":{"line":10,"character":8}},"context":{"diagnostics":[]}}


[Trace - 11:11:21.101 AM] Received response 'textDocument/codeAction - (17)' in 15ms.
Result: null


[Trace - 11:11:21.643 AM] Sending request 'textDocument/codeAction - (18)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":28,"character":0}},"context":{"diagnostics":[{"range":{"start":{"line":16,"character":10},"end":{"line":16,"character":20}},"message":"MXEIO_Init not declared by package C","severity":1,"source":"compiler"},{"range":{"start":{"line":17,"character":13},"end":{"line":17,"character":20}},"message":"MXIO_OK not declared by package C","severity":1,"source":"compiler"},{"range":{"start":{"line":21,"character":10},"end":{"line":21,"character":17}},"message":"CString not declared by package C","severity":1,"source":"compiler"},{"range":{"start":{"line":22,"character":18},"end":{"line":22,"character":21}},"message":"int not declared by package C","severity":1,"source":"compiler"},{"range":{"start":{"line":23,"character":12},"end":{"line":23,"character":18}},"message":"ushort not declared by package C","severity":1,"source":"compiler"}]}}


[Trace - 11:11:21.661 AM] Received response 'textDocument/codeAction - (18)' in 17ms.
Result: null


[Trace - 11:11:21.849 AM] Sending request 'textDocument/definition - (19)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"position":{"line":18,"character":38}}


[Error - Received] 11:11:21.849 AM #19 no identifier found


[Error - 11:11:21 AM] Request textDocument/definition failed.
  Message: no identifier found
  Code: 0 
[Trace - 11:11:22.980 AM] Sending request 'textDocument/codeLens - (20)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"}}


[Trace - 11:11:22.980 AM] Received response 'textDocument/codeLens - (20)' in 0ms.
Result: [{"range":{"start":{"line":9,"character":7},"end":{"line":9,"character":7}},"command":{"title":"regenerate cgo definitions","command":"gopls.regenerate_cgo","arguments":["file:///Users/ggg_user/mxio/cgo/main.go"]}}]


[Trace - 11:11:24.953 AM] Sending request 'textDocument/codeAction - (21)'.
Params: {"textDocument":{"uri":"file:///Users/ggg_user/mxio/cgo/main.go"},"range":{"start":{"line":25,"character":24},"end":{"line":25,"character":24}},"context":{"diagnostics":[]}}



@heschik
Copy link
Contributor

@heschik heschik commented Jan 27, 2021

[Info  - 11:10:34 AM] 2021/01/27 11:10:34 go env for /Users/ggg_user/mxio
(root /Users/ggg_user/mxio)
(go version go version go1.15.7 darwin/amd64)
(valid build configuration = false)
(build flags: [-tags=bruno])
GONOSUMDB=
GOMOD=
GOSUMDB=sum.golang.org
GOFLAGS=
GOMODCACHE=/Users/ggg_user/go/pkg/mod
GONOPROXY=
GOROOT=/usr/local/Cellar/go/1.15.7/libexec
GO111MODULE=
GOCACHE=/Users/ggg_user/Library/Caches/go-build
GOINSECURE=
GOPRIVATE=
GOPROXY=https://proxy.golang.org,direct
GOPATH=/Users/ggg_user/go

The folder containing your cgo code is missing a go.mod and so can't be loaded. Please add a valid go.mod and try again?

@linlinlinlin
Copy link
Author

@linlinlinlin linlinlinlin commented Jan 28, 2021

I didn't have go.mod in this folder. Just main.go xxx.h dummy.cpp. Build file by go build -o xxx. Library is put in /usr/local/lib
The dummy.cpp file is for this issue

@stamblerre stamblerre modified the milestones: Unreleased, gopls/v1.0.0 Jan 28, 2021
@stamblerre stamblerre added this to To Do in gopls: v1.0.0 Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants