ex_tiktoken

Build log

nerves_system_trellis

ex_tiktoken 0.1.1 · fail · run ex_tiktoken-0.1.1-1790914874806
509 of 509 lines
1Resolving Hex dependencies...2Resolution completed in 0.111s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  ex_tiktoken 0.1.17  interactive_cmd 0.1.48  jason 1.4.59  nerves 1.15.010  nerves_discovery 0.1.511  nerves_logging 0.2.412  nerves_runtime 0.13.1313  nerves_system_br 1.34.414  nerves_system_mangopi_mq_pro 0.17.215  nerves_system_rpi4 2.1.216  nerves_system_trellis 0.5.017  nerves_system_x86_64 1.34.218  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.119  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.120  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.121  nerves_toolchain_x86_64_nerves_linux_musl 15.3.122  nerves_uevent 0.1.723  property_table 0.3.424  ring_logger 0.11.725  rustler 0.27.026  rustler_precompiled 0.9.027  shoehorn 0.9.328  tablet 0.3.329  toml 0.7.030  toolshed 0.5.031  uboot_env 1.0.232* Getting ex_tiktoken (Hex package)33* Getting nerves (Hex package)34* Getting shoehorn (Hex package)35* Getting ring_logger (Hex package)36* Getting toolshed (Hex package)37* Getting nerves_runtime (Hex package)38* Getting nerves_system_mangopi_mq_pro (Hex package)39* Getting nerves_system_rpi4 (Hex package)40* Getting nerves_system_trellis (Hex package)41* Getting nerves_system_x86_64 (Hex package)42* Getting nerves_system_br (Hex package)43* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)44* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)45* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)46* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)47* Getting nerves_logging (Hex package)48* Getting nerves_uevent (Hex package)49* Getting uboot_env (Hex package)50* Getting elixir_make (Hex package)51* Getting property_table (Hex package)52* Getting circular_buffer (Hex package)53* Getting interactive_cmd (Hex package)54* Getting jason (Hex package)55* Getting nerves_discovery (Hex package)56* Getting tablet (Hex package)57* Getting rustler (Hex package)58* Getting rustler_precompiled (Hex package)59* Getting toml (Hex package)60==> jason61Compiling 10 files (.ex)62Generated jason app63==> tablet64Compiling 2 files (.ex)65Generated tablet app66==> elixir_make67Compiling 8 files (.ex)68Generated elixir_make app69==> nerves_discovery70Compiling 5 files (.ex)71Generated nerves_discovery app72==> interactive_cmd73Compiling 1 file (.ex)74Generated interactive_cmd app75==> nerves76HOST_CC port.o77HOST_LD port78Compiling 55 files (.ex)79Generated nerves app80==> nerves_compatibility_test8182Nerves environment83  MIX_TARGET:   trellis84  MIX_ENV:      prod8586Checking for prebuilt Nerves artifacts...87  Found nerves_system_trellis in cache88    /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.089  Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache90    /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.191==> jason92Compiling 10 files (.ex)93Generated jason app94==> tablet95Compiling 2 files (.ex)96Generated tablet app97==> elixir_make98Compiling 8 files (.ex)99Generated elixir_make app100==> nerves_discovery101Compiling 5 files (.ex)102Generated nerves_discovery app103==> interactive_cmd104Compiling 1 file (.ex)105Generated interactive_cmd app106==> nerves107HOST_CC port.o108HOST_LD port109Compiling 55 files (.ex)110Generated nerves app111==> nerves_system_br112Generated nerves_system_br app113==> nerves_toolchain_armv7_nerves_linux_gnueabihf114Compiling 1 file (.ex)115Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app116==> nerves_system_trellis117Generated nerves_system_trellis app118==> nerves_compatibility_test119120Nerves environment121  MIX_TARGET:   trellis122  MIX_ENV:      prod123124==> toml125Compiling 10 files (.ex)126     warning: using single-quoted strings to represent charlists is deprecated.127     Use ~c"" if you indeed want a charlist or use "" instead.128     You may run "mix format --migrate" to change all single-quoted129     strings to use the ~c sigil and fix this warning.130     │131 264 │   defp handle_token(lexer, original, doc, type, skip, _data, lines) when type in '-_' do132     │                                                                                  ~133     │134     └─ lib/decoder.ex:264:82135136     warning: using single-quoted strings to represent charlists is deprecated.137     Use ~c"" if you indeed want a charlist or use "" instead.138     You may run "mix format --migrate" to change all single-quoted139     strings to use the ~c sigil and fix this warning.140     │141 371 │       {:ok, {type, _skip, _data, _lines}} when type in '-+' ->142     │                                                        ~143     │144     └─ lib/decoder.ex:371:56145146     warning: using single-quoted strings to represent charlists is deprecated.147     Use ~c"" if you indeed want a charlist or use "" instead.148     You may run "mix format --migrate" to change all single-quoted149     strings to use the ~c sigil and fix this warning.150     │151 419 │           {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->152     │                                                        ~153     │154     └─ lib/decoder.ex:419:56155156     warning: using single-quoted strings to represent charlists is deprecated.157     Use ~c"" if you indeed want a charlist or use "" instead.158     You may run "mix format --migrate" to change all single-quoted159     strings to use the ~c sigil and fix this warning.160     │161 474 │       {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->162     │                                                    ~163     │164     └─ lib/decoder.ex:474:52165166     warning: using single-quoted strings to represent charlists is deprecated.167     Use ~c"" if you indeed want a charlist or use "" instead.168     You may run "mix format --migrate" to change all single-quoted169     strings to use the ~c sigil and fix this warning.170     │171 514 │       {:ok, {sign, _, _, _}} when sign in '-+' and last == ?e ->172     │                                           ~173     │174     └─ lib/decoder.ex:514:43175176     warning: using single-quoted strings to represent charlists is deprecated.177     Use ~c"" if you indeed want a charlist or use "" instead.178     You may run "mix format --migrate" to change all single-quoted179     strings to use the ~c sigil and fix this warning.180     │181 518 │       {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' and signal == ?. ->182     │                                                    ~183     │184     └─ lib/decoder.ex:518:52185186     warning: using single-quoted strings to represent charlists is deprecated.187     Use ~c"" if you indeed want a charlist or use "" instead.188     You may run "mix format --migrate" to change all single-quoted189     strings to use the ~c sigil and fix this warning.190     │191 522 │       {:ok, {?_, skip, _, lines}} when last not in '_e.' ->192     │                                                    ~193     │194     └─ lib/decoder.ex:522:52195196     warning: using single-quoted strings to represent charlists is deprecated.197     Use ~c"" if you indeed want a charlist or use "" instead.198     You may run "mix format --migrate" to change all single-quoted199     strings to use the ~c sigil and fix this warning.200     │201 538 │       {:ok, {type, skip, data, lines}} when last in 'e.' ->202     │                                                     ~203     │204     └─ lib/decoder.ex:538:53205206     warning: using single-quoted strings to represent charlists is deprecated.207     Use ~c"" if you indeed want a charlist or use "" instead.208     You may run "mix format --migrate" to change all single-quoted209     strings to use the ~c sigil and fix this warning.210     │211 542 │       {:ok, {_type, skip, _data, lines} = token} when last not in '_e.' ->212     │                                                                   ~213     │214     └─ lib/decoder.ex:542:67215216     warning: using single-quoted strings to represent charlists is deprecated.217     Use ~c"" if you indeed want a charlist or use "" instead.218     You may run "mix format --migrate" to change all single-quoted219     strings to use the ~c sigil and fix this warning.220     │221 682 │         {:ok, {sign, _, _, _}} when sign in '-+' ->222     │                                             ~223     │224     └─ lib/decoder.ex:682:45225226     warning: using single-quoted strings to represent charlists is deprecated.227     Use ~c"" if you indeed want a charlist or use "" instead.228     You may run "mix format --migrate" to change all single-quoted229     strings to use the ~c sigil and fix this warning.230     │231 796 │       {:ok, {sign, _, _, _}} when sign in '-+' ->232     │                                           ~233     │234     └─ lib/decoder.ex:796:43235236     warning: using single-quoted strings to represent charlists is deprecated.237     Use ~c"" if you indeed want a charlist or use "" instead.238     You may run "mix format --migrate" to change all single-quoted239     strings to use the ~c sigil and fix this warning.240     │241 916 │         {:ok, {type, skip, _, lines}} when type in '-_' ->242     │                                                    ~243     │244     └─ lib/decoder.ex:916:52245246     warning: using single-quoted strings to represent charlists is deprecated.247     Use ~c"" if you indeed want a charlist or use "" instead.248     You may run "mix format --migrate" to change all single-quoted249     strings to use the ~c sigil and fix this warning.250     │251 954 │               {:ok, {type, _, _, _}} when type in '-_' ->252     │                                                   ~253     │254     └─ lib/decoder.ex:954:51255256     warning: using single-quoted strings to represent charlists is deprecated.257     Use ~c"" if you indeed want a charlist or use "" instead.258     You may run "mix format --migrate" to change all single-quoted259     strings to use the ~c sigil and fix this warning.260     │261 969 │       {:ok, {type, _, _, _}} when type in '-_' ->262     │                                           ~263     │264     └─ lib/decoder.ex:969:43265266     warning: using single-quoted strings to represent charlists is deprecated.267     Use ~c"" if you indeed want a charlist or use "" instead.268     You may run "mix format --migrate" to change all single-quoted269     strings to use the ~c sigil and fix this warning.270     │271 983 │           {:ok, {type, _, _, _}} when type in '-_' ->272     │                                               ~273     │274     └─ lib/decoder.ex:983:47275276     warning: the following clause will never match:277278         {:datetime, {:error, :invalid_date}} ->279280     it is expected to match on type:281282         dynamic(283           {:date,284            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or285              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and286             not {:date, {:ok, %Date{}}}287         )288289     type warning found at:290     │291 722 │       {:datetime, {:error, :invalid_date}} ->292     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~293     │294     └─ lib/decoder.ex:722: Toml.Decoder.datetime/3295296     warning: the following clause will never match:297298         {:datetime, {:error, reason}} ->299300     it is expected to match on type:301302         dynamic(303           {:date,304            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or305              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and306             not {:date, {:ok, %Date{}}}307         )308309     type warning found at:310     │311 725 │       {:datetime, {:error, reason}} ->312     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~313     │314     └─ lib/decoder.ex:725: Toml.Decoder.datetime/3315316     warning: the following clause will never match:317318         {:error, _, _, _} = err ->319320     it is expected to match on type:321322         dynamic(323           {:date,324            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or325              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and326             not {:date, {:ok, %Date{}}}327         )328329     type warning found at:330     │331 728 │       {:error, _, _, _} = err ->332     │                         ~333     │334     └─ lib/decoder.ex:728:25: Toml.Decoder.datetime/3335336     warning: the following clause will never match:337338         {:ok, {type, skip, data, lines}} ->339340     it is expected to match on type:341342         dynamic(343           {:date,344            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or345              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and346             not {:date, {:ok, %Date{}}}347         )348349     type warning found at:350     │351 731 │       {:ok, {type, skip, data, lines}} ->352     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~353     │354     └─ lib/decoder.ex:731: Toml.Decoder.datetime/3355356Generated toml app357==> circular_buffer358Compiling 1 file (.ex)359Generated circular_buffer app360==> rustler361Compiling 7 files (.ex)362     warning: using single-quoted strings to represent charlists is deprecated.363     Use ~c"" if you indeed want a charlist or use "" instead.364     You may run "mix format --migrate" to change all single-quoted365     strings to use the ~c sigil and fix this warning.366     │367 125 │       '2.14',368     │       ~369     │370     └─ lib/rustler.ex:125:7371372     warning: using single-quoted strings to represent charlists is deprecated.373     Use ~c"" if you indeed want a charlist or use "" instead.374     You may run "mix format --migrate" to change all single-quoted375     strings to use the ~c sigil and fix this warning.376     │377 126 │       '2.15',378     │       ~379     │380     └─ lib/rustler.ex:126:7381382     warning: using single-quoted strings to represent charlists is deprecated.383     Use ~c"" if you indeed want a charlist or use "" instead.384     You may run "mix format --migrate" to change all single-quoted385     strings to use the ~c sigil and fix this warning.386     │387 127 │       '2.16'388     │       ~389     │390     └─ lib/rustler.ex:127:7391392     warning: incompatible types given to throw_error/1:393394         throw_error(395           {:unknown_target,396            <<to_string(target)::binary,397              " is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues.">>}398         )399400     given types:401402         -dynamic({:unknown_target, binary()})-403404     but expected one of:405406         :no_config or :no_crates_property or :rustup_not_installed or {:no_rustler_deps, term(), term()} or407           {:differing_versions or :unsupported_rustler_version, term(), term(), term()} or408           {:cargo_no_name or :cargo_toml_not_found or :nonexistent_crate_directory or409              :rust_version_not_installed or :unsupported_nif_version, term()}410411     where "target" was given the types:412413         # type: binary()414         # from: lib/rustler/compiler.ex:152:27415         target416417         # type: binary()418         # from: lib/rustler/compiler.ex:152:40419         is_binary(target)420421     type warning found at:422     │423 168 │       throw_error(424     │       ~425     │426     └─ lib/rustler/compiler.ex:168:7: Rustler.Compiler.get_target_os_type/1427428Generated rustler app429==> nerves_logging430 CC kmsg_tailer.o431 LD kmsg_tailer432Compiling 5 files (.ex)433Generated nerves_logging app434==> ring_logger435Compiling 7 files (.ex)436Generated ring_logger app437==> shoehorn438Compiling 8 files (.ex)439Generated shoehorn app440==> rustler_precompiled441Compiling 4 files (.ex)442Generated rustler_precompiled app443==> ex_tiktoken444Compiling 7 files (.ex)44544604:24:27.933 [debug] Downloading NIF from https://github.com/ricardohsd/ex_tiktoken/releases/download/v0.1.1/libex_tiktoken-v0.1.1-nif-2.16-arm-unknown-linux-gnueabihf.so.tar.gz44744804:24:28.914 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libex_tiktoken-v0.1.1-nif-2.16-arm-unknown-linux-gnueabihf.so.tar.gz and extracted to /work/proj/_build/trellis/lib/ex_tiktoken/priv/native/libex_tiktoken-v0.1.1-nif-2.16-arm-unknown-linux-gnueabihf.so.tar.gz449Generated ex_tiktoken app450==> uboot_env451Compiling 5 files (.ex)452Generated uboot_env app453==> property_table454Compiling 8 files (.ex)455Generated property_table app456==> nerves_uevent457 CC uevent.o458 LD uevent459Compiling 5 files (.ex)460Generated nerves_uevent app461==> nerves_runtime462Compiling 14 files (.ex)463Generated nerves_runtime app464==> toolshed465Compiling 5 files (.ex)466Generated toolshed app467==> nerves_compatibility_test468Compiling 2 files (.ex)469Generated nerves_compatibility_test app470|nerves| Building OTP Release...471472* [Nerves] validating vm.args473* skipping runtime configuration (config/runtime.exs not found)474* creating _build/trellis/rel/nerves_compatibility_test/releases/0.1.0/vm.args475Updating base firmware image with Erlang release...476scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/trellis/_nerves-tmp/rootfs_overlay/srv/erlang/lib/ex_tiktoken-0.1.1/priv/native/libex_tiktoken.so'477478Got:479 file:Mach-O 64-bit arm64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|NO_REEXPORTED_DYLIBS|HAS_TLV_DESCRIPTORS>480481Expecting:482 readelf:ARM;0x5000400, Version5 EABI, hard-float ABI483484This file was compiled for the host or a different target and probably485will not work.486487Check the following:4884891. If this file comes from a library, that library may be compiling to490   its source directory under `deps`. Manually clean up the source491   directory and try building again.4924932. Are you using a path dependency in your mix deps? If so, run494   'mix clean' in that directory to avoid pulling in any of its495   build products.4964973. Did you recently upgrade or change your Nerves system? If so,498   try cleaning and rebuilding this project and its deps.4995004. Are you building outside of Nerves' mix integration? If so,501   make sure that you've sourced 'nerves-env.sh'.502503If you are very sure you know what you are doing, you may place an empty504file in the same directory as the offending file(s) called '.noscrub'.505This will explicitly disable scrubbing for that directory.506507If you're still having trouble, please file an issue on Github508at https://github.com/nerves-project/nerves_system_br/issues.509