>>> odin: Building testing/odin 0.2024.07-r0 (using abuild 3.13.0-r3) started Tue, 02 Jul 2024 07:59:58 +0000 >>> odin: Checking sanity of /home/buildozer/aports/testing/odin/APKBUILD... >>> odin: Analyzing dependencies... >>> odin: Installing for build: build-base clang18 llvm18-libs clang18-dev compiler-rt llvm18 llvm18-dev python3 (1/32) Installing clang18-headers (18.1.8-r0) (2/32) Installing libffi (3.4.6-r0) (3/32) Installing xz-libs (5.6.2-r0) (4/32) Installing libxml2 (2.12.8-r0) (5/32) Installing llvm18-libs (18.1.8-r0) (6/32) Installing clang18-libs (18.1.8-r0) (7/32) Installing llvm18-linker-tools (18.1.8-r0) (8/32) Installing clang18 (18.1.8-r0) (9/32) Installing clang18-libclang (18.1.8-r0) (10/32) Installing clang18-extra-tools (18.1.8-r0) (11/32) Installing clang18-dev (18.1.8-r0) (12/32) Installing compiler-rt (18.1.8-r0) (13/32) Installing llvm18 (18.1.8-r0) (14/32) Installing linux-headers (6.6-r0) (15/32) Installing libffi-dev (3.4.6-r0) (16/32) Installing zlib-dev (1.3.1-r1) (17/32) Installing zstd (1.5.6-r0) (18/32) Installing zstd-dev (1.5.6-r0) (19/32) Installing libbz2 (1.0.8-r6) (20/32) Installing gdbm (1.23-r1) (21/32) Installing mpdecimal (4.0.0-r0) (22/32) Installing libpanelw (6.4_p20240420-r0) (23/32) Installing readline (8.2.10-r0) (24/32) Installing sqlite-libs (3.46.0-r0) (25/32) Installing python3 (3.12.3-r1) (26/32) Installing python3-pycache-pyc0 (3.12.3-r1) (27/32) Installing pyc (3.12.3-r1) (28/32) Installing llvm18-test-utils-pyc (18.1.8-r0) (29/32) Installing python3-pyc (3.12.3-r1) (30/32) Installing llvm18-test-utils (18.1.8-r0) (31/32) Installing llvm18-dev (18.1.8-r0) (32/32) Installing .makedepends-odin (20240702.080000) Executing busybox-1.36.1-r31.trigger OK: 1079 MiB in 139 packages >>> odin: Cleaning up srcdir >>> odin: Cleaning up pkgdir >>> odin: Cleaning up tmpdir >>> odin: Fetching https://distfiles.alpinelinux.org/distfiles/edge/odin-0.2024.07.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> odin: Fetching odin-0.2024.07.tar.gz::https://github.com/odin-lang/Odin/archive/refs/tags/dev-2024-07.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13159 0 13159 0 0 11688 0 --:--:-- 0:00:01 --:--:-- 11688 100 5610k 0 5610k 0 0 2862k 0 --:--:-- 0:00:01 --:--:-- 6704k 100 13.7M 0 13.7M 0 0 4777k 0 --:--:-- 0:00:02 --:--:-- 7704k 100 20.8M 0 20.8M 0 0 5378k 0 --:--:-- 0:00:03 --:--:-- 7507k 100 25.9M 0 25.9M 0 0 5361k 0 --:--:-- 0:00:04 --:--:-- 6931k 100 30.3M 0 30.3M 0 0 5222k 0 --:--:-- 0:00:05 --:--:-- 6435k 100 37.8M 0 37.8M 0 0 5562k 0 --:--:-- 0:00:06 --:--:-- 6621k 100 44.6M 0 44.6M 0 0 5743k 0 --:--:-- 0:00:07 --:--:-- 6316k 100 51.0M 0 51.0M 0 0 5836k 0 --:--:-- 0:00:08 --:--:-- 6198k 100 54.4M 0 54.4M 0 0 5570k 0 --:--:-- 0:00:10 --:--:-- 5775k 100 61.5M 0 61.5M 0 0 5747k 0 --:--:-- 0:00:10 --:--:-- 6373k 100 68.5M 0 68.5M 0 0 5868k 0 --:--:-- 0:00:11 --:--:-- 6293k 100 75.1M 0 75.1M 0 0 5940k 0 --:--:-- 0:00:12 --:--:-- 6253k 100 80.8M 0 80.8M 0 0 5929k 0 --:--:-- 0:00:13 --:--:-- 6094k 100 86.2M 0 86.2M 0 0 5907k 0 --:--:-- 0:00:14 --:--:-- 6590k 100 92.1M 0 92.1M 0 0 5910k 0 --:--:-- 0:00:15 --:--:-- 6267k 100 97.1M 0 97.1M 0 0 5868k 0 --:--:-- 0:00:16 --:--:-- 5868k 100 100M 0 100M 0 0 5722k 0 --:--:-- 0:00:17 --:--:-- 5158k 100 103M 0 103M 0 0 5605k 0 --:--:-- 0:00:18 --:--:-- 4701k 100 107M 0 107M 0 0 5506k 0 --:--:-- 0:00:19 --:--:-- 4305k 100 110M 0 110M 0 0 5418k 0 --:--:-- 0:00:20 --:--:-- 3847k 100 114M 0 114M 0 0 5340k 0 --:--:-- 0:00:21 --:--:-- 3555k 100 118M 0 118M 0 0 5268k 0 --:--:-- 0:00:22 --:--:-- 3639k 100 121M 0 121M 0 0 5208k 0 --:--:-- 0:00:23 --:--:-- 3707k 100 124M 0 124M 0 0 5172k 0 --:--:-- 0:00:24 --:--:-- 3746k >>> odin: Fetching https://distfiles.alpinelinux.org/distfiles/edge/odin-0.2024.07.tar.gz >>> odin: Checking sha512sums... odin-0.2024.07.tar.gz: OK >>> odin: Unpacking /var/cache/distfiles/edge/odin-0.2024.07.tar.gz... ./build_odin.sh release-native + /usr/lib/llvm18/bin/clang++ src/main.cpp src/libtommath.cpp -Wno-switch -Wno-macro-redefined -Wno-unused-value '-DODIN_VERSION_RAW="dev-2024-07"' -Os -fstack-clash-protection -Wformat '-Werror=format-security' '-D_GLIBCXX_ASSERTIONS=1' '-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1' '-D_LIBCPP_ENABLE_HARDENED_MODE=1' -fno-plt '-std=c++14' -I/usr/lib/llvm18/include '-std=c++17' -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -L/usr/lib/llvm18/lib -O3 '-march=native' -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -pthread -lm -lstdc++ -ldl /usr/lib/llvm18/lib/libLLVM-18.so '-Wl,-rpath=$ORIGIN' -o odin + set +x # the basics Hellope, World! from /home/buildozer/aports/testing/odin/src/Odin-dev-2024-07/demo. # control flow 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 H e l l o , 世 界 1 4 9 1 4 9 1 4 9 B C A 0 H 1 e 2 l 3 l 4 o 5 , 6 7 世 10 界 0 1 1 4 2 9 0 1 1 4 2 9 0 1 1 4 2 9 B 4 C 9 A 1 x is positive y is negative y is positive 64-bit x is positive c is alphanumeric 4 234 1 2 3 2 1 64 bit one_step beyond # named proc return parameters foo0 = 123 foo1 = 123 foo2 = 567 321 # variadic procedures sum(()) = 0 sum(1, 2) = 3 sum(1, 2, 3, 4, 5) = 15 sum(1, 2, 3, 4, 5, init_value = 5) = 20 odds = [1, 3, 5] sum(..odds) = 9 sum(..odds, init_value = 5) = 14 # explicit procedure overloading add_ints 3 add_floats 3 add_numbers 6 add_ints 3 add_floats 3 add_numbers 6 # struct type 4 Vector2{x = 1335, y = 2} # union type 137 true nil 137 true nil I'm a monster # using statement 0 0 0 0 0 0 # implicit context system # parametric polymorphism print_value: int 1 print_value: f32 2.0999999 print_value: f64 3.14 print_value: string message a: int = 7 b: f64 = 7.5 13 `found` is 36 `found` is 42 Para_Union($T) nil 123 Foo0 Generating an array of type [4]int from the value 4 of type int # array programming [0.5, 3.0, 6.5] 22.0 [-4, 8, -4] 0 # map type 2 # implicit selector expression HITHER 468 # partial_switch A A int # cstring_example Hellope Hellope Hellope 7 7 7 7 7 7 # bit_set type Days{Sunday, Monday} Days{Sunday, Monday, Saturday} true Saturday in Days{Sunday, Monday, Saturday} true Cardinality: 3 bit_set['A'..='Z'] bit_set[0..=8; u16] # deferred procedure associations Welcome Something in the middle, mate. Goodbye? true # reflection Foo :: struct { x: int `tag1`, y: string `json:"y_field"`, z: bool, } json: y -> y_field # quaternions (1+2i+3j+4k) * (5+6i+7j+8k) = -60+12i+30j+24k (1+2i+3j+4k) / (5+6i+7j+8k) = 0.40229885057471265-0.27586206896551724i+0j+0.25287356321839083k (1+2i+3j+4k) + (5+6i+7j+8k) = 6+8i+10j+12k (1+2i+3j+4k) - (5+6i+7j+8k) = -4-4i-4j-4k q = 1+2i+3j+4k real(q) = 1 imag(q) = 2 jmag(q) = 3 kmag(q) = 4 conj(q) = 1-2i-3j-4k abs(q) = 5.477225575051661 1+2i 1+2i+0j+0k Quaternion memory layout: xyzw/(ijkr) 1+2i+3j+4k [2, 3, 4, 1] #'#unroll for' statements Ranges 1 0 2 1 3 2 Strings H 0 e 1 l 2 l 3 o 4 , 5 6 世 7 界 10 Arrays 1 0 4 1 9 2 16 3 Enum types A 0 B 1 C 2 D 3 #procedure 'where' clauses -13 [12, -48, -12] foo was called with the parameter [1, 2, 3] bar was called with the parameter [4, 9] #foreign system #ranged fields for array compound literals [1, 4, 9, 16] [1, 4, 9, 16] [123, 0, 0, 0, 0, 54, 54, 54, 54, 54, 8, 8, 8, 8, 8, 8] [123, 0, 0, 0, 0, 54, 54, 54, 54, 54, 8, 8, 8, 8, 8, 8] [123, 0, 0, 0, 0, 54, 54, 54, 54, 54, 8, 8, 8, 8, 8, 8] #range statements with multiple return values 0 1 4 9 16 25 0 1 4 9 16 25 0 1 4 9 16 25 0 0 1 1 4 2 9 3 16 4 25 5 # threading_example ## Basic Threads Thread 1 is on iteration 1 `Red`: iteration 1 Thread 0 is on iteration 1 Thread 2 is on iteration 1 Thread 3 is on iteration 1 `White`: iteration 1 Thread 4 is on iteration 1 `Green`: iteration 1 `Blue`: iteration 1 `Octarine`: iteration 1 Thread 5 is on iteration 1 `Black`: iteration 1 Thread 1 is on iteration 2 `Red`: iteration 2 Thread 0 is on iteration 2 Thread 3 is on iteration 2 `White`: iteration 2 `Blue`: iteration 2 Thread 2 is on iteration 2 Thread 4 is on iteration 2 `Green`: iteration 2 `Octarine`: iteration 2 Thread 5 is on iteration 2 `Black`: iteration 2 Thread 1 is on iteration 3 `Red`: iteration 3 Thread 0 is on iteration 3 `White`: iteration 3 Thread 3 is on iteration 3 `Blue`: iteration 3 Thread 2 is on iteration 3 Thread 4 is on iteration 3 `Green`: iteration 3 Thread 5 is on iteration 3 `Octarine`: iteration 3 `Black`: iteration 3 Thread 1 is on iteration 4 `Red`: iteration 4 Thread 0 is on iteration 4 `White`: iteration 4 Thread 3 is on iteration 4 `Blue`: iteration 4 Thread 2 is on iteration 4 Thread 4 is on iteration 4 `Green`: iteration 4 Thread 5 is on iteration 4 `Octarine`: iteration 4 `Black`: iteration 4 Thread 1 is on iteration 5 `Red`: iteration 5 Thread 0 is on iteration 5 `White`: iteration 5 Thread 3 is on iteration 5 `Blue`: iteration 5 Thread 2 is on iteration 5 Thread 5 is on iteration 5 `Green`: iteration 5 `Black`: iteration 5 Thread 4 is on iteration 5 `Octarine`: iteration 5 Thread 0 is done Thread 1 is done Thread 3 is done Thread 5 is done Thread 2 is done Thread 4 is done ## Thread Pool Worker Task 0 is on iteration 1 `White`: iteration 1 Worker Task 2 is on iteration 1 `Green`: iteration 1 Worker Task 1 is on iteration 1 `Red`: iteration 1 Worker Task 0 is on iteration 2 `White`: iteration 2 Worker Task 2 is on iteration 2 `Green`: iteration 2 Worker Task 1 is on iteration 2 `Red`: iteration 2 Worker Task 0 is on iteration 3 `White`: iteration 3 Worker Task 2 is on iteration 3 `Green`: iteration 3 Worker Task 1 is on iteration 3 `Red`: iteration 3 Worker Task 0 is on iteration 4 `White`: iteration 4 Worker Task 2 is on iteration 4 `Green`: iteration 4 Worker Task 1 is on iteration 4 `Red`: iteration 4 Worker Task 0 is on iteration 5 `White`: iteration 5 Worker Task 2 is on iteration 5 `Green`: iteration 5 Worker Task 1 is on iteration 5 `Red`: iteration 5 Canceled last thread Worker Task 3 is on iteration 1 `Blue`: iteration 1 Worker Task 4 is on iteration 1 `Octarine`: iteration 1 Worker Task 5 is on iteration 1 `Black`: iteration 1 Worker Task 3 is on iteration 2 `Blue`: iteration 2 Worker Task 4 is on iteration 2 `Octarine`: iteration 2 Worker Task 5 is on iteration 2 `Black`: iteration 2 Worker Task 3 is on iteration 3 `Blue`: iteration 3 Worker Task 4 is on iteration 3 `Octarine`: iteration 3 Worker Task 5 is on iteration 3 `Black`: iteration 3 Worker Task 3 is on iteration 4 `Blue`: iteration 4 Worker Task 4 is on iteration 4 `Octarine`: iteration 4 Worker Task 5 is on iteration 4 `Black`: iteration 4 Worker Task 3 is on iteration 5 `Blue`: iteration 5 Worker Task 4 is on iteration 5 `Octarine`: iteration 5 Worker Task 5 is on iteration 5 `Black`: iteration 5 Worker Task 6 is on iteration 1 `White`: iteration 1 Worker Task 7 is on iteration 1 `Red`: iteration 1 Worker Task 8 is on iteration 1 `Green`: iteration 1 Worker Task 6 is on iteration 2 `White`: iteration 2 Worker Task 7 is on iteration 2 `Red`: iteration 2 Worker Task 8 is on iteration 2 `Green`: iteration 2 Worker Task 6 is on iteration 3 `White`: iteration 3 Worker Task 7 is on iteration 3 `Red`: iteration 3 Worker Task 8 is on iteration 3 `Green`: iteration 3 Worker Task 6 is on iteration 4 `White`: iteration 4 Worker Task 7 is on iteration 4 `Red`: iteration 4 Worker Task 8 is on iteration 4 `Green`: iteration 4 Worker Task 6 is on iteration 5 `White`: iteration 5 Worker Task 7 is on iteration 5 `Red`: iteration 5 Worker Task 8 is on iteration 5 `Green`: iteration 5 Worker Task 9 is on iteration 1 `Blue`: iteration 1 Worker Task 10 is on iteration 1 `Octarine`: iteration 1 Worker Task 11 is on iteration 1 `Black`: iteration 1 Worker Task 9 is on iteration 2 `Blue`: iteration 2 Worker Task 10 is on iteration 2 `Octarine`: iteration 2 Worker Task 11 is on iteration 2 `Black`: iteration 2 Worker Task 9 is on iteration 3 `Blue`: iteration 3 Worker Task 10 is on iteration 3 `Octarine`: iteration 3 Worker Task 11 is on iteration 3 `Black`: iteration 3 Worker Task 9 is on iteration 4 `Blue`: iteration 4 Worker Task 10 is on iteration 4 `Octarine`: iteration 4 Worker Task 11 is on iteration 4 `Black`: iteration 4 Worker Task 9 is on iteration 5 `Blue`: iteration 5 Worker Task 10 is on iteration 5 `Octarine`: iteration 5 Worker Task 11 is on iteration 5 `Black`: iteration 5 Worker Task 12 is on iteration 1 `White`: iteration 1 Worker Task 13 is on iteration 1 `Red`: iteration 1 Worker Task 14 is on iteration 1 `Green`: iteration 1 Worker Task 12 is on iteration 2 `White`: iteration 2 Worker Task 13 is on iteration 2 `Red`: iteration 2 Worker Task 14 is on iteration 2 `Green`: iteration 2 Worker Task 12 is on iteration 3 `White`: iteration 3 Worker Task 13 is on iteration 3 `Red`: iteration 3 Worker Task 14 is on iteration 3 `Green`: iteration 3 Worker Task 12 is on iteration 4 `White`: iteration 4 Worker Task 13 is on iteration 4 `Red`: iteration 4 Worker Task 14 is on iteration 4 `Green`: iteration 4 Worker Task 12 is on iteration 5 `White`: iteration 5 Worker Task 13 is on iteration 5 `Red`: iteration 5 Worker Task 14 is on iteration 5 `Green`: iteration 5 Worker Task 15 is on iteration 1 `Blue`: iteration 1 Worker Task 16 is on iteration 1 `Octarine`: iteration 1 Worker Task 17 is on iteration 1 `Black`: iteration 1 Worker Task 15 is on iteration 2 `Blue`: iteration 2 Worker Task 16 is on iteration 2 `Octarine`: iteration 2 Worker Task 17 is on iteration 2 `Black`: iteration 2 Worker Task 15 is on iteration 3 `Blue`: iteration 3 Worker Task 16 is on iteration 3 `Octarine`: iteration 3 Worker Task 17 is on iteration 3 `Black`: iteration 3 Worker Task 15 is on iteration 4 `Blue`: iteration 4 Worker Task 17 is on iteration 4 `Black`: iteration 4 Worker Task 16 is on iteration 4 `Octarine`: iteration 4 Worker Task 15 is on iteration 5 `Blue`: iteration 5 Worker Task 17 is on iteration 5 `Black`: iteration 5 Worker Task 16 is on iteration 5 `Octarine`: iteration 5 Worker Task 18 is on iteration 1 `White`: iteration 1 Worker Task 19 is on iteration 1 `Red`: iteration 1 Worker Task 20 is on iteration 1 `Green`: iteration 1 Worker Task 18 is on iteration 2 `White`: iteration 2 Worker Task 19 is on iteration 2 `Red`: iteration 2 Worker Task 20 is on iteration 2 `Green`: iteration 2 Worker Task 18 is on iteration 3 `White`: iteration 3 Worker Task 19 is on iteration 3 `Red`: iteration 3 Worker Task 20 is on iteration 3 `Green`: iteration 3 Worker Task 18 is on iteration 4 `White`: iteration 4 Worker Task 19 is on iteration 4 `Red`: iteration 4 Worker Task 20 is on iteration 4 `Green`: iteration 4 Worker Task 18 is on iteration 5 `White`: iteration 5 Worker Task 19 is on iteration 5 `Red`: iteration 5 Worker Task 20 is on iteration 5 `Green`: iteration 5 Worker Task 21 is on iteration 1 `Blue`: iteration 1 Worker Task 22 is on iteration 1 `Octarine`: iteration 1 Worker Task 23 is on iteration 1 `Black`: iteration 1 Worker Task 21 is on iteration 2 `Blue`: iteration 2 Worker Task 22 is on iteration 2 `Octarine`: iteration 2 Worker Task 23 is on iteration 2 `Black`: iteration 2 Worker Task 21 is on iteration 3 `Blue`: iteration 3 Worker Task 22 is on iteration 3 `Octarine`: iteration 3 Worker Task 23 is on iteration 3 `Black`: iteration 3 Worker Task 21 is on iteration 4 `Blue`: iteration 4 Worker Task 22 is on iteration 4 `Octarine`: iteration 4 Worker Task 23 is on iteration 4 `Black`: iteration 4 Worker Task 21 is on iteration 5 `Blue`: iteration 5 Worker Task 22 is on iteration 5 `Octarine`: iteration 5 Worker Task 23 is on iteration 5 `Black`: iteration 5 Worker Task 24 is on iteration 1 `White`: iteration 1 Worker Task 25 is on iteration 1 `Red`: iteration 1 Worker Task 26 is on iteration 1 `Green`: iteration 1 Worker Task 24 is on iteration 2 `White`: iteration 2 Worker Task 25 is on iteration 2 `Red`: iteration 2 Worker Task 26 is on iteration 2 `Green`: iteration 2 Worker Task 24 is on iteration 3 `White`: iteration 3 Worker Task 25 is on iteration 3 `Red`: iteration 3 Worker Task 26 is on iteration 3 `Green`: iteration 3 Worker Task 24 is on iteration 4 `White`: iteration 4 Worker Task 25 is on iteration 4 `Red`: iteration 4 Worker Task 26 is on iteration 4 `Green`: iteration 4 Worker Task 24 is on iteration 5 `White`: iteration 5 Worker Task 25 is on iteration 5 `Red`: iteration 5 Worker Task 26 is on iteration 5 `Green`: iteration 5 Worker Task 27 is on iteration 1 `Blue`: iteration 1 Worker Task 28 is on iteration 1 `Octarine`: iteration 1 Worker Task 29 is on iteration 1 `Black`: iteration 1 Worker Task 27 is on iteration 2 `Blue`: iteration 2 Worker Task 28 is on iteration 2 `Octarine`: iteration 2 Worker Task 29 is on iteration 2 `Black`: iteration 2 Worker Task 27 is on iteration 3 `Blue`: iteration 3 Worker Task 28 is on iteration 3 `Octarine`: iteration 3 Worker Task 29 is on iteration 3 `Black`: iteration 3 Worker Task 27 is on iteration 4 `Blue`: iteration 4 Worker Task 28 is on iteration 4 `Octarine`: iteration 4 Worker Task 29 is on iteration 4 `Black`: iteration 4 Worker Task 27 is on iteration 5 `Blue`: iteration 5 Worker Task 28 is on iteration 5 `Octarine`: iteration 5 Worker Task 29 is on iteration 5 `Black`: iteration 5 #SOA Struct Layout 2 Vector3{x = 1, y = 4, z = 9} 1 0x7FFCD3DEEE10 Vector3{x = 2, y = 3, z = 4} [Vector3{x = 1, y = 4, z = 9}, Vector3{x = 2, y = 3, z = 4}] 2 Vector3{x = 1, y = 4, z = 9} 1 0x7FFCD3DEECB0 Vector3{x = 2, y = 3, z = 4} 1 [Vector3{x = 1, y = 4, z = 9}, Vector3{x = 2, y = 3, z = 4}] [Vector3{x = 1, y = 4, z = 9}, Vector3{x = 2, y = 3, z = 4}] [Vector3{x = 1, y = 4, z = 9}, Vector3{x = 0, y = 0, z = 0}, Vector3{x = 0, y = 0, z = 0}] 1 [Vector3{x = 0, y = 0, z = 0}] [Vector3{x = 1, y = 2, z = 3}, Vector3{x = 4, y = 5, z = 9}, Vector3{x = -4, y = -4, z = 3}] 3 8 [Vector3{x = 1, y = 2, z = 3}, Vector3{x = 4, y = 5, z = 9}, Vector3{x = -4, y = -4, z = 3}] soa_zip and soa_unzip {a = 1, b = 2, c = true} 0 1 2 true {a = 3, b = 4, c = false} 1 3 4 false {a = 9, b = 16, c = true} 2 9 16 true [1, 3, 9] [2, 4, 16] [true, false, true] #constant literal expressions 1 2 Bar{x = 3, y = 4} 3 4 3 4 ------- 1 4 9 ------- 0 ------- 1 1 1 16 ------- 1 1 1 16 ------- 72 108 108 Hello lope #union based maybe 123 0x7FFCD3DEEE1B 123 0x7FFCD3DEEE1B 0x0 false 0x7FFCD3DEEE1B true #explicit context definition dummy_procedure #relative data types 123 0x1 [1, 2, 3] 2 #'or_else' #'or_return' #'or_break' and 'or_continue' # core:math/big Random Prime A: 7327737999788360131 (base: 10, bits: 63, digits: 2) Random number iterations until prime found: 25 Packed into u32 buf: [75776451, 1706121955] | err: Okay | written: 2 Packed into buf of 6-bit bytes: [3, 7, 4, 33, 4, 12, 46, 22, 49, 22, 6] | err: Okay | written: 11 2048 bit random number: 23008155885793038724769402418604464321257500456294922767848808617911142725965592146379621433539385700747294028267346253627245346664878656993562706475813112264001607852604879476642783239797221307854856301743348539974631685381037187297373211334384496294954089931418781818952053075433248789696574349462718394124339462157733232183399893760985139712307756304050653109012180153219476337604582107897953239091689839818413672034334566591998620884963791336308871516618506874420628620031351138490626511283611058958117532462182049640674481506722008530623276990845590688776122497207215388039755615115193333958883143070061637987838 (base: 10, bits: 2048, digits: 35) GCD of random prime A and random number B: 1 (base: 10, bits: 1, digits: 1) LCM of random prime A and random number B (in base 36): 1STNJCQ4BIB1BUGLZ5XAF40Y7J9WV726L3VOUL18HDEGGEKFYBORWT0PXZ6NEQ32VW5X4TKB640AYBTKY2LEB0BOXE7XG7W3TM6CIVV0O4UYNQX8CWL5OELYYAEVRVXUKZGB3G0URL1J0TG7C16TLHRYAX9V0KA63JERD0HA9JJPD54LZDS69DV8LJHEQAPG0J4FP2JQTKK5HS1F7LNG1XUD4BZ1MEYK6NOYUCC9VB5377EZA7LJ5VRIQ3GI7QDK5H5B0GHLH2JBS5805MS44HPZO31RMU0CQJ632J9GXQ48H1KTV40H5RU8O1F03TD33XV2VEOLAEESY1DIL6LDM2HBBMN23WYLAA6K0JBBGHMRHSUGIG9E2XMPX32KXOCJWDBWU3R3VY5E2FPCM4DE6O6T6 (base: 36, bits: 2111, digits: 36) # matrix type b matrix[3, 0; 0, 3] b == f true a matrix[2, 3, 1; 4, 5, 0] b matrix[1, 2; 3, 4; 5, 6] c = a * b matrix[16, 22; 19, 28] m * v [35, 52, 17, 24] v * m [26, 34, 47, 17] r [16, 20, 15, 11] a + b matrix[-4, 3; 12, -3] a - b matrix[6, 1; -6, 11] a & b matrix[1, 0; 1, 0] a | b matrix[-5, 3; 11, -3] a ~ b matrix[-6, 3; 10, -3] a &~ b matrix[0, 2; 2, 4] hadamard_product(a, b) matrix[-5, 2; 27, -28] m2 matrix[ 1, 3, 2, 4, ] m4 matrix[1, 3, 0, 0; 2, 4, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1] mat2(m4) matrix[1, 3; 2, 4] b4 [1, 3, 5, 0, 2, 4, 0, 7, 0, 0, 6, 0, 0, 0, 0, 8] x matrix[1, 3, 5, 7; 2, 4, 6, 8] y matrix[1, 5; 2, 6; 3, 7; 4, 8] # bit_field type 3 make: Entering directory '/home/buildozer/aports/testing/odin/src/Odin-dev-2024-07/vendor/miniaudio/src' mkdir -p ../lib gcc -c -O2 -Os -fPIC miniaudio.c ar rcs ../lib/miniaudio.a miniaudio.o #gcc -fPIC -shared -Wl,-soname=miniaudio.so -o ../lib/miniaudio.so miniaudio.o rm *.o make: Leaving directory '/home/buildozer/aports/testing/odin/src/Odin-dev-2024-07/vendor/miniaudio/src' make: Entering directory '/home/buildozer/aports/testing/odin/src/Odin-dev-2024-07/vendor/stb/src' mkdir -p ../lib gcc -c -O2 -Os -fPIC stb_image.c stb_image_write.c stb_image_resize.c stb_truetype.c stb_rect_pack.c stb_vorbis.c ar rcs ../lib/stb_image.a stb_image.o ar rcs ../lib/stb_image_write.a stb_image_write.o ar rcs ../lib/stb_image_resize.a stb_image_resize.o ar rcs ../lib/stb_truetype.a stb_truetype.o ar rcs ../lib/stb_rect_pack.a stb_rect_pack.o ar rcs ../lib/stb_vorbis.a stb_vorbis.o #gcc -fPIC -shared -Wl,-soname=stb_image.so -o ../lib/stb_image.so stb_image.o #gcc -fPIC -shared -Wl,-soname=stb_image_write.so -o ../lib/stb_image_write.so stb_image_write.o #gcc -fPIC -shared -Wl,-soname=stb_image_resize.so -o ../lib/stb_image_resize.so stb_image_resize.o #gcc -fPIC -shared -Wl,-soname=stb_truetype.so -o ../lib/stb_truetype.so stb_image_truetype.o #gcc -fPIC -shared -Wl,-soname=stb_rect_pack.so -o ../lib/stb_rect_pack.so stb_rect_packl.o #gcc -fPIC -shared -Wl,-soname=stb_vorbis.so -o ../lib/stb_vorbis.so stb_vorbisl.o rm *.o make: Leaving directory '/home/buildozer/aports/testing/odin/src/Odin-dev-2024-07/vendor/stb/src' make: Entering directory '/home/buildozer/aports/testing/odin/src/Odin-dev-2024-07/vendor/cgltf/src' mkdir -p ../lib gcc -c -O2 -Os -fPIC cgltf.c ar rcs ../lib/cgltf.a cgltf.o rm *.o make: Leaving directory '/home/buildozer/aports/testing/odin/src/Odin-dev-2024-07/vendor/cgltf/src' [?25l]2;Odin test runner (0/2)\[INFO ] --- [2024-07-02 08:02:11] Starting test runner with 2 threads. Set with -define:ODIN_TEST_THREADS=n. [INFO ] --- [2024-07-02 08:02:11] The random seed sent to every test is: 3979921857252378. Set with -define:ODIN_TEST_RANDOM_SEED=n. [INFO ] --- [2024-07-02 08:02:11] Memory tracking is enabled. Tests will log their memory usage if there's an issue. [INFO ] --- [2024-07-02 08:02:11] < Final Mem/ Total Mem> < Peak Mem> (#Free/Alloc) :: [package.test_name] [XXH32 100 zero bytes] 1000 rounds, 100000 bytes processed in 312788 ns 3197053.595 rounds/s, 304.895 MiB/s [XXH32 1 MiB zero bytes] 1000 rounds, 1048576000 bytes processed in 3074473313 ns 325.259 rounds/s, 325.259 MiB/s [XXH64 100 zero bytes] 1000 rounds, 100000 bytes processed in 297231 ns 3364386.622 rounds/s, 320.853 MiB/s [XXH64 1 MiB zero bytes] 1000 rounds, 1048576000 bytes processed in 2251679654 ns 444.113 rounds/s, 444.113 MiB/s [XXH3_64 100 zero bytes] 1000 rounds, 100000 bytes processed in 228497 ns 4376425.073 rounds/s, 417.368 MiB/s [XXH3_64 1 MiB zero bytes] 1000 rounds, 1048576000 bytes processed in 1536077207 ns 651.009 rounds/s, 651.009 MiB/s [XXH3_128 100 zero bytes] 1000 rounds, 100000 bytes processed in 301385 ns 3318015.163 rounds/s, 316.431 MiB/s [XXH3_128 1 MiB zero bytes] 1000 rounds, 1048576000 bytes processed in 1500521771 ns 666.435 rounds/s, 666.435 MiB/s ]2;Odin test runner (1/2)\]2;Odin test runner (2/2)\[INFO ] --- [2024-07-02 08:03:33] [benchmark_crypto.odin:27:benchmark_crypto()] [ChaCha20 64 bytes] 1000 rounds, 64000 bytes processed in 2454440 ns 407424.912 rounds/s, 24.867 MiB/s [ChaCha20 1024 bytes] 1000 rounds, 1024000 bytes processed in 37631553 ns 26573.445 rounds/s, 25.951 MiB/s [ChaCha20 65536 bytes] 1000 rounds, 65536000 bytes processed in 2180752957 ns 458.557 rounds/s, 28.660 MiB/s [Poly1305 64 zero bytes] 1000 rounds, 64000 bytes processed in 1569546 ns 637126.914 rounds/s, 38.887 MiB/s [Poly1305 1024 zero bytes] 1000 rounds, 1024000 bytes processed in 17642414 ns 56681.586 rounds/s, 55.353 MiB/s [chacha20poly1305 64 bytes] 1000 rounds, 64000 bytes processed in 6466049 ns 154653.947 rounds/s, 9.439 MiB/s [chacha20poly1305 1024 bytes] 1000 rounds, 1024000 bytes processed in 55147196 ns 18133.288 rounds/s, 17.708 MiB/s [chacha20poly1305 65536 bytes] 1000 rounds, 65536000 bytes processed in 3304611289 ns 302.607 rounds/s, 18.913 MiB/s [AES256-GCM 64 bytes] 1000 rounds, 64000 bytes processed in 11896163 ns 84060.718 rounds/s, 5.131 MiB/s [AES256-GCM 1024 bytes] 1000 rounds, 1024000 bytes processed in 84021734 ns 11901.682 rounds/s, 11.623 MiB/s [AES256-GCM 65536 bytes] 1000 rounds, 65536000 bytes processed in 4781006235 ns 209.161 rounds/s, 13.073 MiB/s ed25519.private_key_set_bytes: ~1814.927 us/op ed25519.public_key_set_bytes: ~129.926 us/op ed25519.sign: ~1807.887 us/op ed25519.verify: ~2031.695 us/op x25519.scalarmult: ~1353.446 us/op [?25h Finished 2 tests in 1m21.862656291s. All tests were successful. No tests to run. >>> odin: Entering fakeroot... >>> odin-vendor*: Running split function vendor... >>> odin-vendor*: Preparing subpackage odin-vendor... >>> odin-vendor*: Stripping binaries >>> odin-vendor*: Running postcheck for odin-vendor >>> odin-doc*: Running split function doc... >>> odin-doc*: Preparing subpackage odin-doc... >>> odin-doc*: Running postcheck for odin-doc >>> odin*: Running postcheck for odin >>> odin*: Preparing package odin... >>> odin*: Stripping binaries >>> odin-doc*: Scanning shared objects >>> odin-vendor*: Scanning shared objects >>> odin*: Scanning shared objects >>> odin-doc*: Tracing dependencies... >>> odin-doc*: Package size: 40.0 KB >>> odin-doc*: Compressing data... >>> odin-doc*: Create checksum... >>> odin-doc*: Create odin-doc-0.2024.07-r0.apk >>> odin-vendor*: Tracing dependencies... >>> odin-vendor*: Package size: 68.4 MB >>> odin-vendor*: Compressing data... >>> odin-vendor*: Create checksum... >>> odin-vendor*: Create odin-vendor-0.2024.07-r0.apk >>> odin*: Tracing dependencies... clang18 llvm18-libs so:libLLVM.so.18.1 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> odin*: Package size: 11.0 MB >>> odin*: Compressing data... >>> odin*: Create checksum... >>> odin*: Create odin-0.2024.07-r0.apk >>> odin: Build complete at Tue, 02 Jul 2024 08:03:36 +0000 elapsed time 0h 3m 38s >>> odin: Cleaning up srcdir >>> odin: Cleaning up pkgdir >>> odin: Uninstalling dependencies... (1/32) Purging .makedepends-odin (20240702.080000) (2/32) Purging clang18-dev (18.1.8-r0) (3/32) Purging clang18-extra-tools (18.1.8-r0) (4/32) Purging clang18 (18.1.8-r0) (5/32) Purging clang18-libclang (18.1.8-r0) (6/32) Purging clang18-headers (18.1.8-r0) (7/32) Purging clang18-libs (18.1.8-r0) (8/32) Purging compiler-rt (18.1.8-r0) (9/32) Purging llvm18-dev (18.1.8-r0) (10/32) Purging llvm18 (18.1.8-r0) (11/32) Purging llvm18-linker-tools (18.1.8-r0) (12/32) Purging libffi-dev (3.4.6-r0) (13/32) Purging linux-headers (6.6-r0) (14/32) Purging zlib-dev (1.3.1-r1) (15/32) Purging zstd-dev (1.5.6-r0) (16/32) Purging zstd (1.5.6-r0) (17/32) Purging llvm18-test-utils-pyc (18.1.8-r0) (18/32) Purging llvm18-test-utils (18.1.8-r0) (19/32) Purging llvm18-libs (18.1.8-r0) (20/32) Purging python3-pyc (3.12.3-r1) (21/32) Purging python3-pycache-pyc0 (3.12.3-r1) (22/32) Purging pyc (3.12.3-r1) (23/32) Purging python3 (3.12.3-r1) (24/32) Purging gdbm (1.23-r1) (25/32) Purging libbz2 (1.0.8-r6) (26/32) Purging libffi (3.4.6-r0) (27/32) Purging libpanelw (6.4_p20240420-r0) (28/32) Purging libxml2 (2.12.8-r0) (29/32) Purging mpdecimal (4.0.0-r0) (30/32) Purging readline (8.2.10-r0) (31/32) Purging sqlite-libs (3.46.0-r0) (32/32) Purging xz-libs (5.6.2-r0) Executing busybox-1.36.1-r31.trigger OK: 378 MiB in 107 packages >>> odin: Updating the testing/x86_64 repository index... >>> odin: Signing the index...