jsonld_ex

Build log

host

jsonld_ex 0.4.4 · fail · run jsonld_ex-0.4.4-1790964467065
531 of 531 lines
1Resolving Hex dependencies...2Resolution completed in 0.182s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  finch 0.24.07  hpax 1.1.08  interactive_cmd 0.1.49  jason 1.4.510  jsonld_ex 0.4.411  mime 2.0.712  mint 1.11.013  nerves 2.0.0-pre.214  nerves_discovery 0.1.515  nerves_logging 0.2.416  nerves_runtime 0.13.1317  nerves_system_bbb 2.30.218  nerves_system_br 1.34.419  nerves_system_mangopi_mq_pro 0.17.220  nerves_system_qemu_aarch64 0.4.221  nerves_system_rpi0 2.1.222  nerves_system_rpi4 2.1.223  nerves_system_rpi5 2.1.224  nerves_system_trellis 0.5.025  nerves_system_x86_64 1.34.226  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.127  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.128  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.129  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.130  nerves_toolchain_x86_64_nerves_linux_musl 15.3.131  nerves_uevent 0.1.732  nimble_options 1.1.133  nimble_pool 1.1.034  property_table 0.3.435  req 0.7.436  ring_logger 0.11.737  rustler 0.34.038  rustler_precompiled 0.10.039  tablet 0.3.340  telemetry 1.4.241  toml 0.7.042  toolshed 0.5.043  uboot_env 1.0.244All dependencies have been fetched45==> toml46Compiling 10 files (.ex)47     warning: using single-quoted strings to represent charlists is deprecated.48     Use ~c"" if you indeed want a charlist or use "" instead.49     You may run "mix format --migrate" to change all single-quoted50     strings to use the ~c sigil and fix this warning.51     │52 264 │   defp handle_token(lexer, original, doc, type, skip, _data, lines) when type in '-_' do53     │                                                                                  ~54     │55     └─ lib/decoder.ex:264:825657     warning: using single-quoted strings to represent charlists is deprecated.58     Use ~c"" if you indeed want a charlist or use "" instead.59     You may run "mix format --migrate" to change all single-quoted60     strings to use the ~c sigil and fix this warning.61     │62 371 │       {:ok, {type, _skip, _data, _lines}} when type in '-+' ->63     │                                                        ~64     │65     └─ lib/decoder.ex:371:566667     warning: using single-quoted strings to represent charlists is deprecated.68     Use ~c"" if you indeed want a charlist or use "" instead.69     You may run "mix format --migrate" to change all single-quoted70     strings to use the ~c sigil and fix this warning.71     │72 419 │           {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->73     │                                                        ~74     │75     └─ lib/decoder.ex:419:567677     warning: using single-quoted strings to represent charlists is deprecated.78     Use ~c"" if you indeed want a charlist or use "" instead.79     You may run "mix format --migrate" to change all single-quoted80     strings to use the ~c sigil and fix this warning.81     │82 474 │       {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->83     │                                                    ~84     │85     └─ lib/decoder.ex:474:528687     warning: using single-quoted strings to represent charlists is deprecated.88     Use ~c"" if you indeed want a charlist or use "" instead.89     You may run "mix format --migrate" to change all single-quoted90     strings to use the ~c sigil and fix this warning.91     │92 514 │       {:ok, {sign, _, _, _}} when sign in '-+' and last == ?e ->93     │                                           ~94     │95     └─ lib/decoder.ex:514:439697     warning: using single-quoted strings to represent charlists is deprecated.98     Use ~c"" if you indeed want a charlist or use "" instead.99     You may run "mix format --migrate" to change all single-quoted100     strings to use the ~c sigil and fix this warning.101     │102 518 │       {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' and signal == ?. ->103     │                                                    ~104     │105     └─ lib/decoder.ex:518:52106107     warning: using single-quoted strings to represent charlists is deprecated.108     Use ~c"" if you indeed want a charlist or use "" instead.109     You may run "mix format --migrate" to change all single-quoted110     strings to use the ~c sigil and fix this warning.111     │112 522 │       {:ok, {?_, skip, _, lines}} when last not in '_e.' ->113     │                                                    ~114     │115     └─ lib/decoder.ex:522:52116117     warning: using single-quoted strings to represent charlists is deprecated.118     Use ~c"" if you indeed want a charlist or use "" instead.119     You may run "mix format --migrate" to change all single-quoted120     strings to use the ~c sigil and fix this warning.121     │122 538 │       {:ok, {type, skip, data, lines}} when last in 'e.' ->123     │                                                     ~124     │125     └─ lib/decoder.ex:538:53126127     warning: using single-quoted strings to represent charlists is deprecated.128     Use ~c"" if you indeed want a charlist or use "" instead.129     You may run "mix format --migrate" to change all single-quoted130     strings to use the ~c sigil and fix this warning.131     │132 542 │       {:ok, {_type, skip, _data, lines} = token} when last not in '_e.' ->133     │                                                                   ~134     │135     └─ lib/decoder.ex:542:67136137     warning: using single-quoted strings to represent charlists is deprecated.138     Use ~c"" if you indeed want a charlist or use "" instead.139     You may run "mix format --migrate" to change all single-quoted140     strings to use the ~c sigil and fix this warning.141     │142 682 │         {:ok, {sign, _, _, _}} when sign in '-+' ->143     │                                             ~144     │145     └─ lib/decoder.ex:682:45146147     warning: using single-quoted strings to represent charlists is deprecated.148     Use ~c"" if you indeed want a charlist or use "" instead.149     You may run "mix format --migrate" to change all single-quoted150     strings to use the ~c sigil and fix this warning.151     │152 796 │       {:ok, {sign, _, _, _}} when sign in '-+' ->153     │                                           ~154     │155     └─ lib/decoder.ex:796:43156157     warning: using single-quoted strings to represent charlists is deprecated.158     Use ~c"" if you indeed want a charlist or use "" instead.159     You may run "mix format --migrate" to change all single-quoted160     strings to use the ~c sigil and fix this warning.161     │162 916 │         {:ok, {type, skip, _, lines}} when type in '-_' ->163     │                                                    ~164     │165     └─ lib/decoder.ex:916:52166167     warning: using single-quoted strings to represent charlists is deprecated.168     Use ~c"" if you indeed want a charlist or use "" instead.169     You may run "mix format --migrate" to change all single-quoted170     strings to use the ~c sigil and fix this warning.171     │172 954 │               {:ok, {type, _, _, _}} when type in '-_' ->173     │                                                   ~174     │175     └─ lib/decoder.ex:954:51176177     warning: using single-quoted strings to represent charlists is deprecated.178     Use ~c"" if you indeed want a charlist or use "" instead.179     You may run "mix format --migrate" to change all single-quoted180     strings to use the ~c sigil and fix this warning.181     │182 969 │       {:ok, {type, _, _, _}} when type in '-_' ->183     │                                           ~184     │185     └─ lib/decoder.ex:969:43186187     warning: using single-quoted strings to represent charlists is deprecated.188     Use ~c"" if you indeed want a charlist or use "" instead.189     You may run "mix format --migrate" to change all single-quoted190     strings to use the ~c sigil and fix this warning.191     │192 983 │           {:ok, {type, _, _, _}} when type in '-_' ->193     │                                               ~194     │195     └─ lib/decoder.ex:983:47196197     warning: the following clause will never match:198199         {:datetime, {:error, :invalid_date}} ->200201     it is expected to match on type:202203         dynamic(204           {:date,205            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or206              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and207             not {:date, {:ok, %Date{}}}208         )209210     type warning found at:211     │212 722 │       {:datetime, {:error, :invalid_date}} ->213     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~214     │215     └─ lib/decoder.ex:722: Toml.Decoder.datetime/3216217     warning: the following clause will never match:218219         {:datetime, {:error, reason}} ->220221     it is expected to match on type:222223         dynamic(224           {:date,225            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or226              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and227             not {:date, {:ok, %Date{}}}228         )229230     type warning found at:231     │232 725 │       {:datetime, {:error, reason}} ->233     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~234     │235     └─ lib/decoder.ex:725: Toml.Decoder.datetime/3236237     warning: the following clause will never match:238239         {:error, _, _, _} = err ->240241     it is expected to match on type:242243         dynamic(244           {:date,245            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or246              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and247             not {:date, {:ok, %Date{}}}248         )249250     type warning found at:251     │252 728 │       {:error, _, _, _} = err ->253     │                         ~254     │255     └─ lib/decoder.ex:728:25: Toml.Decoder.datetime/3256257     warning: the following clause will never match:258259         {:ok, {type, skip, data, lines}} ->260261     it is expected to match on type:262263         dynamic(264           {:date,265            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or266              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and267             not {:date, {:ok, %Date{}}}268         )269270     type warning found at:271     │272 731 │       {:ok, {type, skip, data, lines}} ->273     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~274     │275     └─ lib/decoder.ex:731: Toml.Decoder.datetime/3276277Generated toml app278==> req279Compiling 24 files (.ex)280Generated req app281==> rustler282Compiling 6 files (.ex)283     warning: incompatible types given to throw_error/1:284285         throw_error(286           {:unknown_target,287            <<to_string(target)::binary,288              " is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues.">>}289         )290291     given types:292293         -dynamic({:unknown_target, binary()})-294295     but expected one of:296297         :rustup_not_installed or {:no_rustler_deps, term(), term()} or298           {:unsupported_rustler_version, term(), term(), term()} or299           {:cargo_toml_not_found or :nonexistent_crate_directory or :rust_version_not_installed, term()}300301     where "target" was given the types:302303         # type: binary()304         # from: lib/rustler/compiler.ex:143:27305         target306307         # type: binary()308         # from: lib/rustler/compiler.ex:143:40309         is_binary(target)310311     type warning found at:312     │313 159 │       throw_error(314     │       ~315     │316     └─ lib/rustler/compiler.ex:159:7: Rustler.Compiler.get_target_os_type/1317318Generated rustler app319==> rustler_precompiled320Compiling 4 files (.ex)321Generated rustler_precompiled app322==> jsonld_ex323Compiling 36 files (.ex)324     warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)325     │326 138 │   def inverse(%{operations: operations, metadata: metadata}, opts \\ []) do327     │                                                              ~~~~328     │329     └─ lib/jsonld_ex/diff/operational.ex:138:62: JsonldEx.Diff.Operational.inverse/2330331     warning: variable "ts_final" is unused (if the variable is not meant to be used, prefix it with an underscore)332     │333 235 │     {ops_final, ts_final} =334     │                 ~~~~~~~~335     │336     └─ lib/jsonld_ex/diff/operational.ex:235:17: JsonldEx.Diff.Operational.diff_arrays/5337338     warning: variable "path" is unused (if the variable is not meant to be used, prefix it with an underscore)339     │340 535 │   defp invert_operation(%{type: :set, path: path, value: _value} = op) do341     │                                             ~~~~342     │343     └─ lib/jsonld_ex/diff/operational.ex:535:45: JsonldEx.Diff.Operational.invert_operation/1344345     warning: variable "path" is unused (if the variable is not meant to be used, prefix it with an underscore)346     │347 539 │   defp invert_operation(%{type: :delete, path: path, value: nil} = op) do348     │                                                ~~~~349     │350     └─ lib/jsonld_ex/diff/operational.ex:539:48: JsonldEx.Diff.Operational.invert_operation/1351352     warning: this clause cannot match because a previous clause at line 440 matches the same pattern as this clause353     │354 442 │       :error, :nif_not_loaded -> {:ok, "# RDF normalization not available"}355     │                               ~356     │357     └─ lib/jsonld_ex/diff/performance.ex:442:31358359     warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)360     │361 237 │   def inverse(semantic_diff, opts \\ []) do362     │                              ~~~~363     │364     └─ lib/jsonld_ex/diff/semantic.ex:237:30: JsonldEx.Diff.Semantic.inverse/2365366warning: 0..-3 has a default step of -1, please write 0..-3//-1 instead367  lib/jsonld_ex/diff/semantic.ex:336: JsonldEx.Diff.Semantic.parse_ntriple_line/1368369warning: 1..-2 has a default step of -1, please write 1..-2//-1 instead370  lib/jsonld_ex/diff/semantic.ex:358: JsonldEx.Diff.Semantic.clean_iri_or_blank/1371372warning: 1..-2 has a default step of -1, please write 1..-2//-1 instead373  lib/jsonld_ex/diff/semantic.ex:371: JsonldEx.Diff.Semantic.parse_object/1374375warning: 1..-2 has a default step of -1, please write 1..-2//-1 instead376  lib/jsonld_ex/diff/semantic.ex:391: JsonldEx.Diff.Semantic.parse_literal/1377378warning: 0..-2 has a default step of -1, please write 0..-2//-1 instead379  lib/jsonld_ex/diff/semantic.ex:393: JsonldEx.Diff.Semantic.parse_literal/1380381warning: 1..-1 has a default step of -1, please write 1..-1//-1 instead382  lib/jsonld_ex/diff/semantic.ex:399: JsonldEx.Diff.Semantic.parse_literal/1383384warning: 1..-2 has a default step of -1, please write 1..-2//-1 instead385  lib/jsonld_ex/diff/semantic.ex:404: JsonldEx.Diff.Semantic.parse_literal/1386387     warning: variable "added_map" is unused (if the variable is not meant to be used, prefix it with an underscore)388     │389 573 │     added_map = MapSet.new(added_for_node)390     │     ~~~~~~~~~391     │392     └─ lib/jsonld_ex/diff/semantic.ex:573:5: JsonldEx.Diff.Semantic.build_modified_properties/4393394     warning: variable "removed_map" is unused (if the variable is not meant to be used, prefix it with an underscore)395     │396 574 │     removed_map = MapSet.new(removed_for_node)397     │     ~~~~~~~~~~~398     │399     └─ lib/jsonld_ex/diff/semantic.ex:574:5: JsonldEx.Diff.Semantic.build_modified_properties/4400401     warning: variable "node" is unused (if the variable is not meant to be used, prefix it with an underscore)402     │403 761 │   defp value_to_object(%{"@id" => id} = node, bnode_map) when is_binary(id) do404     │                                         ~~~~405     │406     └─ lib/jsonld_ex/diff/semantic.ex:761:41: JsonldEx.Diff.Semantic.value_to_object/2407408     warning: variable "bnode_map" is unused (if the variable is not meant to be used, prefix it with an underscore)409     │410 766 │   defp value_to_object(%{"@value" => val} = lit, bnode_map) do411     │                                                  ~~~~~~~~~412     │413     └─ lib/jsonld_ex/diff/semantic.ex:766:50: JsonldEx.Diff.Semantic.value_to_object/2414415     warning: variable "bnode_map" is unused (if the variable is not meant to be used, prefix it with an underscore)416     │417 797 │   defp value_to_object(val, bnode_map) do418     │                             ~~~~~~~~~419     │420     └─ lib/jsonld_ex/diff/semantic.ex:797:29: JsonldEx.Diff.Semantic.value_to_object/2421422     warning: variable "new_hashes" is unused (if the variable is not meant to be used, prefix it with an underscore)423     │424 268 │     new_hashes = Map.new(new_with_index)425     │     ~~~~~~~~~~426     │427     └─ lib/jsonld_ex/diff/structural.ex:268:5: JsonldEx.Diff.Structural.detect_array_moves/3428429warning: 1..-1 has a default step of -1, please write 1..-1//-1 instead430  lib/jsonld_ex/diff/structural.ex:350: JsonldEx.Diff.Structural.patch_object/3431432     warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore)433     │434 380 │   defp patch_array(document, delta, opts) when is_list(document) do435     │                                     ~~~~436     │437     └─ lib/jsonld_ex/diff/structural.ex:380:37: JsonldEx.Diff.Structural.patch_array/3438439     warning: variable "s" is unused (if the variable is not meant to be used, prefix it with an underscore)440     │441 600 │             %{"op" => "delete", "range" => [s, e]} -> e442     │                                             ~443     │444     └─ lib/jsonld_ex/diff/structural.ex:600:45: JsonldEx.Diff.Structural.apply_text_diff_ops/2445446     warning: variable "s" is unused (if the variable is not meant to be used, prefix it with an underscore)447     │448 601 │             %{"op" => "replace", "old_range" => [s, e]} -> e449     │                                                  ~450     │451     └─ lib/jsonld_ex/diff/structural.ex:601:50: JsonldEx.Diff.Structural.apply_text_diff_ops/2452453     warning: variable "tail_start" is unused (if the variable is not meant to be used, prefix it with an underscore)454     │455 594 │       tail_start = min(String.length(text), elem({0, []}, 0))456     │       ~457     │458     └─ lib/jsonld_ex/diff/structural.ex:594:7: JsonldEx.Diff.Structural.apply_text_diff_ops/2459460     warning: variable "lcs_set" is unused (if the variable is not meant to be used, prefix it with an underscore)461     │462 710 │     lcs_set = MapSet.new(lcs_sequence)463     │     ~~~~~~~464     │465     └─ lib/jsonld_ex/diff/structural.ex:710:5: JsonldEx.Diff.Structural.generate_diff_operations/3466467     warning: variable "move_info" is unused (if the variable is not meant to be used, prefix it with an underscore)468     │469 774 │   defp add_move_detection(delta, old, new, move_info) do470     │                                            ~~~~~~~~~471     │472     └─ lib/jsonld_ex/diff/structural.ex:774:44: JsonldEx.Diff.Structural.add_move_detection/4473474     warning: function build_position_map/1 is unused475     │476 737 │   defp build_position_map(list) do477     │        ~478     │479     └─ lib/jsonld_ex/diff/structural.ex:737:8: JsonldEx.Diff.Structural (module)480481     warning: this clause cannot match because a previous clause at line 267 matches the same pattern as this clause482     │483 269 │         :error, :nif_not_loaded -> {:ok, document}484     │                                 ~485     │486     └─ lib/jsonld_ex/diff/semantic.ex:269:33487488     warning: this clause cannot match because a previous clause at line 294 matches the same pattern as this clause489     │490 296 │       :error, :nif_not_loaded -> {:ok, []}491     │                               ~492     │493     └─ lib/jsonld_ex/diff/semantic.ex:296:31494495     warning: this clause cannot match because a previous clause at line 314 matches the same pattern as this clause496     │497 316 │       :error, :nif_not_loaded -> {:ok, %{}}498     │                               ~499     │500     └─ lib/jsonld_ex/diff/semantic.ex:316:3150150250318:08:18.211 [debug] Downloading NIF from https://github.com/zpc-sh/jsonld_ex/releases/download/v0.4.4/libjsonld_nif-v0.4.4-nif-2.16-x86_64-unknown-linux-gnu.so.tar.gz504    warning: module attribute @task_glob was set but never used505    │506 12 │   @task_glob ~w(507    │   ~~~~~~~~~~~~~~508    │509    └─ lib/mix/tasks/spec.export.tools.ex:12: Mix.Tasks.Spec.Export.Tools (module)510511    warning: function optional_json/2 is unused512    │513 49 │   defp optional_json(path, _label) do514    │        ~515    │516    └─ lib/mix/tasks/spec.lint.ex:49:8: Mix.Tasks.Spec.Lint (module)517518519== Compilation error in file lib/jsonld_ex/native.ex ==520** (RuntimeError) Error while downloading precompiled NIF: the precompiled NIF file does not exist in the checksum file. Please consider run: `mix rustler_precompiled.download JsonldEx.Native --only-local` to generate the checksum file..521522You can force the project to build from scratch with:523524    config :rustler_precompiled, :force_build, jsonld_ex: true525526In order to force the build, you also need to add Rustler as a dependency in your `mix.exs`:527528    {:rustler, ">= 0.0.0", optional: true}529530    lib/jsonld_ex/native.ex:18: (module)531could not compile dependency :jsonld_ex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile jsonld_ex --force", update it with "mix deps.update jsonld_ex" or clean it with "mix deps.clean jsonld_ex"