Debian Codegraph @

tests/snapshots/cli/component-model/adapt.wast.json

raw
1 {
2 "source_filename": "tests/cli/component-model/adapt.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 3,
7 "filename": "adapt.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_invalid",
12 "line": 77,
13 "filename": "adapt.1.wasm",
14 "module_type": "binary",
15 "text": "canonical encoding option `utf8` conflicts with option `utf16`"
16 },
17 {
18 "type": "assert_invalid",
19 "line": 84,
20 "filename": "adapt.2.wasm",
21 "module_type": "binary",
22 "text": "canonical encoding option `utf8` conflicts with option `latin1-utf16`"
23 },
24 {
25 "type": "assert_invalid",
26 "line": 91,
27 "filename": "adapt.3.wasm",
28 "module_type": "binary",
29 "text": "canonical encoding option `utf16` conflicts with option `latin1-utf16`"
30 },
31 {
32 "type": "assert_invalid",
33 "line": 98,
34 "filename": "adapt.4.wasm",
35 "module_type": "binary",
36 "text": "memory index out of bounds"
37 },
38 {
39 "type": "assert_invalid",
40 "line": 105,
41 "filename": "adapt.5.wasm",
42 "module_type": "binary",
43 "text": "`memory` is specified more than once"
44 },
45 {
46 "type": "assert_invalid",
47 "line": 114,
48 "filename": "adapt.6.wasm",
49 "module_type": "binary",
50 "text": "canonical option `memory` is required"
51 },
52 {
53 "type": "assert_invalid",
54 "line": 124,
55 "filename": "adapt.7.wasm",
56 "module_type": "binary",
57 "text": "canonical option `realloc` is required"
58 },
59 {
60 "type": "assert_invalid",
61 "line": 139,
62 "filename": "adapt.8.wasm",
63 "module_type": "binary",
64 "text": "canonical option `realloc` is specified more than once"
65 },
66 {
67 "type": "assert_invalid",
68 "line": 157,
69 "filename": "adapt.9.wasm",
70 "module_type": "binary",
71 "text": "canonical option `realloc` uses a core function with an incorrect signature"
72 },
73 {
74 "type": "assert_invalid",
75 "line": 174,
76 "filename": "adapt.10.wasm",
77 "module_type": "binary",
78 "text": "canonical option `post-return` uses a core function with an incorrect signature"
79 },
80 {
81 "type": "assert_invalid",
82 "line": 193,
83 "filename": "adapt.11.wasm",
84 "module_type": "binary",
85 "text": "canonical option `post-return` is specified more than once"
86 },
87 {
88 "type": "assert_invalid",
89 "line": 213,
90 "filename": "adapt.12.wasm",
91 "module_type": "binary",
92 "text": "canonical option `post-return` cannot be specified for lowerings"
93 },
94 {
95 "type": "module",
96 "line": 232,
97 "filename": "adapt.13.wasm",
98 "module_type": "binary"
99 },
100 {
101 "type": "assert_malformed",
102 "line": 250,
103 "filename": "adapt.14.wat",
104 "module_type": "text",
105 "text": "unknown instance: failed to find name `$i`"
106 },
107 {
108 "type": "assert_invalid",
109 "line": 258,
110 "filename": "adapt.15.wasm",
111 "module_type": "binary",
112 "text": "lowered parameter types `[]` do not match parameter types `[I32]`"
113 },
114 {
115 "type": "assert_invalid",
116 "line": 266,
117 "filename": "adapt.16.wasm",
118 "module_type": "binary",
119 "text": "lowered result types `[]` do not match result types `[I32]`"
120 },
121 {
122 "type": "assert_invalid",
123 "line": 274,
124 "filename": "adapt.17.wasm",
125 "module_type": "binary",
126 "text": "not a function type"
127 },
128 {
129 "type": "assert_malformed",
130 "line": 283,
131 "filename": "adapt.18.wat",
132 "module_type": "text",
133 "text": "unknown core func: failed to find name `$f`"
134 }
135 ]
136 }