╰──➤ $ shards build
Dependencies are satisfied
Building: new_app
Error target new_app failed to compile:
BUG: called type_id for Array(Config)+.class (Crystal::VirtualMetaclassType) (Exception)
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '??'
from /home/zw963/Crystal/bin/crystal in '__crystal_main'
from /home/zw963/Crystal/bin/crystal in 'main'
from /usr/lib/libc.so.6 in '??'
from /usr/lib/libc.so.6 in '__libc_start_main'
from /home/zw963/Crystal/bin/crystal in '_start'
from ???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues
https://forum.crystal-lang.org/t/wired-compiler-error-bug-called-type-id-for-array-config-class-crystal-virtualmetaclasstype-exception/7400
You can reproduce it use Crystal 1.14.0 use following project:
https://github.com/zw963/new_app