Connection warrning while compilation time
Closed this issue · 4 comments
Version: 1.1.0
Hi Connections, I'm getting a bunch of warnings when we're trying to compile it for release. I tried to investigate on pointed file and turned out it's the same as what been suggested in warnings message.
Logs:
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:429
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:431
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:491
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:540
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:581
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:625
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:628
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:631
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:657
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:660
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:663
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:744
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:770
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
lib/connection.ex:813
Dependencies:
defp deps do
[
{:phoenix, "~> 1.5.1"},
{:phoenix_pubsub, "~> 2.0"},
{:phoenix_ecto, "~> 4.0"},
{:ecto_sql, "~> 3.0"},
{:postgrex, ">= 0.15.0"},
{:phoenix_html, "~> 2.11"},
{:jason, "~> 1.1", override: true},
{:poison, "~> 3.1", override: true},
{:plug_cowboy, "~> 2.1"},
{:ecto_enum, ">= 1.4.0"},
{:argon2_elixir, "~> 2.0.5"},
{:ecto_soft_delete, "~> 1.0"},
{:elixir_uuid, "~> 1.2"},
{:tzdata, "~> 1.1", override: true},
{:timex, "~> 3.0"},
{:ex_json_schema, "~> 0.7.3"},
{:ex_phone_number, "~> 0.2"},
{:httpoison, "~> 1.7"},
{:scrivener_ecto, "~> 2.0"},
{:sonix, "~> 0.1.0"},
{:decimal, "~> 1.8"},
{:misc_random, "~> 0.2.9"},
{:quantum, "~> 3.0"},
{:secure_random, "~> 0.5.1"},
{:bamboo_smtp, "~> 3.0.0"},
{:bamboo, "~> 1.5"},
{:hackney, "~> 1.9"},
{:telemetry, "~> 0.4"},
{:countries, "~> 1.6"},
{:opentelemetry, "~> 0.6.0", override: true},
{:opentelemetry_api, "~> 0.6.0", override: true},
{:opentelemetry_exporter, "~> 0.6.0", override: true},
{:opentelemetry_phoenix, "~> 0.2.0"}
]
end
Target Command:
mix deps.get --prod && mix deps.compile && mix compile --force
Any other reason for the warning message?
It looks like they've already fixed it but just haven't cut a release.
@maco You're right. I think @fishcakez can clear our what's release status.
CC: @josevalim
Are you sure you are on 1.1.0? You can see on hex.pm that the package is using __STACKTRACE__
instead of System.stacktrace
:
https://preview.hex.pm/preview/connection/1.1.0/show/lib/connection.ex#L429
If not, please delete deps
and _build
and try again. I will be glad to reopen if the issue persists.