Swift errors and diagnostics, page 19 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
unchecked_conformance_not_special- Severity
- warning
- Message
'@unchecked' conformance to {} has no meaning
- Code
undocumented_conformance_in_expansion- Severity
- error
- Message
conformance to {} is not covered by macro {}
- Code
unexpected_arguments_in_enum_case- Severity
- error
- Message
enum case {} has no associated values
- Code
unexpected_attribute_expansion- Severity
- error
- Message
unexpected token '{}' in expanded attribute list
- Code
unexpected_class_constraint- Severity
- error
- Message
'class' constraint can only appear on protocol declarations
- Code
unexpected_conditional_compilation_block_terminator- Severity
- error
- Message
unexpected conditional compilation block terminator
- Code
unexpected_ctype_for_non_c_convention- Severity
- error
- Message
convention '{}' does not support the 'cType' argument label, did you mean '@convention(c, cType: "{}")' or '@convention(block, cType: "{}")' instead?
- Code
unexpected_dependency- Severity
- error
- Message
unexpected {} dependency: {}
- Code
unexpected_else_after_if- Severity
- error
- Message
unexpected 'else' immediately following 'if' condition
- Code
unexpected_getset_implementation_in_protocol- Severity
- error
- Message
protocol property {} cannot have a default implementation specified here; use extension instead
- Code
unexpected_if_following_else_compilation_directive- Severity
- error
- Message
unexpected 'if' keyword following '#else' conditional compilation directive; did you mean '#elseif'?
- Code
unexpected_label_yield- Severity
- error
- Message
unexpected label in 'yield' statement
- Code
unexpected_line_directive- Severity
- error
- Message
parameterless closing #sourceLocation() directive without prior opening #sourceLocation(file:,line:) directive
- Code
unexpected_lparen_in_attribute- Severity
- error
- Message
unexpected '(' in attribute '{}'
- Code
unexpected_member_expansion- Severity
- error
- Message
unexpected token '{}' in expanded member list
- Code
unexpected_operator_in_import_path- Severity
- error
- Message
cannot include postfix operator in import declaration
- Code
unexpected_provided_entity- Severity
- error
- Message
unexpected provided entity: {}
- Code
unexpected_rbrace_in_conditional_compilation_block- Severity
- error
- Message
unexpected '}' in conditional compilation block
- Code
unexpected_separator- Severity
- error
- Message
unexpected '{}' separator
- Code
unexpected_tokens_before_closure_in- Severity
- error
- Message
unexpected tokens prior to 'in'
- Code
unexportable_clang_function_type- Severity
- error
- Message
cannot export the underlying C type of the function type {}; it may use anonymous types or types defined outside of a module
- Code
unexposed_other_decl_in_cxx- Severity
- error
- Message
{} is not yet exposed to C++
- Code
unicode_scalar_literal_broken_proto- Severity
- error
- Message
protocol 'ExpressibleByUnicodeScalarLiteral' is broken
- Code
unimplemented_generator_witnesses- Severity
- error
- Message
protocol conformance emission for generator coroutines is unimplemented
- Code
unimplemented_static_var- Severity
- error
- Message
{} stored properties not supported{}{}
- Code
unindented_code_after_return- Severity
- warning
- Message
expression following 'return' is treated as an argument of the 'return'
- Code
unindented_code_after_then- Severity
- warning
- Message
expression following 'then' is treated as an argument of the 'then'
- Code
unknown_attr_name- Severity
- error
- Message
unknown attribute '{}'
- Code
unknown_binop- Severity
- error
- Message
operator is not a known binary operator
- Code
unknown_callback_case_item- Severity
- error
- Message
cannot refactor complex case conditions
- Code
unknown_callback_conditions- Severity
- error
- Message
cannot refactor complex if conditions
- Code
unknown_case_multiple_patterns- Severity
- error
- Message
'@unknown' cannot be applied to multiple patterns
- Code
unknown_case_must_be_catchall- Severity
- error
- Message
'@unknown' is only supported for catch-all cases ("case _")
- Code
unknown_case_must_be_last- Severity
- error
- Message
'@unknown' can only be applied to the last case in a switch
- Code
unknown_case_where_clause- Severity
- error
- Message
'where' cannot be used with '@unknown'
- Code
unknown_dump_ast_format- Severity
- error
- Message
unknown format '{}' requested with '-dump-ast-format'
- Code
unknown_forced_module_loading_mode- Severity
- error
- Message
unknown value for SWIFT_FORCE_MODULE_LOADING variable: '{}'
- Code
unknown_platform_condition_argument- Severity
- warning
- Message
unknown {} for build configuration '{}'
- Code
unknown_platform_name- Severity
- error
- Message
unknown platform name {}
- Code
unknown_precedence_group- Severity
- error
- Message
unknown precedence group {}
- Code
unknown_precedencegroup_attribute- Severity
- error
- Message
'{}' is not a valid precedence group attribute
- Code
unknown_swift_module_name- Severity
- error
- Message
cannot find Swift module with name {}
- Code
unknown_template_parameter- Severity
- error
- Message
template parameter '{}' does not exist
- Code
unknown_type_attr- Severity
- error
- Message
unknown {}
The compiler puts it in the diagnostic group UnknownWarningGroup.
- Code
unknown_warning_group- Severity
- warning
- Message
unknown warning group: '{}'
- Code
unlabeled_break_outside_loop- Severity
- error
- Message
unlabeled 'break' is only allowed inside a loop or switch, a labeled break is required to exit an if or do
- Code
unlabeled_parameter_following_variadic_parameter- Severity
- error
- Message
a parameter following a variadic parameter requires a label
The compiler puts it in the diagnostic group TrailingClosureMatching.
- Code
unlabeled_trailing_closure_deprecated- Severity
- warning
- Message
backward matching of the unlabeled trailing closure is deprecated; label the argument with {} to suppress this warning
- Code
unnecessary_cast_over_optionset- Severity
- error
- Message
unnecessary cast over raw value of {}
- Code
unordered_adjacent_operators- Severity
- error
- Message
adjacent operators are in unordered precedence groups {} and {}
- Code
unowned_assignment_immediate_deallocation- Severity
- warning
- Message
instance will be immediately deallocated because {} {} is {}
- Code
unqualified_init- Severity
- error
- Message
initializer expression requires explicit access{}{}
- Code
unreachable_case- Severity
- warning
- Message
{} will never be executed
- Code
unreachable_code- Severity
- warning
- Message
will never be executed
- Code
unreachable_code_after_stmt- Severity
- warning
- Message
code after '{}' will never be executed
The compiler puts it in the diagnostic group UnrecognizedStrictLanguageFeatures.
- Code
unrecognized_feature- Severity
- warning
- Message
'{}' is not a recognized {} feature
- Code
unrecognized_sil_qualifier- Severity
- error
- Message
unrecognized SIL qualifier
The compiler puts it in the diagnostic group NoUsage.
- Code
unreferenced_generic_parameter- Severity
- error
- Message
generic parameter '{}' is not used in function signature
The compiler puts it in the diagnostic group ClangDeclarationImport.
- Code
unresolvable_clang_decl- Severity
- warning
- Message
imported declaration '{}' could not be mapped to '{}'
- Code
unresolved_label- Severity
- error
- Message
cannot find label {} in scope
- Code
unresolved_label_corrected- Severity
- error
- Message
cannot find label {} in scope; did you mean {}?
- Code
unresolved_location- Severity
- error
- Message
cannot rename due to unresolved location
- Code
unresolved_member_no_inference- Severity
- error
- Message
reference to member {} cannot be resolved without a contextual type
- Code
unresolved_nil_literal- Severity
- error
- Message
'nil' requires a contextual type
- Code
unsafe_global_actor- Severity
- error
- Message
'(unsafe)' global actors are deprecated; use '@preconcurrency' instead
- Code
unsafe_inherits_executor_deprecated- Severity
- error
- Message
'@_unsafeInheritExecutor' is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead
- Code
unsafe_self_dependent_result_attr_on_invalid_decl- Severity
- error
- Message
invalid use of @_unsafeSelfDependentResult
- Code
unsafe_sendable_actor_constant- Severity
- warning
- Message
'(unsafe)' is unnecessary for a constant public actor property with 'Sendable' type {}, consider removing it
The compiler puts it in the diagnostic group StrictMemorySafety.
- Code
unsafe_superclass- Severity
- warning
- Message
{} has superclass involving unsafe type {}
The compiler puts it in the diagnostic group StrictMemorySafety.
- Code
unsafe_without_unsafe- Severity
- warning
- Message
expression uses unsafe constructs but is not marked with 'unsafe'
- Code
unspaced_binary_operator- Severity
- error
- Message
ambiguous missing whitespace between unary and binary operators
- Code
unspaced_binary_operator_fixit- Severity
- error
- Message
missing whitespace between {} and {} operators
- Code
unspaced_unary_operator- Severity
- error
- Message
unary operators must not be juxtaposed; parenthesize inner expression
- Code
unsupported_borrow_abstraction- Severity
- error
- Message
cannot witness borrow requirement for result type {}
- Code
unsupported_c_function_pointer_conversion- Severity
- error
- Message
C function pointer signature {} is not compatible with expected type {}
- Code
unsupported_closure_attr- Severity
- error
- Message
{} is not supported on a closure
- Code
unsupported_conditional_compilation_binary_expression- Severity
- error
- Message
expected '&&' or '||' expression
- Code
unsupported_conditional_compilation_expression_type- Severity
- error
- Message
invalid conditional compilation expression
- Code
unsupported_conditional_compilation_integer- Severity
- error
- Message
'{}' is not a valid conditional compilation expression, use '{}'
- Code
unsupported_conditional_compilation_unary_expression- Severity
- error
- Message
expected unary '!' expression
- Code
unsupported_convention- Severity
- error
- Message
convention '{}' not supported
- Code
unsupported_existential_extension- Severity
- error
- Message
extension of existential type {} is not supported
- Code
unsupported_infinitely_sized_type- Severity
- error
- Message
value type {} has infinite size
- Code
unsupported_nested_protocol_in_generic- Severity
- error
- Message
protocol {} cannot be nested in a generic context
- Code
unsupported_nested_protocol_in_protocol- Severity
- error
- Message
protocol {} cannot be nested in protocol {}
- Code
unsupported_opaque_type- Severity
- error
- Message
'some' types are only permitted in properties, subscripts, and functions
- Code
unsupported_opaque_type_in_existential- Severity
- error
- Message
'some' types cannot be used in constraints on existential types
- Code
unsupported_other_decl_in_cxx- Severity
- error
- Message
Swift {} cannot be represented in C++
- Code
unsupported_pack_same_type- Severity
- error
- Message
same-type requirements between packs and concrete types are not yet supported
- Code
unsupported_platform_condition_argument- Severity
- error
- Message
unexpected platform condition argument: expected {}
- Code
unsupported_platform_condition_expression- Severity
- error
- Message
unexpected platform condition (expected 'os', 'arch', or 'swift')
- Code
unsupported_platform_runtime_condition_argument- Severity
- error
- Message
unexpected argument for the '_runtime' condition; expected '_Native' or '_ObjC'
- Code
unsupported_recursion_in_associated_type_reference- Severity
- error
- Message
unsupported recursion for reference to {} of type {}
- Code
unsupported_recursive_struct- Severity
- error
- Message
value type {} cannot have a stored property that recursively contains it
- Code
unsupported_same_element- Severity
- error
- Message
same-element requirements are not yet supported
- Code
unsupported_sil_builtin- Severity
- error
- Message
builtin '{}' is not supported by SIL generation
- Code
unsupported_sil_convention- Severity
- error
- Message
convention '{}' not supported in SIL
- Code
unsupported_special_decl_ref- Severity
- error
- Message
referencing {} as a function value is not implemented
- Code
unsupported_type_nested_in_generic_closure- Severity
- error
- Message
type {} cannot be nested in closure in generic context
- Code
unsupported_type_nested_in_generic_function- Severity
- error
- Message
type {} cannot be nested in generic function {}
- Code
unsupported_type_nested_in_protocol- Severity
- error
- Message
type {} cannot be nested in protocol {}
- Code
unsupported_type_nested_in_protocol_extension- Severity
- error
- Message
type {} cannot be nested in protocol extension of {}
- Code
unsupported_variadic_function_abstraction- Severity
- error
- Message
cannot fully abstract a value of variadic function type {} because different contexts will not be able to reliably agree on a calling convention; try wrapping it in a struct
- Code
unsupported_version_of_module_interface- Severity
- error
- Message
unsupported version of module interface '{}': '{}'
- Code
untyped_pattern_ellipsis- Severity
- error
- Message
'...' cannot be applied to a subpattern which is not explicitly typed
The compiler puts it in the diagnostic group NoUsage.
- Code
unused_compiler_version_component- Severity
- warning
- Message
the second version component is not used for comparison in legacy compiler versions{}
The compiler puts it in the diagnostic group NoUsage.
- Code
unused_setter_parameter- Severity
- warning
- Message
setter argument {} was never used, but the property was accessed
- Code
usable_from_inline_attr_in_protocol- Severity
- error
- Message
'@usableFromInline' attribute cannot be used in protocols
- Code
usable_from_inline_attr_with_explicit_access- Severity
- error
- Message
'@usableFromInline' attribute can only be applied to internal or package declarations, but {} is {}
The compiler puts it in the diagnostic group EmbeddedRestrictions.
- Code
use_generic_member_of_existential_in_embedded_swift- Severity
- warning
- Message
cannot use generic {} on a value of type {} in Embedded Swift
- Code
use_global_before_declaration- Severity
- error
- Message
use of global variable {} before its declaration
- Code
use_lifetime_underscored- Severity
- warning
- Message
Unsupported use of @lifetime, use @_lifetime to specify lifetime dependencies
- Code
use_local_before_declaration- Severity
- error
- Message
use of local variable {} before its declaration
- Code
use_nonmatching_operator- Severity
- error
- Message
{} is not a {} operator
- Code
use_of_equal_instead_of_equality- Severity
- error
- Message
use of '=' in a boolean context, did you mean '=='?
- Code
use_of_qq_on_non_optional_value- Severity
- warning
- Message
left side of nil coalescing operator '??' has non-optional type {}, so the right side is never used
- Code
use_of_self_before_fully_init- Severity
- error
- Message
'self' used before all stored properties are initialized
- Code
use_of_void_pointer- Severity
- warning
- Message
Unsafe{}Pointer<Void> has been replaced by Unsafe{}RawPointer
- Code
use_unknown_object_literal_protocol- Severity
- error
- Message
cannot deduce protocol for {} literal
- Code
using_mutating_accessor_on_immutable_value- Severity
- error
- Message
mutating accessor for {} may not be used on immutable value '{}'
- Code
value_decl_no_loc- Severity
- error
- Message
cannot rename {} as it has no declaration location
- Code
value_decl_referenced_out_of_range- Severity
- error
- Message
value decl '{}' is referenced out of range
- Code
value_expansion_not_variadic- Severity
- error
- Message
value pack expansion must contain at least one pack reference
- Code
value_generic_unexpected- Severity
- error
- Message
using value generic {} here is not allowed
- Code
value_of_metatype_type- Severity
- error
- Message
expected member name or initializer call after type name
- Code
value_of_module_type- Severity
- error
- Message
expected module member name after module name
- Code
value_pack_requires_keyword_each- Severity
- error
- Message
value pack {} must be referenced with 'each'
- Code
value_type_comparison_with_nil_illegal- Severity
- error
- Message
type {} is not optional, value can never be nil
- Code
value_type_comparison_with_nil_illegal_did_you_mean- Severity
- error
- Message
value of type {} cannot be compared by reference; did you mean to compare by value?
- Code
value_type_used_in_type_parameter- Severity
- error
- Message
cannot use value type {} for generic argument {}
- Code
var_has_fixed_order_change- Severity
- error
- Message
{} is {} a stored property
- Code
var_pattern_didnt_bind_variables- Severity
- warning
- Message
'{}' pattern has no effect; sub-pattern didn't bind any variables
- Code
var_pattern_in_var- Severity
- error
- Message
'{}' cannot appear nested inside another 'var' or 'let' pattern
- Code
var_pattern_in_var_inout- Severity
- error
- Message
'{}' cannot appear nested inside another 'var', 'let', or 'inout' pattern
- Code
vararg_not_allowed- Severity
- error
- Message
variadic parameter cannot appear outside of a function parameter list
- Code
variable_addrtaken_before_initialized- Severity
- error
- Message
address of {} '{}' taken before it is initialized
- Code
variable_bound_by_no_pattern- Severity
- error
- Message
variable {} is not bound by any pattern
- Code
variable_closure_use_uninit- Severity
- error
- Message
{} '{}' captured by a closure before being initialized
- Code
variable_defer_use_uninit- Severity
- error
- Message
{} '{}' used in defer before being initialized
- Code
variable_function_use_uninit- Severity
- error
- Message
{} '{}' used by function definition before being initialized
- Code
variable_inout_before_initialized- Severity
- error
- Message
{} '{}' passed by reference before being initialized
The compiler puts it in the diagnostic group VariableNeverMutated.
- Code
variable_never_mutated- Severity
- warning
- Message
variable {} was never mutated; consider {} constant
- Code
variable_never_read- Severity
- warning
- Message
variable {} was written to, but never read
The compiler puts it in the diagnostic group NoUsage.
- Code
variable_never_used- Severity
- warning
- Message
{} {} was never used; consider replacing with '_' or removing it
The compiler puts it in the diagnostic group VariableNeverMutated.
- Code
variable_tuple_elt_never_mutated- Severity
- warning
- Message
variable {} was never mutated; consider changing the pattern to 'case (..., let {}, ...)'
- Code
variable_used_before_initialized- Severity
- error
- Message
{} '{}' used before being initialized
- Code
verify_debug_info_requires_debug_option- Severity
- warning
- Message
ignoring '-verify-debug-info'; no debug info is being generated
- Code
verify_encountered_fatal- Severity
- error
- Message
fatal error encountered while in -verify mode
- Code
version_component_not_number- Severity
- error
- Message
version component contains non-numeric characters
- Code
volatile_is_experimental- Severity
- error
- Message
importing _Volatile module requires '-enable-experimental-feature Volatile'
- Code
warn_attr_unsafe_removed- Severity
- warning
- Message
'{}' attribute has been removed in favor of '@preconcurrency'
- Code
warn_cannot_capture_reproducer_file- Severity
- warning
- Message
failed to capture '{}' in reproducer: {}
The compiler puts it in the diagnostic group ClangDeclarationImport.
- Code
warn_clang_ignored_bounds_on_self- Severity
- warning
- Message
bounds attribute '{}' ignored on parameter mapped to 'self'
- Code
warn_darwin_link_objc_deprecated- Severity
- warning
- Message
-link-objc-runtime is no longer supported on Apple platforms
- Code
warn_dead_weak_store- Severity
- warning
- Message
weak reference will always be nil because the referenced object is deallocated here
- Code
warn_deprecated_conditional_conformance_outer_access- Severity
- warning
- Message
use of {} as reference to {} in {} will change in future versions of Swift to reference {} in {} which comes via a conditional conformance
- Code
warn_drv_darwin_sdk_invalid_settings- Severity
- warning
- Message
SDK settings were ignored because 'SDKSettings.json' could not be parsed
- Code
warn_flag_deprecated- Severity
- warning
- Message
flag '{}' is deprecated
- Code
warn_ignore_embed_bitcode- Severity
- warning
- Message
ignoring -embed-bitcode since no object file is being generated
- Code
warn_ignore_embed_bitcode_marker- Severity
- warning
- Message
ignoring -embed-bitcode-marker since no object file is being generated
- Code
warn_ignore_option_overridden_by- Severity
- warning
- Message
ignoring {} (overridden by {})
- Code
warn_ignoring_wmo- Severity
- warning
- Message
ignoring '-wmo' because '-dump-ast' was also specified
- Code
warn_implementation_only_conflict- Severity
- warning
- Message
{} inconsistently imported as implementation-only
- Code
warn_implicit_concurrency_import_failed- Severity
- warning
- Message
unable to perform implicit import of "_Concurrency" module: no such module found
- Code
warn_implicit_string_processing_import_failed- Severity
- remark
- Message
unable to perform implicit import of "_StringProcessing" module: no such module found
The compiler puts it in the diagnostic group PublicImportOfProjectInternalModule.
- Code
warn_import_of_ipi_module- Severity
- warning
- Message
Project internal module {} cannot be imported publicly because {} has '-library-level {}'
- Code
warn_infinite_recursive_call- Severity
- warning
- Message
function call causes an infinite recursion
- Code
warn_multiple_module_inputs_same_name- Severity
- warning
- Message
multiple Swift module file inputs with identifier "{}": replacing '{}' with '{}'
- Code
warn_property_wrapper_module_scope- Severity
- warning
- Message
ignoring associated type {} in favor of module-scoped property wrapper {}; please qualify the reference with {}
- Code
warn_protocol_witness_optionality- Severity
- warning
- Message
{} of {} {} different optionality than expected by protocol {}
- Code
warn_reordering_tuple_shuffle_deprecated- Severity
- warning
- Message
implicit reordering of tuple elements from '{}' to '{}' is deprecated; this will be an error in a future Swift language mode
- Code
warn_scanner_deserialize_failed- Severity
- remark
- Message
Incremental module scan: Failed to load module scanning dependency cache from: '{}', re-building scanner cache from scratch.
- Code
warn_unqualified_access- Severity
- warning
- Message
use of {} treated as a reference to {} in {}
- Code
warn_unsupported_module_interface_library_evolution- Severity
- warning
- Message
module interfaces are only supported with -enable-library-evolution
- Code
warn_unsupported_module_interface_swift_version- Severity
- warning
- Message
module interfaces are only supported with the Swift 5 language mode or later (currently using -swift-version {})
- Code
warn_use_async_alternative- Severity
- warning
- Message
consider using asynchronous alternative function
- Code
warn_use_filelists_deprecated- Severity
- warning
- Message
the option '-driver-use-filelists' is deprecated; use '-driver-filelist-threshold=0' instead
- Code
warn_use_of_compat_memberwise_init- Severity
- warning
- Message
synthesized memberwise initializer no longer includes {}; uses of it will be an error in a future Swift language mode
- Code
warning_cannot_find_locale_file- Severity
- warning
- Message
cannot find translations for '{}' at '{}': no such file
- Code
warning_darwin_sdk_invalid_settings- Severity
- warning
- Message
SDK settings were ignored as 'SDKSettings.json' could not be parsed
- Code
warning_float_overflows_maxbuiltin- Severity
- warning
- Message
'{}' overflows to {}inf because its magnitude exceeds the limits of a float literal
- Code
warning_float_trunc_hex_inexact- Severity
- warning
- Message
'{}' loses precision during conversion to {}
- Code
warning_float_trunc_overflow- Severity
- warning
- Message
'{}' overflows to {}inf during conversion to {}
- Code
warning_float_trunc_underflow- Severity
- warning
- Message
'{}' underflows and loses precision during conversion to {}
- Code
warning_in_access_notes_file- Severity
- remark
- Message
ignored invalid content in access notes file: {}
- Code
warning_in_effects_attribute- Severity
- warning
- Message
effects attribute ignored: {}
- Code
warning_inferred_simulator_target- Severity
- warning
- Message
inferring simulator environment for target '{}'; use '-target {}' instead
- Code
warning_int_to_fp_inexact- Severity
- warning
- Message
'{}' is not exactly representable as {}; it becomes '{}'
- Code
warning_invalid_locale_code- Severity
- warning
- Message
unsupported locale code; supported locale codes are: '{}'
- Code
warning_locale_path_not_found- Severity
- warning
- Message
specified localization directory '{}' does not exist, translation is disabled
- Code
warning_no_such_sdk- Severity
- warning
- Message
no such SDK: '{}'
- Code
warning_option_requires_specific_sanitizer- Severity
- warning
- Message
option '{}' has no effect when '{}' sanitizer is disabled. Use -sanitize={} to enable the sanitizer
- Code
warning_parallel_execution_not_supported- Severity
- warning
- Message
parallel execution not supported; falling back to serial execution
- Code
warning_reflection_metadata_disabled_with_debug_info- Severity
- warning
- Message
debug info is requested with option '{}' but option '{}' will prevent variable inspection in the debugger
- Code
warning_unnecessary_repl_mode- Severity
- warning
- Message
unnecessary option '{}'; this is the default for '{}' with no input files
- Code
warning_unsupported_driver_option- Severity
- warning
- Message
option '{}' is only supported in swift-driver
- Code
warning_upcoming_feature_on_by_default- Severity
- warning
- Message
upcoming feature '{}' already enabled as of the Swift {} language mode
- Code
warning_user_module_version_fifth_component_ignored- Severity
- warning
- Message
fifth component of version '{}' is ignored: must be an integer in [0, {}]
- Code
wasi_deprecated_use_wasip1- Severity
- warning
- Message
'wasi' in '-target' is deprecated; use 'wasip1' instead