-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When compiling, the following warnings show:
Compiling 3 files (.ex)
Generated unsafe app
warning: variable "deps" does not exist and is being expanded to "deps()", please use parentheses to remove the ambiguity or change the variable name
/app/deps/bmark/mix.exs:8
warning: variable "description" does not exist and is being expanded to "description()", please use parentheses to remove the ambiguity or change the variable name
/app/deps/bmark/mix.exs:9
warning: variable "package" does not exist and is being expanded to "package()", please use parentheses to remove the ambiguity or change the variable name
/app/deps/bmark/mix.exs:10
==> bmark
Compiling 6 files (.ex)
warning: variable "binding" does not exist and is being expanded to "binding()", please use parentheses to remove the ambiguity or change the variable name
lib/bmark.ex:66
warning: variable "setup_project" does not exist and is being expanded to "setup_project()", please use parentheses to remove the ambiguity or change the variable name
lib/mix/tasks/bmark.ex:20
warning: variable "start_server" does not exist and is being expanded to "start_server()", please use parentheses to remove the ambiguity or change the variable name
lib/mix/tasks/bmark.ex:21
warning: variable "setup_bmark_files" does not exist and is being expanded to "setup_bmark_files()", please use parentheses to remove the ambiguity or change the variable name
lib/mix/tasks/bmark.ex:22
warning: variable "setup_exit_handler" does not exist and is being expanded to "setup_exit_handler()", please use parentheses to remove the ambiguity or change the variable name
lib/mix/tasks/bmark.ex:23
warning: variable "create_results_directory" does not exist and is being expanded to "create_results_directory()", please use parentheses to remove the ambiguity or change the variable name
lib/mix/tasks/bmark.ex:49
warning: function init/1 required by behaviour GenServer is not implemented (in module Bmark.Server).
We will inject a default implementation for now:
def init(init_arg) do
{:ok, init_arg}
end
You can copy the implementation above or define your own that converts the arguments given to GenServer.start_link/3 to the server state.
lib/bmark/server.ex:1
warning: variable "usage" does not exist and is being expanded to "usage()", please use parentheses to remove the ambiguity or change the variable name
lib/mix/tasks/bmark_cmp.ex:43
warning: Float.to_string/2 is deprecated. Use :erlang.float_to_binary/2 instead
lib/mix/tasks/bmark_cmp.ex:135
warning: Kernel.ParallelRequire.files/1 is deprecated. Use Kernel.ParallelCompiler.require/2 instead
lib/mix/tasks/bmark.ex:33
warning: String.ljust/2 is deprecated. Use String.pad_trailing/2 instead
lib/bmark/comparison_formatter.ex:34
warning: String.strip/1 is deprecated. Use String.trim/1 instead
lib/mix/tasks/bmark_cmp.ex:66
Metadata
Metadata
Assignees
Labels
No labels