ErrLookup › swc-project/swc
swc-project/swc
Rust-based platform for the Web · Rust · 1,441 source files
Analyzed at 5dada7eaea on 2026-09-05. 535 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| 'none' value of an ident token | validation | error | css, swc, css-parser, rgb, color-function, none-keyword |
| right-associative binary expression | panic | error | |
| The const_module namespace | panic | error | swc, const-modules, compiler-transform, import, panic |
| failed to restore source context because the source length… | exception | error | node-bindings, spans, source-map, ast-roundtrip, napi |
| comma token | validation | error | css, swc, css-parser, rgb, hsl, comma, mixed-syntax |
| illegal conversion: Cannot convert | panic | error | swc, babelify, panic, typescript, import-equals, export-assignment, module-declaration |
| invalid source context byte range | exception | error | swc, ast, spans, byte-range, node-bindings |
| Plugin proxy does not work without serialization support | panic | error | feature-flag, wasm-plugin, serialization, swc-plugin-proxy, build-config |
| jsonify: Expr cannot be converted to json | panic | error | swc, optimizer, jsonify, json-parse, minification, serde, panic |
| unable to access unknown nodes | panic | error | swc, fast-dts, unknown-ast-node, version-mismatch, panic, program, entry-point |
| Filesystem cache is not enabled, cannot read plugin from… | exception | error | swc-plugin, plugin-cache, cargo-features, filesystem, wasm32 |
| illegal conversion: Cannot convert | panic | error | swc, babelify, panic, function-parameters, invalid-ast, pattern-conversion |
| Transform plugin cannot be used without serialization… | panic | error | feature-flag, wasm-plugin, plugin-runner, serialization, build-config |
| failed to parse jsx option | panic | error | swc, jsx, react, pragma, config, panic |
| HTML start tag " " in a foreign namespace context | exception | warning | html, parser, foreign-content, svg, mathml, nesting, breakout-tag, swc |
| Expected function or '(' | validation | error | css, swc, parser, at-rules, supports-rule, syntax |
| Unexpected null character | exception | warning | html, parser, null-byte, encoding, foreign-content, swc |
| StringEnum requires all variants not to have fields | panic | error | |
| failed to parse the value of BigIntLiteral | panic | error | bigint, estree-compat, parse, panic, swcify, rust |
| illegal conversion: Cannot convert | panic | error | swc, babelify, panic, binary-expression, operator-mismatch, illegal-conversion |
| percentage, number, function (math functions) or ident… | validation | error | css, swc, css-parser, rgb, color-function, unexpected-token |
| percentage, function (math functions) or ident (with 'none'… | validation | error | css, swc, css-parser, hsl, saturation, percentage, unexpected-token |
| Error occurred while loading config file at | exception | error | swc, spack, config, require, commonjs |
| swc does not support ObjectPropVal::Pattern | panic | error | |
| failed to get current directory | panic | error | module-resolution, filesystem, current-directory, runtime-panic, swc |
| percentage, function (math functions) or number token | validation | error | css, swc, css-parser, rgb, alpha, legacy-syntax, unexpected-token |
| assign property in object literal is not a valid syntax | panic | error | |
| Not supported yet | panic | error | wasm-plugin, plugin-metadata, unimplemented, experimental-api, swc-plugin-proxy |
| Expected something like | panic | error | proc-macro, attribute-macro, fixture-tests, testing-macros, compile-time |
| number, dimension, function (math functions) or ident (with… | validation | error | css, swc, css-parser, hsl, hue, unexpected-token |
| Cannot use both #[encoding(with)] and #[encoding(ignore)]… | panic | error | rust, proc-macro, derive, decode, cbor, attributes |
| failed to parse input type | panic | error | proc-macro, quote-macro, compile-time, syntax-error, swc |
| json subdiagnostic | panic | error | |
| unknown key | panic | error | swc, preset-env, browserslist, browser-targets, panic |
| illegal conversion: Cannot convert | panic | error | swc, babelify, panic, logical-expression, operator-mismatch, illegal-conversion |
| Unknown statement type: ${(stmt as any).type | exception | error | swc, legacy-plugin, visitor, ast, javascript-plugin |
| Duplicated element ( ) | exception | error | swc, wasm, internal-error, invariant, panic, typescript-strip |
| Failed to parse the input | exception | error | parse-error, ast-viewer, wasm-binding, syntax-flags, typescript |
GenericFailure {err:?} | exception | error | napi, nodejs, serde, deserialization, bindings, swc |
| object rest pattern should be removed by… | panic | error | swc, compat-es2015, destructuring, object-rest, pass-ordering, panic |
| \nnote: exclude() expects one or more comma-separated… | panic | error | |
| failed to parse AssignTarget | panic | error | proc-macro, quote-macro, assignment-target, compile-time, swc |
UnclosedElements End tag " " seen, but there were open elements | validation | warning | html, parser, template, unclosed-elements, nesting, swc |
| Plugin's AST schema version is not compatible with host's… | exception | error | swc-plugin, version-mismatch, ast-schema, compatibility, wasm-plugin |
| flow type | panic | error | flow, babel, generics, class-heritage, ast-conversion, unimplemented |
| Type of node parameter should be reference but got | panic | error | |
| End of file seen and there were open elements | validation | warning | html, parser, swc, template, unclosed-tag, parse-error, eof |
| entry must be a file, instead of a directory | panic | error | config, entry, path, bundler, panic, swc-node-bundler |
| destructuring pattern inside TsParameterProperty | panic | error | swc, typescript, strip-types, parameter-properties, destructuring, invalid-syntax, panic |
| Decorating class property failed. Please ensure that… | exception | error | decorators, class-properties, legacy-decorators, swc, build-config |
| failed to parse the value of DecimalLiteral | panic | error | decimal, estree-compat, parse, panic, swcify, rust |
| method of Fold / VisitMut must accept two parameters | panic | error | proc-macro, fast-path, method-signature, compile-time, swc |
| failed to create file | panic | error | |
| ` ` matched ` ` (from tsconfig.paths) but failed to resolve | exception | error | tsconfig-paths, module-resolution, path-alias, base-url, swc-ecma-loader |
| more than 1 unnamed member field are not allowed | panic | error | rust, proc-macro, derive, encode, enum, cbor |
StartTagInTable Start tag " " seen in "table | validation | warning | html, table, foster-parenting, parse-error, nesting |
| No test found | panic | error | |
| The requested module | exception | error | xml, parser, eof, swc, recoverable |
| Should able to be deserialized into string | panic | critical | plugin, wasm, cbor, deserialization, version-mismatch, panic |
| Binder for union type | panic | error | proc-macro, derive, union, compile-time, swc-macros-common |
| empty expression container | panic | error | swc, jsx, react, ast, panic |
MissingWhitespaceBeforeQuestionInProcessingInstruction Missing whitespace before '?' | validation | error | xml, processing-instruction, whitespace, lexer |
| Decorators can't be placed on different accessors with for… | exception | error | swc, napi, file-io, node-bindings, panic, transform |
| Fast-path injection for Fold / VisitMut where pattern is… | panic | error | proc-macro, swc, rust, compile-time, visitor |
| Non conforming doctype | exception | warning | html, parser, doctype, quirks-mode, legacy, swc |
| assertion failed\n | panic | error | |
| #[tag] attribute must be in form of #[tag(..)] | panic | error | rust, proc-macro, serde, ast-node, tag-attribute |
| enum member types must be consistent | panic | error | rust, proc-macro, derive, decode, enum, cbor |
| module item found but is_es6 is false | panic | error | |
| node-resolver supports only files | exception | error | module-resolution, node-resolver, filename-type, virtual-fs, swc-ecma-loader |
| Bindings not found. | exception | critical | swc, native-bindings, install, minify, node-api |
| Expected url or function | validation | error | css, swc, parser, at-rules, document-rule, firefox, syntax |
| Modules reexported with `export * as foo from './foo'`… | panic | error | swc, bundler, esm, re-export, export-star-as |
| illegal conversion: Cannot convert | panic | error | swc, babelify, panic, import-attributes, spread-element, illegal-conversion |
| invalid vlq segment size; expected 4 or 5, got | validation | error | sourcemap, vlq, input-sourcemap, swc-config, malformed-input |
| can't have a . property. | exception | error | rust, proc-macro, derive, attribute, swc, compile-time |
| Should be serializable | panic | critical | plugin, wasm, cbor, serialization, hygiene, version-mismatch, panic |
| failed to run mocha | panic | error | test-harness, mocha, process-spawn, permissions, swc |
| We don't care about this file | exception | info | dbg-swc, creduce, minifier, sentinel |
InvalidData expected newline | exception | error | sourcemap, xssi, io, line-endings, decoder |
| percentage, functions (math functions) or ident (with… | validation | error | css, swc, parser, color, hwb, legacy-comma, syntax |
DuplicateAttribute Duplicate attribute | validation | error | xml, attributes, well-formedness, lexer, duplicate |
EndTagViolatesNestingRules End tag " " violates nesting rules | validation | warning | html, adoption-agency, nesting-rules, formatting-elements, parse-error |
| using declaration must be removed by previous pass | panic | error | swc, compat-es2015, for-of, using-declarations, explicit-resource-management, pass-ordering, panic |
| #[ast_node] enum cannot contain named fields or unit variant | panic | error | |
| End of file seen when expecting text or an end tag | validation | error | html, parser, eof, truncated-input, textarea, title, text-mode |
| Fallback bindings does not support this interface yet. | exception | error | swc, wasm-fallback, parse, native-bindings |
| Finishers must return a constructor. | exception | error | rust, proc-macro, derive, deserialize, swc, compile-time |
| ident token | validation | error | css, swc, parser, color, color-function, color-space, syntax |
| assignment property be removed before generator pass | panic | error | swc, compat-es2015, generator, prop-assign, cover-grammar, invalid-ast, panic |
| Expected | validation | error | css, parser, syntax, expected-token |
| should not be wrapped with a function | exception | error | swc, bundler, internal-invariant, module-graph |
| Invalid attempt to iterate non-iterable instance. In order… | exception | error | swc, napi, minify, json, node-bindings, panic |
UnexpectedTokenInStartPhase Unexpected token in start phase | validation | error | xml, cdata, prolog, well-formedness, parser |
| as_bool() for JSXText | panic | error | |
| Super expression must either be null or a function | exception | error | rust, proc-macro, derive, encode, swc, compile-time |
| failed to parse input as document fragment | exception | error | swc, html, parser, document-fragment, node-bindings |
| illegal conversion: Cannot convert | panic | error | swc, estree, babelify, private-name, panic |
| multiple constructor? | panic | error | swc, decorators, class-ast, constructor, ast-invariant, panic |
| failed to handle | exception | error | panic, native-binding, node-binding, swc-core, catch-unwind |