❯ make test-verbose cargo build --release warning: variable `has_hex_digit` is assigned to, but never used --> src/compiler/syntax/lexer.rs:232:29 | 232 | let mut has_hex_digit = false; | ^^^^^^^^^^^^^ | = note: consider using `_has_hex_digit` instead = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: value assigned to `has_hex_digit` is never read --> src/compiler/syntax/lexer.rs:237:29 | 237 | ... has_hex_digit = true; | ^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: variable `has_octal_digit` is assigned to, but never used --> src/compiler/syntax/lexer.rs:254:29 | 254 | let mut has_octal_digit = false; | ^^^^^^^^^^^^^^^ | = note: consider using `_has_octal_digit` instead warning: value assigned to `has_octal_digit` is never read --> src/compiler/syntax/lexer.rs:259:29 | 259 | ... has_octal_digit = true; | ^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? warning: multiple methods are never used --> src/compiler/backend/asm.rs:46:8 | 14 | impl AsmBackend { | --------------- methods in this implementation ... 46 | fn emit_syscall_write(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^^ ... 51 | fn emit_syscall_exit(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^ ... 56 | fn emit_syscall_mmap(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^ ... 62 | fn emit_syscall_read(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^ ... 67 | fn emit_syscall_open(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^ ... 72 | fn emit_syscall_close(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^^ ... 77 | fn emit_syscall_stat(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^ ... 82 | fn emit_syscall_getdents64(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 87 | fn emit_syscall_unlink(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^^^ ... 92 | fn emit_syscall_access(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^^^ ... 97 | fn emit_syscall_nanosleep(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^^^^^^ ... 102 | fn emit_syscall_clock_gettime(&self, out: &mut String) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 125 | fn stat_st_size_offset(&self) -> usize { | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `lower_global_function_call` is never used --> src/compiler/ir/mod.rs:3776:8 | 664 | impl<'a> FunctionBuilder<'a> { | ---------------------------- method in this implementation ... 3776 | fn lower_global_function_call( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: `ncc` (lib) generated 6 warnings Finished `release` profile [optimized] target(s) in 0.02s Running tests with verbose output... ==================== array_range.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running array_range.nc... --- Basic Slice --- [0, 1, 1, 2, 3] [1, 2, 3, 5] --- Step Slice --- [0, 1, 3, 8, 21, 55] FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== array_simple.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running array_simple.nc... Array created Index: 0 Index: 1 Index: 2 Done FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== assert.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running assert.nc... Assert passed: x < y Assert passed: x != y Assert passed: true All assertions passed! FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== async_await.fail.nc ==================== Expected: FAIL check (legacy) Error: expected function call after 'async' --> tests/async_await.fail.nc:12:26 | 12 | int* future = async 5 | ^ | here Error: compilation halted: 1 errors emitted FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED (error as expected) ==================== async_error_handling.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running async_error_handling.nc... Success! Value: 42 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== async.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running async.nc... Result from async call: 5050 Result 2: 5050 Result 3: 5050 All async operations completed! FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== async_type_mismatch.fail.nc ==================== Expected: FAIL check (legacy) Error: cannot initialize variable 'result' of type 'int' with value of type 'int*' --> tests/async_type_mismatch.fail.nc:10:5 | 10 | int result = async returnsInt() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | Error: cannot await non-Future type 'int' --> tests/async_type_mismatch.fail.nc:14:19 | 14 | int y = await x | ^ | Error: type validation failed FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED (error as expected) ==================== bool.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running bool.nc... True is: true False is: false t is true f is false FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== builtins_combined.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running builtins_combined.nc... new(int) = 0 int("789") = 789 Assert passed: val = 100 str(new(int)) = "0" All builtin function tests passed! FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== byte_test.nc ==================== Expected: PASS check and test FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Testing byte_test.nc... No tests found in tests/byte_test.nc FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== char_conversion.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running char_conversion.nc... ASCII 'A' test passed ASCII 'z' test passed Digit '0' test passed Special chars test passed 2-byte UTF-8: é Greek alpha: α Chinese 中: 中 Heart: ❤ Emoji: 😀 Thumbs up: 👍 Invalid surrogate: � Over max unicode: � Null char length: should work Max ASCII (DEL): passed Max unicode codepoint: 􏿿 Byte to char conversion passed int(char) round-trip passed byte(char) conversion passed All char() tests passed! FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== char_test.nc ==================== Expected: PASS check and test FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Testing char_test.nc... No tests found in tests/char_test.nc FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== comparison.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running comparison.nc... String: abc Length: 3 0 < 3: true 1 < 3: true 2 < 3: true 3 < 3: false (CORRECT) FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== compound.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running compound.nc... Numerator: 20, Denominator: 31 Numerator: 40, Denominator: 31 x = 15 x = 12 x = 24 x = 6 x = 2 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== enum.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running enum.nc... complete failed pending 1 0 stat1 is Complete stat2 is not Pending FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== error_handling.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running error_handling.nc... Result: 5 Got expected error: division by zero Found at index: 2 Correctly not found FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== file_buffer.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running file_buffer.nc... Wrote 20 bytes Read 20 bytes File contents: ABCDEFGHIJKLMNOPQRST Content verified! Seek test passed! SEEK_CUR test passed! SEEK_END test passed! Chunked reading test passed! Read 20 bytes in 4 chunks write_str test passed! Original: Hello, world! Read back: Hello, world! String to bytes round-trip passed! All buffer I/O tests passed! FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== functions_as_values.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running functions_as_values.nc... FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== int_conversions.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running int_conversions.nc... int() conversions: 123, 456 uint() conversions: 789, 100 bigint() conversions: 123456789, 999 type conversions: int=42, uint=42, bigint=42 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== int_decimal_trunc.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running int_decimal_trunc.nc... decimal to int (truncated): 3.14d -> 3, 2.99d -> 2, -1.5d -> -3 decimal to uint (truncated): 3.14d -> 3, 2.99d -> 2 decimal to bigint (truncated): 3.14d -> 3 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== int_hex_octal.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running int_hex_octal.nc... hex values: 0xFF=255, 0xff=255, 0x10=16, 0xABCD=43981 octal values: 0o777=511, 0o10=8, 0o123=83 0xFF + 0o10 = 263 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== int_type_incompatibility.fail.nc ==================== Expected: FAIL check (legacy) Error: cannot mix bigint with int or uint in arithmetic operator '+' --> tests/int_type_incompatibility.fail.nc:8:19 | 8 | int result1 = i + b // Error: cannot mix bigint with int | ^ | --> tests/int_type_incompatibility.fail.nc:8:23 | 8 | int result1 = i + b // Error: cannot mix bigint with int | ^ | Error: cannot mix bigint with int or uint in arithmetic operator '+' --> tests/int_type_incompatibility.fail.nc:9:22 | 9 | bigint result2 = b + i // Error: cannot mix bigint with int | ^ | --> tests/int_type_incompatibility.fail.nc:9:26 | 9 | bigint result2 = b + i // Error: cannot mix bigint with int | ^ | Error: cannot mix bigint with int or uint in arithmetic operator '*' --> tests/int_type_incompatibility.fail.nc:10:19 | 10 | int result3 = i * b // Error: cannot mix bigint with int | ^ | --> tests/int_type_incompatibility.fail.nc:10:23 | 10 | int result3 = i * b // Error: cannot mix bigint with int | ^ | Error: type validation failed FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED (error as expected) ==================== int_types.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running int_types.nc... int values: 42, -100 uint values: 100, 0 bigint values: 0, 999 converted from string: int=123, uint=456, bigint=789 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== listdir.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running listdir.nc... === Using io.stat (single file) === README.md: size=786, is_dir=0, mode=420 === Using io.readdir (directory listing) === Found 13 entries: [dir] .github: 4096 bytes [file] Makefile: 6916 bytes [dir] tests: 4096 bytes [dir] target: 4096 bytes [file] .gitignore: 708 bytes [dir] .git: 4096 bytes [file] LICENSE: 11356 bytes [dir] .idea: 4096 bytes [dir] src: 4096 bytes [file] Cargo.lock: 6566 bytes [file] Cargo.toml: 238 bytes [dir] std: 4096 bytes [file] README.md: 786 bytes === Recursive directory listing === [file] Makefile [dir] tests/ [file] variadic_debug.nc [file] int_hex_octal.nc [file] testing.test.nc [file] scope_leak_if.fail.nc [file] segfault.fail.run.nc [file] struct.nc [file] struct_array.nc [file] panic.fail.run.nc [file] functions_as_values.nc [file] variadic_iter.nc [file] error_handling.nc [file] async.nc [file] variadic.nc [file] nested_struct_array.nc [file] builtins_combined.nc [file] enum.nc [file] type_casts.nc [file] simple_slice.nc [file] listdir.nc [file] scope_leak.fail.nc [file] char_conversion.nc [file] variadic_simple.nc [file] comparison.nc [file] int_types.nc [file] type_alias.nc [file] str.nc [file] loops.nc [file] tuples_comprehensive.nc [file] array_simple.nc [file] type_alias_func.nc [file] file_buffer.nc [file] async_type_mismatch.fail.nc [file] int_conversions.nc [file] char_test.nc [file] new.nc [file] assert.nc [file] loop_scope.nc [file] shadowing.nc [file] type_alias_nested.nc [file] int_decimal_trunc.nc [file] array_range.nc [file] byte_test.nc [file] bool.nc [file] async_await.fail.nc [file] operators.nc [file] time_now.nc [file] compound.nc [file] int_type_incompatibility.fail.nc [file] async_error_handling.nc [file] time_sleep.nc [file] .gitignore [file] LICENSE [dir] src/ [file] lib.rs [dir] compiler/ [dir] passes/ [file] mod.rs [file] optimizations.rs [dir] syntax/ [file] ast.rs [file] mod.rs [file] lexer.rs [file] parser.rs [file] ast_printer.rs [dir] source/ [file] mod.rs [file] driver.rs [file] target.rs [file] mod.rs [dir] hir/ [file] mod.rs [dir] backend/ [file] mod.rs [file] asm.rs [dir] diagnostics/ [file] mod.rs [file] runtime.rs [dir] ir/ [file] mod.rs [file] cli.rs [file] main.rs [file] Cargo.lock [file] Cargo.toml [dir] std/ [file] os.nc [file] math.nc [file] io.nc [file] time.nc [file] README.md FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== loop_scope.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running loop_scope.nc... n: 0 1 n: 1 2 n: 2 3 x: 2 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== loops.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running loops.nc... a = 0 a = 1 a = 2 a = 3 a = 4 a = 5 a = 6 a = 7 a = 8 a = 9 b = 2 b = 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 3 5 7 9 11 13 15 17 19 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== nested_struct_array.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running nested_struct_array.nc... All tests passed! FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== new.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running new.nc... new(int) = 0 new(bool) = 0 new(str) = "" new(int) again = 0 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== operators.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running operators.nc... === Arithmetic Operators === a = 10, b = 3 a + b = 13 a - b = 7 a * b = 30 a / b = 3 a % b = 1 a ** b = 1000 === Comparison Operators === a == b: 0 a != b: 1 a < b: 0 a > b: 1 a <= b: 0 a >= b: 1 === Logical Operators === x = 1, y = 0 x and y: 0 x or y: 1 not x: 0 not y: 1 === Bitwise Operators === c = 5, d = 3 c << 1 = 10 c >> 1 = 2 c & d = 1 c | d = 7 c ^ d = 6 !c = -6 === Concatenation Operator === s1 <> s2 <> s3 = Hello World arr1 <> arr2: concatenated (array length: 771) === Unary Operators === e = 42 -e = -42 !e = -43 f = 1 not f = 0 === Operator Precedence === 2 + 3 * 4 = 14 true and false or true = 1 1 + 2 << 1 = 6 === All tests completed === FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== panic.fail.run.nc ==================== Expected: PASS check, FAIL run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running panic.fail.run.nc... Test panic messageFINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED (runtime error as expected) ==================== scope_leak.fail.nc ==================== Expected: FAIL check (legacy) Error: undefined variable 'n' --> tests/scope_leak.fail.nc:7:13 | 7 | int x = n | ^ | here Error: compilation halted: 1 errors emitted FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED (error as expected) ==================== scope_leak_if.fail.nc ==================== Expected: FAIL check (legacy) Error: undefined variable 'y' --> tests/scope_leak_if.fail.nc:5:13 | 5 | int z = y | ^ | here Error: compilation halted: 1 errors emitted FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED (error as expected) ==================== segfault.fail.run.nc ==================== Expected: PASS check, FAIL run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running segfault.fail.run.nc... Error: signal 11: Stacktrace: /tmp/ncc/segfault.fail.run(__nc_print_stacktrace+0x2e) [0x56468905e148] /tmp/ncc/segfault.fail.run(__nc_signal_handler+0x31) [0x56468905e256] /usr/lib/libc.so.6(+0x3e4d0) [0x7f39ea03e4d0] /tmp/ncc/segfault.fail.run(+0x1213) [0x56468905d213] FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED (runtime error as expected) ==================== shadowing.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running shadowing.nc... 1 hello 1 hello FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== simple_slice.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running simple_slice.nc... Array: [1, 2, 3, 4, 5] nums[1:3]: [2, 3, 4] FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== str.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running str.nc... 0:139980690964480 1:139980690944000 2:139980690923520 3:139980690903040 4:139980690882560 5:139980690862080 6:139980690841600 7:139980690821120 0:139980690800640 1:139980690780160 2:139980690759680 3:139980690739200 4:139980690718720 5:139980690698240 6:139980690677760 7:139980690657280 0:139980690636800 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== struct_array.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running struct_array.nc... Person created: Alice, 30 Array created Index: 0 Name: Alice, Age: 30 Index: 1 Name: Bob, Age: 25 Done FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== struct.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running struct.nc... Name: Alice, Age: 30 name Alice age 30 Numerator: 11, Denominator: 32 Numerator: 20, Denominator: 62 Numerator: 40, Denominator: 62 Name: Bob, Age: 25 name Bob age 25 Name: Alice, Age: 30 name Alice age 30 Name: Charlie, Age: 35 name Charlie age 35 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== testing.test.nc ==================== Expected: PASS check and test FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Testing testing.test.nc... Test results: 1 passed, 0 failed FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== time_now.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running time_now.nc... Current timestamp: 1764519641 Timestamp after 1s: 1764519642 FINISHED CPU 0.03 MEM 7716 MAXMEM 7716 STALE 1 MAXMEM_RSS 5540 Result: ✅ PASSED ==================== time_sleep.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running time_sleep.nc... Start End FINISHED CPU 0.03 MEM 0 MAXMEM 7708 STALE 2 MAXMEM_RSS 5400 Result: ✅ PASSED ==================== tuples_comprehensive.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running tuples_comprehensive.nc... --- Basic Tuple --- t1[0]: 1 t1[1]: Hi --- Optional Tuple --- result[0] is set result[1] is none --- Return Tuple --- vals: 6, -2 --- Indexing --- vals[0]: 1 vals[1]: hi vals[2]: 2 --- Destructuring --- a: 1, b: 2 x: 10, y: Test FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== type_alias_func.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running type_alias_func.nc... ID: 123, Name: Alice FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== type_alias.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running type_alias.nc... Type alias test passed! FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== type_alias_nested.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running type_alias_nested.nc... x = 42 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== type_casts.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running type_casts.nc... int("123") = 123 str(456) = 456 bool(0) = 0 bool(1) = 1 bool(42) = 1 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== variadic_debug.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running variadic_debug.nc... Starting sum About to iterate In loop, index: 0 Adding: 1 In loop, index: 1 Adding: 2 In loop, index: 2 Adding: 3 Final total: 6 Result: 6 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== variadic_iter.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running variadic_iter.nc... Starting sum Adding: 1 Adding: 2 Adding: 3 Final total: 6 Result: 6 FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== variadic.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running variadic.nc... Sum1 (10): 10 Sum2 (10+5): 15 Sum3 (10+5+10+20): 45 Hello World! No Newline FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== variadic_simple.nc ==================== Expected: PASS check and run FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Running variadic_simple.nc... Got args Done FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 Result: ✅ PASSED ==================== Summary ==================== Results: 50 passed, 0 failed ~/git/nc master +7 9s ❯