The dependency build is outdated error with getting lib from Github branch

I do not know why it has this behaviour and how to fix it? but I could find the place that did not let me compile the source.

I have a macro GuardedStruct that creates struct and validation and etc for me.

When I use it one time in my whole project I have no problem but if I use it inside 2 module more than one! my project can not be compiled.

for example:

defmodule MishkaUnInstaller.Event do
  use GuardedStruct

  guardedstruct do
    field(:app, String.t(), enforce: true, derive: "validate(not_empty_string)")
  end
end

defmodule MishkaUnInstaller.Hook do
  use GuardedStruct

  guardedstruct do
    field(:app, String.t(), enforce: true, derive: "validate(not_empty_string)")
  end
end

Why it has this compile error? I have many tests in my dev mode and test mode and works perfectly but now does not let me compile? :melting_face: :face_with_spiral_eyes:

It should be noted, it is just happens in the library you want to install from Github, not in your project. it is not limited how much you want to use


Update

I published my lib to hex and tested {:mishka_installer, "~> 0.1.0-alpha.1"} it has this same error.


What weird problem, is it elixir bug?