Swift errors and diagnostics, page 16 of 20
The error codes and warnings of Swift, with the message that each one prints and what causes it. This page has 3,841 cards.
- Code
required_initializer_override_keyword- Severity
- warning
- Message
'override' is implied when overriding a required initializer
- Code
required_initializer_override_wrong_keyword- Severity
- error
- Message
use the 'required' modifier to override a required initializer
- Code
requirement_conflict- Severity
- error
- Message
no type for {} can satisfy both {}
- Code
requirement_machine_completion_failed- Severity
- error
- Message
cannot build rewrite system for {}; {} limit exceeded
- Code
requirement_restricts_self- Severity
- error
- Message
{} requirement {} cannot add constraint '{}{} {}' on 'Self'
- Code
requires_comma- Severity
- error
- Message
expected ',' to separate the requirements of this 'where' clause
- Code
requires_conformance_nonprotocol- Severity
- error
- Message
type {} constrained to non-protocol, non-class type {}
- Code
requires_experimental_feature- Severity
- error
- Message
'{}' {} is only valid when experimental feature {} is enabled
- Code
requires_generic_param_made_equal_to_concrete- Severity
- error
- Message
same-type requirement makes generic parameter {} non-generic
- Code
requires_generic_params_made_equal- Severity
- error
- Message
same-type requirement makes generic parameters {} and {} equivalent
- Code
requires_not_suitable_archetype- Severity
- error
- Message
type {} in conformance requirement does not refer to a generic parameter or associated type
- Code
requires_not_suitable_inverse_outer_subject- Severity
- error
- Message
cannot suppress '~{}' on generic parameter '{}' defined in outer scope
- Code
requires_not_suitable_inverse_subject- Severity
- error
- Message
cannot suppress '~{}' on type {}
- Code
requires_same_concrete_type- Severity
- error
- Message
generic signature requires types {} and {} to be the same
- Code
requires_single_equal- Severity
- error
- Message
use '==' for same-type requirements rather than '='
- Code
reserved_member_name- Severity
- error
- Message
type member must not be named {}, since it would conflict with the 'foo.{}' expression
- Code
reserved_runtime_symbol_name- Severity
- warning
- Message
symbol name '{}' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
- Code
resilience_decl_unavailable- Severity
- error
- Message
{} is {} and cannot be referenced from {}2
- Code
resilience_decl_unavailable_warn- Severity
- warning
- Message
{} is {} and should not be referenced from {}2
- Code
resilient_associated_type_less_available_requires_default- Severity
- error
- Message
associated type {} that is less available than its protocol must have a default
- Code
resolved_macro_changed- Severity
- error
- Message
resolved macro plugin '{}' failed verification: {}
- Code
restate_unchecked_sendable- Severity
- warning
- Message
class {} must restate inherited '@unchecked Sendable' conformance
- Code
result_builder_arguments- Severity
- error
- Message
result builder attributes cannot have arguments
- Code
result_builder_attribute_not_allowed_here- Severity
- error
- Message
result builder attribute {} can only be applied to a parameter, function, subscript, or computed property
- Code
result_builder_attribute_on_storage_without_getter- Severity
- error
- Message
result builder attribute {} can only be applied to a {} if it defines a getter
- Code
result_builder_buildblock_not_accessible- Severity
- error
- Message
result builder must provide at least one static 'buildBlock' as accessible as result builder type {} (which is {})
- Code
result_builder_buildpartialblock_accumulated_not_accessible- Severity
- error
- Message
result builder must provide at least one static 'buildPartialBlock(accumulated:next:)' as accessible as result builder type {} (which is {})
- Code
result_builder_buildpartialblock_first_not_accessible- Severity
- error
- Message
result builder must provide at least one static 'buildPartialBlock(first:)' as accessible as result builder type {} (which is {})
- Code
result_builder_control_flow- Severity
- error
- Message
closure containing control flow statement cannot be used with result builder {}
- Code
result_builder_decl- Severity
- error
- Message
closure containing a declaration cannot be used with result builder {}
- Code
result_builder_disabled_by_return- Severity
- error
- Message
cannot use explicit 'return' statement in the body of result builder {}
- Code
result_builder_disabled_by_return_warn- Severity
- warning
- Message
application of result builder {} disabled by explicit 'return' statement
- Code
result_builder_infer_ambig- Severity
- error
- Message
ambiguous result builder inferred for {}: {} or {}
The compiler puts it in the diagnostic group ResultBuilderMethods.
- Code
result_builder_missing_available_buildpartialblock- Severity
- error
- Message
result builder {} does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
- Code
result_builder_missing_element- Severity
- error
- Message
expected expression in result builder {}
- Code
result_builder_missing_element_of_type- Severity
- error
- Message
expected expression of type {} in result builder {}
The compiler puts it in the diagnostic group ResultBuilderMethods.
- Code
result_builder_missing_limited_availability- Severity
- warning
- Message
result builder {} does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
- Code
result_builder_multiple- Severity
- error
- Message
only one result builder attribute can be attached to a {}
- Code
result_builder_parameter_autoclosure- Severity
- error
- Message
result builder attribute {} cannot be applied to an autoclosure parameter
- Code
result_builder_parameter_not_of_function_type- Severity
- error
- Message
result builder attribute {} can only be applied to a parameter of function type
- Code
result_builder_requires_explicit_var_initialization- Severity
- error
- Message
local variable{} requires explicit initializer to be used with result builder {}
The compiler puts it in the diagnostic group ResultBuilderMethods.
- Code
result_builder_static_buildblock_or_buildpartialblock- Severity
- error
- Message
result builder must provide at least one static 'buildBlock' method, or both 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)'
- Code
rethrowing_function_type- Severity
- error
- Message
only function declarations may be marked 'rethrows'; did you mean 'throws'?
- Code
rethrows_with_thrown_error- Severity
- error
- Message
'rethrows' cannot be combined with a specific thrown error type
- Code
rethrows_without_throwing_parameter- Severity
- error
- Message
'rethrows' function must take a throwing function argument
- Code
retroactive_attr_does_not_apply- Severity
- error
- Message
'retroactive' attribute does not apply; {} is declared in {}
- Code
retroactive_fast_cast- Severity
- error
- Message
cannot add retroactive conformance for a fast-cast protocol {}
- Code
return_before_yield- Severity
- error
- Message
accessor must yield before returning
- Code
return_borrowing_switch_binding- Severity
- warning
- Message
returning the non-'Copyable' value of a pattern binding from a switch that borrows by default; the switch will be performed as a consume for compatibility for now, but this will require an explicit 'switch consume' in the future
The compiler puts it in the diagnostic group ClangDeclarationImport.
- Code
return_escapable_with_lifetimebound- Severity
- warning
- Message
the returned type '{}' is annotated as escapable; it cannot have lifetime dependencies
- Code
return_expr_missing- Severity
- error
- Message
non-void function should return a value
- Code
return_from_failable_init_without_nil- Severity
- error
- Message
return from failable initializer before initializing all stored properties; did you mean to return 'nil'?
- Code
return_from_init_without_initing_stored_properties- Severity
- error
- Message
return from initializer without initializing all stored properties
- Code
return_init_non_nil- Severity
- error
- Message
'nil' is the only return value permitted in an initializer
- Code
return_invalid_outside_func- Severity
- error
- Message
return invalid outside of a func
- Code
return_non_failable_init- Severity
- error
- Message
only a failable initializer can return 'nil'
The compiler puts it in the diagnostic group ClangDeclarationImport.
- Code
return_nonescapable_without_lifetimebound- Severity
- warning
- Message
the returned type '{}' is annotated as non-'Escapable'; its lifetime dependencies must be annotated
- Code
returns_retained_or_returns_unretained_for_non_cxx_frt_values- Severity
- warning
- Message
{} should not be annotated with SWIFT_RETURNS_RETAINED or SWIFT_RETURNS_UNRETAINED because it is not returning a SWIFT_SHARED_REFERENCE type
The compiler puts it in the diagnostic group ClangDeclarationImport.
- Code
returns_retained_returns_unretained_on_overloaded_operator- Severity
- warning
- Message
SWIFT_RETURNS_RETAINED and SWIFT_RETURNS_UNRETAINED is not supported yet for overloaded C++ {}. Overloaded C++ operators always return SWIFT_SHARED_REFERENCE types as owned
The compiler puts it in the diagnostic group MissingRuntimeFailureMessage.
- Code
runtime_failure_message_not_literal- Severity
- warning
- Message
runtime failure message is not a string literal; the failure will be reported as '{}'
- Code
safe_and_unsafe_attr- Severity
- error
- Message
{} cannot be both '@safe' and '@unsafe'
- Code
same_actor_isolated_default_argument_context- Severity
- error
- Message
cannot use default value from different instance of {}
- Code
satisfy_throws_objc- Severity
- error
- Message
satisfying a throwing '@objc' {} with a non-throwing {} is not supported
- Code
scanner_find_cycle- Severity
- error
- Message
module dependency cycle: '{}'
- Code
scope_params_unsupported- Severity
- error
- Message
explicit scope parameters are not supported
- Code
scoped_applied_repeatedly- Severity
- error
- Message
scope restrictions cannot be specified more than once
- Code
scoped_consuming_param- Severity
- error
- Message
consumed parameters have no access scope
- Code
scoped_elided_result- Severity
- error
- Message
non-escapable result of a function with scope restrictions must have its scope written with '@_scoped'
- Code
scoped_escapable_param- Severity
- error
- Message
{} has an escapable type, so it has no scope
- Code
scoped_function_type_param- Severity
- error
- Message
scopes named by function type parameters are not supported
- Code
scoped_labeled- Severity
- error
- Message
labeled scope restrictions are not supported
- Code
scoped_multiple- Severity
- error
- Message
multiple scope restrictions are not supported
- Code
scoped_nonescapable_in_generic_argument- Severity
- error
- Message
non-escapable type in a generic argument is not supported when scope restrictions are enabled
- Code
scoped_nonescapable_in_param_position- Severity
- error
- Message
non-escapable type in this position is not supported when scope restrictions are enabled
- Code
scoped_nonescapable_in_typealias- Severity
- error
- Message
non-escapable type in a typealias is not supported when scope restrictions are enabled
- Code
scoped_nonescapable_param_context- Severity
- error
- Message
non-escapable parameters are only supported in functions and initializers when scope restrictions are enabled
- Code
scoped_nonescapable_self- Severity
- error
- Message
the scope of a non-escapable 'self' is not supported
- Code
scoped_param_scope_unsupported- Severity
- error
- Message
the scope of {} is not supported
- Code
scoped_self_no_access- Severity
- error
- Message
'self' has no access scope here
- Code
scoped_unknown_param- Severity
- error
- Message
cannot find parameter {} for scope restriction
- Code
scoped_unsupported_position- Severity
- error
- Message
'@_scoped' is not supported here
- Code
sdk_node_unrecognized_accessor_kind- Severity
- error
- Message
unrecognized accessor kind '{}' in SDK node
- Code
sdk_node_unrecognized_decl_attr_kind- Severity
- error
- Message
unrecognized declaration attribute '{}' in SDK node
- Code
sdk_node_unrecognized_decl_kind- Severity
- error
- Message
unrecognized declaration kind '{}' in SDK node
- Code
sdk_node_unrecognized_key- Severity
- error
- Message
unrecognized key '{}' in SDK node
- Code
sdk_node_unrecognized_node_kind- Severity
- error
- Message
unrecognized SDK node kind '{}'
- Code
sdk_node_unrecognized_type_attr_kind- Severity
- error
- Message
unrecognized type attribute '{}' in SDK node
- Code
section_empty_name- Severity
- error
- Message
'@section' section name cannot be empty
- Code
selector_construction_suggest- Severity
- warning
- Message
use '#selector' instead of explicitly constructing a 'Selector'
- Code
selector_literal_deprecated- Severity
- warning
- Message
use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
- Code
selector_literal_deprecated_suggest- Severity
- warning
- Message
use of string literal for Objective-C selectors is deprecated; use '#selector' instead
- Code
selector_literal_invalid- Severity
- warning
- Message
string literal is not a valid Objective-C selector
- Code
selector_literal_undeclared- Severity
- warning
- Message
no method declared with Objective-C selector {}
- Code
self_assignment_prop- Severity
- error
- Message
assigning a property to itself
- Code
self_assignment_var- Severity
- error
- Message
assigning a variable to itself
- Code
self_before_selfinit- Severity
- error
- Message
'self' used before 'self.init' call
- Code
self_before_selfinit_value_type- Severity
- error
- Message
'self' used before 'self.init' call or assignment to 'self'
- Code
self_before_superinit- Severity
- error
- Message
'self' used before 'super.init' call
- Code
self_capture_deinit_task- Severity
- error
- Message
capture of 'self' in a closure that outlives deinit
- Code
self_closure_use_uninit- Severity
- error
- Message
'self' captured by a closure before all members were initialized
- Code
self_inside_catch_superselfinit- Severity
- error
- Message
'self' used inside 'catch' block reachable from {}.init call
The compiler puts it in the diagnostic group EmbeddedRestrictions.
- Code
self_referential_superclass_in_embedded_swift- Severity
- error
- Message
class {} cannot inherit from {} in Embedded Swift because a generic argument of the superclass refers to the subclass itself, creating a circular metadata dependency
- Code
self_refers_to_method- Severity
- warning
- Message
'self' refers to the method '{}.self', which may be unexpected
- Code
self_use_before_fully_init- Severity
- error
- Message
'self' used in {} {} before {}
- Code
selfinit_multiple_times- Severity
- error
- Message
'{}.init' called multiple times in initializer
The compiler puts it in the diagnostic group ModuleSelfImport.
- Code
sema_import_current_module- Severity
- warning
- Message
this file is part of module {}; ignoring import
The compiler puts it in the diagnostic group ModuleSelfImport.
- Code
sema_import_current_module_with_file- Severity
- warning
- Message
file '{}' is part of module {}; ignoring import
- Code
sema_no_import- Severity
- error
- Message
no such module '{}'
- Code
sema_no_import_repl- Severity
- error
- Message
no such module '{}'
- Code
sema_no_import_target- Severity
- error
- Message
could not find module '{}' for target '{}'; found: {}, at: {}
- Code
sema_opening_import- Severity
- error
- Message
opening import file for module {}: {}
- Code
semantic_function_improper_nesting- Severity
- warning
- Message
'@_semantics' function calls non-'@_semantics' function with nested '@_semantics' calls
- Code
sendable_isolated_sync_function- Severity
- error
- Message
{} synchronous {} cannot be marked as '@Sendable'
- Code
sendable_raw_storage- Severity
- error
- Message
struct {} with '@_rawLayout' does not conform to the 'Sendable' protocol
- Code
sending_before_parameter_specifier- Severity
- error
- Message
'sending' must be placed after specifier '{}'
- Code
sending_cannot_be_applied_to_tuple_elt- Severity
- error
- Message
'sending' cannot be applied to tuple elements
- Code
sending_cannot_be_used_with_borrowing- Severity
- error
- Message
'{}' cannot be used together with 'borrowing'
- Code
sending_capture_decl_requires_once_closure- Severity
- error
- Message
'sending' capture may only be declared in a '@once' or '@callable(once)' closure
- Code
sending_capture_requires_experimental_feature- Severity
- error
- Message
'sending' capture is only valid when experimental feature 'OnceFunctions' is enabled
- Code
sending_function_wrong_sending- Severity
- error
- Message
converting a value of type {} to type {} risks causing data races
- Code
sending_only_on_parameters_and_results- Severity
- error
- Message
'sending' may only be used on parameters and results
- Code
sending_repeated- Severity
- error
- Message
parameter may have at most one 'sending' specifier
- Code
serialization_allowing_error_type- Severity
- error
- Message
allowing deserialization of error type '{}' in module '{}'
- Code
serialization_allowing_invalid_decl- Severity
- error
- Message
allowing deserialization of invalid declaration {} ({}) in module {}
- Code
serialization_circular_dependency- Severity
- error
- Message
circular dependency between modules '{}' and {}
- Code
serialization_dropped_custom_availability- Severity
- warning
- Message
ignoring unresolved custom availability domain {}
- Code
serialization_error_type- Severity
- error
- Message
deserialized error type '{}' in module '{}'
- Code
serialization_failed- Severity
- error
- Message
serialization of module {} failed due to the errors above
- Code
serialization_fatal- Severity
- error
- Message
fatal error encountered while reading from module '{}'; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
- Code
serialization_invalid_decl- Severity
- error
- Message
deserialized invalid declaration {} ({}) in module {}
- Code
serialization_load_failed- Severity
- error
- Message
failed to load module '{}'
- Code
serialization_malformed_module- Severity
- error
- Message
malformed compiled module: {}
- Code
serialization_malformed_sourceinfo- Severity
- warning
- Message
'{}' is either malformed or generated by a different Swift version. Note that it uses an unstable format and may leak internal project details, it should not be distributed alongside modules
- Code
serialization_missing_dependencies- Severity
- error
- Message
missing required modules: {}
- Code
serialization_missing_single_dependency- Severity
- error
- Message
missing required module '{}'
- Code
serialization_missing_underlying_module- Severity
- error
- Message
cannot load underlying module for {}
- Code
serialization_module_incompatible_channel- Severity
- error
- Message
the binary module for {} was compiled for '{}', it cannot be imported by the current compiler which is aligned with '{}'. Binary module loaded from path: {}
- Code
serialization_module_incompatible_revision- Severity
- error
- Message
compiled module was created by a different version of the compiler '{}'; rebuild {} and try again: {}
- Code
serialization_module_language_version_mismatch- Severity
- error
- Message
module compiled with Swift {} cannot be imported by the Swift {} compiler: {}
- Code
serialization_module_too_new- Severity
- error
- Message
compiled module was created by a newer version of the compiler: {}
- Code
serialization_module_too_old- Severity
- error
- Message
compiled module was created by an older version of the compiler; rebuild {} and try again: {}
- Code
serialization_name_mismatch- Severity
- error
- Message
cannot load module '{}' as '{}'
- Code
serialization_name_mismatch_repl- Severity
- error
- Message
cannot load module '{}' as '{}'
- Code
serialization_scheduled_implementation_only_hidden_type_layout- Severity
- remark
- Message
serializing abstract layout for hidden type {} because its defining module was imported with '@_implementationOnly' and it contributes to the ABI-exposed layout of {} through {}
- Code
serialization_scheduled_recovered_hidden_type_layout- Severity
- remark
- Message
serializing abstract layout for hidden type {} because it was recovered from a hidden type representation and contributes to the ABI-exposed layout of {} through {}
- Code
serialization_sdk_mismatch- Severity
- error
- Message
cannot load module {} built with SDK '{}' when using SDK '{}': {}
- Code
serialization_skipped_invalid_decl- Severity
- remark
- Message
serialization skipped invalid {}
- Code
serialization_skipped_invalid_type- Severity
- remark
- Message
serialization skipped for invalid type {}
- Code
serialization_skipped_invalid_type_unknown_name- Severity
- remark
- Message
serialization skipped for invalid type
- Code
serialization_target_incompatible- Severity
- error
- Message
module {} was created for incompatible target {}: {}
- Code
serialization_target_incompatible_repl- Severity
- error
- Message
module {} was created for incompatible target {}: {}
- Code
serialization_target_too_new- Severity
- error
- Message
compiling for {} {}, but module {} has a minimum deployment target of {} {}: {}
- Code
serialization_target_too_new_repl- Severity
- error
- Message
compiling for {} {}, but module {} has a minimum deployment target of {} {}: {}
- Code
serialization_xref_to_hidden_dependency- Severity
- error
- Message
invalid reference to implementation-only imported module {}{}
- Code
shadowed_generic_param- Severity
- error
- Message
generic parameter {} shadows generic parameter from outer scope with the same name
The compiler puts it in the diagnostic group MutableGlobalVariable.
- Code
shared_immutable_state_decl- Severity
- error
- Message
{} is not concurrency-safe because non-'Sendable' type {} may have shared mutable state
- Code
shared_mutable_state_access- Severity
- error
- Message
reference to {} is not concurrency-safe because it involves shared mutable state
The compiler puts it in the diagnostic group MutableGlobalVariable.
- Code
shared_mutable_state_decl- Severity
- error
- Message
{} is not concurrency-safe because it is nonisolated global shared mutable state
- Code
shifting_all_significant_bits- Severity
- error
- Message
shift amount is greater than or equal to type size in bits
- Code
should_use_array_literal_not_tuple- Severity
- error
- Message
array of type {} cannot be {} with tuple
- Code
should_use_dictionary_literal_not_array_literal- Severity
- error
- Message
dictionary of type {} cannot be {} with array literal
- Code
should_use_empty_dictionary_literal- Severity
- error
- Message
use [:] to get an empty dictionary literal
- Code
should_use_tuple_not_array_literal- Severity
- error
- Message
tuple of type {} cannot be {} with array literal
- Code
sil_adhoc_requirement_witness_func_not_found- Severity
- error
- Message
ad-hoc requirement witness function not found {}
- Code
sil_arg_both_lexical_and_eagerMove- Severity
- error
- Message
Function argument is annotated both '@_eagerMove' and '@_noEagerMove', but these are incompatible alternatives
- Code
sil_autodiff_expected_index_list_label- Severity
- error
- Message
expected label '{}' in index list
- Code
sil_autodiff_expected_lsquare- Severity
- error
- Message
expected '[' to start the {}
- Code
sil_autodiff_expected_parameter_index- Severity
- error
- Message
expected the index of a parameter to differentiate with respect to
- Code
sil_autodiff_expected_result_index- Severity
- error
- Message
expected the index of a result to differentiate from
- Code
sil_autodiff_expected_rsquare- Severity
- error
- Message
expected ']' to complete the {}
- Code
sil_availability_expected_version- Severity
- error
- Message
expected version number in 'available' attribute
- Code
sil_basicblock_arg_rparen- Severity
- error
- Message
expected ')' in basic block argument list
- Code
sil_basicblock_redefinition- Severity
- error
- Message
redefinition of basic block {}
- Code
sil_box_arg_mismatch- Severity
- error
- Message
SIL box type has wrong number of generic arguments for layout
- Code
sil_box_expected- Severity
- error
- Message
{} expects its operand to be of SIL box field type
- Code
sil_box_expected_r_angle- Severity
- error
- Message
expected '>' to complete SIL box generic argument list
- Code
sil_box_expected_r_brace- Severity
- error
- Message
expected '}' to complete SIL box field type list
- Code
sil_box_expected_var_or_let- Severity
- error
- Message
expected 'var' or 'let' to introduce SIL box field type
- Code
sil_coverage_expected_arrow- Severity
- error
- Message
expected '->' after start location
- Code
sil_coverage_expected_colon- Severity
- error
- Message
expected ':' after source range
- Code
sil_coverage_expected_lbrace- Severity
- error
- Message
expected '{' in coverage map
- Code
sil_coverage_expected_loc- Severity
- error
- Message
expected line:column pair
- Code
sil_coverage_expected_quote- Severity
- error
- Message
expected quotes surrounding PGO function name
- Code
sil_coverage_expected_rparen- Severity
- error
- Message
expected ')' to end counter expression
- Code
sil_coverage_invalid_counter- Severity
- error
- Message
expected counter expression, id, or 'zero'
- Code
sil_coverage_invalid_hash- Severity
- error
- Message
expected coverage hash
- Code
sil_coverage_invalid_operator- Severity
- error
- Message
expected '+' or '-'
- Code
sil_dbg_expr_expect_operand_kind- Severity
- error
- Message
operator {} expects a {} kind operand here
- Code
sil_dbg_unknown_expr_part- Severity
- error
- Message
unrecognized debug info expression {}
- Code
sil_dbg_unknown_key- Severity
- error
- Message
unknown key '{}' in debug variable declaration
- Code
sil_default_override_class_not_found- Severity
- error
- Message
sil class not found {}
- Code
sil_default_override_decl_not_class- Severity
- error
- Message
sil decl found for {} is not a class
- Code
sil_default_override_func_not_found- Severity
- error
- Message
sil function not found {}
- Code
sil_diagnose_invalid_attribute- Severity
- error
- Message
Attribute '[{}]' is not known to the diagnose instruction
- Code
sil_diagnose_requires_attribute- Severity
- error
- Message
diagnose requires an attribute like '[unpermitted_copy]'
- Code
sil_diff_witness_expected_token- Severity
- error
- Message
expected '{}' in differentiability witness
- Code
sil_diff_witness_invalid_generic_signature- Severity
- error
- Message
expected witness generic signature '{}' does not have same generic parameters as original function generic signature '{}'
- Code
sil_diff_witness_serialized_declaration- Severity
- error
- Message
differentiability witness declaration should not be serialized
- Code
sil_diff_witness_undefined- Severity
- error
- Message
reference to undefined differentiability witness