ncc-test-verbose.log
· 31 KiB · Text
Raw
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:4374:8
|
744 | impl<'a> FunctionBuilder<'a> {
| ---------------------------- method in this implementation
...
4374 | fn lower_global_function_call(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: method `parse_statement` is never used
--> src/compiler/syntax/parser.rs:613:8
|
24 | impl<'a> Parser<'a> {
| ------------------- method in this implementation
...
613 | fn parse_statement(&mut self) -> Statement {
| ^^^^^^^^^^^^^^^
warning: `ncc` (lib) generated 7 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
==================== if_expression_value.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running if_expression_value.nc...
Red:red
Green:green
Blue:blue
Grade for 90:A+
Grade for 50:F
Result:two
All if-expression tests passed!
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
==================== interpolation_works.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running interpolation_works.nc...
int: 42
str: value
expr: 52
literal: 999
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 14 entries:
[dir] .github: 4096 bytes
[file] Makefile: 6916 bytes
[file] test.txt: 13884 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
[file] test.txt
[dir] tests/
[file] variadic_debug.nc
[file] no_unqualified_access.fail.nc
[file] int_hex_octal.nc
[file] testing.test.nc
[file] scope_leak_if.fail.nc
[file] segfault.fail.run.nc
[file] spread_prefix.nc
[file] struct.nc
[file] struct_array.nc
[file] panic.fail.run.nc
[file] interpolation_works.nc
[file] functions_as_values.nc
[file] variadic_iter.nc
[file] spread_module.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] spread_variadic_forward.nc
[file] listdir.nc
[file] scope_leak.fail.nc
[file] char_conversion.nc
[file] type_mismatch_arg.fail.nc
[file] variadic_simple.nc
[file] comparison.nc
[file] spread_enum.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] map_basic.nc
[file] spread_import_enum.nc
[file] char_test.nc
[file] new.nc
[file] std_log.nc
[file] if_expression_value.nc
[dir] helpers/
[file] math_utils.nc
[file] wrapper.nc
[file] assert.nc
[file] loop_scope.nc
[file] shadowing.nc
[file] module_qualified_only.nc
[file] type_mismatch_println.fail.nc
[file] spread_simple.nc
[file] type_alias_nested.nc
[file] multi_module_same_import.nc
[file] int_decimal_trunc.nc
[file] array_range.nc
[file] time_format.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] type_mismatch_assignment.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] log.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
==================== map_basic.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running map_basic.nc...
30 25
NY CA
IL
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== module_qualified_only.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running module_qualified_only.nc...
Qualified access works
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== multi_module_same_import.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running multi_module_same_import.nc...
2
1
Main module calling helpers
Doubling 5
Result: 10
Tripling 3
Result2: 9
Local:Doubling 5
Result3: 10
Local:Tripling 3
Result4: 9
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
==================== no_unqualified_access.fail.nc ====================
Expected: FAIL check (legacy)
Error: function 'println' is not defined
--> tests/no_unqualified_access.fail.nc:5:12
|
5 | println("This should fail")
| ^^^^^^^^^^^^^^^^^^^^
|
Error: type validation failed
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (error as expected)
==================== 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) [0x55fc19d9b34f]
/tmp/ncc/segfault.fail.run(__nc_signal_handler+0x31) [0x55fc19d9b45d]
/usr/lib/libc.so.6(+0x3e4d0) [0x7f367643e4d0]
/tmp/ncc/segfault.fail.run(+0x1223) [0x55fc19d9a223]
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
==================== spread_enum.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running spread_enum.nc...
0abc
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== spread_import_enum.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running spread_import_enum.nc...
0abc
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== spread_module.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running spread_module.nc...
42:hello world
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== spread_prefix.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running spread_prefix.nc...
prefix:abc
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== spread_simple.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running spread_simple.nc...
Direct spread test:
hello world!
Prefix:hello world!
my_print called
prefix:Custom:
arg:hello
arg:
arg:world
arg:!
Custom:hello world!
Done
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== spread_variadic_forward.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running spread_variadic_forward.nc...
42:hello world
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED
==================== std_log.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running std_log.nc...
2
4
[2025-12-10 01:19:49] [ERROR] This is an error message.
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:c
1:o
2:o
3:k
4:i
5:e
6:
7:🍪
0:c
1:o
2:o
3:k
4:i
5:e
6:
7:🍪
0:👩🏾🌾
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_format.nc ====================
Expected: PASS check and run
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Running time_format.nc...
Timestamp 1705315845: 2024-01-15 10:50:45
Timestamp 0: 1970-01-01 00:00:00
Date only: 2024-01-15
Time only: 10:50:45
Current time: 2025-12-10 01:19:50
Leap year date: 2024-02-29
All time.format tests passed!
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: 1765588790
Timestamp after 1s: 1765588791
FINISHED CPU 0.04 MEM 8128 MAXMEM 8128 STALE 1 MAXMEM_RSS 5952
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 8104 STALE 2 MAXMEM_RSS 5868
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
==================== type_mismatch_arg.fail.nc ====================
Expected: FAIL check (legacy)
Error: no matching signature for function 'greet'
--> tests/type_mismatch_arg.fail.nc:9:10
|
9 | greet(42)
| ^
|
Error: type validation failed
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (error as expected)
==================== type_mismatch_assignment.fail.nc ====================
Expected: FAIL check (legacy)
Error: cannot initialize variable 'message' of type 'str' with value of type 'int'
--> tests/type_mismatch_assignment.fail.nc:5:5
|
5 | str message = 999
| ^^^^^^^^^^^^^^^^^
|
Error: type validation failed
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (error as expected)
==================== type_mismatch_println.fail.nc ====================
Expected: FAIL check (legacy)
Error: no matching signature for function 'io.println'
--> tests/type_mismatch_println.fail.nc:5:15
|
5 | io.println(123)
| ^
|
Error: type validation failed
FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1
Result: ✅ PASSED (error as expected)
==================== 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
Joined greetings: hellobonjourholaalohahallokonnichiwaannyeonghaseyo
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: 67 passed, 0 failed
| 1 | cargo build --release |
| 2 | warning: variable `has_hex_digit` is assigned to, but never used |
| 3 | --> src/compiler/syntax/lexer.rs:232:29 |
| 4 | | |
| 5 | 232 | let mut has_hex_digit = false; |
| 6 | | ^^^^^^^^^^^^^ |
| 7 | | |
| 8 | = note: consider using `_has_hex_digit` instead |
| 9 | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default |
| 10 | |
| 11 | warning: value assigned to `has_hex_digit` is never read |
| 12 | --> src/compiler/syntax/lexer.rs:237:29 |
| 13 | | |
| 14 | 237 | ... has_hex_digit = true; |
| 15 | | ^^^^^^^^^^^^^ |
| 16 | | |
| 17 | = help: maybe it is overwritten before being read? |
| 18 | = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default |
| 19 | |
| 20 | warning: variable `has_octal_digit` is assigned to, but never used |
| 21 | --> src/compiler/syntax/lexer.rs:254:29 |
| 22 | | |
| 23 | 254 | let mut has_octal_digit = false; |
| 24 | | ^^^^^^^^^^^^^^^ |
| 25 | | |
| 26 | = note: consider using `_has_octal_digit` instead |
| 27 | |
| 28 | warning: value assigned to `has_octal_digit` is never read |
| 29 | --> src/compiler/syntax/lexer.rs:259:29 |
| 30 | | |
| 31 | 259 | ... has_octal_digit = true; |
| 32 | | ^^^^^^^^^^^^^^^ |
| 33 | | |
| 34 | = help: maybe it is overwritten before being read? |
| 35 | |
| 36 | warning: multiple methods are never used |
| 37 | --> src/compiler/backend/asm.rs:46:8 |
| 38 | | |
| 39 | 14 | impl AsmBackend { |
| 40 | | --------------- methods in this implementation |
| 41 | ... |
| 42 | 46 | fn emit_syscall_write(&self, out: &mut String) { |
| 43 | | ^^^^^^^^^^^^^^^^^^ |
| 44 | ... |
| 45 | 51 | fn emit_syscall_exit(&self, out: &mut String) { |
| 46 | | ^^^^^^^^^^^^^^^^^ |
| 47 | ... |
| 48 | 56 | fn emit_syscall_mmap(&self, out: &mut String) { |
| 49 | | ^^^^^^^^^^^^^^^^^ |
| 50 | ... |
| 51 | 62 | fn emit_syscall_read(&self, out: &mut String) { |
| 52 | | ^^^^^^^^^^^^^^^^^ |
| 53 | ... |
| 54 | 67 | fn emit_syscall_open(&self, out: &mut String) { |
| 55 | | ^^^^^^^^^^^^^^^^^ |
| 56 | ... |
| 57 | 72 | fn emit_syscall_close(&self, out: &mut String) { |
| 58 | | ^^^^^^^^^^^^^^^^^^ |
| 59 | ... |
| 60 | 77 | fn emit_syscall_stat(&self, out: &mut String) { |
| 61 | | ^^^^^^^^^^^^^^^^^ |
| 62 | ... |
| 63 | 82 | fn emit_syscall_getdents64(&self, out: &mut String) { |
| 64 | | ^^^^^^^^^^^^^^^^^^^^^^^ |
| 65 | ... |
| 66 | 87 | fn emit_syscall_unlink(&self, out: &mut String) { |
| 67 | | ^^^^^^^^^^^^^^^^^^^ |
| 68 | ... |
| 69 | 92 | fn emit_syscall_access(&self, out: &mut String) { |
| 70 | | ^^^^^^^^^^^^^^^^^^^ |
| 71 | ... |
| 72 | 97 | fn emit_syscall_nanosleep(&self, out: &mut String) { |
| 73 | | ^^^^^^^^^^^^^^^^^^^^^^ |
| 74 | ... |
| 75 | 102 | fn emit_syscall_clock_gettime(&self, out: &mut String) { |
| 76 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 77 | ... |
| 78 | 125 | fn stat_st_size_offset(&self) -> usize { |
| 79 | | ^^^^^^^^^^^^^^^^^^^ |
| 80 | | |
| 81 | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default |
| 82 | |
| 83 | warning: method `lower_global_function_call` is never used |
| 84 | --> src/compiler/ir/mod.rs:4374:8 |
| 85 | | |
| 86 | 744 | impl<'a> FunctionBuilder<'a> { |
| 87 | | ---------------------------- method in this implementation |
| 88 | ... |
| 89 | 4374 | fn lower_global_function_call( |
| 90 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 91 | |
| 92 | warning: method `parse_statement` is never used |
| 93 | --> src/compiler/syntax/parser.rs:613:8 |
| 94 | | |
| 95 | 24 | impl<'a> Parser<'a> { |
| 96 | | ------------------- method in this implementation |
| 97 | ... |
| 98 | 613 | fn parse_statement(&mut self) -> Statement { |
| 99 | | ^^^^^^^^^^^^^^^ |
| 100 | |
| 101 | warning: `ncc` (lib) generated 7 warnings |
| 102 | Finished `release` profile [optimized] target(s) in 0.02s |
| 103 | Running tests with verbose output... |
| 104 | |
| 105 | ==================== array_range.nc ==================== |
| 106 | Expected: PASS check and run |
| 107 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 108 | Running array_range.nc... |
| 109 | --- Basic Slice --- |
| 110 | [0, 1, 1, 2, 3] |
| 111 | [1, 2, 3, 5] |
| 112 | |
| 113 | --- Step Slice --- |
| 114 | [0, 1, 3, 8, 21, 55] |
| 115 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 116 | Result: ✅ PASSED |
| 117 | |
| 118 | ==================== array_simple.nc ==================== |
| 119 | Expected: PASS check and run |
| 120 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 121 | Running array_simple.nc... |
| 122 | Array created |
| 123 | Index: 0 |
| 124 | Index: 1 |
| 125 | Index: 2 |
| 126 | Done |
| 127 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 128 | Result: ✅ PASSED |
| 129 | |
| 130 | ==================== assert.nc ==================== |
| 131 | Expected: PASS check and run |
| 132 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 133 | Running assert.nc... |
| 134 | Assert passed: x < y |
| 135 | Assert passed: x != y |
| 136 | Assert passed: true |
| 137 | All assertions passed! |
| 138 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 139 | Result: ✅ PASSED |
| 140 | |
| 141 | ==================== async_await.fail.nc ==================== |
| 142 | Expected: FAIL check (legacy) |
| 143 | Error: expected function call after 'async' |
| 144 | --> tests/async_await.fail.nc:12:26 |
| 145 | | |
| 146 | 12 | int* future = async 5 |
| 147 | | ^ |
| 148 | | here |
| 149 | |
| 150 | Error: compilation halted: 1 errors emitted |
| 151 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 152 | Result: ✅ PASSED (error as expected) |
| 153 | |
| 154 | ==================== async_error_handling.nc ==================== |
| 155 | Expected: PASS check and run |
| 156 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 157 | Running async_error_handling.nc... |
| 158 | Success! Value: 42 |
| 159 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 160 | Result: ✅ PASSED |
| 161 | |
| 162 | ==================== async.nc ==================== |
| 163 | Expected: PASS check and run |
| 164 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 165 | Running async.nc... |
| 166 | Result from async call: 5050 |
| 167 | Result 2: 5050 |
| 168 | Result 3: 5050 |
| 169 | All async operations completed! |
| 170 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 171 | Result: ✅ PASSED |
| 172 | |
| 173 | ==================== async_type_mismatch.fail.nc ==================== |
| 174 | Expected: FAIL check (legacy) |
| 175 | Error: cannot initialize variable 'result' of type 'int' with value of type 'int*' |
| 176 | --> tests/async_type_mismatch.fail.nc:10:5 |
| 177 | | |
| 178 | 10 | int result = async returnsInt() |
| 179 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 180 | | |
| 181 | |
| 182 | Error: cannot await non-Future type 'int' |
| 183 | --> tests/async_type_mismatch.fail.nc:14:19 |
| 184 | | |
| 185 | 14 | int y = await x |
| 186 | | ^ |
| 187 | | |
| 188 | |
| 189 | Error: type validation failed |
| 190 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 191 | Result: ✅ PASSED (error as expected) |
| 192 | |
| 193 | ==================== bool.nc ==================== |
| 194 | Expected: PASS check and run |
| 195 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 196 | Running bool.nc... |
| 197 | True is: true |
| 198 | False is: false |
| 199 | t is true |
| 200 | f is false |
| 201 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 202 | Result: ✅ PASSED |
| 203 | |
| 204 | ==================== builtins_combined.nc ==================== |
| 205 | Expected: PASS check and run |
| 206 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 207 | Running builtins_combined.nc... |
| 208 | new(int) = 0 |
| 209 | int("789") = 789 |
| 210 | Assert passed: val = 100 |
| 211 | str(new(int)) = "0" |
| 212 | All builtin function tests passed! |
| 213 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 214 | Result: ✅ PASSED |
| 215 | |
| 216 | ==================== byte_test.nc ==================== |
| 217 | Expected: PASS check and test |
| 218 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 219 | Testing byte_test.nc... |
| 220 | No tests found in tests/byte_test.nc |
| 221 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 222 | Result: ✅ PASSED |
| 223 | |
| 224 | ==================== char_conversion.nc ==================== |
| 225 | Expected: PASS check and run |
| 226 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 227 | Running char_conversion.nc... |
| 228 | ASCII 'A' test passed |
| 229 | ASCII 'z' test passed |
| 230 | Digit '0' test passed |
| 231 | Special chars test passed |
| 232 | 2-byte UTF-8: é |
| 233 | Greek alpha: α |
| 234 | Chinese 中: 中 |
| 235 | Heart: ❤ |
| 236 | Emoji: 😀 |
| 237 | Thumbs up: 👍 |
| 238 | Invalid surrogate: � |
| 239 | Over max unicode: � |
| 240 | Null char length: should work |
| 241 | Max ASCII (DEL): passed |
| 242 | Max unicode codepoint: |
| 243 | Byte to char conversion passed |
| 244 | int(char) round-trip passed |
| 245 | byte(char) conversion passed |
| 246 | All char() tests passed! |
| 247 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 248 | Result: ✅ PASSED |
| 249 | |
| 250 | ==================== char_test.nc ==================== |
| 251 | Expected: PASS check and test |
| 252 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 253 | Testing char_test.nc... |
| 254 | No tests found in tests/char_test.nc |
| 255 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 256 | Result: ✅ PASSED |
| 257 | |
| 258 | ==================== comparison.nc ==================== |
| 259 | Expected: PASS check and run |
| 260 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 261 | Running comparison.nc... |
| 262 | String: abc |
| 263 | Length: 3 |
| 264 | 0 < 3: true |
| 265 | 1 < 3: true |
| 266 | 2 < 3: true |
| 267 | 3 < 3: false (CORRECT) |
| 268 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 269 | Result: ✅ PASSED |
| 270 | |
| 271 | ==================== compound.nc ==================== |
| 272 | Expected: PASS check and run |
| 273 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 274 | Running compound.nc... |
| 275 | Numerator: 20, Denominator: 31 |
| 276 | Numerator: 40, Denominator: 31 |
| 277 | x = 15 |
| 278 | x = 12 |
| 279 | x = 24 |
| 280 | x = 6 |
| 281 | x = 2 |
| 282 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 283 | Result: ✅ PASSED |
| 284 | |
| 285 | ==================== enum.nc ==================== |
| 286 | Expected: PASS check and run |
| 287 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 288 | Running enum.nc... |
| 289 | complete |
| 290 | failed |
| 291 | pending |
| 292 | 1 |
| 293 | 0 |
| 294 | stat1 is Complete |
| 295 | stat2 is not Pending |
| 296 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 297 | Result: ✅ PASSED |
| 298 | |
| 299 | ==================== error_handling.nc ==================== |
| 300 | Expected: PASS check and run |
| 301 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 302 | Running error_handling.nc... |
| 303 | Result: 5 |
| 304 | Got expected error: division by zero |
| 305 | Found at index: 2 |
| 306 | Correctly not found |
| 307 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 308 | Result: ✅ PASSED |
| 309 | |
| 310 | ==================== file_buffer.nc ==================== |
| 311 | Expected: PASS check and run |
| 312 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 313 | Running file_buffer.nc... |
| 314 | Wrote 20 bytes |
| 315 | Read 20 bytes |
| 316 | File contents: ABCDEFGHIJKLMNOPQRST |
| 317 | Content verified! |
| 318 | Seek test passed! |
| 319 | SEEK_CUR test passed! |
| 320 | SEEK_END test passed! |
| 321 | Chunked reading test passed! Read 20 bytes in 4 chunks |
| 322 | write_str test passed! |
| 323 | Original: Hello, world! |
| 324 | Read back: Hello, world! |
| 325 | String to bytes round-trip passed! |
| 326 | All buffer I/O tests passed! |
| 327 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 328 | Result: ✅ PASSED |
| 329 | |
| 330 | ==================== functions_as_values.nc ==================== |
| 331 | Expected: PASS check and run |
| 332 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 333 | Running functions_as_values.nc... |
| 334 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 335 | Result: ✅ PASSED |
| 336 | |
| 337 | ==================== if_expression_value.nc ==================== |
| 338 | Expected: PASS check and run |
| 339 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 340 | Running if_expression_value.nc... |
| 341 | Red:red |
| 342 | Green:green |
| 343 | Blue:blue |
| 344 | Grade for 90:A+ |
| 345 | Grade for 50:F |
| 346 | Result:two |
| 347 | All if-expression tests passed! |
| 348 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 349 | Result: ✅ PASSED |
| 350 | |
| 351 | ==================== int_conversions.nc ==================== |
| 352 | Expected: PASS check and run |
| 353 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 354 | Running int_conversions.nc... |
| 355 | int() conversions: 123, 456 |
| 356 | uint() conversions: 789, 100 |
| 357 | bigint() conversions: 123456789, 999 |
| 358 | type conversions: int=42, uint=42, bigint=42 |
| 359 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 360 | Result: ✅ PASSED |
| 361 | |
| 362 | ==================== int_decimal_trunc.nc ==================== |
| 363 | Expected: PASS check and run |
| 364 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 365 | Running int_decimal_trunc.nc... |
| 366 | decimal to int (truncated): 3.14d -> 3, 2.99d -> 2, -1.5d -> -3 |
| 367 | decimal to uint (truncated): 3.14d -> 3, 2.99d -> 2 |
| 368 | decimal to bigint (truncated): 3.14d -> 3 |
| 369 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 370 | Result: ✅ PASSED |
| 371 | |
| 372 | ==================== interpolation_works.nc ==================== |
| 373 | Expected: PASS check and run |
| 374 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 375 | Running interpolation_works.nc... |
| 376 | int: 42 |
| 377 | str: value |
| 378 | expr: 52 |
| 379 | literal: 999 |
| 380 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 381 | Result: ✅ PASSED |
| 382 | |
| 383 | ==================== int_hex_octal.nc ==================== |
| 384 | Expected: PASS check and run |
| 385 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 386 | Running int_hex_octal.nc... |
| 387 | hex values: 0xFF=255, 0xff=255, 0x10=16, 0xABCD=43981 |
| 388 | octal values: 0o777=511, 0o10=8, 0o123=83 |
| 389 | 0xFF + 0o10 = 263 |
| 390 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 391 | Result: ✅ PASSED |
| 392 | |
| 393 | ==================== int_type_incompatibility.fail.nc ==================== |
| 394 | Expected: FAIL check (legacy) |
| 395 | Error: cannot mix bigint with int or uint in arithmetic operator '+' |
| 396 | --> tests/int_type_incompatibility.fail.nc:8:19 |
| 397 | | |
| 398 | 8 | int result1 = i + b // Error: cannot mix bigint with int |
| 399 | | ^ |
| 400 | | |
| 401 | --> tests/int_type_incompatibility.fail.nc:8:23 |
| 402 | | |
| 403 | 8 | int result1 = i + b // Error: cannot mix bigint with int |
| 404 | | ^ |
| 405 | | |
| 406 | |
| 407 | Error: cannot mix bigint with int or uint in arithmetic operator '+' |
| 408 | --> tests/int_type_incompatibility.fail.nc:9:22 |
| 409 | | |
| 410 | 9 | bigint result2 = b + i // Error: cannot mix bigint with int |
| 411 | | ^ |
| 412 | | |
| 413 | --> tests/int_type_incompatibility.fail.nc:9:26 |
| 414 | | |
| 415 | 9 | bigint result2 = b + i // Error: cannot mix bigint with int |
| 416 | | ^ |
| 417 | | |
| 418 | |
| 419 | Error: cannot mix bigint with int or uint in arithmetic operator '*' |
| 420 | --> tests/int_type_incompatibility.fail.nc:10:19 |
| 421 | | |
| 422 | 10 | int result3 = i * b // Error: cannot mix bigint with int |
| 423 | | ^ |
| 424 | | |
| 425 | --> tests/int_type_incompatibility.fail.nc:10:23 |
| 426 | | |
| 427 | 10 | int result3 = i * b // Error: cannot mix bigint with int |
| 428 | | ^ |
| 429 | | |
| 430 | |
| 431 | Error: type validation failed |
| 432 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 433 | Result: ✅ PASSED (error as expected) |
| 434 | |
| 435 | ==================== int_types.nc ==================== |
| 436 | Expected: PASS check and run |
| 437 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 438 | Running int_types.nc... |
| 439 | int values: 42, -100 |
| 440 | uint values: 100, 0 |
| 441 | bigint values: 0, 999 |
| 442 | converted from string: int=123, uint=456, bigint=789 |
| 443 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 444 | Result: ✅ PASSED |
| 445 | |
| 446 | ==================== listdir.nc ==================== |
| 447 | Expected: PASS check and run |
| 448 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 449 | Running listdir.nc... |
| 450 | === Using io.stat (single file) === |
| 451 | README.md: size=786, is_dir=0, mode=420 |
| 452 | |
| 453 | === Using io.readdir (directory listing) === |
| 454 | Found 14 entries: |
| 455 | [dir] .github: 4096 bytes |
| 456 | [file] Makefile: 6916 bytes |
| 457 | [file] test.txt: 13884 bytes |
| 458 | [dir] tests: 4096 bytes |
| 459 | [dir] target: 4096 bytes |
| 460 | [file] .gitignore: 708 bytes |
| 461 | [dir] .git: 4096 bytes |
| 462 | [file] LICENSE: 11356 bytes |
| 463 | [dir] .idea: 4096 bytes |
| 464 | [dir] src: 4096 bytes |
| 465 | [file] Cargo.lock: 6566 bytes |
| 466 | [file] Cargo.toml: 238 bytes |
| 467 | [dir] std: 4096 bytes |
| 468 | [file] README.md: 786 bytes |
| 469 | |
| 470 | === Recursive directory listing === |
| 471 | [file] Makefile |
| 472 | [file] test.txt |
| 473 | [dir] tests/ |
| 474 | [file] variadic_debug.nc |
| 475 | [file] no_unqualified_access.fail.nc |
| 476 | [file] int_hex_octal.nc |
| 477 | [file] testing.test.nc |
| 478 | [file] scope_leak_if.fail.nc |
| 479 | [file] segfault.fail.run.nc |
| 480 | [file] spread_prefix.nc |
| 481 | [file] struct.nc |
| 482 | [file] struct_array.nc |
| 483 | [file] panic.fail.run.nc |
| 484 | [file] interpolation_works.nc |
| 485 | [file] functions_as_values.nc |
| 486 | [file] variadic_iter.nc |
| 487 | [file] spread_module.nc |
| 488 | [file] error_handling.nc |
| 489 | [file] async.nc |
| 490 | [file] variadic.nc |
| 491 | [file] nested_struct_array.nc |
| 492 | [file] builtins_combined.nc |
| 493 | [file] enum.nc |
| 494 | [file] type_casts.nc |
| 495 | [file] simple_slice.nc |
| 496 | [file] spread_variadic_forward.nc |
| 497 | [file] listdir.nc |
| 498 | [file] scope_leak.fail.nc |
| 499 | [file] char_conversion.nc |
| 500 | [file] type_mismatch_arg.fail.nc |
| 501 | [file] variadic_simple.nc |
| 502 | [file] comparison.nc |
| 503 | [file] spread_enum.nc |
| 504 | [file] int_types.nc |
| 505 | [file] type_alias.nc |
| 506 | [file] str.nc |
| 507 | [file] loops.nc |
| 508 | [file] tuples_comprehensive.nc |
| 509 | [file] array_simple.nc |
| 510 | [file] type_alias_func.nc |
| 511 | [file] file_buffer.nc |
| 512 | [file] async_type_mismatch.fail.nc |
| 513 | [file] int_conversions.nc |
| 514 | [file] map_basic.nc |
| 515 | [file] spread_import_enum.nc |
| 516 | [file] char_test.nc |
| 517 | [file] new.nc |
| 518 | [file] std_log.nc |
| 519 | [file] if_expression_value.nc |
| 520 | [dir] helpers/ |
| 521 | [file] math_utils.nc |
| 522 | [file] wrapper.nc |
| 523 | [file] assert.nc |
| 524 | [file] loop_scope.nc |
| 525 | [file] shadowing.nc |
| 526 | [file] module_qualified_only.nc |
| 527 | [file] type_mismatch_println.fail.nc |
| 528 | [file] spread_simple.nc |
| 529 | [file] type_alias_nested.nc |
| 530 | [file] multi_module_same_import.nc |
| 531 | [file] int_decimal_trunc.nc |
| 532 | [file] array_range.nc |
| 533 | [file] time_format.nc |
| 534 | [file] byte_test.nc |
| 535 | [file] bool.nc |
| 536 | [file] async_await.fail.nc |
| 537 | [file] operators.nc |
| 538 | [file] time_now.nc |
| 539 | [file] compound.nc |
| 540 | [file] int_type_incompatibility.fail.nc |
| 541 | [file] type_mismatch_assignment.fail.nc |
| 542 | [file] async_error_handling.nc |
| 543 | [file] time_sleep.nc |
| 544 | [file] .gitignore |
| 545 | [file] LICENSE |
| 546 | [dir] src/ |
| 547 | [file] lib.rs |
| 548 | [dir] compiler/ |
| 549 | [dir] passes/ |
| 550 | [file] mod.rs |
| 551 | [file] optimizations.rs |
| 552 | [dir] syntax/ |
| 553 | [file] ast.rs |
| 554 | [file] mod.rs |
| 555 | [file] lexer.rs |
| 556 | [file] parser.rs |
| 557 | [file] ast_printer.rs |
| 558 | [dir] source/ |
| 559 | [file] mod.rs |
| 560 | [file] driver.rs |
| 561 | [file] target.rs |
| 562 | [file] mod.rs |
| 563 | [dir] hir/ |
| 564 | [file] mod.rs |
| 565 | [dir] backend/ |
| 566 | [file] mod.rs |
| 567 | [file] asm.rs |
| 568 | [dir] diagnostics/ |
| 569 | [file] mod.rs |
| 570 | [file] runtime.rs |
| 571 | [dir] ir/ |
| 572 | [file] mod.rs |
| 573 | [file] cli.rs |
| 574 | [file] main.rs |
| 575 | [file] Cargo.lock |
| 576 | [file] Cargo.toml |
| 577 | [dir] std/ |
| 578 | [file] os.nc |
| 579 | [file] math.nc |
| 580 | [file] log.nc |
| 581 | [file] io.nc |
| 582 | [file] time.nc |
| 583 | [file] README.md |
| 584 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 585 | Result: ✅ PASSED |
| 586 | |
| 587 | ==================== loop_scope.nc ==================== |
| 588 | Expected: PASS check and run |
| 589 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 590 | Running loop_scope.nc... |
| 591 | n: 0 1 |
| 592 | n: 1 2 |
| 593 | n: 2 3 |
| 594 | x: 2 |
| 595 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 596 | Result: ✅ PASSED |
| 597 | |
| 598 | ==================== loops.nc ==================== |
| 599 | Expected: PASS check and run |
| 600 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 601 | Running loops.nc... |
| 602 | a = 0 |
| 603 | a = 1 |
| 604 | a = 2 |
| 605 | a = 3 |
| 606 | a = 4 |
| 607 | a = 5 |
| 608 | a = 6 |
| 609 | a = 7 |
| 610 | a = 8 |
| 611 | a = 9 |
| 612 | b = 2 |
| 613 | b = 1 |
| 614 | 1 |
| 615 | 2 |
| 616 | 3 |
| 617 | 4 |
| 618 | 5 |
| 619 | 6 |
| 620 | 7 |
| 621 | 8 |
| 622 | 9 |
| 623 | 10 |
| 624 | 11 |
| 625 | 12 |
| 626 | 13 |
| 627 | 14 |
| 628 | 15 |
| 629 | 16 |
| 630 | 17 |
| 631 | 18 |
| 632 | 19 |
| 633 | 20 |
| 634 | 1 |
| 635 | 3 |
| 636 | 5 |
| 637 | 7 |
| 638 | 9 |
| 639 | 11 |
| 640 | 13 |
| 641 | 15 |
| 642 | 17 |
| 643 | 19 |
| 644 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 645 | Result: ✅ PASSED |
| 646 | |
| 647 | ==================== map_basic.nc ==================== |
| 648 | Expected: PASS check and run |
| 649 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 650 | Running map_basic.nc... |
| 651 | 30 25 |
| 652 | NY CA |
| 653 | IL |
| 654 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 655 | Result: ✅ PASSED |
| 656 | |
| 657 | ==================== module_qualified_only.nc ==================== |
| 658 | Expected: PASS check and run |
| 659 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 660 | Running module_qualified_only.nc... |
| 661 | Qualified access works |
| 662 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 663 | Result: ✅ PASSED |
| 664 | |
| 665 | ==================== multi_module_same_import.nc ==================== |
| 666 | Expected: PASS check and run |
| 667 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 668 | Running multi_module_same_import.nc... |
| 669 | 2 |
| 670 | 1 |
| 671 | Main module calling helpers |
| 672 | Doubling 5 |
| 673 | Result: 10 |
| 674 | Tripling 3 |
| 675 | Result2: 9 |
| 676 | Local:Doubling 5 |
| 677 | Result3: 10 |
| 678 | Local:Tripling 3 |
| 679 | Result4: 9 |
| 680 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 681 | Result: ✅ PASSED |
| 682 | |
| 683 | ==================== nested_struct_array.nc ==================== |
| 684 | Expected: PASS check and run |
| 685 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 686 | Running nested_struct_array.nc... |
| 687 | All tests passed! |
| 688 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 689 | Result: ✅ PASSED |
| 690 | |
| 691 | ==================== new.nc ==================== |
| 692 | Expected: PASS check and run |
| 693 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 694 | Running new.nc... |
| 695 | new(int) = 0 |
| 696 | new(bool) = 0 |
| 697 | new(str) = "" |
| 698 | new(int) again = 0 |
| 699 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 700 | Result: ✅ PASSED |
| 701 | |
| 702 | ==================== no_unqualified_access.fail.nc ==================== |
| 703 | Expected: FAIL check (legacy) |
| 704 | Error: function 'println' is not defined |
| 705 | --> tests/no_unqualified_access.fail.nc:5:12 |
| 706 | | |
| 707 | 5 | println("This should fail") |
| 708 | | ^^^^^^^^^^^^^^^^^^^^ |
| 709 | | |
| 710 | |
| 711 | Error: type validation failed |
| 712 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 713 | Result: ✅ PASSED (error as expected) |
| 714 | |
| 715 | ==================== operators.nc ==================== |
| 716 | Expected: PASS check and run |
| 717 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 718 | Running operators.nc... |
| 719 | === Arithmetic Operators === |
| 720 | a = 10, b = 3 |
| 721 | a + b = 13 |
| 722 | a - b = 7 |
| 723 | a * b = 30 |
| 724 | a / b = 3 |
| 725 | a % b = 1 |
| 726 | a ** b = 1000 |
| 727 | |
| 728 | === Comparison Operators === |
| 729 | a == b: 0 |
| 730 | a != b: 1 |
| 731 | a < b: 0 |
| 732 | a > b: 1 |
| 733 | a <= b: 0 |
| 734 | a >= b: 1 |
| 735 | |
| 736 | === Logical Operators === |
| 737 | x = 1, y = 0 |
| 738 | x and y: 0 |
| 739 | x or y: 1 |
| 740 | not x: 0 |
| 741 | not y: 1 |
| 742 | |
| 743 | === Bitwise Operators === |
| 744 | c = 5, d = 3 |
| 745 | c << 1 = 10 |
| 746 | c >> 1 = 2 |
| 747 | c & d = 1 |
| 748 | c | d = 7 |
| 749 | c ^ d = 6 |
| 750 | !c = -6 |
| 751 | |
| 752 | === Concatenation Operator === |
| 753 | s1 <> s2 <> s3 = Hello World |
| 754 | arr1 <> arr2: concatenated (array length: 771) |
| 755 | |
| 756 | === Unary Operators === |
| 757 | e = 42 |
| 758 | -e = -42 |
| 759 | !e = -43 |
| 760 | f = 1 |
| 761 | not f = 0 |
| 762 | |
| 763 | === Operator Precedence === |
| 764 | 2 + 3 * 4 = 14 |
| 765 | true and false or true = 1 |
| 766 | 1 + 2 << 1 = 6 |
| 767 | |
| 768 | === All tests completed === |
| 769 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 770 | Result: ✅ PASSED |
| 771 | |
| 772 | ==================== panic.fail.run.nc ==================== |
| 773 | Expected: PASS check, FAIL run |
| 774 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 775 | Running panic.fail.run.nc... |
| 776 | Test panic messageFINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 777 | Result: ✅ PASSED (runtime error as expected) |
| 778 | |
| 779 | ==================== scope_leak.fail.nc ==================== |
| 780 | Expected: FAIL check (legacy) |
| 781 | Error: undefined variable 'n' |
| 782 | --> tests/scope_leak.fail.nc:7:13 |
| 783 | | |
| 784 | 7 | int x = n |
| 785 | | ^ |
| 786 | | here |
| 787 | |
| 788 | Error: compilation halted: 1 errors emitted |
| 789 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 790 | Result: ✅ PASSED (error as expected) |
| 791 | |
| 792 | ==================== scope_leak_if.fail.nc ==================== |
| 793 | Expected: FAIL check (legacy) |
| 794 | Error: undefined variable 'y' |
| 795 | --> tests/scope_leak_if.fail.nc:5:13 |
| 796 | | |
| 797 | 5 | int z = y |
| 798 | | ^ |
| 799 | | here |
| 800 | |
| 801 | Error: compilation halted: 1 errors emitted |
| 802 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 803 | Result: ✅ PASSED (error as expected) |
| 804 | |
| 805 | ==================== segfault.fail.run.nc ==================== |
| 806 | Expected: PASS check, FAIL run |
| 807 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 808 | Running segfault.fail.run.nc... |
| 809 | Error: signal 11: |
| 810 | Stacktrace: |
| 811 | /tmp/ncc/segfault.fail.run(__nc_print_stacktrace+0x2e) [0x55fc19d9b34f] |
| 812 | /tmp/ncc/segfault.fail.run(__nc_signal_handler+0x31) [0x55fc19d9b45d] |
| 813 | /usr/lib/libc.so.6(+0x3e4d0) [0x7f367643e4d0] |
| 814 | /tmp/ncc/segfault.fail.run(+0x1223) [0x55fc19d9a223] |
| 815 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 816 | Result: ✅ PASSED (runtime error as expected) |
| 817 | |
| 818 | ==================== shadowing.nc ==================== |
| 819 | Expected: PASS check and run |
| 820 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 821 | Running shadowing.nc... |
| 822 | 1 |
| 823 | hello |
| 824 | 1 |
| 825 | hello |
| 826 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 827 | Result: ✅ PASSED |
| 828 | |
| 829 | ==================== simple_slice.nc ==================== |
| 830 | Expected: PASS check and run |
| 831 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 832 | Running simple_slice.nc... |
| 833 | Array: [1, 2, 3, 4, 5] |
| 834 | nums[1:3]: [2, 3, 4] |
| 835 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 836 | Result: ✅ PASSED |
| 837 | |
| 838 | ==================== spread_enum.nc ==================== |
| 839 | Expected: PASS check and run |
| 840 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 841 | Running spread_enum.nc... |
| 842 | 0abc |
| 843 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 844 | Result: ✅ PASSED |
| 845 | |
| 846 | ==================== spread_import_enum.nc ==================== |
| 847 | Expected: PASS check and run |
| 848 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 849 | Running spread_import_enum.nc... |
| 850 | 0abc |
| 851 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 852 | Result: ✅ PASSED |
| 853 | |
| 854 | ==================== spread_module.nc ==================== |
| 855 | Expected: PASS check and run |
| 856 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 857 | Running spread_module.nc... |
| 858 | 42:hello world |
| 859 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 860 | Result: ✅ PASSED |
| 861 | |
| 862 | ==================== spread_prefix.nc ==================== |
| 863 | Expected: PASS check and run |
| 864 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 865 | Running spread_prefix.nc... |
| 866 | prefix:abc |
| 867 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 868 | Result: ✅ PASSED |
| 869 | |
| 870 | ==================== spread_simple.nc ==================== |
| 871 | Expected: PASS check and run |
| 872 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 873 | Running spread_simple.nc... |
| 874 | Direct spread test: |
| 875 | hello world! |
| 876 | Prefix:hello world! |
| 877 | my_print called |
| 878 | prefix:Custom: |
| 879 | arg:hello |
| 880 | arg: |
| 881 | arg:world |
| 882 | arg:! |
| 883 | Custom:hello world! |
| 884 | Done |
| 885 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 886 | Result: ✅ PASSED |
| 887 | |
| 888 | ==================== spread_variadic_forward.nc ==================== |
| 889 | Expected: PASS check and run |
| 890 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 891 | Running spread_variadic_forward.nc... |
| 892 | 42:hello world |
| 893 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 894 | Result: ✅ PASSED |
| 895 | |
| 896 | ==================== std_log.nc ==================== |
| 897 | Expected: PASS check and run |
| 898 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 899 | Running std_log.nc... |
| 900 | 2 |
| 901 | 4 |
| 902 | [2025-12-10 01:19:49] [ERROR] This is an error message. |
| 903 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 904 | Result: ✅ PASSED |
| 905 | |
| 906 | ==================== str.nc ==================== |
| 907 | Expected: PASS check and run |
| 908 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 909 | Running str.nc... |
| 910 | 0:c |
| 911 | 1:o |
| 912 | 2:o |
| 913 | 3:k |
| 914 | 4:i |
| 915 | 5:e |
| 916 | 6: |
| 917 | 7:🍪 |
| 918 | 0:c |
| 919 | 1:o |
| 920 | 2:o |
| 921 | 3:k |
| 922 | 4:i |
| 923 | 5:e |
| 924 | 6: |
| 925 | 7:🍪 |
| 926 | 0:👩🏾🌾 |
| 927 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 928 | Result: ✅ PASSED |
| 929 | |
| 930 | ==================== struct_array.nc ==================== |
| 931 | Expected: PASS check and run |
| 932 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 933 | Running struct_array.nc... |
| 934 | Person created: Alice, 30 |
| 935 | Array created |
| 936 | Index: 0 |
| 937 | Name: Alice, Age: 30 |
| 938 | Index: 1 |
| 939 | Name: Bob, Age: 25 |
| 940 | Done |
| 941 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 942 | Result: ✅ PASSED |
| 943 | |
| 944 | ==================== struct.nc ==================== |
| 945 | Expected: PASS check and run |
| 946 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 947 | Running struct.nc... |
| 948 | Name: Alice, Age: 30 |
| 949 | name Alice |
| 950 | age 30 |
| 951 | Numerator: 11, Denominator: 32 |
| 952 | Numerator: 20, Denominator: 62 |
| 953 | Numerator: 40, Denominator: 62 |
| 954 | Name: Bob, Age: 25 |
| 955 | name Bob |
| 956 | age 25 |
| 957 | Name: Alice, Age: 30 |
| 958 | name Alice |
| 959 | age 30 |
| 960 | Name: Charlie, Age: 35 |
| 961 | name Charlie |
| 962 | age 35 |
| 963 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 964 | Result: ✅ PASSED |
| 965 | |
| 966 | ==================== testing.test.nc ==================== |
| 967 | Expected: PASS check and test |
| 968 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 969 | Testing testing.test.nc... |
| 970 | |
| 971 | Test results: 1 passed, 0 failed |
| 972 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 973 | Result: ✅ PASSED |
| 974 | |
| 975 | ==================== time_format.nc ==================== |
| 976 | Expected: PASS check and run |
| 977 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 978 | Running time_format.nc... |
| 979 | Timestamp 1705315845: 2024-01-15 10:50:45 |
| 980 | Timestamp 0: 1970-01-01 00:00:00 |
| 981 | Date only: 2024-01-15 |
| 982 | Time only: 10:50:45 |
| 983 | Current time: 2025-12-10 01:19:50 |
| 984 | Leap year date: 2024-02-29 |
| 985 | All time.format tests passed! |
| 986 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 987 | Result: ✅ PASSED |
| 988 | |
| 989 | ==================== time_now.nc ==================== |
| 990 | Expected: PASS check and run |
| 991 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 992 | Running time_now.nc... |
| 993 | Current timestamp: 1765588790 |
| 994 | Timestamp after 1s: 1765588791 |
| 995 | FINISHED CPU 0.04 MEM 8128 MAXMEM 8128 STALE 1 MAXMEM_RSS 5952 |
| 996 | Result: ✅ PASSED |
| 997 | |
| 998 | ==================== time_sleep.nc ==================== |
| 999 | Expected: PASS check and run |
| 1000 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1001 | Running time_sleep.nc... |
| 1002 | Start |
| 1003 | End |
| 1004 | FINISHED CPU 0.03 MEM 0 MAXMEM 8104 STALE 2 MAXMEM_RSS 5868 |
| 1005 | Result: ✅ PASSED |
| 1006 | |
| 1007 | ==================== tuples_comprehensive.nc ==================== |
| 1008 | Expected: PASS check and run |
| 1009 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1010 | Running tuples_comprehensive.nc... |
| 1011 | --- Basic Tuple --- |
| 1012 | t1[0]: 1 |
| 1013 | t1[1]: Hi |
| 1014 | |
| 1015 | --- Optional Tuple --- |
| 1016 | result[0] is set |
| 1017 | result[1] is none |
| 1018 | |
| 1019 | --- Return Tuple --- |
| 1020 | vals: 6, -2 |
| 1021 | |
| 1022 | --- Indexing --- |
| 1023 | vals[0]: 1 |
| 1024 | vals[1]: hi |
| 1025 | vals[2]: 2 |
| 1026 | |
| 1027 | --- Destructuring --- |
| 1028 | a: 1, b: 2 |
| 1029 | x: 10, y: Test |
| 1030 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1031 | Result: ✅ PASSED |
| 1032 | |
| 1033 | ==================== type_alias_func.nc ==================== |
| 1034 | Expected: PASS check and run |
| 1035 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1036 | Running type_alias_func.nc... |
| 1037 | ID: 123, Name: Alice |
| 1038 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1039 | Result: ✅ PASSED |
| 1040 | |
| 1041 | ==================== type_alias.nc ==================== |
| 1042 | Expected: PASS check and run |
| 1043 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1044 | Running type_alias.nc... |
| 1045 | Type alias test passed! |
| 1046 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1047 | Result: ✅ PASSED |
| 1048 | |
| 1049 | ==================== type_alias_nested.nc ==================== |
| 1050 | Expected: PASS check and run |
| 1051 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1052 | Running type_alias_nested.nc... |
| 1053 | x = 42 |
| 1054 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1055 | Result: ✅ PASSED |
| 1056 | |
| 1057 | ==================== type_casts.nc ==================== |
| 1058 | Expected: PASS check and run |
| 1059 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1060 | Running type_casts.nc... |
| 1061 | int("123") = 123 |
| 1062 | str(456) = 456 |
| 1063 | bool(0) = 0 |
| 1064 | bool(1) = 1 |
| 1065 | bool(42) = 1 |
| 1066 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1067 | Result: ✅ PASSED |
| 1068 | |
| 1069 | ==================== type_mismatch_arg.fail.nc ==================== |
| 1070 | Expected: FAIL check (legacy) |
| 1071 | Error: no matching signature for function 'greet' |
| 1072 | --> tests/type_mismatch_arg.fail.nc:9:10 |
| 1073 | | |
| 1074 | 9 | greet(42) |
| 1075 | | ^ |
| 1076 | | |
| 1077 | |
| 1078 | Error: type validation failed |
| 1079 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1080 | Result: ✅ PASSED (error as expected) |
| 1081 | |
| 1082 | ==================== type_mismatch_assignment.fail.nc ==================== |
| 1083 | Expected: FAIL check (legacy) |
| 1084 | Error: cannot initialize variable 'message' of type 'str' with value of type 'int' |
| 1085 | --> tests/type_mismatch_assignment.fail.nc:5:5 |
| 1086 | | |
| 1087 | 5 | str message = 999 |
| 1088 | | ^^^^^^^^^^^^^^^^^ |
| 1089 | | |
| 1090 | |
| 1091 | Error: type validation failed |
| 1092 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1093 | Result: ✅ PASSED (error as expected) |
| 1094 | |
| 1095 | ==================== type_mismatch_println.fail.nc ==================== |
| 1096 | Expected: FAIL check (legacy) |
| 1097 | Error: no matching signature for function 'io.println' |
| 1098 | --> tests/type_mismatch_println.fail.nc:5:15 |
| 1099 | | |
| 1100 | 5 | io.println(123) |
| 1101 | | ^ |
| 1102 | | |
| 1103 | |
| 1104 | Error: type validation failed |
| 1105 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1106 | Result: ✅ PASSED (error as expected) |
| 1107 | |
| 1108 | ==================== variadic_debug.nc ==================== |
| 1109 | Expected: PASS check and run |
| 1110 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1111 | Running variadic_debug.nc... |
| 1112 | Starting sum |
| 1113 | About to iterate |
| 1114 | In loop, index: 0 |
| 1115 | Adding: 1 |
| 1116 | In loop, index: 1 |
| 1117 | Adding: 2 |
| 1118 | In loop, index: 2 |
| 1119 | Adding: 3 |
| 1120 | Final total: 6 |
| 1121 | Result: 6 |
| 1122 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1123 | Result: ✅ PASSED |
| 1124 | |
| 1125 | ==================== variadic_iter.nc ==================== |
| 1126 | Expected: PASS check and run |
| 1127 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1128 | Running variadic_iter.nc... |
| 1129 | Starting sum |
| 1130 | Adding: 1 |
| 1131 | Adding: 2 |
| 1132 | Adding: 3 |
| 1133 | Final total: 6 |
| 1134 | Result: 6 |
| 1135 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1136 | Result: ✅ PASSED |
| 1137 | |
| 1138 | ==================== variadic.nc ==================== |
| 1139 | Expected: PASS check and run |
| 1140 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1141 | Running variadic.nc... |
| 1142 | Sum1 (10): 10 |
| 1143 | Sum2 (10+5): 15 |
| 1144 | Sum3 (10+5+10+20): 45 |
| 1145 | Hello World! |
| 1146 | No Newline |
| 1147 | Joined greetings: hellobonjourholaalohahallokonnichiwaannyeonghaseyo |
| 1148 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1149 | Result: ✅ PASSED |
| 1150 | |
| 1151 | ==================== variadic_simple.nc ==================== |
| 1152 | Expected: PASS check and run |
| 1153 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1154 | Running variadic_simple.nc... |
| 1155 | Got args |
| 1156 | Done |
| 1157 | FINISHED CPU 0.00 MEM 0 MAXMEM -1 STALE 0 MAXMEM_RSS -1 |
| 1158 | Result: ✅ PASSED |
| 1159 | |
| 1160 | ==================== Summary ==================== |
| 1161 | Results: 67 passed, 0 failed |
| 1162 |