-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
Elixir and Erlang/OTP versions
Erlang/OTP 27 [erts-15.1.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit:ns]
Elixir 1.17.3 (compiled with Erlang/OTP 27)
Operating system
docker platform linux/amd64
Current behavior
2.081 ** (EXIT from #PID<0.95.0>) an exception was raised:
2.081 ** (RuntimeError) found error while checking types for Toml.Decoder.decode/2:
2.081
2.081 ** (ArgumentError) could not call Module.put_attribute/3 because the module Toml.Lexer.Guards is already compiled
2.081 The exception happened while checking this code:
2.081
2.081 def decode(bin, opts) when :erlang.andalso(:erlang.is_binary(bin), :erlang.is_list(opts)) do
2.081 try do
2.081 {:ok, decode!(bin, opts)}
2.081 rescue
2.081 err in [Toml.Error] -> {:error, {:invalid_toml, Exception.message(err)}}
2.081 err in [ArgumentError] -> {:error, err.message}
2.081 catch
2.081 :error, reason -> {:error, Toml.Error.format_reason(reason)}
2.081 end
2.081 end
2.081
2.081 Please report this bug at: https://github.com/elixir-lang/elixir/issues
mix deps:
defp deps do
[
{:blake3, "~> 1.0"},
{:memento, "~> 0.4.1"},
{:phoenix, "~> 1.7.14"},
{:phoenix_live_dashboard, "~> 0.8.3"},
{:swoosh, "~> 1.5"},
{:finch, "~> 0.13"},
{:telemetry_metrics, "~> 1.0"},
{:telemetry_poller, "~> 1.0"},
{:gettext, "~> 0.20"},
{:jason, "~> 1.2"},
{:dns_cluster, "~> 0.1.1"},
{:bandit, "~> 1.5"},
{:libcluster, "~> 3.4"}
]
end
Expected behavior
successful compilation
Metadata
Metadata
Assignees
Labels
No labels