Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Runtime warnings! (Are the worst warnings) #14

Open
2 tasks
cognivore opened this issue Jun 22, 2023 · 1 comment
Open
2 tasks

Runtime warnings! (Are the worst warnings) #14

cognivore opened this issue Jun 22, 2023 · 1 comment

Comments

@cognivore
Copy link
Contributor

cognivore commented Jun 22, 2023

Why?

This stuff is just scary.

λ iex -S mix
Erlang/OTP 24 [erts-12.3.2.8] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit]

Compiling 2 files (.ex)
Compiling 2 files (.ex)
warning: redefining module Jason.Encoder.Uptight.Base.Sixteen (current version loaded from _build/dev/lib/uptight/ebin/Elixir.Jason.Encoder.Uptight.Base.Sixteen.beam)
  lib/uptight/base.ex:177

warning: function encode/2 required by protocol Jason.Encoder is not implemented (in module Jason.Encoder.Uptight.Base.Sixteen)
  lib/uptight/base.ex:177: Jason.Encoder.Uptight.Base.Sixteen (module)

warning: redefining module Jason.Encoder.Uptight.Base.ThirtyTwo (current version loaded from _build/dev/lib/uptight/ebin/Elixir.Jason.Encoder.Uptight.Base.ThirtyTwo.beam)
  lib/uptight/base.ex:184

warning: function encode/2 required by protocol Jason.Encoder is not implemented (in module Jason.Encoder.Uptight.Base.ThirtyTwo)
  lib/uptight/base.ex:184: Jason.Encoder.Uptight.Base.ThirtyTwo (module)

warning: redefining module Jason.Encoder.Uptight.Base.SixtyFour (current version loaded from _build/dev/lib/uptight/ebin/Elixir.Jason.Encoder.Uptight.Base.SixtyFour.beam)
  lib/uptight/base.ex:191

warning: function encode/2 required by protocol Jason.Encoder is not implemented (in module Jason.Encoder.Uptight.Base.SixtyFour)
  lib/uptight/base.ex:191: Jason.Encoder.Uptight.Base.SixtyFour (module)

What?

  • Figure out what the heck are these warnings
  • Fix them!
@cognivore
Copy link
Contributor Author

More context:

Total errors: 3, Skipped: 0, Unnecessary Skips: 0
done in 0m1.83s
lib/uptight/base.ex:177:callback_missing
Undefined callback function encode/2 (behaviour Jason.Encoder).
________________________________________________________________________________
lib/uptight/base.ex:184:callback_missing
Undefined callback function encode/2 (behaviour Jason.Encoder).
________________________________________________________________________________
lib/uptight/base.ex:191:callback_missing
Undefined callback function encode/2 (behaviour Jason.Encoder).
________________________________________________________________________________
done (warnings were emitted)
Halting VM with exit status 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant