haskell / haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Apache License 2.0
2.72k stars 368 forks source link

Code completion doesn't work #3471

Closed Archill-56 closed 10 months ago

Archill-56 commented 1 year ago

Your environment

Which OS do you use:

RETTY_NAME="Debian GNU/Linux bookworm/sid" NAME="Debian GNU/Linux" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

Steps to reproduce

I have no clue how to reproduce this issue. When ever I write a function and try to use it somewhere, I have to manually type the name of the function and no auto completion appears.

Expected behaviour

Haskell extension should give me auto completion suggestions.

Actual behaviour

There are no auto completion suggestions given.

Include debug information

Execute in the root of your project the command haskell-language-server-wrapper --debug . and paste the logs here (you can find the executable location here):

Logs ``` Launching haskell-language-server exe at:/home/username/.ghcup/bin/haskell-language-server-8.10.7 2023-01-27T09:00:39.153907Z | Info | No log file specified; using stderr. 2023-01-27T09:00:39.156108Z | Info | haskell-language-server version: 1.8.0.0 (GHC: 8.10.7) (PATH: /home/username/.ghcup/hls/1.8.0.0/lib/haskell-language-server-1.8.0.0/bin/haskell-language-server-8.10.7) 2023-01-27T09:00:39.157634Z | Info | Directory: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3 2023-01-27T09:00:39.158529Z | Info | Logging heap statistics every 60.00s ghcide setup tester in /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3. Report bugs at https://github.com/haskell/haskell-language-server/issues Step 1/4: Finding files to test in /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3 Found 5 files Step 2/4: Looking for hie.yaml files that control setup Found 1 cradle () Step 3/4: Initializing the IDE 2023-01-27T09:00:39.185522Z | Debug | Initializing exports map from hiedb 2023-01-27T09:00:39.193775Z | Debug | Shake session initialized Step 4/4: Type checking the files 2023-01-27T09:00:39.195907Z | Debug | Done initializing exports map from hiedb. Size: 0 2023-01-27T09:00:39.199655Z | Info | Cradle path: lesson18.hs 2023-01-27T09:00:39.199901Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for lesson18.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. 2023-01-27T09:00:39.211930Z | Debug | Cradle: Cradle {cradleRootDir = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", cradleOptsProg = CradleAction: Default} 2023-01-27T09:00:39.295836Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-dynamic"], componentRoot = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", componentDependencies = []},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") 2023-01-27T09:00:39.368172Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:39.368991Z | Info | Making new HscEnv. In-place unit ids: [main] 2023-01-27T09:00:39.378971Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 5),fromList []) 2023-01-27T09:00:39.379271Z | Debug | Known files updated: fromList [(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs"])] 2023-01-27T09:00:39.379818Z | Debug | Finished build session AsyncCancelled 2023-01-27T09:00:39.379988Z | Debug | Restarting build session due to new component Action Queue: [User TypeCheck] Keys: [GetKnownTargets; , GhcSessionIO; ] Aborting previous build session took 0.00s 2023-01-27T09:00:39.382633Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs" 2023-01-27T09:00:39.382805Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs" 2023-01-27T09:00:39.382914Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs" 2023-01-27T09:00:39.383187Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs" 2023-01-27T09:00:39.394902Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T09:00:39.494799Z | Info | Cradle path: lesson17.hs 2023-01-27T09:00:39.494996Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for lesson17.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. 2023-01-27T09:00:39.506103Z | Debug | Cradle: Cradle {cradleRootDir = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", cradleOptsProg = CradleAction: Default} 2023-01-27T09:00:39.958252Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-dynamic"], componentRoot = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", componentDependencies = []},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") 2023-01-27T09:00:40.051135Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:40.113623Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.113813Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.113928Z | Info | Making new HscEnv. In-place unit ids: [main, main] 2023-01-27T09:00:40.120854Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 8),fromList []) 2023-01-27T09:00:40.121485Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 9),fromList []) 2023-01-27T09:00:40.124692Z | Debug | Known files updated: fromList [(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs"])] 2023-01-27T09:00:40.314762Z | Debug | Finished build session AsyncCancelled 2023-01-27T09:00:40.314885Z | Debug | Restarting build session due to new component Action Queue: [User TypeCheck] Keys: [GetKnownTargets; , GhcSessionIO; ] Aborting previous build session took 0.19s 2023-01-27T09:00:40.315151Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs" 2023-01-27T09:00:40.315260Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs" 2023-01-27T09:00:40.315359Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs" 2023-01-27T09:00:40.315459Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs" 2023-01-27T09:00:40.315716Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T09:00:40.316954Z | Info | Cradle path: lesson16.hs 2023-01-27T09:00:40.317119Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for lesson16.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. 2023-01-27T09:00:40.322648Z | Debug | Cradle: Cradle {cradleRootDir = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", cradleOptsProg = CradleAction: Default} 2023-01-27T09:00:40.399568Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-dynamic"], componentRoot = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", componentDependencies = []},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") 2023-01-27T09:00:40.450224Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.450394Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.450480Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.450552Z | Info | Making new HscEnv. In-place unit ids: [main, main, main] 2023-01-27T09:00:40.460121Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList []) 2023-01-27T09:00:40.460261Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 12),fromList []) 2023-01-27T09:00:40.460315Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 13),fromList []) 2023-01-27T09:00:40.460443Z | Debug | Known files updated: fromList [(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs"])] 2023-01-27T09:00:40.461009Z | Debug | Finished build session AsyncCancelled 2023-01-27T09:00:40.461198Z | Debug | Restarting build session due to new component Action Queue: [User TypeCheck] Keys: [GetKnownTargets; , GhcSessionIO; ] Aborting previous build session took 0.00s 2023-01-27T09:00:40.461541Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs" 2023-01-27T09:00:40.461732Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs" 2023-01-27T09:00:40.461701Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs" 2023-01-27T09:00:40.462223Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T09:00:40.462251Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs" 2023-01-27T09:00:40.464133Z | Info | Cradle path: lesson19.hs 2023-01-27T09:00:40.464442Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for lesson19.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. 2023-01-27T09:00:40.476512Z | Debug | Cradle: Cradle {cradleRootDir = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", cradleOptsProg = CradleAction: Default} 2023-01-27T09:00:40.478872Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:40.511366Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 2:30-2:36 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 2:37-2:43 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 4:20-4:26 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 4:27-4:33 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 4:34-4:37 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 8:9-8:29 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 9:9-9:23 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 10:9-10:24 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 11:9-11:20 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 12:9-12:24 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 17:9-17:28 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs Hidden: no Range: 18:9-18:27 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} 2023-01-27T09:00:40.573450Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-dynamic"], componentRoot = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", componentDependencies = []},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") 2023-01-27T09:00:40.658850Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.658976Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.659046Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.659126Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:40.659199Z | Info | Making new HscEnv. In-place unit ids: [main, main, main, main] 2023-01-27T09:00:40.666006Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 16),fromList []) 2023-01-27T09:00:40.666139Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 17),fromList []) 2023-01-27T09:00:40.666198Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 18),fromList []) 2023-01-27T09:00:40.666250Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 19),fromList []) 2023-01-27T09:00:40.666381Z | Debug | Known files updated: fromList [(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs"])] 2023-01-27T09:00:40.666958Z | Debug | Finished build session AsyncCancelled 2023-01-27T09:00:40.667123Z | Debug | Restarting build session due to new component Action Queue: [User TypeCheck] Keys: [ GetKnownTargets; , GetModificationTime; /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda/_home_username_Documents_Koodausopiskelua_GetProgrammingWithHaskell_Unit3_lesson16/hs.hie , GhcSessionIO; ] Aborting previous build session took 0.00s 2023-01-27T09:00:40.667637Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs" 2023-01-27T09:00:40.667876Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs" 2023-01-27T09:00:40.668002Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs" 2023-01-27T09:00:40.668282Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T09:00:40.670958Z | Info | Cradle path: lesson20.hs 2023-01-27T09:00:40.671186Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for lesson20.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. 2023-01-27T09:00:40.679816Z | Debug | Cradle: Cradle {cradleRootDir = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", cradleOptsProg = CradleAction: Default} 2023-01-27T09:00:40.682090Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs" 2023-01-27T09:00:40.682220Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:40.709432Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:40.814665Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:40.934742Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-dynamic"], componentRoot = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", componentDependencies = []},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") 2023-01-27T09:00:41.090380Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 6:1-7:18 Source: hlint Severity: DsInfo Message: Use newtype instead of data Found: data Box a = Box a deriving Show Why not: newtype Box a = Box a deriving Show decreases laziness File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 70:14-70:28 Source: hlint Severity: DsInfo Message: Use list literalFound:1 : 2 : 3 : []Why not:[1, 2, 3] File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 76:14-76:34 Source: hlint Severity: DsInfo Message: Use list literalFound:'c' : 'a' : 't' : []Why not:['c', 'a', 't'] 2023-01-27T09:00:41.210936Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 6:1-7:18 Source: hlint Severity: DsInfo Message: Use newtype instead of data Found: data Box a = Box a deriving Show Why not: newtype Box a = Box a deriving Show decreases laziness File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 70:14-70:28 Source: hlint Severity: DsInfo Message: Use list literalFound:1 : 2 : 3 : []Why not:[1, 2, 3] File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 76:14-76:34 Source: hlint Severity: DsInfo Message: Use list literalFound:'c' : 'a' : 't' : []Why not:['c', 'a', 't'] File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 20:24-20:25 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 20:26-20:27 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 20:28-20:29 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 62:28-62:29 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 62:30-62:38 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs Hidden: no Range: 148:35-148:41 Source: stan Severity: DsHint Message: ✲ Name: Infinite: base/length ✲ Description: Usage of the 'length' function that hangs on infinite lists ✲ Severity: PotentialBug ✲ Category: #Infinite #List Possible solutions: - Don't use 'length' if you expect your function to work with infinite lists - {Extra dependency} Use the 'slist' library for fast and safe functions on infinite lists 2023-01-27T09:00:41.235184Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs Hidden: no Range: 96:21-96:34 Source: hlint Severity: DsInfo Message: Redundant bracketFound:(Maybe Organ) -> StringWhy not:Maybe Organ -> String 2023-01-27T09:00:41.241860Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:41.248698Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:41.248791Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:41.248884Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:41.248978Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T09:00:41.249061Z | Info | Making new HscEnv. In-place unit ids: [main, main, main, main, main] 2023-01-27T09:00:41.261614Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 24),fromList []) 2023-01-27T09:00:41.261809Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 25),fromList []) 2023-01-27T09:00:41.261957Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 26),fromList []) 2023-01-27T09:00:41.262051Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 27),fromList []) 2023-01-27T09:00:41.262113Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 28),fromList []) 2023-01-27T09:00:41.262252Z | Debug | Known files updated: fromList [(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs"])] 2023-01-27T09:00:41.330868Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs Hidden: no Range: 96:21-96:34 Source: hlint Severity: DsInfo Message: Redundant bracketFound:(Maybe Organ) -> StringWhy not:Maybe Organ -> String File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs Hidden: no Range: 35:30-35:36 Source: stan Severity: DsHint Message: ✲ Name: Infinite: base/length ✲ Description: Usage of the 'length' function that hangs on infinite lists ✲ Severity: PotentialBug ✲ Category: #Infinite #List Possible solutions: - Don't use 'length' if you expect your function to work with infinite lists - {Extra dependency} Use the 'slist' library for fast and safe functions on infinite lists File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs Hidden: no Range: 64:22-64:27 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs Hidden: no Range: 64:37-64:42 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs Hidden: no Range: 64:49-64:54 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs Hidden: no Range: 113:16-113:22 Source: stan Severity: DsHint Message: ✲ Name: Infinite: base/length ✲ Description: Usage of the 'length' function that hangs on infinite lists ✲ Severity: PotentialBug ✲ Category: #Infinite #List Possible solutions: - Don't use 'length' if you expect your function to work with infinite lists - {Extra dependency} Use the 'slist' library for fast and safe functions on infinite lists 2023-01-27T09:00:41.334019Z | Debug | Finished build session AsyncCancelled 2023-01-27T09:00:41.334353Z | Debug | Restarting build session due to new component Action Queue: [User TypeCheck] Keys: [ GetKnownTargets; , GetModificationTime; /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda/_home_username_Documents_Koodausopiskelua_GetProgrammingWithHaskell_Unit3_lesson18/hs.hie , GetModificationTime; /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda/_home_username_Documents_Koodausopiskelua_GetProgrammingWithHaskell_Unit3_lesson16/hs.hie , GetModificationTime; /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda/_home_username_Documents_Koodausopiskelua_GetProgrammingWithHaskell_Unit3_lesson19/hs.hie , GhcSessionIO; ] Aborting previous build session took 0.07s 2023-01-27T09:00:41.339896Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T09:00:41.340117Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs" 2023-01-27T09:00:41.357209Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs" 2023-01-27T09:00:41.357423Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson18.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:41.414711Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs" 2023-01-27T09:00:41.414877Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson16.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:41.588656Z | Debug | Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs" 2023-01-27T09:00:41.588942Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson19.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:41.704176Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:41.837471Z | Debug | Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T09:00:41.960810Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 6:10-6:24 Source: hlint Severity: DsInfo Message: Use lastFound:head . reverseWhy not:last File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 9:9-9:20 Source: hlint Severity: DsInfo Message: Use minimumFound:head . sortWhy not:minimum File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 15:18-15:35 Source: hlint Severity: DsInfo Message: Redundant bracket Found: (foldr (&&) True) . (map testFunc) Why not: foldr (&&) True . (map testFunc) File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 15:18-15:52 Source: hlint Severity: DsInfo Message: Fuse foldr/mapFound:(foldr (&&) True) . (map testFunc)Why not:foldr ((&&) . testFunc) True File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 15:19-15:34 Source: hlint Severity: DsInfo Message: Use andFound:foldr (&&) TrueWhy not:and File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 15:38-15:52 Source: hlint Severity: DsInfo Message: Redundant bracket Found: (foldr (&&) True) . (map testFunc) Why not: (foldr (&&) True) . map testFunc File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 19:18-19:36 Source: hlint Severity: DsInfo Message: Redundant bracket Found: (foldr (||) False) . (map testFunc) Why not: foldr (||) False . (map testFunc) File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 19:18-19:53 Source: hlint Severity: DsInfo Message: Fuse foldr/map Found: (foldr (||) False) . (map testFunc) Why not: foldr ((||) . testFunc) False File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 19:19-19:35 Source: hlint Severity: DsInfo Message: Use orFound:foldr (||) FalseWhy not:or File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 19:39-19:53 Source: hlint Severity: DsInfo Message: Redundant bracket Found: (foldr (||) False) . (map testFunc) Why not: (foldr (||) False) . map testFunc File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 57:1-57:30 Source: hlint Severity: DsInfo Message: Use newtype instead of data Found: data Events = Events [String] Why not: newtype Events = Events [String] decreases laziness File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 58:1-58:28 Source: hlint Severity: DsInfo Message: Use newtype instead of data Found: data Probs = Probs [Double] Why not: newtype Probs = Probs [Double] decreases laziness File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 83:27-83:47 Source: hlint Severity: DsInfo Message: Use replicateFound:take nToAdd . repeatWhy not:replicate nToAdd File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 90:22-90:51 Source: hlint Severity: DsInfo Message: Redundant bracketFound:(\ x y -> mconcat [x, "-", y])Why not:\ x y -> mconcat [x, "-", y] 2023-01-27T09:00:42.038557Z | Debug | Finished: User TypeCheck Took: 0.70s 2023-01-27T09:00:42.096546Z | Debug | Finished: GetHie Took: 0.04s 2023-01-27T09:00:42.110458Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 6:10-6:24 Source: hlint Severity: DsInfo Message: Use lastFound:head . reverseWhy not:last File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 9:9-9:20 Source: hlint Severity: DsInfo Message: Use minimumFound:head . sortWhy not:minimum File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 15:18-15:35 Source: hlint Severity: DsInfo Message: Redundant bracket Found: (foldr (&&) True) . (map testFunc) Why not: foldr (&&) True . (map testFunc) File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 15:18-15:52 Source: hlint Severity: DsInfo Message: Fuse foldr/mapFound:(foldr (&&) True) . (map testFunc)Why not:foldr ((&&) . testFunc) True File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 15:19-15:34 Source: hlint Severity: DsInfo Message: Use andFound:foldr (&&) TrueWhy not:and File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 15:38-15:52 Source: hlint Severity: DsInfo Message: Redundant bracket Found: (foldr (&&) True) . (map testFunc) Why not: (foldr (&&) True) . map testFunc File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 19:18-19:36 Source: hlint Severity: DsInfo Message: Redundant bracket Found: (foldr (||) False) . (map testFunc) Why not: foldr (||) False . (map testFunc) File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 19:18-19:53 Source: hlint Severity: DsInfo Message: Fuse foldr/map Found: (foldr (||) False) . (map testFunc) Why not: foldr ((||) . testFunc) False File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 19:19-19:35 Source: hlint Severity: DsInfo Message: Use orFound:foldr (||) FalseWhy not:or File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 19:39-19:53 Source: hlint Severity: DsInfo Message: Redundant bracket Found: (foldr (||) False) . (map testFunc) Why not: (foldr (||) False) . map testFunc File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 57:1-57:30 Source: hlint Severity: DsInfo Message: Use newtype instead of data Found: data Events = Events [String] Why not: newtype Events = Events [String] decreases laziness File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 58:1-58:28 Source: hlint Severity: DsInfo Message: Use newtype instead of data Found: data Probs = Probs [Double] Why not: newtype Probs = Probs [Double] decreases laziness File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 83:27-83:47 Source: hlint Severity: DsInfo Message: Use replicateFound:take nToAdd . repeatWhy not:replicate nToAdd File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 90:22-90:51 Source: hlint Severity: DsInfo Message: Redundant bracketFound:(\ x y -> mconcat [x, "-", y])Why not:\ x y -> mconcat [x, "-", y] File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 6:10-6:14 Source: stan Severity: DsHint Message: ✲ Name: Partial: base/head ✲ Description: Usage of partial function 'head' for lists ✲ Severity: Warning ✲ Category: #Partial #List Possible solutions: - Replace list with 'NonEmpty' from 'Data.List.NonEmpty' - Use explicit pattern-matching over lists File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 6:17-6:24 Source: stan Severity: DsHint Message: ✲ Name: Infinite: base/reverse ✲ Description: Usage of the 'reverse' function that hangs on infinite lists ✲ Severity: PotentialBug ✲ Category: #Infinite #List Possible solutions: - Don't use 'reverse' if you expect your function to work with infinite lists - {Extra dependency} Use the 'slist' library for fast and safe functions on infinite lists File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 9:9-9:13 Source: stan Severity: DsHint Message: ✲ Name: Partial: base/head ✲ Description: Usage of partial function 'head' for lists ✲ Severity: Warning ✲ Category: #Partial #List Possible solutions: - Replace list with 'NonEmpty' from 'Data.List.NonEmpty' - Use explicit pattern-matching over lists File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 61:22-61:28 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 61:29-61:34 Source: stan Severity: DsHint Message: ✲ Name: Data types with non-strict fields ✲ Description: Defining lazy fields in data types can lead to unexpected space leaks ✲ Severity: Performance ✲ Category: #SpaceLeak #Syntax Possible solutions: - Add '!' before the type, e.g. !Int or !(Maybe Bool) - Enable the 'StrictData' extension: {-# LANGUAGE StrictData #-} File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 82:18-82:24 Source: stan Severity: DsHint Message: ✲ Name: Infinite: base/length ✲ Description: Usage of the 'length' function that hangs on infinite lists ✲ Severity: PotentialBug ✲ Category: #Infinite #List Possible solutions: - Don't use 'length' if you expect your function to work with infinite lists - {Extra dependency} Use the 'slist' library for fast and safe functions on infinite lists File: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson17.hs Hidden: no Range: 85:20-85:25 Source: stan Severity: DsHint Message: ✲ Name: Partial: base/cycle ✲ Description: Usage of partial function 'cycle' for lists ✲ Severity: Warning ✲ Category: #Partial #List Possible solutions: - Replace list with 'NonEmpty' from 'Data.List.NonEmpty' - Use explicit pattern-matching over lists 2023-01-27T09:00:42.194977Z | Debug | Finished: GenerateCore Took: 0.00s Completed (5 files worked, 0 files failed) ```
fendor commented 1 year ago

Hi, thank you for your bug report!

Can you describe your project in a bit more detail? It seems you have a set of files that are unrelated to each other, right? You are not trying to import these between each other?

Also, do you truly have no auto-completions? In a file that compiles successfully, what happens if press ctrl + space? It should show functions relevant to your context, e.g. functions from base.

Archill-56 commented 1 year ago

HI fendor, thank you for your response.

You are correct, all the files are unrelated to each other. They are files containing learning code from the book Get Programming with Haskell by Will Kurt. No importing is happening between those files. The files have some imports from libraries such as Data.List, Data.Map and Data.Maybe and so on.

When I press ctrl + space, a toolbox window appears below my cursor saying Loading...

On a side note, auto completion works for my elm projects.

fendor commented 1 year ago

Can you include VSCode logs, obtained via this: https://github.com/haskell/vscode-haskell#investigating-and-reporting-problems Open a project, and try to trigger the completions. Then paste the logs here again, please :)

Archill-56 commented 1 year ago

Sure, here they are:

Logs ``` 2023-01-27 15:49:58.0410000 [client] DEBUG Environment variables: 2023-01-27 15:49:58.0420000 [client] DEBUG PATH: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/username/.cabal/bin:/home/username/.ghcup/bin 2023-01-27 15:49:58.0420000 [client] INFO Finding haskell-language-server 2023-01-27 15:49:58.0440000 [client] INFO Checking for ghcup installation 2023-01-27 15:49:58.0560000 [client] INFO found ghcup at ghcup 2023-01-27 15:49:58.0580000 [client] INFO Executing 'ghcup --no-verbose upgrade' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:02.3520000 [client] DEBUG Execution of 'ghcup --no-verbose upgrade' terminated with code 0 2023-01-27 15:50:02.3530000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:02.3640000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:02.3660000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:02.5000000 [client] DEBUG Execution of 'ghcup --no-verbose list -t hls -c installed -r' terminated with code 0 2023-01-27 15:50:02.5020000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:02.5110000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:02.5120000 [client] INFO Executing 'ghcup --no-verbose list -t cabal -c installed -r' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:02.6130000 [client] DEBUG Execution of 'ghcup --no-verbose list -t cabal -c installed -r' terminated with code 0 2023-01-27 15:50:02.6130000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:02.6210000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:02.6220000 [client] INFO Executing 'ghcup --no-verbose list -t stack -c installed -r' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:02.7000000 [client] DEBUG Execution of 'ghcup --no-verbose list -t stack -c installed -r' terminated with code 0 2023-01-27 15:50:02.7090000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:02.7160000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:02.7170000 [client] INFO Executing 'ghcup --no-verbose whereis hls 1.9.0.0' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:02.7330000 [client] DEBUG Execution of 'ghcup --no-verbose whereis hls 1.9.0.0' terminated with code 0 2023-01-27 15:50:02.7340000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:02.7400000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:02.7410000 [client] INFO Executing 'ghcup --no-verbose whereis cabal 3.6.2.0' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:02.7590000 [client] DEBUG Execution of 'ghcup --no-verbose whereis cabal 3.6.2.0' terminated with code 0 2023-01-27 15:50:02.7600000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:02.7770000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:02.7790000 [client] INFO Executing 'ghcup --no-verbose whereis stack 2.9.1' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:02.8160000 [client] DEBUG Execution of 'ghcup --no-verbose whereis stack 2.9.1' terminated with code 0 2023-01-27 15:50:02.8350000 [client] INFO Executing 'ghc --numeric-version' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:03.1410000 [client] DEBUG Execution of 'ghc --numeric-version' terminated with code 0 2023-01-27 15:50:03.1420000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:03.1540000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:03.1600000 [client] INFO Executing 'ghcup --no-verbose run --hls 1.9.0.0 --cabal 3.6.2.0 --stack 2.9.1 --install' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:03.4430000 [client] DEBUG Execution of 'ghcup --no-verbose run --hls 1.9.0.0 --cabal 3.6.2.0 --stack 2.9.1 --install' terminated with code 0 2023-01-27 15:50:03.4440000 [client] INFO Working out the project GHC version. This might take a while... 2023-01-27 15:50:03.4450000 [client] INFO Executing 'haskell-language-server-wrapper --project-ghc-version' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:03.5940000 [client] DEBUG Execution of 'haskell-language-server-wrapper --project-ghc-version' terminated with code 0 2023-01-27 15:50:03.5940000 [client] INFO The GHC version for the project or file: 8.10.7 2023-01-27 15:50:03.9920000 [client] INFO Platform constants: Linux_UnknownLinux, A_64 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.1.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.6.4,8.6.5,8.8.2,8.8.3,8.8.4 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.2.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.6.4,8.6.5,8.8.2,8.8.3,8.8.4 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.3.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.6.4,8.6.5,8.8.3,8.8.4,9.0.1 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.4.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.10.6,8.10.7,8.6.4,8.6.5,8.8.3,8.8.4,9.0.1 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.5.0 compatible with GHC Versions: 8.10.5,8.10.6,8.10.7,8.6.5,8.8.3,8.8.4,9.0.1 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.5.1 compatible with GHC Versions: 8.10.5,8.10.6,8.10.7,8.6.5,8.8.3,8.8.4,9.0.1 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.6.0.0 compatible with GHC Versions: 8.10.6,8.10.7,8.6.5,8.8.4,9.0.1,9.0.2,9.2.1 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.6.1.0 compatible with GHC Versions: 8.10.6,8.10.7,8.6.5,8.8.4,9.0.1,9.0.2,9.2.1 2023-01-27 15:50:03.9920000 [client] DEBUG HLS 1.7.0.0 compatible with GHC Versions: 8.6.5,8.8.4,8.10.7,9.0.2,9.2.1,9.2.2 2023-01-27 15:50:03.9930000 [client] DEBUG HLS 1.8.0.0 compatible with GHC Versions: 8.6.5,8.8.4,8.10.7,9.0.2,9.2.3,9.2.4,9.4.1,9.4.2 2023-01-27 15:50:03.9930000 [client] DEBUG HLS 1.9.0.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.5,9.4.3,9.4.4 2023-01-27 15:50:03.9940000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:04.0160000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:04.0210000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:04.2250000 [client] DEBUG Execution of 'ghcup --no-verbose list -t hls -c installed -r' terminated with code 0 2023-01-27 15:50:04.2260000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:04.2330000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:04.2340000 [client] INFO Executing 'ghcup --no-verbose whereis bindir' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:04.2540000 [client] DEBUG Execution of 'ghcup --no-verbose whereis bindir' terminated with code 0 2023-01-27 15:50:04.2600000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:04.2690000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:04.2700000 [client] INFO Executing 'ghcup --no-verbose whereis hls 1.9.0.0' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:04.2880000 [client] DEBUG Execution of 'ghcup --no-verbose whereis hls 1.9.0.0' terminated with code 0 2023-01-27 15:50:04.2880000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:04.2950000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:04.2960000 [client] INFO Executing 'ghcup --no-verbose whereis ghc 8.10.7' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:04.3130000 [client] DEBUG Execution of 'ghcup --no-verbose whereis ghc 8.10.7' terminated with code 0 2023-01-27 15:50:04.3140000 [client] INFO Checking for ghcup installation 2023-01-27 15:50:04.3210000 [client] INFO found ghcup at ghcup 2023-01-27 15:50:04.3220000 [client] INFO Executing 'ghcup --no-verbose run --hls 1.9.0.0 --cabal 3.6.2.0 --stack 2.9.1 --ghc 8.10.7 --install' in cwd '/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3' 2023-01-27 15:50:04.4400000 [client] DEBUG Execution of 'ghcup --no-verbose run --hls 1.9.0.0 --cabal 3.6.2.0 --stack 2.9.1 --ghc 8.10.7 --install' terminated with code 0 2023-01-27 15:50:04.4410000 [client] INFO Activating the language server in working dir: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3 (the workspace folder) 2023-01-27 15:50:04.4420000 [client] INFO run command: /home/username/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.9.0.0_stack-2.9.1/haskell-language-server-wrapper --lsp -d 2023-01-27 15:50:04.4420000 [client] INFO debug command: /home/username/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.9.0.0_stack-2.9.1/haskell-language-server-wrapper --lsp -d 2023-01-27 15:50:04.4420000 [client] INFO server environment variables: 2023-01-27 15:50:04.4420000 [client] INFO PATH=/home/username/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.9.0.0_stack-2.9.1:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/username/.cabal/bin:/home/username/.ghcup/bin 2023-01-27 15:50:04.4420000 [client] DEBUG document selector patten: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/**/* 2023-01-27 15:50:04.4460000 [client] INFO Starting language server [Trace - 5:50:04 PM] Sending request 'initialize - (0)'. No 'hie.yaml' found. Try to discover the project type! Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 1.9.0.0 x86_64 ghc-9.4.4 Current directory: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3 Operating system: linux Arguments: ["--lsp","-d"] Cradle directory: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3 Cradle type: Default Tool versions found on the $PATH cabal: 3.6.2.0 stack: 2.9.1 ghc: 8.10.7 Consulting the cradle to get project GHC version... Project GHC version: 8.10.7 haskell-language-server exe candidates: ["haskell-language-server-8.10.7","haskell-language-server"] Launching haskell-language-server exe at:/home/username/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.9.0.0_stack-2.9.1/haskell-language-server-8.10.7 2023-01-27T15:50:07.517845Z | Info | No log file specified; using stderr. 2023-01-27T15:50:07.519159Z | Info | haskell-language-server version: 1.9.0.0 (GHC: 8.10.7) (PATH: /home/username/.ghcup/hls/1.9.0.0/lib/haskell-language-server-1.9.0.0/bin/haskell-language-server-8.10.7) 2023-01-27T15:50:07.520276Z | Info | Directory: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3 2023-01-27T15:50:07.520884Z | Info | Starting (haskell-language-server) LSP server... GhcideArguments {argsCommand = LSP, argsCwd = Nothing, argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = True, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} PluginIds: [ pragmas , LSPRecorderCallback , rename , ghcide-completions , stan , class , refineImports , splice , cabal , changeTypeSignature , qualifyImportedNames , alternateNumberFormat , hlint , cabalfmt , explicit-fields , ghcide-code-actions-fill-holes , floskell , ghcide-extend-import-action , codeRange , haddockComments , importLens , retrie , ghcide-type-lenses , ghcide-code-actions-imports-exports , ghcide-hover-and-symbols , eval , gadt , fourmolu , tactics , callHierarchy , stylish-haskell , ghcide-code-actions-type-signatures , ghcide-code-actions-bindings , moduleName , brittany , ormolu , ghcide-core , explicit-fixity ] 2023-01-27T15:50:07.527930Z | Info | Logging heap statistics every 60.00s 2023-01-27T15:50:07.531136Z | Info | Starting LSP server... If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! PluginIds: [ pragmas , LSPRecorderCallback , rename , ghcide-completions , stan , class , refineImports , splice , cabal , changeTypeSignature , qualifyImportedNames , alternateNumberFormat , hlint , cabalfmt , explicit-fields , ghcide-code-actions-fill-holes , floskell , ghcide-extend-import-action , codeRange , haddockComments , importLens , retrie , ghcide-type-lenses , ghcide-code-actions-imports-exports , ghcide-hover-and-symbols , eval , gadt , fourmolu , tactics , callHierarchy , stylish-haskell , ghcide-code-actions-type-signatures , ghcide-code-actions-bindings , moduleName , brittany , ormolu , ghcide-core , explicit-fixity ] 2023-01-27T15:50:07.531706Z | Info | Starting server 2023-01-27T15:50:07.535929Z | Info | Started LSP server in 0.00s 2023-01-27T15:50:07.604888Z | Debug | Setting initial dynflags... 2023-01-27T15:50:07.605695Z | Debug | shouldRunSubset: True 2023-01-27T15:50:07.605839Z | Debug | Initializing exports map from hiedb 2023-01-27T15:50:07.606393Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 4567352906965997215 "file:///home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3"], clientSettings = hashed Nothing} [Trace - 5:50:07 PM] Received response 'initialize - (0)' in 3151ms. [Trace - 5:50:07 PM] Sending notification 'initialized'. [Trace - 5:50:07 PM] Sending notification 'workspace/didChangeConfiguration'. [Trace - 5:50:07 PM] Sending notification 'textDocument/didOpen'. 2023-01-27T15:50:07.610264Z | Debug | Done initializing exports map from hiedb. Size: 13 [Trace - 5:50:07 PM] Sending request 'textDocument/documentSymbol - (1)'. 2023-01-27T15:50:07.616992Z | Debug | Shake session initialized [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] haskell-language-server version: 1.9.0.0 (GHC: 8.10.7) (PATH: /home/username/.ghcup/hls/1.9.0.0/lib/haskell-language-server-1.9.0.0/bin/haskell-language-server-8.10.7) 2023-01-27T15:50:07.620567Z | Debug | Configuration changed: Object (fromList [("haskell",Object (fromList [("checkProject",Bool True),("formattingProvider",String "brittany"),("ghcupExecutablePath",String ""),("hlint",Object (fromList [("executablePath",String "lint")])),("indentationRules",Object (fromList [("enabled",Bool True)])),("logFile",String ""),("manageHLS",String "GHCup"),("maxCompletions",Number 40.0),("metadataURL",String ""),("openDocumentationInHackage",Bool True),("openSourceInHackage",Bool True),("plugin",Object (fromList [("alternateNumberFormat",Object (fromList [("globalOn",Bool True)])),("callHierarchy",Object (fromList [("globalOn",Bool True)])),("changeTypeSignature",Object (fromList [("globalOn",Bool True)])),("class",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("eval",Object (fromList [("config",Object (fromList [("diff",Bool True),("exception",Bool False)])),("globalOn",Bool True)])),("explicitFixity",Object (fromList [("globalOn",Bool True)])),("fourmolu",Object (fromList [("config",Object (fromList [("external",Bool False)]))])),("gadt",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-bindings",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-fill-holes",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-imports-exports",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-type-signatures",Object (fromList [("globalOn",Bool True)])),("ghcide-completions",Object (fromList [("config",Object (fromList [("autoExtendOn",Bool True),("snippetsOn",Bool True)])),("globalOn",Bool True)])),("ghcide-hover-and-symbols",Object (fromList [("hoverOn",Bool True),("symbolsOn",Bool True)])),("ghcide-type-lenses",Object (fromList [("config",Object (fromList [("mode",String "always")])),("globalOn",Bool True)])),("haddockComments",Object (fromList [("globalOn",Bool True)])),("hlint",Object (fromList [("codeActionsOn",Bool True),("config",Object (fromList [("flags",Array [])])),("diagnosticsOn",Bool True)])),("importLens",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("moduleName",Object (fromList [("globalOn",Bool True)])),("pragmas",Object (fromList [("codeActionsOn",Bool True),("completionOn",Bool True)])),("qualifyImportedNames",Object (fromList [("globalOn",Bool True)])),("refineImports",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("rename",Object (fromList [("config",Object (fromList [("crossModule",Bool False)])),("globalOn",Bool True)])),("retrie",Object (fromList [("globalOn",Bool True)])),("splice",Object (fromList [("globalOn",Bool True)])),("tactics",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True),("config",Object (fromList [("auto_gas",Number 4.0),("hole_severity",Null),("max_use_ctor_actions",Number 5.0),("proofstate_styling",Bool True),("timeout_duration",Number 2.0)])),("hoverOn",Bool True)]))])),("promptBeforeDownloads",String "true"),("releasesDownloadStoragePath",String ""),("releasesURL",String ""),("serverEnvironment",Object (fromList [])),("serverExecutablePath",String ""),("serverExtraArgs",String ""),("toolchain",Object (fromList [])),("trace",Object (fromList [("client",String "debug"),("server",String "messages")])),("upgradeGHCup",Bool True)]))]) 2023-01-27T15:50:07.621525Z | Debug | Finished build session AsyncCancelled 2023-01-27T15:50:07.621718Z | Debug | Restarting build session due to config change Action Queue: [] Keys: [GetClientSettings; ] Aborting previous build session took 0.00s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Directory: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3 2023-01-27T15:50:07.624003Z | Debug | Set files of interest to: fromList [(NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs",Modified {firstOpen = True})] [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Starting (haskell-language-server) LSP server... GhcideArguments {argsCommand = LSP, argsCwd = Nothing, argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = True, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} PluginIds: [ pragmas , LSPRecorderCallback , rename , ghcide-completions , stan , class , refineImports , splice , cabal , changeTypeSignature , qualifyImportedNames , alternateNumberFormat , hlint , cabalfmt , explicit-fields , ghcide-code-actions-fill-holes , floskell , ghcide-extend-import-action , codeRange , haddockComments , importLens , retrie , ghcide-type-lenses , ghcide-code-actions-imports-exports , ghcide-hover-and-symbols , eval , gadt , fourmolu , tactics , callHierarchy , stylish-haskell , ghcide-code-actions-type-signatures , ghcide-code-actions-bindings , moduleName , brittany , ormolu , ghcide-core , explicit-fixity ] 2023-01-27T15:50:07.625030Z | Debug | Finished build session AsyncCancelled 2023-01-27T15:50:07.625172Z | Debug | Restarting build session due to /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs (modified) Action Queue: [] Keys: [ GetClientSettings; , IsFileOfInterest; /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs , GetModificationTime; /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs ] Aborting previous build session took 0.00s 2023-01-27T15:50:07.625954Z | Debug | Opened text document: file:///home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Logging heap statistics every 60.00s 2023-01-27T15:50:07.627386Z | Debug | hlint: Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T15:50:07.628839Z | Info | Cradle path: lesson20.hs 2023-01-27T15:50:07.629125Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for lesson20.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Starting LSP server... If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! PluginIds: [ pragmas , LSPRecorderCallback , rename , ghcide-completions , stan , class , refineImports , splice , cabal , changeTypeSignature , qualifyImportedNames , alternateNumberFormat , hlint , cabalfmt , explicit-fields , ghcide-code-actions-fill-holes , floskell , ghcide-extend-import-action , codeRange , haddockComments , importLens , retrie , ghcide-type-lenses , ghcide-code-actions-imports-exports , ghcide-hover-and-symbols , eval , gadt , fourmolu , tactics , callHierarchy , stylish-haskell , ghcide-code-actions-type-signatures , ghcide-code-actions-bindings , moduleName , brittany , ormolu , ghcide-core , explicit-fixity ] [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Starting server [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Started LSP server in 0.00s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Setting initial dynflags... [Trace - 5:50:07 PM] Received notification 'window/logMessage'. shouldRunSubset: True [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Initializing exports map from hiedb [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 4567352906965997215 "file:///home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3"], clientSettings = hashed Nothing} [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Done initializing exports map from hiedb. Size: 13 [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Shake session initialized [Trace - 5:50:07 PM] Received request 'client/registerCapability - (0)'. [Trace - 5:50:07 PM] Sending response 'client/registerCapability - (0)'. Processing request took 0ms [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Configuration changed: Object (fromList [("haskell",Object (fromList [("checkProject",Bool True),("formattingProvider",String "brittany"),("ghcupExecutablePath",String ""),("hlint",Object (fromList [("executablePath",String "lint")])),("indentationRules",Object (fromList [("enabled",Bool True)])),("logFile",String ""),("manageHLS",String "GHCup"),("maxCompletions",Number 40.0),("metadataURL",String ""),("openDocumentationInHackage",Bool True),("openSourceInHackage",Bool True),("plugin",Object (fromList [("alternateNumberFormat",Object (fromList [("globalOn",Bool True)])),("callHierarchy",Object (fromList [("globalOn",Bool True)])),("changeTypeSignature",Object (fromList [("globalOn",Bool True)])),("class",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("eval",Object (fromList [("config",Object (fromList [("diff",Bool True),("exception",Bool False)])),("globalOn",Bool True)])),("explicitFixity",Object (fromList [("globalOn",Bool True)])),("fourmolu",Object (fromList [("config",Object (fromList [("external",Bool False)]))])),("gadt",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-bindings",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-fill-holes",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-imports-exports",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-type-signatures",Object (fromList [("globalOn",Bool True)])),("ghcide-completions",Object (fromList [("config",Object (fromList [("autoExtendOn",Bool True),("snippetsOn",Bool True)])),("globalOn",Bool True)])),("ghcide-hover-and-symbols",Object (fromList [("hoverOn",Bool True),("symbolsOn",Bool True)])),("ghcide-type-lenses",Object (fromList [("config",Object (fromList [("mode",String "always")])),("globalOn",Bool True)])),("haddockComments",Object (fromList [("globalOn",Bool True)])),("hlint",Object (fromList [("codeActionsOn",Bool True),("config",Object (fromList [("flags",Array [])])),("diagnosticsOn",Bool True)])),("importLens",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("moduleName",Object (fromList [("globalOn",Bool True)])),("pragmas",Object (fromList [("codeActionsOn",Bool True),("completionOn",Bool True)])),("qualifyImportedNames",Object (fromList [("globalOn",Bool True)])),("refineImports",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("rename",Object (fromList [("config",Object (fromList [("crossModule",Bool False)])),("globalOn",Bool True)])),("retrie",Object (fromList [("globalOn",Bool True)])),("splice",Object (fromList [("globalOn",Bool True)])),("tactics",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True),("config",Object (fromList [("auto_gas",Number 4.0),("hole_severity",Null),("max_use_ctor_actions",Number 5.0),("proofstate_styling",Bool True),("timeout_duration",Number 2.0)])),("hoverOn",Bool True)]))])),("promptBeforeDownloads",String "true"),("releasesDownloadStoragePath",String ""),("releasesURL",String ""),("serverEnvironment",Object (fromList [])),("serverExecutablePath",String ""),("serverExtraArgs",String ""),("toolchain",Object (fromList [])),("trace",Object (fromList [("client",String "debug"),("server",String "messages")])),("upgradeGHCup",Bool True)]))]) [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Finished build session AsyncCancelled [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Restarting build session due to config change Action Queue: [] Keys: [GetClientSettings; ] Aborting previous build session took 0.00s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Set files of interest to: fromList [(NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs",Modified {firstOpen = True})] [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Finished build session AsyncCancelled [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Restarting build session due to /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs (modified) Action Queue: [] Keys: [ GetClientSettings; , IsFileOfInterest; /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs , GetModificationTime; /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs ] Aborting previous build session took 0.00s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Opened text document: file:///home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs [Trace - 5:50:07 PM] Received notification 'window/logMessage'. hlint: Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T15:50:07.639696Z | Debug | Cradle: Cradle {cradleRootDir = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", cradleOptsProg = CradleAction: Default} [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Cradle path: lesson20.hs [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Warn - 5:50:07 PM] No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for lesson20.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. [Trace - 5:50:07 PM] Received request 'window/workDoneProgress/create - (1)'. [Trace - 5:50:07 PM] Sending response 'window/workDoneProgress/create - (1)'. Processing request took 1ms [Trace - 5:50:07 PM] Received notification '$/progress'. [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Cradle: Cradle {cradleRootDir = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", cradleOptsProg = CradleAction: Default} 2023-01-27T15:50:07.718335Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-dynamic"], componentRoot = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", componentDependencies = []},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") [Trace - 5:50:07 PM] Received notification '$/progress'. [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Session loading result: Right (ComponentOptions {componentOptions = ["-dynamic"], componentRoot = "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3", componentDependencies = []},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") [Trace - 5:50:07 PM] Received request 'window/workDoneProgress/create - (2)'. [Trace - 5:50:07 PM] Sending response 'window/workDoneProgress/create - (2)'. Processing request took 0ms [Trace - 5:50:07 PM] Received notification '$/progress'. 2023-01-27T15:50:07.791857Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda 2023-01-27T15:50:07.792459Z | Info | Making new HscEnv. In-place unit ids: [main] [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Interface files cache directory: /home/username/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda [Trace - 5:50:07 PM] Received notification 'window/logMessage'. [Info - 5:50:07 PM] Making new HscEnv. In-place unit ids: [main] 2023-01-27T15:50:07.807327Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 7),fromList []) 2023-01-27T15:50:07.807705Z | Debug | Known files updated: fromList [(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs"])] [Trace - 5:50:07 PM] Received notification 'window/logMessage'. New component cache HscEnvEq: (([],Just HscEnvEq 7),fromList []) [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Known files updated: fromList [(TargetFile NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs",fromList ["/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs"])] 2023-01-27T15:50:07.810222Z | Debug | Finished build session AsyncCancelled 2023-01-27T15:50:07.810374Z | Debug | Restarting build session due to new component Action Queue: [Outline] Keys: [ IsFileOfInterest; /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs , GhcSessionIO; , GetKnownTargets; ] Aborting previous build session took 0.00s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Finished build session AsyncCancelled [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Restarting build session due to new component Action Queue: [Outline] Keys: [ IsFileOfInterest; /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs , GhcSessionIO; , GetKnownTargets; ] Aborting previous build session took 0.00s [Trace - 5:50:07 PM] Received notification '$/progress'. 2023-01-27T15:50:07.811278Z | Debug | hlint: Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" [Trace - 5:50:07 PM] Received notification 'window/logMessage'. hlint: Getting hlint ideas for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T15:50:07.823968Z | Debug | Finished: Outline Took: 0.01s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Finished: Outline Took: 0.01s [Trace - 5:50:07 PM] Received response 'textDocument/documentSymbol - (1)' in 210ms. [Trace - 5:50:07 PM] Sending request 'textDocument/foldingRange - (2)'. [Trace - 5:50:07 PM] Sending request 'textDocument/codeLens - (3)'. [Trace - 5:50:07 PM] Received request 'window/workDoneProgress/create - (3)'. [Trace - 5:50:07 PM] Sending response 'window/workDoneProgress/create - (3)'. Processing request took 0ms 2023-01-27T15:50:07.969836Z | Debug | Finished: codeLens.config Took: 0.00s 2023-01-27T15:50:07.970124Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "fp" "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" 2023-01-27T15:50:07.970823Z | Debug | Finished: codeLens.GhcSession Took: 0.00s [Trace - 5:50:07 PM] Received notification '$/progress'. 2023-01-27T15:50:07.973606Z | Debug | hlint: Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Finished: codeLens.config Took: 0.00s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "fp" "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs" [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Finished: codeLens.GhcSession Took: 0.00s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. hlint: Using extensions for NormalizedFilePath "/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] 2023-01-27T15:50:07.979685Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-01-27T15:50:07.983899Z | Debug | Finished: classplugin.TypeCheck Took: 0.04s [Trace - 5:50:07 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s 2023-01-27T15:50:07.990020Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.02s 2023-01-27T15:50:07.990829Z | Debug | moduleName: ModuleName.CorrectNames: [Main] 2023-01-27T15:50:07.991142Z | Debug | moduleName: ModuleName.BestName: Main 2023-01-27T15:50:07.991358Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "comments" "Comments {lineComments = fromList [(Range {_start = Position {_line = 0, _character = 0}, _end = Position {_line = 0, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.1\"}),(Range {_start = Position {_line = 55, _character = 0}, _end = Position {_line = 55, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.3\"}),(Range {_start = Position {_line = 58, _character = 0}, _end = Position {_line = 58, _character = 7}},RawLineComment {getRawLineComment = \"-- 20.4\"}),(Range {_start = Position {_line = 66, _character = 0}, _end = Position {_line = 66, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.5\"}),(Range {_start = Position {_line = 71, _character = 0}, _end = Position {_line = 71, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.6\"}),(Range {_start = Position {_line = 77, _character = 0}, _end = Position {_line = 77, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.7\"}),(Range {_start = Position {_line = 83, _character = 0}, _end = Position {_line = 83, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.8\"})], blockComments = fromList []}" 2023-01-27T15:50:07.991551Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "Tests" "0 tests in 7 sections 0 setups 0 lenses." 2023-01-27T15:50:07.991904Z | Debug | Finished: codeLens.TypeCheck Took: 0.00s 2023-01-27T15:50:07.992812Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "tests" "0.00s" 2023-01-27T15:50:07.992948Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "codeLens" "0.02s" 2023-01-27T15:50:07.993384Z | Debug | Finished: MinimalImports Took: 0.03s 2023-01-27T15:50:07.993883Z | Debug | Finished: ModuleName.GetParsedModule Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: classplugin.TypeCheck Took: 0.04s 2023-01-27T15:50:08.050835Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-01-27T15:50:08.051434Z | Debug | moduleName: ModuleName.StatedNameMaybe: [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: eval.GetParsedModuleWithComments Took: 0.02s [Trace - 5:50:08 PM] Received request 'window/workDoneProgress/create - (4)'. [Trace - 5:50:08 PM] Sending response 'window/workDoneProgress/create - (4)'. Processing request took 0ms [Trace - 5:50:08 PM] Received notification '$/progress'. [Trace - 5:50:08 PM] Received notification '$/progress'. [Trace - 5:50:08 PM] Received notification 'window/logMessage'. moduleName: ModuleName.CorrectNames: [Main] [Trace - 5:50:08 PM] Received notification 'window/logMessage'. moduleName: ModuleName.BestName: Main [Trace - 5:50:08 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "comments" "Comments {lineComments = fromList [(Range {_start = Position {_line = 0, _character = 0}, _end = Position {_line = 0, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.1\"}),(Range {_start = Position {_line = 55, _character = 0}, _end = Position {_line = 55, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.3\"}),(Range {_start = Position {_line = 58, _character = 0}, _end = Position {_line = 58, _character = 7}},RawLineComment {getRawLineComment = \"-- 20.4\"}),(Range {_start = Position {_line = 66, _character = 0}, _end = Position {_line = 66, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.5\"}),(Range {_start = Position {_line = 71, _character = 0}, _end = Position {_line = 71, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.6\"}),(Range {_start = Position {_line = 77, _character = 0}, _end = Position {_line = 77, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.7\"}),(Range {_start = Position {_line = 83, _character = 0}, _end = Position {_line = 83, _character = 15}},RawLineComment {getRawLineComment = \"-- Listing 20.8\"})], blockComments = fromList []}" 2023-01-27T15:50:08.064620Z | Debug | Finished: classplugin.GetInstanceBindTypeSigs Took: 0.07s 2023-01-27T15:50:08.065700Z | Debug | Finished: RefineImports Took: 0.10s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "Tests" "0 tests in 7 sections 0 setups 0 lenses." [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: codeLens.TypeCheck Took: 0.00s 2023-01-27T15:50:08.065856Z | Debug | Finished: InitialLoad Took: 0.26s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "tests" "0.00s" [Trace - 5:50:08 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "codeLens" "0.02s" [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: MinimalImports Took: 0.03s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: ModuleName.GetParsedModule Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. moduleName: ModuleName.StatedNameMaybe: [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: classplugin.GetInstanceBindTypeSigs Took: 0.07s [Trace - 5:50:08 PM] Received notification 'textDocument/publishDiagnostics'. 2023-01-27T15:50:08.065938Z | Debug | Finished: Wingman.codeLensProvider.GetAnnotatedParsedSource Took: 0.00s 2023-01-27T15:50:08.066202Z | Debug | Finished: FoldingRange Took: 0.20s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: RefineImports Took: 0.10s 2023-01-27T15:50:08.066513Z | Debug | Finished: codeLens.GetBindings Took: 0.02s 2023-01-27T15:50:08.067573Z | Debug | Finished: classplugin.insertPragmaIfNotPresent.GhcSession Took: 0.00s 2023-01-27T15:50:08.067733Z | Debug | Finished: Wingman.codeLensProvider.GetBindings Took: 0.00s 2023-01-27T15:50:08.068760Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s 2023-01-27T15:50:08.068966Z | Debug | Finished: classplugin.insertPragmaIfNotPresent.GetFileContents Took: 0.00s 2023-01-27T15:50:08.070253Z | Debug | Finished: Wingman.emptyCaseScrutinees.TypeCheck Took: 0.00s 2023-01-27T15:50:08.070524Z | Debug | Finished: classplugin.insertPragmaIfNotPresent.GetParsedModuleWithComments Took: 0.00s 2023-01-27T15:50:08.070674Z | Debug | Finished: Wingman.emptyCaseScrutinees.GhcSessionDeps Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: InitialLoad Took: 0.26s [Trace - 5:50:08 PM] Received response 'textDocument/foldingRange - (2)' in 253ms. [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: Wingman.codeLensProvider.GetAnnotatedParsedSource Took: 0.00s [Trace - 5:50:08 PM] Received notification '$/progress'. [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: FoldingRange Took: 0.20s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: codeLens.GetBindings Took: 0.02s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: classplugin.insertPragmaIfNotPresent.GhcSession Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: Wingman.codeLensProvider.GetBindings Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s [Trace - 5:50:08 PM] Received response 'textDocument/codeLens - (3)' in 218ms. [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: classplugin.insertPragmaIfNotPresent.GetFileContents Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: Wingman.emptyCaseScrutinees.TypeCheck Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: classplugin.insertPragmaIfNotPresent.GetParsedModuleWithComments Took: 0.00s [Trace - 5:50:08 PM] Received notification 'window/logMessage'. Finished: Wingman.emptyCaseScrutinees.GhcSessionDeps Took: 0.00s [Trace - 5:50:08 PM] Received notification '$/progress'. [Trace - 5:50:11 PM] Sending request 'textDocument/completion - (4)'. 2023-01-27T15:50:11.692057Z | Debug | LOOKUP PERSISTENT FOR: LocalCompletions 2023-01-27T15:50:11.692904Z | Debug | Finished: C:LocalCompletions:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:11.693500Z | Debug | Finished: C:NonLocalCompletions:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:11.693815Z | Debug | Finished: C:GetParsedModule:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:11.694027Z | Debug | Finished: C:GetBindings:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:11.694201Z | Debug | Finished: Completion Took: 0.00s 2023-01-27T15:50:11.694689Z | Debug | Finished: C:GhcSession:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:11 PM] Received notification 'window/logMessage'. LOOKUP PERSISTENT FOR: LocalCompletions [Trace - 5:50:11 PM] Received notification 'window/logMessage'. Finished: C:LocalCompletions:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:11 PM] Received notification 'window/logMessage'. Finished: C:NonLocalCompletions:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:11 PM] Received notification 'window/logMessage'. Finished: C:GetParsedModule:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:11 PM] Received notification 'window/logMessage'. Finished: C:GetBindings:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:11 PM] Received notification 'window/logMessage'. Finished: Completion Took: 0.00s [Trace - 5:50:11 PM] Received notification 'window/logMessage'. Finished: C:GhcSession:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:13.193357Z | Debug | Finished: C:GetModSummaryWithoutTimestamps:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:13.193516Z | Debug | Finished: Took: 0.00s [Trace - 5:50:13 PM] Received notification 'window/logMessage'. Finished: C:GetModSummaryWithoutTimestamps:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:13 PM] Received notification 'window/logMessage'. Finished: Took: 0.00s [Trace - 5:50:13 PM] Received response 'textDocument/completion - (4)' in 1582ms. [Trace - 5:50:20 PM] Sending request 'textDocument/hover - (5)'. 2023-01-27T15:50:20.147908Z | Debug | GhcIde.hover entered (ideLogger) 2023-01-27T15:50:20.148784Z | Debug | Hover request at position 68:4 in file: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs 2023-01-27T15:50:20.151442Z | Debug | Finished: Wingman.plugin.config Took: 0.00s [Trace - 5:50:20 PM] Received notification 'window/logMessage'. GhcIde.hover entered (ideLogger) [Trace - 5:50:20 PM] Received notification 'window/logMessage'. Hover request at position 68:4 in file: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs [Trace - 5:50:20 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s 2023-01-27T15:50:20.151779Z | Debug | LOOKUP PERSISTENT FOR: GetMetaprograms 2023-01-27T15:50:20.152685Z | Debug | LOOKUP PERSISTENT FOR: GetDocMap [Trace - 5:50:20 PM] Received notification 'window/logMessage'. LOOKUP PERSISTENT FOR: GetMetaprograms 2023-01-27T15:50:20.153574Z | Debug | LOOKUP PERSISTENT FOR: GetFixity 2023-01-27T15:50:20.161834Z | Debug | Finished: C:GetMetaprograms:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.01s 2023-01-27T15:50:20.161947Z | Debug | Finished: C:GetHieAst:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:20 PM] Received notification 'window/logMessage'. LOOKUP PERSISTENT FOR: GetDocMap 2023-01-27T15:50:20.161996Z | Debug | Finished: C:GhcSession:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:20.163544Z | Debug | Finished: C:GetFixity:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:20 PM] Received notification 'window/logMessage'. LOOKUP PERSISTENT FOR: GetFixity [Trace - 5:50:20 PM] Received notification 'window/logMessage'. Finished: C:GetMetaprograms:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.01s [Trace - 5:50:20 PM] Received notification 'window/logMessage'. Finished: C:GetHieAst:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:20 PM] Received notification 'window/logMessage'. Finished: C:GhcSession:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:20.188361Z | Debug | Finished: C:GetHieAst:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:20 PM] Received notification 'window/logMessage'. Finished: C:GetFixity:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:20 PM] Received response 'textDocument/hover - (5)' in 47ms. [Trace - 5:50:20 PM] Received notification 'window/logMessage'. Finished: C:GetHieAst:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:20.213072Z | Debug | Finished: C:GetDocMap:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.05s [Trace - 5:50:20 PM] Received notification 'window/logMessage'. Finished: C:GetDocMap:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.05s [Trace - 5:50:33 PM] Sending request 'textDocument/hover - (6)'. 2023-01-27T15:50:33.843084Z | Debug | GhcIde.hover entered (ideLogger) 2023-01-27T15:50:33.843227Z | Debug | Hover request at position 81:15 in file: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs [Trace - 5:50:33 PM] Received notification 'window/logMessage'. GhcIde.hover entered (ideLogger) 2023-01-27T15:50:33.843622Z | Debug | Finished: C:GhcSession:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:33.843622Z | Debug | Finished: C:GetHieAst:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:33.843767Z | Debug | Finished: C:GetDocMap:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:33 PM] Received notification 'window/logMessage'. Hover request at position 81:15 in file: /home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs 2023-01-27T15:50:33.843779Z | Debug | Finished: C:GetFixity:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:33.843788Z | Debug | Finished: C:GetHieAst:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:50:33.844243Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-01-27T15:50:33.844381Z | Debug | Finished: C:GetMetaprograms:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:33 PM] Received notification 'window/logMessage'. Finished: C:GhcSession:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:33 PM] Received notification 'window/logMessage'. Finished: C:GetHieAst:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:33 PM] Received notification 'window/logMessage'. Finished: C:GetDocMap:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:33 PM] Received response 'textDocument/hover - (6)' in 7ms. [Trace - 5:50:33 PM] Received notification 'window/logMessage'. Finished: C:GetFixity:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:33 PM] Received notification 'window/logMessage'. Finished: C:GetHieAst:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s [Trace - 5:50:33 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 5:50:33 PM] Received notification 'window/logMessage'. Finished: C:GetMetaprograms:/home/username/Documents/Koodausopiskelua/GetProgrammingWithHaskell/Unit3/lesson20.hs Took: 0.00s 2023-01-27T15:51:07.544342Z | Info | Live bytes: 185.97MB Heap size: 515.90MB [Trace - 5:51:07 PM] Received notification 'window/logMessage'. [Info - 5:51:07 PM] Live bytes: 185.97MB Heap size: 515.90MB 2023-01-27T15:52:07.604891Z | Info | Live bytes: 185.97MB Heap size: 515.90MB [Trace - 5:52:07 PM] Received notification 'window/logMessage'. [Info - 5:52:07 PM] Live bytes: 185.97MB Heap size: 515.90MB 2023-01-27T15:53:07.665305Z | Info | Live bytes: 185.97MB Heap size: 515.90MB [Trace - 5:53:07 PM] Received notification 'window/logMessage'. [Info - 5:53:07 PM] Live bytes: 185.97MB Heap size: 515.90MB ```
fendor commented 1 year ago

Hm, it seems, whatever is wrong, must be with HLS and not the vscode plugin. For more exposure, I'm moving the issue to the main repo.

fendor commented 1 year ago

Do you have a project where we can try to reproduce the issue?

Archill-56 commented 1 year ago

Here is a test project that should do the job: https://github.com/Archill-56/HaskellTest

Though, I should mention that my problem has become worse. Now there is no type info showing up when I hover on top of types.

fendor commented 1 year ago

Be sure to open the folder in VSCode via "Open Folder [Ctrl+k Ctrl+o]" option.

Your project works for me locally with cabal.

Archill-56 commented 1 year ago

Tried to open the folder in VSCode via "Open Folder [Ctrl+k Ctrl+o]" option just now. No difference - no auto completion and the hover info is gone as well. Might this issue arise from:

  1. hardware of my computer
  2. linux distro
  3. installation of tools such as VSCode, GHCup, HLS, Stack, Cabal, etc.
  4. Extensions and settings of VSCode
  5. something else?

Previously, the hover info worked for me only when I started VSCode in the terminal using "code ." while being in the project folder in the terminal. Otherwise the hover info did not work for me previously. Now, on matter how I start VSCode or open the project, the hover info is gone.

New thing for me is that now there is a error in VSCode saying "Project requires HLS but isn't isntalled. Using command "ghcup tui" shows me that I have installed and set the following: GHCup 0.1.19.2, Stack 2.9.1, HLS 1.8.0.0, cabal 3.6.2.0 and GHC 8.10.7

fendor commented 1 year ago

I think this is most likely a setup issue, maybe a combination of PATH shenanigans and stuff like that.

Can you provide for your test-project the vscode logs again, please? I am hoping to gain some insights by being able to compare the logs 1:1. https://github.com/haskell/vscode-haskell#investigating-and-reporting-problems

Archill-56 commented 1 year ago

Sure! Here they are and thank you so much for helping me out.

Logs ``` 2023-03-05 16:08:49.3560000 [client] DEBUG Environment variables: 2023-03-05 16:08:49.3560000 [client] DEBUG PATH: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/username/.cabal/bin:/home/username/.ghcup/bin 2023-03-05 16:08:49.3560000 [client] INFO Finding haskell-language-server 2023-03-05 16:08:49.3580000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:49.3750000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:49.3770000 [client] INFO Executing 'ghcup --no-verbose upgrade' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:53.5750000 [client] DEBUG Execution of 'ghcup --no-verbose upgrade' terminated with code 0 2023-03-05 16:08:53.5800000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:53.6050000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:53.6070000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:54.1130000 [client] DEBUG Execution of 'ghcup --no-verbose list -t hls -c installed -r' terminated with code 0 2023-03-05 16:08:54.1130000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:54.1310000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:54.1330000 [client] INFO Executing 'ghcup --no-verbose list -t cabal -c installed -r' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:54.4480000 [client] DEBUG Execution of 'ghcup --no-verbose list -t cabal -c installed -r' terminated with code 0 2023-03-05 16:08:54.4490000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:54.4580000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:54.4590000 [client] INFO Executing 'ghcup --no-verbose list -t stack -c installed -r' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:54.5770000 [client] DEBUG Execution of 'ghcup --no-verbose list -t stack -c installed -r' terminated with code 0 2023-03-05 16:08:54.5850000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:54.5950000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:54.5960000 [client] INFO Executing 'ghcup --no-verbose whereis hls 1.8.0.0' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:54.6140000 [client] DEBUG Execution of 'ghcup --no-verbose whereis hls 1.8.0.0' terminated with code 0 2023-03-05 16:08:54.6150000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:54.6250000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:54.6270000 [client] INFO Executing 'ghcup --no-verbose whereis cabal 3.6.2.0' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:54.6520000 [client] DEBUG Execution of 'ghcup --no-verbose whereis cabal 3.6.2.0' terminated with code 0 2023-03-05 16:08:54.6530000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:54.6630000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:54.6650000 [client] INFO Executing 'ghcup --no-verbose whereis stack 2.9.1' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:54.7820000 [client] DEBUG Execution of 'ghcup --no-verbose whereis stack 2.9.1' terminated with code 0 2023-03-05 16:08:54.7950000 [client] INFO Executing 'ghc --numeric-version' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:54.8720000 [client] DEBUG Execution of 'ghc --numeric-version' terminated with code 0 2023-03-05 16:08:54.8730000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:54.8810000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:54.8820000 [client] INFO Executing 'ghcup --no-verbose run --hls 1.8.0.0 --cabal 3.6.2.0 --stack 2.9.1 --install' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:55.0900000 [client] DEBUG Execution of 'ghcup --no-verbose run --hls 1.8.0.0 --cabal 3.6.2.0 --stack 2.9.1 --install' terminated with code 0 2023-03-05 16:08:55.0920000 [client] INFO Working out the project GHC version. This might take a while... 2023-03-05 16:08:55.0960000 [client] INFO Executing 'haskell-language-server-wrapper --project-ghc-version' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:57.3440000 [client] DEBUG Execution of 'haskell-language-server-wrapper --project-ghc-version' terminated with code 0 2023-03-05 16:08:57.3450000 [client] INFO The GHC version for the project or file: 8.10.7 2023-03-05 16:08:57.6380000 [client] INFO Platform constants: Linux_UnknownLinux, A_64 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.1.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.6.4,8.6.5,8.8.2,8.8.3,8.8.4 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.2.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.6.4,8.6.5,8.8.2,8.8.3,8.8.4 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.3.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.6.4,8.6.5,8.8.3,8.8.4,9.0.1 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.4.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.10.6,8.10.7,8.6.4,8.6.5,8.8.3,8.8.4,9.0.1 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.5.0 compatible with GHC Versions: 8.10.5,8.10.6,8.10.7,8.6.5,8.8.3,8.8.4,9.0.1 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.5.1 compatible with GHC Versions: 8.10.5,8.10.6,8.10.7,8.6.5,8.8.3,8.8.4,9.0.1 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.6.0.0 compatible with GHC Versions: 8.10.6,8.10.7,8.6.5,8.8.4,9.0.1,9.0.2,9.2.1 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.6.1.0 compatible with GHC Versions: 8.10.6,8.10.7,8.6.5,8.8.4,9.0.1,9.0.2,9.2.1 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.7.0.0 compatible with GHC Versions: 8.6.5,8.8.4,8.10.7,9.0.2,9.2.1,9.2.2 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.8.0.0 compatible with GHC Versions: 8.6.5,8.8.4,8.10.7,9.0.2,9.2.3,9.2.4,9.4.1,9.4.2 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.9.0.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.5,9.4.3,9.4.4 2023-03-05 16:08:57.6390000 [client] DEBUG HLS 1.9.1.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.5,9.2.6,9.4.4 2023-03-05 16:08:57.6400000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:57.6580000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:57.6610000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:57.7580000 [client] DEBUG Execution of 'ghcup --no-verbose list -t hls -c installed -r' terminated with code 0 2023-03-05 16:08:57.7590000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:57.7660000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:57.7670000 [client] INFO Executing 'ghcup --no-verbose whereis bindir' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:57.7840000 [client] DEBUG Execution of 'ghcup --no-verbose whereis bindir' terminated with code 0 2023-03-05 16:08:57.7880000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:57.7950000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:57.7960000 [client] INFO Executing 'ghcup --no-verbose whereis hls 1.9.1.0' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:57.8140000 [client] DEBUG Execution of 'ghcup --no-verbose whereis hls 1.9.1.0' terminated with code 30 2023-03-05 16:08:57.8140000 [client] ERROR Error executing 'ghcup --no-verbose whereis hls 1.9.1.0' with error code 30 2023-03-05 16:08:57.8140000 [client] ERROR stderr: [ Error ] []8;;https://errors.haskell.org/messages/GHCup-00130\GHCup-00130]8;;\] The version 1.9.1.0 of the tool hls is not installed. 2023-03-05 16:08:57.8140000 [client] INFO Checking for ghcup installation 2023-03-05 16:08:57.8220000 [client] INFO found ghcup at ghcup 2023-03-05 16:08:57.8220000 [client] INFO Executing 'ghcup --no-verbose whereis ghc 8.10.7' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-05 16:08:57.8400000 [client] DEBUG Execution of 'ghcup --no-verbose whereis ghc 8.10.7' terminated with code 0 2023-03-05 16:09:36.1810000 [client] ERROR Error: Project requires HLS but it isn't installed at /home/username/.vscode/extensions/haskell.haskell-2.2.2/dist/extension.js:1:352605 at Array.forEach () at /home/username/.vscode/extensions/haskell.haskell-2.2.2/dist/extension.js:1:352551 at Generator.next () at s (/home/username/.vscode/extensions/haskell.haskell-2.2.2/dist/extension.js:1:339965) ```
fendor commented 1 year ago

Looks like GHCup is in some inconsistent state, see the error message of ghcup whereis hls 1.9.1.0. Try re-installing hls with ~ghcup install ghc 1.9.1.0 --force~ ghcup install hls 1.9.1.0 --force.

Archill-56 commented 1 year ago

It gives out an error when I try to do that.

Logs ``` $ ghcup install ghc 1.9.1.0 --force [ Info ] downloading: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.7.yaml as file /home/username/.ghcup/cache/ghcup-0.0.7.yaml % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 [ Warn ] New ghc version available. If you want to install this latest version, run 'ghcup install ghc 9.4.4' [ Warn ] New cabal version available. If you want to install this latest version, run 'ghcup install cabal 3.8.1.0' [ Warn ] New hls version available. If you want to install this latest version, run 'ghcup install hls 1.9.1.0' [ Warn ] New stack version available. If you want to install this latest version, run 'ghcup install stack 2.9.3' [ Error ] [GHCup-00010] Unable to find a download for the requested version/distro. [ Error ] Also check the logs in /home/username/.ghcup/logs Logs: Debug: Identified Platform as: Linux Debian Debug: last access was 1046.610384851s ago, cache interval is 300s Info: downloading: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.7.yaml as file /home/username/.ghcup/cache/ghcup-0.0.7.yaml Debug: Read etag: "dfc4fae51ff65954ff61ec2e38b504ce13b7c16cd32d83b74a965f2046771f70" Debug: Status code was 304, not overwriting Debug: Parsed etag: "dfc4fae51ff65954ff61ec2e38b504ce13b7c16cd32d83b74a965f2046771f70" Debug: Writing etagsFile /home/username/.ghcup/cache/ghcup-0.0.7.yaml.etags Debug: Decoding yaml at: /home/username/.ghcup/cache/ghcup-0.0.7.yaml Warn: New ghc version available. If you want to install this latest version, run 'ghcup install ghc 9.4.4' Warn: New cabal version available. If you want to install this latest version, run 'ghcup install cabal 3.8.1.0' Warn: New hls version available. If you want to install this latest version, run 'ghcup install hls 1.9.1.0' Warn: New stack version available. If you want to install this latest version, run 'ghcup install stack 2.9.3' Error: []8;;https://errors.haskell.org/messages/GHCup-00010\GHCup-00010]8;;\] Unable to find a download for the requested version/distro. Error: Also check the logs in /home/username/.ghcup/logs ```
fendor commented 1 year ago

@hasufell Ideas about this error?

hasufell commented 1 year ago

ghcup install ghc 1.9.1.0 --force

Yes, there is no GHC version 1.9.1.0.

Archill-56 commented 1 year ago

Sorry, I literally copy pasted the command without looking at it. Now I did the following command: ghcup install hls 1.9.1.0 --force

It installed it fine. Type info shows up once again on hover. Auto completion doesn't.

Logs after installing hls 1.9.1.0 ``` 2023-03-06 12:55:48.2810000 [client] DEBUG Environment variables: 2023-03-06 12:55:48.2820000 [client] DEBUG PATH: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/username/.cabal/bin:/home/username/.ghcup/bin 2023-03-06 12:55:48.2820000 [client] INFO Finding haskell-language-server 2023-03-06 12:55:48.2830000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:48.2940000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:48.2980000 [client] INFO Executing 'ghcup --no-verbose upgrade' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:51.6280000 [client] DEBUG Execution of 'ghcup --no-verbose upgrade' terminated with code 0 2023-03-06 12:55:51.6320000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:51.6410000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:51.6430000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:51.8230000 [client] DEBUG Execution of 'ghcup --no-verbose list -t hls -c installed -r' terminated with code 0 2023-03-06 12:55:51.8640000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:51.8760000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:51.8770000 [client] INFO Executing 'ghcup --no-verbose list -t cabal -c installed -r' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:52.0880000 [client] DEBUG Execution of 'ghcup --no-verbose list -t cabal -c installed -r' terminated with code 0 2023-03-06 12:55:52.1020000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:52.1120000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:52.1140000 [client] INFO Executing 'ghcup --no-verbose list -t stack -c installed -r' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:52.3040000 [client] DEBUG Execution of 'ghcup --no-verbose list -t stack -c installed -r' terminated with code 0 2023-03-06 12:55:52.3230000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:52.3360000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:52.3370000 [client] INFO Executing 'ghcup --no-verbose whereis hls 1.9.1.0' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:52.3850000 [client] DEBUG Execution of 'ghcup --no-verbose whereis hls 1.9.1.0' terminated with code 0 2023-03-06 12:55:52.3850000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:52.3930000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:52.3950000 [client] INFO Executing 'ghcup --no-verbose whereis cabal 3.6.2.0' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:52.4170000 [client] DEBUG Execution of 'ghcup --no-verbose whereis cabal 3.6.2.0' terminated with code 0 2023-03-06 12:55:52.4170000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:52.4320000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:52.4360000 [client] INFO Executing 'ghcup --no-verbose whereis stack 2.9.1' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:52.4860000 [client] DEBUG Execution of 'ghcup --no-verbose whereis stack 2.9.1' terminated with code 0 2023-03-06 12:55:52.5010000 [client] INFO Executing 'ghc --numeric-version' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:52.5770000 [client] DEBUG Execution of 'ghc --numeric-version' terminated with code 0 2023-03-06 12:55:52.5780000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:52.5880000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:52.5890000 [client] INFO Executing 'ghcup --no-verbose run --hls 1.9.1.0 --cabal 3.6.2.0 --stack 2.9.1 --install' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:52.7900000 [client] DEBUG Execution of 'ghcup --no-verbose run --hls 1.9.1.0 --cabal 3.6.2.0 --stack 2.9.1 --install' terminated with code 0 2023-03-06 12:55:52.7910000 [client] INFO Working out the project GHC version. This might take a while... 2023-03-06 12:55:52.7930000 [client] INFO Executing 'haskell-language-server-wrapper --project-ghc-version' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:55.5970000 [client] DEBUG Execution of 'haskell-language-server-wrapper --project-ghc-version' terminated with code 0 2023-03-06 12:55:55.5980000 [client] INFO The GHC version for the project or file: 8.10.7 2023-03-06 12:55:55.7730000 [client] INFO Platform constants: Linux_UnknownLinux, A_64 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.1.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.6.4,8.6.5,8.8.2,8.8.3,8.8.4 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.2.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.6.4,8.6.5,8.8.2,8.8.3,8.8.4 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.3.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.6.4,8.6.5,8.8.3,8.8.4,9.0.1 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.4.0 compatible with GHC Versions: 8.10.2,8.10.3,8.10.4,8.10.5,8.10.6,8.10.7,8.6.4,8.6.5,8.8.3,8.8.4,9.0.1 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.5.0 compatible with GHC Versions: 8.10.5,8.10.6,8.10.7,8.6.5,8.8.3,8.8.4,9.0.1 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.5.1 compatible with GHC Versions: 8.10.5,8.10.6,8.10.7,8.6.5,8.8.3,8.8.4,9.0.1 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.6.0.0 compatible with GHC Versions: 8.10.6,8.10.7,8.6.5,8.8.4,9.0.1,9.0.2,9.2.1 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.6.1.0 compatible with GHC Versions: 8.10.6,8.10.7,8.6.5,8.8.4,9.0.1,9.0.2,9.2.1 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.7.0.0 compatible with GHC Versions: 8.6.5,8.8.4,8.10.7,9.0.2,9.2.1,9.2.2 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.8.0.0 compatible with GHC Versions: 8.6.5,8.8.4,8.10.7,9.0.2,9.2.3,9.2.4,9.4.1,9.4.2 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.9.0.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.5,9.4.3,9.4.4 2023-03-06 12:55:55.7730000 [client] DEBUG HLS 1.9.1.0 compatible with GHC Versions: 8.10.7,9.0.2,9.2.5,9.2.6,9.4.4 2023-03-06 12:55:55.7770000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:55.8140000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:55.8170000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:55.9230000 [client] DEBUG Execution of 'ghcup --no-verbose list -t hls -c installed -r' terminated with code 0 2023-03-06 12:55:55.9230000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:55.9310000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:55.9330000 [client] INFO Executing 'ghcup --no-verbose whereis bindir' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:55.9530000 [client] DEBUG Execution of 'ghcup --no-verbose whereis bindir' terminated with code 0 2023-03-06 12:55:55.9570000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:55.9700000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:55.9720000 [client] INFO Executing 'ghcup --no-verbose whereis hls 1.9.1.0' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:55.9980000 [client] DEBUG Execution of 'ghcup --no-verbose whereis hls 1.9.1.0' terminated with code 0 2023-03-06 12:55:55.9980000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:56.0070000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:56.0090000 [client] INFO Executing 'ghcup --no-verbose whereis ghc 8.10.7' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:56.0320000 [client] DEBUG Execution of 'ghcup --no-verbose whereis ghc 8.10.7' terminated with code 0 2023-03-06 12:55:56.0320000 [client] INFO Checking for ghcup installation 2023-03-06 12:55:56.0410000 [client] INFO found ghcup at ghcup 2023-03-06 12:55:56.0430000 [client] INFO Executing 'ghcup --no-verbose run --hls 1.9.1.0 --cabal 3.6.2.0 --stack 2.9.1 --ghc 8.10.7 --install' in cwd '/home/username/Documents/HaskellProjektit/ToimiikoMuisti' 2023-03-06 12:55:56.1670000 [client] DEBUG Execution of 'ghcup --no-verbose run --hls 1.9.1.0 --cabal 3.6.2.0 --stack 2.9.1 --ghc 8.10.7 --install' terminated with code 0 2023-03-06 12:55:56.1680000 [client] INFO Activating the language server in working dir: /home/username/Documents/HaskellProjektit/ToimiikoMuisti (the workspace folder) 2023-03-06 12:55:56.1690000 [client] INFO run command: /home/username/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.9.1.0_stack-2.9.1/haskell-language-server-wrapper --lsp -d 2023-03-06 12:55:56.1690000 [client] INFO debug command: /home/username/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.9.1.0_stack-2.9.1/haskell-language-server-wrapper --lsp -d 2023-03-06 12:55:56.1690000 [client] INFO server environment variables: 2023-03-06 12:55:56.1690000 [client] INFO PATH=/home/username/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.9.1.0_stack-2.9.1:/home/username/.ghcup/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/username/.cabal/bin:/home/username/.ghcup/bin 2023-03-06 12:55:56.1690000 [client] DEBUG document selector patten: /home/username/Documents/HaskellProjektit/ToimiikoMuisti/**/* 2023-03-06 12:55:56.1850000 [client] INFO Starting language server [Trace - 2:55:56 PM] Sending request 'initialize - (0)'. No 'hie.yaml' found. Try to discover the project type! Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 1.9.1.0 x86_64 ghc-9.4.4 Current directory: /home/username/Documents/HaskellProjektit/ToimiikoMuisti Operating system: linux Arguments: ["--lsp","-d"] Cradle directory: /home/username/Documents/HaskellProjektit/ToimiikoMuisti Cradle type: Stack Tool versions found on the $PATH cabal: 3.6.2.0 stack: 2.9.1 ghc: 8.10.7 Consulting the cradle to get project GHC version... Project GHC version: 8.10.7 haskell-language-server exe candidates: ["haskell-language-server-8.10.7","haskell-language-server"] Launching haskell-language-server exe at:/home/username/.ghcup/tmp/ghcup-ghc-8.10.7_cabal-3.6.2.0_hls-1.9.1.0_stack-2.9.1/haskell-language-server-8.10.7 2023-03-06T12:56:02.868809Z | Info | No log file specified; using stderr. 2023-03-06T12:56:02.871016Z | Info | haskell-language-server version: 1.9.1.0 (GHC: 8.10.7) (PATH: /home/username/.ghcup/hls/1.9.1.0/lib/haskell-language-server-1.9.1.0/bin/haskell-language-server-8.10.7) 2023-03-06T12:56:02.872753Z | Info | Directory: /home/username/Documents/HaskellProjektit/ToimiikoMuisti 2023-03-06T12:56:02.873373Z | Info | Starting (haskell-language-server) LSP server... GhcideArguments {argsCommand = LSP, argsCwd = Nothing, argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = True, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} PluginIds: [ pragmas , LSPRecorderCallback , rename , ghcide-completions , stan , class , refineImports , splice , cabal , changeTypeSignature , qualifyImportedNames , alternateNumberFormat , hlint , cabalfmt , explicit-fields , ghcide-code-actions-fill-holes , floskell , ghcide-extend-import-action , codeRange , haddockComments , importLens , retrie , ghcide-type-lenses , ghcide-code-actions-imports-exports , ghcide-hover-and-symbols , eval , gadt , fourmolu , tactics , callHierarchy , stylish-haskell , ghcide-code-actions-type-signatures , ghcide-code-actions-bindings , moduleName , brittany , ormolu , ghcide-core , explicit-fixity ] 2023-03-06T12:56:02.886452Z | Info | Logging heap statistics every 60.00s 2023-03-06T12:56:02.892971Z | Info | Starting LSP server... If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! PluginIds: [ pragmas , LSPRecorderCallback , rename , ghcide-completions , stan , class , refineImports , splice , cabal , changeTypeSignature , qualifyImportedNames , alternateNumberFormat , hlint , cabalfmt , explicit-fields , ghcide-code-actions-fill-holes , floskell , ghcide-extend-import-action , codeRange , haddockComments , importLens , retrie , ghcide-type-lenses , ghcide-code-actions-imports-exports , ghcide-hover-and-symbols , eval , gadt , fourmolu , tactics , callHierarchy , stylish-haskell , ghcide-code-actions-type-signatures , ghcide-code-actions-bindings , moduleName , brittany , ormolu , ghcide-core , explicit-fixity ] 2023-03-06T12:56:02.893664Z | Info | Starting server 2023-03-06T12:56:02.896849Z | Info | Started LSP server in 0.00s 2023-03-06T12:56:04.484231Z | Debug | Setting initial dynflags... 2023-03-06T12:56:04.484446Z | Debug | shouldRunSubset: True 2023-03-06T12:56:04.484573Z | Debug | Initializing exports map from hiedb 2023-03-06T12:56:04.485130Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8240259144077916376 "file:///home/username/Documents/HaskellProjektit/ToimiikoMuisti"], clientSettings = hashed Nothing} [Trace - 2:56:04 PM] Received response 'initialize - (0)' in 8282ms. [Trace - 2:56:04 PM] Sending notification 'initialized'. [Trace - 2:56:04 PM] Sending notification 'workspace/didChangeConfiguration'. [Trace - 2:56:04 PM] Sending notification 'textDocument/didOpen'. 2023-03-06T12:56:04.490679Z | Debug | Done initializing exports map from hiedb. Size: 22 [Trace - 2:56:04 PM] Sending request 'textDocument/documentSymbol - (1)'. [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] haskell-language-server version: 1.9.1.0 (GHC: 8.10.7) (PATH: /home/username/.ghcup/hls/1.9.1.0/lib/haskell-language-server-1.9.1.0/bin/haskell-language-server-8.10.7) [Trace - 2:56:04 PM] Sending request 'textDocument/codeAction - (2)'. 2023-03-06T12:56:04.518605Z | Debug | Shake session initialized 2023-03-06T12:56:04.520497Z | Debug | Configuration changed: Object (fromList [("haskell",Object (fromList [("checkProject",Bool True),("formattingProvider",String "floskell"),("ghcupExecutablePath",String ""),("hlint",Object (fromList [("executablePath",String "lint")])),("indentationRules",Object (fromList [("enabled",Bool True)])),("logFile",String ""),("manageHLS",String "GHCup"),("maxCompletions",Number 40.0),("metadataURL",String ""),("openDocumentationInHackage",Bool True),("openSourceInHackage",Bool True),("plugin",Object (fromList [("alternateNumberFormat",Object (fromList [("globalOn",Bool True)])),("callHierarchy",Object (fromList [("globalOn",Bool True)])),("changeTypeSignature",Object (fromList [("globalOn",Bool True)])),("class",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("eval",Object (fromList [("config",Object (fromList [("diff",Bool True),("exception",Bool False)])),("globalOn",Bool True)])),("explicitFixity",Object (fromList [("globalOn",Bool True)])),("fourmolu",Object (fromList [("config",Object (fromList [("external",Bool False)]))])),("gadt",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-bindings",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-fill-holes",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-imports-exports",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-type-signatures",Object (fromList [("globalOn",Bool True)])),("ghcide-completions",Object (fromList [("config",Object (fromList [("autoExtendOn",Bool True),("snippetsOn",Bool True)])),("globalOn",Bool True)])),("ghcide-hover-and-symbols",Object (fromList [("hoverOn",Bool True),("symbolsOn",Bool True)])),("ghcide-type-lenses",Object (fromList [("config",Object (fromList [("mode",String "always")])),("globalOn",Bool True)])),("haddockComments",Object (fromList [("globalOn",Bool True)])),("hlint",Object (fromList [("codeActionsOn",Bool True),("config",Object (fromList [("flags",Array [])])),("diagnosticsOn",Bool True)])),("importLens",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("moduleName",Object (fromList [("globalOn",Bool True)])),("pragmas",Object (fromList [("codeActionsOn",Bool True),("completionOn",Bool True)])),("qualifyImportedNames",Object (fromList [("globalOn",Bool True)])),("refineImports",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("rename",Object (fromList [("config",Object (fromList [("crossModule",Bool False)])),("globalOn",Bool True)])),("retrie",Object (fromList [("globalOn",Bool True)])),("splice",Object (fromList [("globalOn",Bool True)])),("tactics",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True),("config",Object (fromList [("auto_gas",Number 4.0),("hole_severity",Null),("max_use_ctor_actions",Number 5.0),("proofstate_styling",Bool True),("timeout_duration",Number 2.0)])),("hoverOn",Bool True)]))])),("promptBeforeDownloads",String "true"),("releasesDownloadStoragePath",String ""),("releasesURL",String ""),("serverEnvironment",Object (fromList [("PATH",String "${HOME}/.ghcup/bin:$PATH")])),("serverExecutablePath",String ""),("serverExtraArgs",String ""),("toolchain",Object (fromList [])),("trace",Object (fromList [("client",String "debug"),("server",String "messages")])),("upgradeGHCup",Bool True)]))]) 2023-03-06T12:56:04.521946Z | Debug | Restarting build session due to config change Action Queue: [] Keys: [GetClientSettings; ] Aborting previous build session took 0.00s 2023-03-06T12:56:04.522402Z | Debug | Finished build session AsyncCancelled 2023-03-06T12:56:04.523611Z | Debug | Set files of interest to: fromList [(NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs",Modified {firstOpen = True})] 2023-03-06T12:56:04.523883Z | Debug | Finished build session AsyncCancelled 2023-03-06T12:56:04.524032Z | Debug | Restarting build session due to /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs (modified) Action Queue: [] Keys: [ GetClientSettings; , IsFileOfInterest; /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs , GetModificationTime; /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs ] Aborting previous build session took 0.00s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] Directory: /home/username/Documents/HaskellProjektit/ToimiikoMuisti 2023-03-06T12:56:04.524274Z | Debug | Opened text document: file:///home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs 2023-03-06T12:56:04.525803Z | Debug | hlint: Getting hlint ideas for NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs" 2023-03-06T12:56:04.528453Z | Info | Cradle path: src/api/Api0.hs 2023-03-06T12:56:04.528774Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for src/api/Api0.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] Starting (haskell-language-server) LSP server... GhcideArguments {argsCommand = LSP, argsCwd = Nothing, argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = True, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} PluginIds: [ pragmas , LSPRecorderCallback , rename , ghcide-completions , stan , class , refineImports , splice , cabal , changeTypeSignature , qualifyImportedNames , alternateNumberFormat , hlint , cabalfmt , explicit-fields , ghcide-code-actions-fill-holes , floskell , ghcide-extend-import-action , codeRange , haddockComments , importLens , retrie , ghcide-type-lenses , ghcide-code-actions-imports-exports , ghcide-hover-and-symbols , eval , gadt , fourmolu , tactics , callHierarchy , stylish-haskell , ghcide-code-actions-type-signatures , ghcide-code-actions-bindings , moduleName , brittany , ormolu , ghcide-core , explicit-fixity ] 2023-03-06T12:56:04.538222Z | Debug | Cradle: Cradle {cradleRootDir = "/home/username/Documents/HaskellProjektit/ToimiikoMuisti", cradleOptsProg = CradleAction: Stack} [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] Logging heap statistics every 60.00s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] Starting LSP server... If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! PluginIds: [ pragmas , LSPRecorderCallback , rename , ghcide-completions , stan , class , refineImports , splice , cabal , changeTypeSignature , qualifyImportedNames , alternateNumberFormat , hlint , cabalfmt , explicit-fields , ghcide-code-actions-fill-holes , floskell , ghcide-extend-import-action , codeRange , haddockComments , importLens , retrie , ghcide-type-lenses , ghcide-code-actions-imports-exports , ghcide-hover-and-symbols , eval , gadt , fourmolu , tactics , callHierarchy , stylish-haskell , ghcide-code-actions-type-signatures , ghcide-code-actions-bindings , moduleName , brittany , ormolu , ghcide-core , explicit-fixity ] [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] Starting server [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] Started LSP server in 0.00s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Setting initial dynflags... [Trace - 2:56:04 PM] Received notification 'window/logMessage'. shouldRunSubset: True [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Initializing exports map from hiedb [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8240259144077916376 "file:///home/username/Documents/HaskellProjektit/ToimiikoMuisti"], clientSettings = hashed Nothing} [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Done initializing exports map from hiedb. Size: 22 [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Shake session initialized [Trace - 2:56:04 PM] Received request 'client/registerCapability - (0)'. [Trace - 2:56:04 PM] Sending response 'client/registerCapability - (0)'. Processing request took 2ms [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Configuration changed: Object (fromList [("haskell",Object (fromList [("checkProject",Bool True),("formattingProvider",String "floskell"),("ghcupExecutablePath",String ""),("hlint",Object (fromList [("executablePath",String "lint")])),("indentationRules",Object (fromList [("enabled",Bool True)])),("logFile",String ""),("manageHLS",String "GHCup"),("maxCompletions",Number 40.0),("metadataURL",String ""),("openDocumentationInHackage",Bool True),("openSourceInHackage",Bool True),("plugin",Object (fromList [("alternateNumberFormat",Object (fromList [("globalOn",Bool True)])),("callHierarchy",Object (fromList [("globalOn",Bool True)])),("changeTypeSignature",Object (fromList [("globalOn",Bool True)])),("class",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("eval",Object (fromList [("config",Object (fromList [("diff",Bool True),("exception",Bool False)])),("globalOn",Bool True)])),("explicitFixity",Object (fromList [("globalOn",Bool True)])),("fourmolu",Object (fromList [("config",Object (fromList [("external",Bool False)]))])),("gadt",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-bindings",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-fill-holes",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-imports-exports",Object (fromList [("globalOn",Bool True)])),("ghcide-code-actions-type-signatures",Object (fromList [("globalOn",Bool True)])),("ghcide-completions",Object (fromList [("config",Object (fromList [("autoExtendOn",Bool True),("snippetsOn",Bool True)])),("globalOn",Bool True)])),("ghcide-hover-and-symbols",Object (fromList [("hoverOn",Bool True),("symbolsOn",Bool True)])),("ghcide-type-lenses",Object (fromList [("config",Object (fromList [("mode",String "always")])),("globalOn",Bool True)])),("haddockComments",Object (fromList [("globalOn",Bool True)])),("hlint",Object (fromList [("codeActionsOn",Bool True),("config",Object (fromList [("flags",Array [])])),("diagnosticsOn",Bool True)])),("importLens",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("moduleName",Object (fromList [("globalOn",Bool True)])),("pragmas",Object (fromList [("codeActionsOn",Bool True),("completionOn",Bool True)])),("qualifyImportedNames",Object (fromList [("globalOn",Bool True)])),("refineImports",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("rename",Object (fromList [("config",Object (fromList [("crossModule",Bool False)])),("globalOn",Bool True)])),("retrie",Object (fromList [("globalOn",Bool True)])),("splice",Object (fromList [("globalOn",Bool True)])),("tactics",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True),("config",Object (fromList [("auto_gas",Number 4.0),("hole_severity",Null),("max_use_ctor_actions",Number 5.0),("proofstate_styling",Bool True),("timeout_duration",Number 2.0)])),("hoverOn",Bool True)]))])),("promptBeforeDownloads",String "true"),("releasesDownloadStoragePath",String ""),("releasesURL",String ""),("serverEnvironment",Object (fromList [("PATH",String "${HOME}/.ghcup/bin:$PATH")])),("serverExecutablePath",String ""),("serverExtraArgs",String ""),("toolchain",Object (fromList [])),("trace",Object (fromList [("client",String "debug"),("server",String "messages")])),("upgradeGHCup",Bool True)]))]) [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Restarting build session due to config change Action Queue: [] Keys: [GetClientSettings; ] Aborting previous build session took 0.00s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Finished build session AsyncCancelled [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Set files of interest to: fromList [(NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs",Modified {firstOpen = True})] [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Finished build session AsyncCancelled [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Restarting build session due to /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs (modified) Action Queue: [] Keys: [ GetClientSettings; , IsFileOfInterest; /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs , GetModificationTime; /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs ] Aborting previous build session took 0.00s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Opened text document: file:///home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs [Trace - 2:56:04 PM] Received notification 'window/logMessage'. hlint: Getting hlint ideas for NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs" [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Info - 2:56:04 PM] Cradle path: src/api/Api0.hs [Trace - 2:56:04 PM] Received notification 'window/logMessage'. [Warn - 2:56:04 PM] No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for src/api/Api0.hs. Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie). You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error. [Trace - 2:56:04 PM] Received request 'window/workDoneProgress/create - (1)'. [Trace - 2:56:04 PM] Sending response 'window/workDoneProgress/create - (1)'. Processing request took 0ms [Trace - 2:56:04 PM] Received notification '$/progress'. [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Cradle: Cradle {cradleRootDir = "/home/username/Documents/HaskellProjektit/ToimiikoMuisti", cradleOptsProg = CradleAction: Stack} 2023-03-06T12:56:04.585203Z | Debug | Finished: Hlint.GetFileContents Took: 0.01s 2023-03-06T12:56:04.586547Z | Debug | Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Finished: Hlint.GetFileContents Took: 0.01s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:04 PM] Received request 'window/workDoneProgress/create - (2)'. [Trace - 2:56:04 PM] Sending response 'window/workDoneProgress/create - (2)'. Processing request took 0ms [Trace - 2:56:04 PM] Received notification '$/progress'. [Trace - 2:56:04 PM] Sending request 'textDocument/foldingRange - (3)'. [Trace - 2:56:04 PM] Sending request 'textDocument/codeLens - (4)'. 2023-03-06T12:56:04.787027Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "fp" "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs" [Trace - 2:56:04 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "fp" "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs" 2023-03-06T12:56:04.791633Z | Debug | Finished: codeLens.config Took: 0.00s 2023-03-06T12:56:04.792873Z | Debug | Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Finished: codeLens.config Took: 0.00s [Trace - 2:56:04 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:05 PM] Received notification '$/progress'. 2023-03-06T12:56:05.571585Z | Debug | ToimiikoMuisti> configure (lib) [Trace - 2:56:05 PM] Received notification 'window/logMessage'. ToimiikoMuisti> configure (lib) 2023-03-06T12:56:06.343221Z | Debug | Configuring ToimiikoMuisti-0.1.0.0... [Trace - 2:56:06 PM] Received notification 'window/logMessage'. Configuring ToimiikoMuisti-0.1.0.0... 2023-03-06T12:56:06.609273Z | Debug | ToimiikoMuisti> initial-build-steps (lib) [Trace - 2:56:06 PM] Received notification 'window/logMessage'. ToimiikoMuisti> initial-build-steps (lib) 2023-03-06T12:56:06.907632Z | Debug | Configuring GHCi with the following packages: ToimiikoMuisti [Trace - 2:56:06 PM] Received notification 'window/logMessage'. Configuring GHCi with the following packages: ToimiikoMuisti 2023-03-06T12:56:07.740881Z | Debug | /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/install/x86_64-linux/7d2a3b325203eb08f764764e281d68be59d66a6e0a9f4db7beafde69eb487baf/8.10.7/pkgdb:/home/username/.stack/snapshots/x86_64-linux/7d2a3b325203eb08f764764e281d68be59d66a6e0a9f4db7beafde69eb487baf/8.10.7/pkgdb:/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/package.conf.d [Trace - 2:56:07 PM] Received notification 'window/logMessage'. /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/install/x86_64-linux/7d2a3b325203eb08f764764e281d68be59d66a6e0a9f4db7beafde69eb487baf/8.10.7/pkgdb:/home/username/.stack/snapshots/x86_64-linux/7d2a3b325203eb08f764764e281d68be59d66a6e0a9f4db7beafde69eb487baf/8.10.7/pkgdb:/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/package.conf.d 2023-03-06T12:56:09.457090Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-i","-odir=/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/odir","-hidir=/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/odir","-hide-all-packages","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/global-autogen","-stubdir=/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build","-package-id=base-4.14.3.0","-Wall","-Wcompat","-Widentities","-Wincomplete-record-updates","-Wincomplete-uni-patterns","-Wmissing-export-lists","-Wmissing-home-modules","-Wpartial-fields","-Wredundant-constraints","-optP-include","-optP/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/ghci/754a7f9b/cabal_macros.h","-ghci-script=/tmp/haskell-stack-ghci/c9553b91/ghci-script","-package-db","/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/install/x86_64-linux/7d2a3b325203eb08f764764e281d68be59d66a6e0a9f4db7beafde69eb487baf/8.10.7/pkgdb","-package-db","/home/username/.stack/snapshots/x86_64-linux/7d2a3b325203eb08f764764e281d68be59d66a6e0a9f4db7beafde69eb487baf/8.10.7/pkgdb","-package-db","/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/package.conf.d"], componentRoot = "/home/username/Documents/HaskellProjektit/ToimiikoMuisti", componentDependencies = ["ToimiikoMuisti.cabal","package.yaml","stack.yaml"]},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") [Trace - 2:56:09 PM] Received notification '$/progress'. [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Session loading result: Right (ComponentOptions {componentOptions = ["-i","-odir=/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/odir","-hidir=/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/odir","-hide-all-packages","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen","-i/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/global-autogen","-stubdir=/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build","-package-id=base-4.14.3.0","-Wall","-Wcompat","-Widentities","-Wincomplete-record-updates","-Wincomplete-uni-patterns","-Wmissing-export-lists","-Wmissing-home-modules","-Wpartial-fields","-Wredundant-constraints","-optP-include","-optP/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/ghci/754a7f9b/cabal_macros.h","-ghci-script=/tmp/haskell-stack-ghci/c9553b91/ghci-script","-package-db","/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/install/x86_64-linux/7d2a3b325203eb08f764764e281d68be59d66a6e0a9f4db7beafde69eb487baf/8.10.7/pkgdb","-package-db","/home/username/.stack/snapshots/x86_64-linux/7d2a3b325203eb08f764764e281d68be59d66a6e0a9f4db7beafde69eb487baf/8.10.7/pkgdb","-package-db","/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7/package.conf.d"], componentRoot = "/home/username/Documents/HaskellProjektit/ToimiikoMuisti", componentDependencies = ["ToimiikoMuisti.cabal","package.yaml","stack.yaml"]},"/home/username/.ghcup/ghc/8.10.7/lib/ghc-8.10.7") 2023-03-06T12:56:09.533748Z | Info | Interface files cache directory: /home/username/.cache/ghcide/main-a93692bafc63b51a39b7203db5642234dfda36f0 2023-03-06T12:56:09.533995Z | Info | Making new HscEnv. In-place unit ids: [main] [Trace - 2:56:09 PM] Received notification 'window/logMessage'. [Info - 2:56:09 PM] Interface files cache directory: /home/username/.cache/ghcide/main-a93692bafc63b51a39b7203db5642234dfda36f0 [Trace - 2:56:09 PM] Received notification 'window/logMessage'. [Info - 2:56:09 PM] Making new HscEnv. In-place unit ids: [main] 2023-03-06T12:56:09.550195Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 33),fromList [("ToimiikoMuisti.cabal",Just 2023-01-23 15:09:33.719858317 UTC),("package.yaml",Just 2023-01-23 11:44:08.187194469 UTC),("stack.yaml",Just 2023-01-23 10:55:03.075913647 UTC)]) [Trace - 2:56:09 PM] Received notification 'window/logMessage'. New component cache HscEnvEq: (([],Just HscEnvEq 33),fromList [("ToimiikoMuisti.cabal",Just 2023-01-23 15:09:33.719858317 UTC),("package.yaml",Just 2023-01-23 11:44:08.187194469 UTC),("stack.yaml",Just 2023-01-23 10:55:03.075913647 UTC)]) 2023-03-06T12:56:09.558082Z | Debug | Known files updated: fromList [(TargetModule Paths_ToimiikoMuisti,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen/Paths_ToimiikoMuisti.hs"]),(TargetModule Api2,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api2.hs"]),(TargetModule Lib,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/Lib.hs"]),(TargetModule Api0,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs",fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs"]),(TargetModule Api1,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api1.hs"])] [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Known files updated: fromList [(TargetModule Paths_ToimiikoMuisti,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen/Paths_ToimiikoMuisti.hs"]),(TargetModule Api2,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api2.hs"]),(TargetModule Lib,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/Lib.hs"]),(TargetModule Api0,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs"]),(TargetFile NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs",fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs"]),(TargetModule Api1,fromList ["/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api1.hs"])] 2023-03-06T12:56:09.559474Z | Debug | Finished build session AsyncCancelled 2023-03-06T12:56:09.559701Z | Debug | Restarting build session due to new component Action Queue: [ ModuleName.ghcSession , Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps , eval.GetParsedModuleWithComments , MinimalImports , classplugin.TypeCheck , RefineImports , FoldingRange , Hlint.GetModSummary , Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps , GADT.GetParsedModuleWithComments , importLens , GhcideCodeActions.getParsedModule , HaddockComments.GetAnnotatedParsedSource , retrie , explicit-fields.GhcSession , QualifyImportedNames.TypeCheck , alternateNumberFormat.CollectLiterals , splice.codeAction.GitHieAst , changeTypeSignature.GetParsedModule , Pragmas.GhcSession , RefineImports , Outline , codeLens.GhcSession ] Keys: [ IsFileOfInterest; /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs , GhcSessionIO; , GetKnownTargets; ] Aborting previous build session took 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished build session AsyncCancelled [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Restarting build session due to new component Action Queue: [ ModuleName.ghcSession , Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps , eval.GetParsedModuleWithComments , MinimalImports , classplugin.TypeCheck , RefineImports , FoldingRange , Hlint.GetModSummary , Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps , GADT.GetParsedModuleWithComments , importLens , GhcideCodeActions.getParsedModule , HaddockComments.GetAnnotatedParsedSource , retrie , explicit-fields.GhcSession , QualifyImportedNames.TypeCheck , alternateNumberFormat.CollectLiterals , splice.codeAction.GitHieAst , changeTypeSignature.GetParsedModule , Pragmas.GhcSession , RefineImports , Outline , codeLens.GhcSession ] Keys: [ IsFileOfInterest; /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs , GhcSessionIO; , GetKnownTargets; ] Aborting previous build session took 0.00s [Trace - 2:56:09 PM] Received notification '$/progress'. 2023-03-06T12:56:09.569255Z | Debug | hlint: Getting hlint ideas for NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs" [Trace - 2:56:09 PM] Received notification 'window/logMessage'. hlint: Getting hlint ideas for NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs" [Trace - 2:56:09 PM] Received request 'client/registerCapability - (3)'. [Trace - 2:56:09 PM] Sending response 'client/registerCapability - (3)'. Processing request took 1ms [Trace - 2:56:09 PM] Received request 'client/registerCapability - (4)'. [Trace - 2:56:09 PM] Sending response 'client/registerCapability - (4)'. Processing request took 1ms 2023-03-06T12:56:09.575967Z | Debug | Finished: ModuleName.ghcSession Took: 0.01s [Trace - 2:56:09 PM] Received request 'client/registerCapability - (5)'. [Trace - 2:56:09 PM] Sending response 'client/registerCapability - (5)'. Processing request took 0ms 2023-03-06T12:56:09.576861Z | Debug | Finished: explicit-fields.GhcSession Took: 0.01s 2023-03-06T12:56:09.577044Z | Debug | Finished: Pragmas.GhcSession Took: 0.01s 2023-03-06T12:56:09.577049Z | Debug | Finished: codeLens.GhcSession Took: 0.01s 2023-03-06T12:56:09.577510Z | Debug | moduleName: ModuleName.SrcPaths: [ /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/global-autogen ] 2023-03-06T12:56:09.577865Z | Debug | moduleName: ModuleName.NormalisedPaths: [ /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/ , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/ , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/ , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen/ , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/global-autogen/ ] 2023-03-06T12:56:09.578000Z | Debug | Finished: Hlint.GetModSummary Took: 0.01s [Trace - 2:56:09 PM] Received request 'client/registerCapability - (6)'. [Trace - 2:56:09 PM] Sending response 'client/registerCapability - (6)'. Processing request took 2ms [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: ModuleName.ghcSession Took: 0.01s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: explicit-fields.GhcSession Took: 0.01s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Pragmas.GhcSession Took: 0.01s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: codeLens.GhcSession Took: 0.01s 2023-03-06T12:56:09.578034Z | Debug | Finished: explicit-fields.GetFileContents Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. moduleName: ModuleName.SrcPaths: [ /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/global-autogen ] 2023-03-06T12:56:09.578045Z | Debug | Finished: Pragmas.GetFileContents Took: 0.00s 2023-03-06T12:56:09.578091Z | Debug | moduleName: ModuleName.AbsoluteFilePath: /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs 2023-03-06T12:56:09.583788Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. moduleName: ModuleName.NormalisedPaths: [ /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/ , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/ , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/ , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/autogen/ , /home/username/Documents/HaskellProjektit/ToimiikoMuisti/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/global-autogen/ ] 2023-03-06T12:56:09.583832Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Hlint.GetModSummary Took: 0.01s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: explicit-fields.GetFileContents Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Pragmas.GetFileContents Took: 0.00s 2023-03-06T12:56:09.585918Z | Debug | Finished: GADT.GetParsedModuleWithComments Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. moduleName: ModuleName.AbsoluteFilePath: /home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs 2023-03-06T12:56:09.586497Z | Debug | hlint: Using extensions for NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.02s 2023-03-06T12:56:09.586709Z | Debug | moduleName: ModuleName.CorrectNames: [api.Api0, Api0] 2023-03-06T12:56:09.587250Z | Debug | Finished: importLens Took: 0.02s 2023-03-06T12:56:09.587251Z | Debug | Finished: Pragmas.GetParsedModule Took: 0.01s 2023-03-06T12:56:09.587296Z | Debug | Finished: GhcideCodeActions.getParsedModule Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.02s 2023-03-06T12:56:09.587301Z | Debug | Finished: splice.codeAction.GitHieAst Took: 0.02s 2023-03-06T12:56:09.587304Z | Debug | Finished: RefineImports Took: 0.02s 2023-03-06T12:56:09.587467Z | Debug | Finished: changeTypeSignature.GetParsedModule Took: 0.02s 2023-03-06T12:56:09.590056Z | Debug | moduleName: ModuleName.BestName: Api0 2023-03-06T12:56:09.590821Z | Debug | Finished: Outline Took: 0.02s 2023-03-06T12:56:09.591320Z | Debug | Finished: HaddockComments.GetAnnotatedParsedSource Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: GADT.GetParsedModuleWithComments Took: 0.02s 2023-03-06T12:56:09.591997Z | Debug | Finished: ModuleName.GetParsedModule Took: 0.00s 2023-03-06T12:56:09.592005Z | Debug | moduleName: ModuleName.StatedNameMaybe: Api0 [Trace - 2:56:09 PM] Received notification 'window/logMessage'. hlint: Using extensions for NormalizedFilePath "/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs": [ MonomorphismRestriction , RelaxedPolyRec , ForeignFunctionInterface , ImplicitPrelude , DoAndIfThenElse , EmptyDataDecls , PatternGuards , NondecreasingIndentation , TraditionalRecordSyntax , EmptyCase , StarIsType , CUSKs ] [Trace - 2:56:09 PM] Received notification 'window/logMessage'. moduleName: ModuleName.CorrectNames: [api.Api0, Api0] [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: importLens Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Pragmas.GetParsedModule Took: 0.01s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: GhcideCodeActions.getParsedModule Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: splice.codeAction.GitHieAst Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: RefineImports Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: changeTypeSignature.GetParsedModule Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. moduleName: ModuleName.BestName: Api0 [Trace - 2:56:09 PM] Received response 'textDocument/documentSymbol - (1)' in 5080ms. [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Outline Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: HaddockComments.GetAnnotatedParsedSource Took: 0.02s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: ModuleName.GetParsedModule Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. moduleName: ModuleName.StatedNameMaybe: Api0 2023-03-06T12:56:09.608570Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.04s 2023-03-06T12:56:09.611463Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "comments" "Comments {lineComments = fromList [], blockComments = fromList []}" [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: eval.GetParsedModuleWithComments Took: 0.04s 2023-03-06T12:56:09.611522Z | Debug | Finished: Wingman.codeLensProvider.GetAnnotatedParsedSource Took: 0.03s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "comments" "Comments {lineComments = fromList [], blockComments = fromList []}" [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.codeLensProvider.GetAnnotatedParsedSource Took: 0.03s 2023-03-06T12:56:09.611695Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "Tests" "0 tests in 0 sections 0 setups 0 lenses." 2023-03-06T12:56:09.626691Z | Debug | Finished: alternateNumberFormat.CollectLiterals Took: 0.06s 2023-03-06T12:56:09.627886Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "tests" "0.02s" 2023-03-06T12:56:09.628510Z | Debug | src/Ide/Plugin/Eval/CodeLens.hs:155:15 "codeLens" "4.84s" [Trace - 2:56:09 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "Tests" "0 tests in 0 sections 0 setups 0 lenses." [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: alternateNumberFormat.CollectLiterals Took: 0.06s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "tests" "0.02s" [Trace - 2:56:09 PM] Received notification 'window/logMessage'. src/Ide/Plugin/Eval/CodeLens.hs:155:15 "codeLens" "4.84s" 2023-03-06T12:56:09.637954Z | Debug | Finished: alternateNumberFormat.GhcSession Took: 0.01s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: alternateNumberFormat.GhcSession Took: 0.01s 2023-03-06T12:56:09.642874Z | Debug | Finished: alternateNumberFormat.GetFileContents Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: alternateNumberFormat.GetFileContents Took: 0.00s [Trace - 2:56:09 PM] Received request 'window/workDoneProgress/create - (7)'. [Trace - 2:56:09 PM] Sending response 'window/workDoneProgress/create - (7)'. Processing request took 0ms [Trace - 2:56:09 PM] Received notification '$/progress'. 2023-03-06T12:56:09.784497Z | Debug | Finished: classplugin.TypeCheck Took: 0.22s 2023-03-06T12:56:09.784570Z | Debug | Finished: retrie Took: 0.22s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: classplugin.TypeCheck Took: 0.22s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: retrie Took: 0.22s 2023-03-06T12:56:09.785123Z | Debug | explicit-fields: Collected records with wildcards: [] [Trace - 2:56:09 PM] Received notification 'window/logMessage'. explicit-fields: Collected records with wildcards: [] 2023-03-06T12:56:09.785398Z | Debug | Finished: classplugin.GetInstanceBindTypeSigs Took: 0.00s 2023-03-06T12:56:09.785632Z | Debug | Finished: classplugin.insertPragmaIfNotPresent.GhcSession Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: classplugin.GetInstanceBindTypeSigs Took: 0.00s 2023-03-06T12:56:09.785698Z | Debug | Finished: classplugin.insertPragmaIfNotPresent.GetFileContents Took: 0.00s 2023-03-06T12:56:09.785737Z | Debug | Finished: classplugin.insertPragmaIfNotPresent.GetParsedModuleWithComments Took: 0.00s [Trace - 2:56:09 PM] Received request 'window/workDoneProgress/create - (8)'. [Trace - 2:56:09 PM] Sending response 'window/workDoneProgress/create - (8)'. Processing request took 1ms [Trace - 2:56:09 PM] Received notification '$/progress'. 2023-03-06T12:56:09.788615Z | Debug | Finished: QualifyImportedNames.TypeCheck Took: 0.22s 2023-03-06T12:56:09.788625Z | Debug | Finished: codeLens.TypeCheck Took: 0.21s [Trace - 2:56:09 PM] Received notification '$/progress'. 2023-03-06T12:56:09.789401Z | Debug | Finished: RefineImports Took: 0.23s 2023-03-06T12:56:09.790375Z | Debug | explicit-fields: Rendered records: [] 2023-03-06T12:56:09.792842Z | Debug | Finished: MinimalImports Took: 0.23s 2023-03-06T12:56:09.800247Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.22s 2023-03-06T12:56:09.800703Z | Debug | Finished: Wingman.codeLensProvider.GetBindings Took: 0.19s 2023-03-06T12:56:09.800756Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.800764Z | Debug | Finished: codeLens.GetBindings Took: 0.01s 2023-03-06T12:56:09.800849Z | Debug | Finished: InitialLoad Took: 0.24s 2023-03-06T12:56:09.800914Z | Debug | Finished: Wingman.emptyCaseScrutinees.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification '$/progress'. 2023-03-06T12:56:09.800946Z | Debug | Finished: Wingman.emptyCaseScrutinees.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.801423Z | Debug | Finished: FoldingRange Took: 0.24s 2023-03-06T12:56:09.801797Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.803014Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.803148Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s 2023-03-06T12:56:09.803153Z | Debug | Finished: ExplicitFields Took: 0.22s 2023-03-06T12:56:09.803570Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.803889Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: classplugin.insertPragmaIfNotPresent.GetFileContents Took: 0.00s 2023-03-06T12:56:09.804312Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: classplugin.insertPragmaIfNotPresent.GhcSession Took: 0.00s 2023-03-06T12:56:09.804481Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.804524Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.804550Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: classplugin.insertPragmaIfNotPresent.GetParsedModuleWithComments Took: 0.00s [Trace - 2:56:09 PM] Received response 'textDocument/foldingRange - (3)' in 5070ms. 2023-03-06T12:56:09.804911Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.805184Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.805381Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.805413Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.805433Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.805453Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.805767Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.806112Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.806302Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.806339Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.806361Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.806382Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: QualifyImportedNames.TypeCheck Took: 0.22s 2023-03-06T12:56:09.806718Z | Debug | Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification '$/progress'. 2023-03-06T12:56:09.806967Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: codeLens.TypeCheck Took: 0.21s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: RefineImports Took: 0.23s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. explicit-fields: Rendered records: [] [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: MinimalImports Took: 0.23s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.22s [Trace - 2:56:09 PM] Received response 'textDocument/codeLens - (4)' in 5038ms. 2023-03-06T12:56:09.807354Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.807439Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.807470Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.codeLensProvider.GetBindings Took: 0.19s 2023-03-06T12:56:09.807496Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.807857Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.808106Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.808383Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.808419Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification '$/progress'. 2023-03-06T12:56:09.808556Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.808786Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.809344Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.809662Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.809872Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.809914Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.809944Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.809975Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.810469Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.810869Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.811085Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.811123Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.811154Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: codeLens.GetBindings Took: 0.01s 2023-03-06T12:56:09.811185Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.811548Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.811804Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.812009Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.812052Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: InitialLoad Took: 0.24s 2023-03-06T12:56:09.812086Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.812121Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.812496Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.813123Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.813685Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.813835Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.813969Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.814047Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.815115Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.815728Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.816419Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.816514Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.816594Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.816664Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.817015Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.817284Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.817490Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s 2023-03-06T12:56:09.817528Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.817565Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.817704Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:56:09.819565Z | Debug | Finished: Wingman.plugin.config Took: 0.00s 2023-03-06T12:56:09.819829Z | Debug | Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s 2023-03-06T12:56:09.820044Z | Debug | Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.emptyCaseScrutinees.TypeCheck Took: 0.00s 2023-03-06T12:56:09.820301Z | Debug | Finished: Wingman.judgementForHole.GetBindings Took: 0.00s 2023-03-06T12:56:09.820350Z | Debug | Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s 2023-03-06T12:56:09.820390Z | Debug | Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.emptyCaseScrutinees.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: FoldingRange Took: 0.24s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: ExplicitFields Took: 0.22s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received response 'textDocument/codeAction - (2)' in 5322ms. [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.plugin.config Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetHieAst Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GetBindings Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.TypeCheck Took: 0.00s [Trace - 2:56:09 PM] Received notification 'window/logMessage'. Finished: Wingman.judgementForHole.GhcSessionDeps Took: 0.00s 2023-03-06T12:57:02.925490Z | Info | Live bytes: 8.53MB Heap size: 289.41MB [Trace - 2:57:02 PM] Received notification 'window/logMessage'. [Info - 2:57:02 PM] Live bytes: 8.53MB Heap size: 289.41MB 2023-03-06T12:58:02.976587Z | Info | Live bytes: 8.53MB Heap size: 289.41MB [Trace - 2:58:02 PM] Received notification 'window/logMessage'. [Info - 2:58:02 PM] Live bytes: 8.53MB Heap size: 289.41MB 2023-03-06T12:59:02.994597Z | Info | Live bytes: 8.53MB Heap size: 289.41MB [Trace - 2:59:02 PM] Received notification 'window/logMessage'. [Info - 2:59:02 PM] Live bytes: 8.53MB Heap size: 289.41MB [Trace - 2:59:55 PM] Sending request 'textDocument/completion - (5)'. 2023-03-06T12:59:55.619785Z | Debug | LOOKUP PERSISTENT FOR: LocalCompletions [Trace - 2:59:55 PM] Received notification 'window/logMessage'. LOOKUP PERSISTENT FOR: LocalCompletions 2023-03-06T12:59:55.620893Z | Debug | Finished: C:LocalCompletions:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s [Trace - 2:59:55 PM] Received notification 'window/logMessage'. Finished: C:LocalCompletions:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s 2023-03-06T12:59:55.621468Z | Debug | Finished: C:GetParsedModule:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s [Trace - 2:59:55 PM] Received notification 'window/logMessage'. Finished: C:GetParsedModule:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s 2023-03-06T12:59:55.621533Z | Debug | Finished: C:GetBindings:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s 2023-03-06T12:59:55.621556Z | Debug | Finished: Completion Took: 0.00s 2023-03-06T12:59:55.621743Z | Debug | Finished: C:GhcSession:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s 2023-03-06T12:59:55.624323Z | Debug | Finished: C:NonLocalCompletions:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s [Trace - 2:59:55 PM] Received notification 'window/logMessage'. Finished: C:GetBindings:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s [Trace - 2:59:55 PM] Received notification 'window/logMessage'. Finished: Completion Took: 0.00s [Trace - 2:59:55 PM] Received notification 'window/logMessage'. Finished: C:GhcSession:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s [Trace - 2:59:55 PM] Received notification 'window/logMessage'. Finished: C:NonLocalCompletions:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s 2023-03-06T12:59:55.979542Z | Debug | Finished: C:GetModSummaryWithoutTimestamps:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s 2023-03-06T12:59:55.979722Z | Debug | Finished: Took: 0.00s [Trace - 2:59:55 PM] Received notification 'window/logMessage'. Finished: C:GetModSummaryWithoutTimestamps:/home/username/Documents/HaskellProjektit/ToimiikoMuisti/src/api/Api0.hs Took: 0.00s [Trace - 2:59:55 PM] Received notification 'window/logMessage'. Finished: Took: 0.00s [Trace - 2:59:56 PM] Received response 'textDocument/completion - (5)' in 395ms. ```
michaelpj commented 10 months ago

Closing as it's an old support issue