22source: test/src/snapshot/mod.rs
33---
44> forc test --path test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call --release --experimental const_generics
5- exit status: 0
5+ exit status: 101
66output:
77 Building test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call
88 Compiling library std (test/src/e2e_vm_tests/reduced_std_libs/sway-lib-std-core)
99 Compiling contract const_of_contract_call (test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call)
10- Finished release [optimized + fuel] target(s) [40.528 KB] in ???
10+ Finished release [optimized + fuel] target(s) [38.76 KB] in ???
1111 Running 29 tests, filtered 0 tests
1212
1313tested -- const_of_contract_call
1414
15- test cost_of_in_bool ... ok (???, 2590 gas)
16- test cost_of_in_u8 ... ok (???, 4829 gas)
17- test cost_of_in_u16 ... ok (???, 4446 gas)
18- test cost_of_in_u32 ... ok (???, 4879 gas)
19- test cost_of_in_u64 ... ok (???, 4888 gas)
20- test cost_of_in_u256 ... ok (???, 4730 gas)
21- test cost_of_in_b256 ... ok (???, 2460 gas)
22- test cost_of_in_str_0 ... ok (???, 2997 gas)
23- test cost_of_in_str_1 ... ok (???, 3299 gas)
24- test cost_of_in_str_8 ... ok (???, 3720 gas)
25- test cost_of_in_str_16 ... ok (???, 3330 gas)
26- test cost_of_in_str_32 ... ok (???, 3526 gas)
27- test cost_of_in_array_0 ... ok (???, 1976 gas)
28- test cost_of_in_array_1 ... ok (???, 3164 gas)
29- test cost_of_in_array_8 ... ok (???, 10767 gas)
30- test cost_of_in_array_16 ... ok (???, 16726 gas)
31- test cost_of_in_array_32 ... ok (???, 31337 gas)
32- test cost_of_in_array_64 ... ok (???, 60382 gas)
33- test cost_of_in_tuple_0 ... ok (???, 3777 gas)
34- test cost_of_in_tuple_1 ... ok (???, 4346 gas)
35- test cost_of_in_tuple_2 ... ok (???, 4711 gas)
36- test cost_of_in_tuple_3 ... ok (???, 5058 gas)
37- test cost_of_in_tuple_4 ... ok (???, 5422 gas)
38- test in_struct_u64 ... ok (???, 3589 gas)
39- test in_struct_u64_u64 ... ok (???, 3847 gas)
40- test in_struct_u64_u64_u64 ... ok (???, 4110 gas)
41- test in_enum_u64 ... ok (???, 3149 gas)
42- test in_enum_u64_u64 ... ok (???, 3020 gas)
43- test in_enum_u64_u64_u64 ... ok (???, 3130 gas)
44-
45- test result: OK. 29 passed; 0 failed; finished in ???
15+ test cost_of_in_bool ... ok (???, 2627 gas)
16+ test cost_of_in_u8 ... ok (???, 4874 gas)
17+ test cost_of_in_u16 ... ok (???, 4493 gas)
18+ test cost_of_in_u32 ... ok (???, 4926 gas)
19+ test cost_of_in_u64 ... ok (???, 4934 gas)
20+ test cost_of_in_u256 ... ok (???, 4777 gas)
21+ test cost_of_in_b256 ... ok (???, 2491 gas)
22+ test cost_of_in_str_0 ... ok (???, 3043 gas)
23+ test cost_of_in_str_1 ... ok (???, 3345 gas)
24+ test cost_of_in_str_8 ... ok (???, 3768 gas)
25+ test cost_of_in_str_16 ... ok (???, 3374 gas)
26+ test cost_of_in_str_32 ... ok (???, 3572 gas)
27+ test cost_of_in_array_0 ... FAILED (???, 1632 gas)
28+ test cost_of_in_array_1 ... ok (???, 2125 gas)
29+ test cost_of_in_array_8 ... ok (???, 4724 gas)
30+ test cost_of_in_array_16 ... ok (???, 5096 gas)
31+ test cost_of_in_array_32 ... ok (???, 8421 gas)
32+ test cost_of_in_array_64 ... ok (???, 14895 gas)
33+ test cost_of_in_tuple_0 ... ok (???, 3822 gas)
34+ test cost_of_in_tuple_1 ... ok (???, 4392 gas)
35+ test cost_of_in_tuple_2 ... ok (???, 4761 gas)
36+ test cost_of_in_tuple_3 ... ok (???, 5104 gas)
37+ test cost_of_in_tuple_4 ... ok (???, 5468 gas)
38+ test in_struct_u64 ... ok (???, 3635 gas)
39+ test in_struct_u64_u64 ... ok (???, 3897 gas)
40+ test in_struct_u64_u64_u64 ... ok (???, 4156 gas)
41+ test in_enum_u64 ... ok (???, 3186 gas)
42+ test in_enum_u64_u64 ... ok (???, 3061 gas)
43+ test in_enum_u64_u64_u64 ... ok (???, 3173 gas)
44+
45+ failures:
46+ test cost_of_in_array_0, "test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call/src/main.sw":347
47+ revert code: 0
48+
49+
50+
51+ test result: FAILED. 28 passed; 1 failed; finished in ???
4652
4753 Finished in ???
54+ error: Some tests failed.
4855
4956> Block: ARRAY0
5057> forc test --path test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call --release --experimental const_generics
51- exit status: 0
58+ exit status: 101
5259output:
5360 Building test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call
5461 Compiling library std (test/src/e2e_vm_tests/reduced_std_libs/sway-lib-std-core)
5562 Compiling contract const_of_contract_call (test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call)
56- Finished release [optimized + fuel] target(s) [2.784 KB] in ???
63+ Finished release [optimized + fuel] target(s) [2.448 KB] in ???
5764 Running 1 test, filtered 0 tests
5865
5966tested -- const_of_contract_call
6067
61- test cost_of_in_array_0 ... ok (???, 1664 gas)
68+ test cost_of_in_array_0 ... FAILED (???, 1262 gas)
69+
70+ failures:
71+ test cost_of_in_array_0, "test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call/src/main.sw":175
72+ revert code: 0
6273
63- test result: OK. 1 passed; 0 failed; finished in ???
74+
75+
76+ test result: FAILED. 0 passed; 1 failed; finished in ???
6477
6578 Finished in ???
79+ error: Some tests failed.
6680
6781> Block: ARRAY1
6882> forc test --path test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call --release --experimental const_generics
@@ -71,12 +85,12 @@ output:
7185 Building test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call
7286 Compiling library std (test/src/e2e_vm_tests/reduced_std_libs/sway-lib-std-core)
7387 Compiling contract const_of_contract_call (test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call)
74- Finished release [optimized + fuel] target(s) [2.968 KB] in ???
88+ Finished release [optimized + fuel] target(s) [2.624 KB] in ???
7589 Running 1 test, filtered 0 tests
7690
7791tested -- const_of_contract_call
7892
79- test cost_of_in_array_1 ... ok (???, 2630 gas)
93+ test cost_of_in_array_1 ... ok (???, 1515 gas)
8094
8195test result: OK. 1 passed; 0 failed; finished in ???
8296
@@ -89,12 +103,12 @@ output:
89103 Building test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call
90104 Compiling library std (test/src/e2e_vm_tests/reduced_std_libs/sway-lib-std-core)
91105 Compiling contract const_of_contract_call (test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call)
92- Finished release [optimized + fuel] target(s) [2.992 KB] in ???
106+ Finished release [optimized + fuel] target(s) [2.648 KB] in ???
93107 Running 1 test, filtered 0 tests
94108
95109tested -- const_of_contract_call
96110
97- test cost_of_in_array_16 ... ok (???, 15867 gas)
111+ test cost_of_in_array_16 ... ok (???, 3955 gas)
98112
99113test result: OK. 1 passed; 0 failed; finished in ???
100114
@@ -107,12 +121,12 @@ output:
107121 Building test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call
108122 Compiling library std (test/src/e2e_vm_tests/reduced_std_libs/sway-lib-std-core)
109123 Compiling contract const_of_contract_call (test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call)
110- Finished release [optimized + fuel] target(s) [2.992 KB] in ???
124+ Finished release [optimized + fuel] target(s) [2.648 KB] in ???
111125 Running 1 test, filtered 0 tests
112126
113127tested -- const_of_contract_call
114128
115- test cost_of_in_array_32 ... ok (???, 29967 gas)
129+ test cost_of_in_array_32 ... ok (???, 6544 gas)
116130
117131test result: OK. 1 passed; 0 failed; finished in ???
118132
@@ -125,12 +139,12 @@ output:
125139 Building test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call
126140 Compiling library std (test/src/e2e_vm_tests/reduced_std_libs/sway-lib-std-core)
127141 Compiling contract const_of_contract_call (test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call)
128- Finished release [optimized + fuel] target(s) [3.192 KB] in ???
142+ Finished release [optimized + fuel] target(s) [2.848 KB] in ???
129143 Running 1 test, filtered 0 tests
130144
131145tested -- const_of_contract_call
132146
133- test cost_of_in_array_64 ... ok (???, 58218 gas)
147+ test cost_of_in_array_64 ... ok (???, 11787 gas)
134148
135149test result: OK. 1 passed; 0 failed; finished in ???
136150
@@ -143,12 +157,12 @@ output:
143157 Building test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call
144158 Compiling library std (test/src/e2e_vm_tests/reduced_std_libs/sway-lib-std-core)
145159 Compiling contract const_of_contract_call (test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call)
146- Finished release [optimized + fuel] target(s) [3.12 KB] in ???
160+ Finished release [optimized + fuel] target(s) [2.784 KB] in ???
147161 Running 1 test, filtered 0 tests
148162
149163tested -- const_of_contract_call
150164
151- test cost_of_in_array_8 ... ok (???, 9566 gas)
165+ test cost_of_in_array_8 ... ok (???, 3225 gas)
152166
153167test result: OK. 1 passed; 0 failed; finished in ???
154168
0 commit comments