Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vinz_access [master] $ mix deps.get && mix test
All dependencies up to date
* Compiling poolboy
==> poolboy (compile)
* Compiling decimal
Compiled lib/decimal.ex
Generated decimal.app
* Compiling postgrex
Compiled lib/postgrex/binary_utils.ex
Compiled lib/postgrex/records.ex
Compiled lib/postgrex/types.ex
Compiled lib/postgrex/protocol.ex
Compiled lib/postgrex/connection.ex
Generated postgrex.app
* Compiling ecto
Compiled lib/ecto/adapter/migrations.ex
Compiled lib/ecto/adapter/transactions.ex
Compiled lib/ecto/adapter/storage.ex
Compiled lib/ecto/adapter/test_transactions.ex
Compiled lib/ecto/adapter.ex
Compiled lib/ecto/associations.ex
Compiled lib/ecto/adapters/postgres/worker.ex
Compiled lib/ecto/migration.ex
Compiled lib/ecto/model.ex
Compiled lib/ecto/model/queryable.ex
Compiled lib/ecto/model/validations.ex
Compiled lib/ecto/migrator.ex
Compiled lib/ecto/query/from_builder.ex
Compiled lib/ecto/associations/belongs_to.ex
Compiled lib/ecto/associations/has_one.ex
Compiled lib/ecto/utils.ex
Compiled lib/ecto/query/typespec.ex
Compiled lib/ecto/repo.ex
Compiled lib/ecto/validator.ex
Compiled lib/ecto/query/where_builder.ex
Compiled lib/ecto/queryable.ex
Compiled lib/ecto/query/select_builder.ex
Compiled lib/mix/tasks/ecto.ex
Compiled lib/ecto/validator/predicates.ex
Compiled lib/ecto/query/order_by_builder.ex
Compiled lib/mix/tasks/ecto.create.ex
Compiled lib/mix/tasks/ecto.drop.ex
Compiled lib/ecto/query/preload_builder.ex
Compiled lib/ecto/query/limit_offset_builder.ex
Compiled lib/ecto/query/lock_builder.ex
Compiled lib/ecto/query/join_builder.ex
Compiled lib/mix/tasks/ecto.gen.migration.ex
Compiled lib/ecto/query/having_builder.ex
Compiled lib/ecto/query/group_by_builder.ex
Compiled lib/ecto/query/distinct_builder.ex
Compiled lib/ecto/query/builder_util.ex
Compiled lib/ecto/associations/assoc.ex
Compiled lib/mix/tasks/ecto.migrate.ex
Compiled lib/mix/tasks/ecto.rollback.ex
Compiled lib/mix/tasks/ecto.gen.repo.ex
Compiled lib/ecto/query/normalizer.ex
Compiled lib/ecto/query.ex
Compiled lib/ecto/associations/has_many.ex
Compiled lib/ecto/associations/preloader.ex
Compiled lib/ecto/repo/backend.ex
Compiled lib/ecto/query/api.ex
Compiled lib/ecto/query/validator.ex
Compiled lib/ecto/adapters/postgres.ex
Compiled lib/ecto/types.ex
Compiled lib/ecto/query/util.ex
Compiled lib/ecto/exceptions.ex
Compiled lib/ecto/adapters/postgres/sql.ex
Compiled lib/ecto/entity.ex
Generated ecto.app
Compiled lib/mix/tasks/access.ex
Compiled lib/vinz/access/repo.ex
== Compilation failed ==
Compilation failed on the following files:
* lib/vinz/access.ex is missing module Vinz.Access.Models.GroupMember
* lib/vinz/access/domains.ex is missing module Vinz.Access.Models.Right
* lib/vinz/access/load.ex is missing module Vinz.Access.Models.Right.Entity
* lib/vinz/access/models.ex is missing module Vinz.Access.Models.Group
One of the failures is shown below...
== Compilation error on file lib/vinz/access/load.ex ==
** (CompileError) lib/vinz/access/load.ex:18: module Vinz.Access.Models.Right.Entity is not loaded and could not be found
(elixir) lib/kernel.ex:2568: Kernel."MACRO-access"/3
(elixir) /Users/patrick/projects/vinz_access/lib/vinz/access/load.ex:18: Kernel.access/2
/Users/patrick/projects/vinz_access/lib/vinz/access/load.ex:18: Vinz.Access.Load.right/4
(elixir) /Users/patrick/projects/vinz_access/lib/vinz/access/load.ex:20: Kernel.|>/2
/Users/patrick/projects/vinz_access/lib/vinz/access/load.ex:20: Vinz.Access.Load.right/4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment