Skip to content

Protocol consolidation no match of right hand side value: {:debug_info_v1, :elixir_erl, :none} #8923

@smpallen99

Description

@smpallen99

Elixir 1.8.1
Erlang 21.3.2
Centos 6

Project (> 600 .ex files) compiles fine on Elixir 1.7.4. After installing 1.8.1, I'm getting the following exception for many protocols:

04:09:53.541 [error] Task #PID<0.18513.0> started from #PID<0.107.0> terminating
** (MatchError) no match of right hand side value: {:debug_info_v1, :elixir_erl, :none}
    (elixir) lib/protocol.ex:316: Protocol.beam_protocol/1
    (elixir) lib/protocol.ex:305: Protocol.consolidate/2
    (mix) lib/mix/tasks/compile.protocols.ex:141: Mix.Tasks.Compile.Protocols.consolidate/4
    (elixir) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
    (elixir) lib/task/supervised.ex:35: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Function: #Function<9.45181099/0 in Mix.Tasks.Compile.Protocols.consolidate/6>
    Args: []

The following protocols are failing with the exception:

  • Pigeon.Encodable,
  • Ecto.Queryable,
  • Ecto.DataType,
  • Plug.Exception,
  • Coherence.DbStore,
  • Pigeon.Configurable,
  • Phoenix.Param,
  • Phoenix.HTML.FormData,
  • Phoenix.HTML.Safe,

Error does not happen with a sample project on the same server. This is a commercial project, so I'm unable to provide the source, but I'll provide more information as requested.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions