Resolving dependencies
Fetching https://github.com/erdnaxeli/clip.git
Fetching https://github.com/crystal-ameba/ameba.git
Using clip (0.2.4)
Installing ameba (1.3.1)
Postinstall of ameba: make bin && make run_file
Failed postinstall of ameba on make bin && make run_file:
shards build -Dpreview_mt
Dependencies are satisfied
Building: ameba
Error target ameba failed to compile:
Showing last frame. Use --error-trace for full trace.
There was a problem expanding macro 'macro_140256374496768'
Code in /usr/lib/crystal/yaml/serialization.cr:188:7
188 | {% begin %}
^
Called macro defined in /usr/lib/crystal/yaml/serialization.cr:188:7
188 | {% begin %}
Which expanded to:
> 75 |
> 76 |
> 77 | __temp_739 =
^
Error: type must be Ameba::Severity, not (Ameba::Severity | Nil)
There's a build error related to ameba 1.3.1:
Updating ameba to 1.5.0 seems to fix it