Skip to content

Second attempt to make struct completion more consistent #933

Second attempt to make struct completion more consistent

Second attempt to make struct completion more consistent #933

Triggered via pull request July 29, 2023 04:42
Status Failure
Total duration 2m 48s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

elixir.yml

on: pull_request
Static analysis
28s
Static analysis
Run Dialyzer
1m 18s
Run Dialyzer
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 35 warnings
Run Dialyzer
Process completed with exit code 2.
Test on OTP 25.3 / Elixir 1.14.5-otp-25: apps/server/test/lexical/server/code_intelligence/completion/translations/struct_test.exs#L65
test structs should complete module aliases after % (Lexical.Server.CodeIntelligence.Completion.Translations.StructTest)
Test on OTP 25.3 / Elixir 1.14.5-otp-25: apps/server/test/lexical/server/code_intelligence/completion/translations/struct_test.exs#L31
test structs should complete aliases after % (Lexical.Server.CodeIntelligence.Completion.Translations.StructTest)
Test on OTP 25.3 / Elixir 1.14.5-otp-25: apps/server/test/lexical/server/code_intelligence/completion/translations/struct_test.exs#L131
test structs when using %, child structs are returned (Lexical.Server.CodeIntelligence.Completion.Translations.StructTest)
Test on OTP 25.3 / Elixir 1.14.5-otp-25: apps/server/test/lexical/server/code_intelligence/completion/translations/struct_test.exs#L48
test structs should complete, but not add curlies for aliases after % (Lexical.Server.CodeIntelligence.Completion.Translations.StructTest)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
Process completed with exit code 2.
Test on OTP 25.3 / Elixir 1.13.4-otp-25
The job was canceled because "_1_14_5-otp-25_25_3" failed.
Test on OTP 25.3 / Elixir 1.15.3-otp-25
The job was canceled because "_1_14_5-otp-25_25_3" failed.
Test on OTP 25.3 / Elixir 1.15.3-otp-25: apps/plugin_runner/test/lexical/plugin/runner/coordinator_test.exs#L67
test applying works with documents (Lexical.Runner.CoordinatorTest)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
** (SyntaxError) lib/compilation_errors.ex:4:3: unexpected reserved word: end
Test on OTP 25.3 / Elixir 1.15.3-otp-25
** (SyntaxError) lib/parse_errors.ex:15:3: unexpected reserved word: end
Test on OTP 25.3 / Elixir 1.15.3-otp-25
The operation was canceled.
Test on OTP 25.3 / Elixir 1.13.4-otp-25
The operation was canceled.
Test on OTP 25.3 / Elixir 1.14.5-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
redefining module Project (current version defined in memory)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
variable "b" is unused (if the variable is not meant to be used, prefix it with an underscore)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
variable "a" is unused (if the variable is not meant to be used, prefix it with an underscore)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
variable "module" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)
Test on OTP 25.3 / Elixir 1.14.5-otp-25
redefining module Lexical.Protocol.Conversions (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Lexical.Protocol.Conversions.beam)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
variable "module" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Lexical.Protocol.Types.Position (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Lexical.Protocol.Types.Position.beam)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Jason.Encoder.Lexical.Protocol.Types.Position (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Jason.Encoder.Lexical.Protocol.Types.Position.beam)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Inspect.Lexical.Protocol.Types.Position (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Inspect.Lexical.Protocol.Types.Position.beam)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Lexical.Protocol.Types.Range (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Lexical.Protocol.Types.Range.beam)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Jason.Encoder.Lexical.Protocol.Types.Range (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Jason.Encoder.Lexical.Protocol.Types.Range.beam)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Inspect.Lexical.Protocol.Types.Range (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Inspect.Lexical.Protocol.Types.Range.beam)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Lexical.Protocol.Types.TextEdit (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Lexical.Protocol.Types.TextEdit.beam)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Jason.Encoder.Lexical.Protocol.Types.TextEdit (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Jason.Encoder.Lexical.Protocol.Types.TextEdit.beam)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
redefining module Project (current version defined in memory)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Inspect.Lexical.Protocol.Types.TextEdit (current version loaded from /home/runner/work/lexical/lexical/_build/test/lib/common_protocol/ebin/Elixir.Inspect.Lexical.Protocol.Types.TextEdit.beam)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Project (current version defined in memory)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
variable "b" is unused (if the variable is not meant to be used, prefix it with an underscore)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
variable "a" is unused (if the variable is not meant to be used, prefix it with an underscore)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
redefining module Project.Issue (current version defined in memory)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
variable "b" is unused (if the variable is not meant to be used, prefix it with an underscore)
Test on OTP 25.3 / Elixir 1.13.4-otp-25
variable "a" is unused (if the variable is not meant to be used, prefix it with an underscore)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
variable "module" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)
Test on OTP 25.3 / Elixir 1.15.3-otp-25
Regex.regex?/1 is deprecated. Use Kernel.is_struct(term, Regex) or pattern match on %Regex{} instead