2023-05-22 20:51:25 -05:00
metadata_as_needed_compatibility =
linking modifier `as-needed` is only compatible with `dylib` and `framework` linking kinds
2022-08-23 14:25:03 -05:00
2023-05-22 20:51:25 -05:00
metadata_bad_panic_strategy =
the linked panic runtime `{$runtime}` is not compiled with this crate's panic strategy `{$strategy}`
2022-12-13 05:30:58 -06:00
2023-02-26 14:27:27 -06:00
metadata_binary_output_to_tty =
option `-o` or `--emit` is used to write binary output type `metadata` to stdout, but stdout is a tty
2023-05-22 20:51:25 -05:00
metadata_bundle_needs_static =
linking modifier `bundle` is only compatible with `static` linking kind
2022-08-23 14:25:03 -05:00
2023-05-22 20:51:25 -05:00
metadata_cannot_find_crate =
can't find crate for `{$crate_name}`{$add_info}
2022-08-23 14:25:03 -05:00
2023-05-22 20:51:25 -05:00
metadata_cant_find_crate =
can't find crate
2022-08-23 14:25:03 -05:00
2023-05-22 20:51:25 -05:00
metadata_compiler_missing_profiler =
the compiler may have been built without the profiler runtime
2022-08-23 14:25:03 -05:00
2023-05-22 20:51:25 -05:00
metadata_conflicting_alloc_error_handler =
the `#[alloc_error_handler]` in {$other_crate_name} conflicts with allocation error handler in: {$crate_name}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_conflicting_global_alloc =
the `#[global_allocator]` in {$other_crate_name} conflicts with global allocator in: {$crate_name}
2022-08-23 17:33:28 -05:00
2023-07-03 20:37:40 -05:00
metadata_consider_adding_std =
consider adding the standard library to the sysroot with `x build library --target {$locator_triple}`
2023-05-22 20:51:25 -05:00
metadata_consider_building_std =
consider building the standard library from source with `cargo build -Zbuild-std`
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_consider_downloading_target =
consider downloading the target with `rustup target add {$locator_triple}`
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_crate_dep_multiple =
cannot satisfy dependencies so `{$crate_name}` only shows up once
.help = having upstream crates all available in one format will likely make this go away
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_crate_location_unknown_type =
extern location for {$crate_name} is of an unknown type: {$path}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_crate_not_panic_runtime =
the crate `{$crate_name}` is not a panic runtime
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_dl_error =
2024-02-21 05:17:07 -06:00
{$path}{$err}
2022-08-23 17:33:28 -05:00
metadata_empty_link_name =
link name must not be empty
.label = empty link name
2023-05-22 20:51:25 -05:00
metadata_empty_renaming_target =
an empty renaming target was specified for library `{$lib_name}`
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_extern_location_not_exist =
extern location for {$crate_name} does not exist: {$location}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_extern_location_not_file =
extern location for {$crate_name} is not a file: {$location}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_fail_create_file_encoder =
failed to create file encoder: {$err}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_fail_write_file =
2023-10-27 20:26:43 -05:00
failed to write to `{$path}`: {$err}
2022-08-23 17:33:28 -05:00
2023-02-26 14:27:27 -06:00
metadata_failed_copy_to_stdout =
failed to copy {$filename} to stdout: {$err}
2023-05-22 20:51:25 -05:00
metadata_failed_create_encoded_metadata =
failed to create encoded metadata from file: {$err}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_failed_create_file =
failed to create the file {$filename}: {$err}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_failed_create_tempdir =
couldn't create a temp dir: {$err}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_failed_write_error =
failed to write {$filename}: {$err}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_found_crate_versions =
the following crate versions were found:{$found_crates}
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_found_staticlib =
found staticlib `{$crate_name}` instead of rlib or dylib{$add_info}
.help = please recompile that crate using --crate-type lib
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_framework_only_windows =
link kind `raw-dylib` is only supported on Windows targets
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_global_alloc_required =
no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait
metadata_import_name_type_form =
import name type must be of the form `import_name_type = "string"`
metadata_import_name_type_raw =
import name type can only be used with link kind `raw-dylib`
metadata_import_name_type_x86 =
import name type is only supported on x86
metadata_incompatible_panic_in_drop_strategy =
the crate `{$crate_name}` is compiled with the panic-in-drop strategy `{$found_strategy}` which is incompatible with this crate's strategy of `{$desired_strategy}`
metadata_incompatible_rustc =
found crate `{$crate_name}` compiled by an incompatible version of rustc{$add_info}
.help = please recompile that crate using this compiler ({$rustc_version}) (consider running `cargo clean` first)
2022-08-23 17:33:28 -05:00
metadata_incompatible_wasm_link =
`wasm_import_module` is incompatible with other arguments in `#[link]` attributes
2023-05-22 20:51:25 -05:00
metadata_install_missing_components =
maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_invalid_link_modifier =
invalid linking modifier syntax, expected '+' or '-' prefix before one of: bundle, verbatim, whole-archive, as-needed
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_invalid_meta_files =
found invalid metadata files for crate `{$crate_name}`{$add_info}
metadata_lib_filename_form =
file name should be lib*.rlib or {$dll_prefix}*{$dll_suffix}
2022-08-23 17:33:28 -05:00
metadata_lib_framework_apple =
library kind `framework` is only supported on Apple targets
2023-05-22 20:51:25 -05:00
metadata_lib_required =
crate `{$crate_name}` required to be available in {$kind} format, but was not found in this form
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_link_cfg_form =
link cfg must be of the form `cfg(/* predicate */)`
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_link_cfg_single_predicate =
link cfg must have a single predicate argument
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_link_framework_apple =
link kind `framework` is only supported on Apple targets
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_link_kind_form =
link kind must be of the form `kind = "string"`
2022-08-23 17:33:28 -05:00
2023-05-22 20:51:25 -05:00
metadata_link_modifiers_form =
link modifiers must be of the form `modifiers = "string"`
2022-08-23 17:40:43 -05:00
2023-05-22 20:51:25 -05:00
metadata_link_name_form =
link name must be of the form `name = "string"`
2022-08-23 17:40:43 -05:00
2023-05-22 20:51:25 -05:00
metadata_link_ordinal_raw_dylib =
`#[link_ordinal]` is only supported if link kind is `raw-dylib`
2022-08-23 17:40:43 -05:00
2023-05-22 20:51:25 -05:00
metadata_link_requires_name =
`#[link]` attribute requires a `name = "string"` argument
.label = missing `name` argument
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_missing_native_library =
could not find native static library `{$libname}`, perhaps an -L flag is missing?
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_candidates =
multiple candidates for `{$flavor}` dependency `{$crate_name}` found
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_cfgs =
multiple `cfg` arguments in a single `#[link]` attribute
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_import_name_type =
multiple `import_name_type` arguments in a single `#[link]` attribute
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_kinds_in_link =
multiple `kind` arguments in a single `#[link]` attribute
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_link_modifiers =
multiple `modifiers` arguments in a single `#[link]` attribute
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_modifiers =
multiple `{$modifier}` modifiers in a single `modifiers` argument
2023-04-24 17:08:35 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_names_in_link =
multiple `name` arguments in a single `#[link]` attribute
2023-04-24 17:08:35 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_renamings =
multiple renamings were specified for library `{$lib_name}`
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_multiple_wasm_import =
multiple `wasm_import_module` arguments in a single `#[link]` attribute
2023-04-24 17:08:35 -05:00
2023-05-22 20:51:25 -05:00
metadata_newer_crate_version =
found possibly newer version of crate `{$crate_name}`{$add_info}
.note = perhaps that crate needs to be recompiled?
2022-08-23 18:03:49 -05:00
2023-05-22 20:51:25 -05:00
metadata_no_crate_with_triple =
couldn't find crate `{$crate_name}` with expected target triple {$locator_triple}{$add_info}
2022-08-23 18:16:04 -05:00
2023-05-22 20:51:25 -05:00
metadata_no_link_mod_override =
overriding linking modifiers from command line is not supported
2022-08-24 05:10:40 -05:00
2023-05-22 20:51:25 -05:00
metadata_no_multiple_alloc_error_handler =
cannot define multiple allocation error handlers
.label = cannot define a new allocation error handler
2022-10-12 21:52:31 -05:00
2023-05-22 20:51:25 -05:00
metadata_no_multiple_global_alloc =
cannot define multiple global allocators
.label = cannot define a new global allocator
2022-08-23 18:16:04 -05:00
2023-05-22 20:51:25 -05:00
metadata_no_panic_strategy =
the crate `{$crate_name}` does not have the panic strategy `{$strategy}`
2022-08-23 18:16:04 -05:00
2023-05-22 20:51:25 -05:00
metadata_no_transitive_needs_dep =
the crate `{$crate_name}` cannot depend on a crate that needs {$needs_crate_name}, but it depends on `{$deps_crate_name}`
2022-08-24 13:14:41 -05:00
metadata_non_ascii_name =
cannot load a crate with a non-ascii name `{$crate_name}`
2023-05-22 20:51:25 -05:00
metadata_not_profiler_runtime =
the crate `{$crate_name}` is not a profiler runtime
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_only_provide_library_name = only provide the library name `{$suggested_name}`, not the full filename
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_prev_alloc_error_handler =
previous allocation error handler defined here
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_prev_global_alloc =
previous global allocator defined here
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_profiler_builtins_needs_core =
`profiler_builtins` crate (required by compiler options) is not compatible with crate attribute `#![no_core]`
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_raw_dylib_no_nul =
link name must not contain NUL characters if link kind is `raw-dylib`
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_renaming_no_link =
renaming of the library `{$lib_name}` was specified, however this crate contains no `#[link(...)]` attributes referencing this library
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_required_panic_strategy =
the crate `{$crate_name}` requires panic strategy `{$found_strategy}` which is incompatible with this crate's strategy of `{$desired_strategy}`
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_rlib_required =
crate `{$crate_name}` required to be available in rlib format, but was not found in this form
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_rustc_lib_required =
crate `{$crate_name}` required to be available in {$kind} format, but was not found in this form
.note = only .rmeta files are distributed for `rustc_private` crates other than `rustc_driver`
.help = try adding `extern crate rustc_driver;` at the top level of this crate
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_stable_crate_id_collision =
found crates (`{$crate_name0}` and `{$crate_name1}`) with colliding StableCrateId values.
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_std_required =
`std` is required by `{$current_crate}` because it does not declare `#![no_std]`
2022-08-24 13:14:41 -05:00
2023-05-22 20:51:25 -05:00
metadata_symbol_conflicts_current =
the current crate is indistinguishable from one of its dependencies: it has the same crate-name `{$crate_name}` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
2022-08-26 15:39:59 -05:00
metadata_target_no_std_support =
the `{$locator_triple}` target may not support the standard library
2023-05-22 20:51:25 -05:00
metadata_target_not_installed =
the `{$locator_triple}` target may not be installed
2022-08-26 15:39:59 -05:00
2023-05-22 20:51:25 -05:00
metadata_two_panic_runtimes =
cannot link together two panic runtimes: {$prev_name} and {$cur_name}
2022-08-26 15:39:59 -05:00
2023-05-22 20:51:25 -05:00
metadata_unexpected_link_arg =
unexpected `#[link]` argument, expected one of: name, kind, modifiers, cfg, wasm_import_module, import_name_type
2022-08-26 15:39:59 -05:00
2023-05-22 20:51:25 -05:00
metadata_unknown_import_name_type =
unknown import name type `{$import_name_type}`, expected one of: decorated, noprefix, undecorated
2022-08-26 15:39:59 -05:00
2023-05-22 20:51:25 -05:00
metadata_unknown_link_kind =
2023-11-29 04:13:58 -06:00
unknown link kind `{$kind}`, expected one of: static, dylib, framework, raw-dylib, link-arg
2023-05-22 20:51:25 -05:00
.label = unknown link kind
2022-08-27 18:50:11 -05:00
2023-05-22 20:51:25 -05:00
metadata_unknown_link_modifier =
unknown linking modifier `{$modifier}`, expected one of: bundle, verbatim, whole-archive, as-needed
2022-08-27 18:50:11 -05:00
2023-05-22 20:51:25 -05:00
metadata_unsupported_abi =
ABI not supported by `#[link(kind = "raw-dylib")]` on this architecture
2022-08-27 18:50:11 -05:00
2023-05-22 20:51:25 -05:00
metadata_unsupported_abi_i686 =
ABI not supported by `#[link(kind = "raw-dylib")]` on i686
2022-08-27 18:50:11 -05:00
2023-05-22 20:51:25 -05:00
metadata_wasm_import_form =
wasm import module must be of the form `wasm_import_module = "string"`
2022-08-27 18:50:11 -05:00
2023-05-22 20:51:25 -05:00
metadata_whole_archive_needs_static =
linking modifier `whole-archive` is only compatible with `static` linking kind