Processing: [default: loading data] [libwasmer.3.0.0~beta: dl] [libwasmer.3.0.0~beta: extract] [libwasmer.3.0.0~beta/config.toml: dl] [libwasmer.3.0.0~beta/libwasmer.install: dl] [libwasmer.3.0.0~beta/vendor.tar.gz: dl] -> retrieved libwasmer.3.0.0~beta (https://opam.ocaml.org/cache) [libwasmer: mkdir .cargo] + /usr/bin/mkdir ".cargo" (CWD=/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta) [libwasmer: mv config.toml] + /usr/bin/mv "config.toml" ".cargo" (CWD=/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta) [libwasmer: sh gunzip vendor.tar.gz && tar xf vendor.tar] + /usr/bin/sh "-c" "gunzip vendor.tar.gz && tar xf vendor.tar" (CWD=/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta) [libwasmer: make build-capi] + /usr/bin/make "build-capi" (CWD=/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta) - ----------- - INFORMATION - ----------- - - bash: line 1: rustup: command not found - Host Target: ``. - Enabled Compilers: cranelift, singlepass. - Testing the following compilers & engines: -   * API: cranelift-universal singlepass-universal, -   * C-API: cranelift-universal. - Cargo features: -   * Compilers: `--features cranelift,singlepass,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load`. - Rust version: rustc 1.85.1 (4eb161250 2025-03-15) (built from a source tarball). - bash: line 1: node: command not found - NodeJS version: . - - - -------------- - RULE EXECUTION - -------------- - - - RUSTFLAGS="" cargo build --manifest-path lib/c-api/Cargo.toml --release \ - --no-default-features --features wat,compiler,wasi,middlewares --features cranelift,singlepass,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load - Compiling proc-macro2 v1.0.43 - Compiling quote v1.0.21 - Compiling unicode-ident v1.0.3 - Compiling syn v1.0.99 - Compiling version_check v0.9.4 - Compiling libc v0.2.127 - Compiling autocfg v1.1.0 - Compiling cfg-if v1.0.0 - Compiling once_cell v1.13.0 - Compiling bitflags v1.2.1 - Compiling ident_case v1.0.1 - Compiling fnv v1.0.7 - Compiling memchr v2.5.0 - Compiling bytecheck v0.6.9 - Compiling target-lexicon v0.12.4 - Compiling rend v0.3.6 - Compiling scopeguard v1.1.0 - Compiling fallible-iterator v0.2.0 - Compiling stable_deref_trait v1.2.0 - Compiling rkyv v0.7.39 - Compiling log v0.4.17 - Compiling seahash v4.1.0 - Compiling crc32fast v1.3.2 - Compiling more-asserts v0.2.2 - Compiling cc v1.0.73 - Compiling byteorder v1.4.3 - Compiling smallvec v1.9.0 - Compiling adler v1.0.2 - Compiling crossbeam-utils v0.8.11 - Compiling leb128 v0.2.5 - Compiling rustc-demangle v0.1.21 - Compiling serde_derive v1.0.142 - Compiling cranelift-isle v0.86.1 - Compiling lazy_static v1.4.0 - Compiling serde v1.0.142 - Compiling proc-macro-hack v0.5.19 - Compiling rayon-core v1.9.3 - Compiling cranelift-codegen-shared v0.86.1 - Compiling pin-project-lite v0.2.9 - Compiling wasmparser v0.83.0 - Compiling unicode-width v0.1.9 - Compiling os_str_bytes v6.2.0 - Compiling serde_json v1.0.83 - Compiling const_fn v0.4.9 - Compiling hashbrown v0.12.3 - Compiling slice-group-by v0.3.0 - Compiling itoa v1.0.3 - Compiling remove_dir_all v0.5.3 - Compiling fastrand v1.8.0 - Compiling strsim v0.10.0 - Compiling cranelift-entity v0.86.1 - Compiling textwrap v0.15.0 - Compiling ryu v1.0.11 - Compiling termcolor v1.1.3 - Compiling cbindgen v0.24.3 - Compiling heck v0.4.0 - Compiling either v1.7.0 - Compiling wasmer-compiler-cranelift v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/compiler-cranelift) - Compiling cfg-if v0.1.10 - Compiling bytes v1.2.1 - Compiling paste v1.0.8 - Compiling tracing-core v0.1.29 - Compiling miniz_oxide v0.5.3 - Compiling wasm-encoder v0.15.0 - Compiling indexmap v1.9.1 - Compiling ahash v0.7.6 - Compiling memoffset v0.6.5 - Compiling proc-macro-error-attr v1.0.4 - Compiling proc-macro-error v1.0.4 - Compiling corosensei v0.1.3 - Compiling crossbeam-epoch v0.9.10 - Compiling standback v0.2.17 - Compiling time v0.2.27 - Compiling cranelift-codegen-meta v0.86.1 - Compiling rayon v1.5.3 - Compiling generational-arena v0.2.8 - Compiling fxhash v0.2.1 - Compiling cranelift-bforest v0.86.1 - Compiling clap_lex v0.2.4 - Compiling regalloc2 v0.3.2 - Compiling backtrace v0.3.66 - Compiling crossbeam-channel v0.5.6 - Compiling object v0.29.0 - Compiling wast v45.0.0 - Compiling getrandom v0.2.7 - Compiling memmap2 v0.5.5 - Compiling region v3.0.0 - Compiling num_cpus v1.13.1 - Compiling atty v0.2.14 - Compiling tempfile v3.3.0 - Compiling clap v3.2.16 - Compiling crossbeam-deque v0.8.2 - Compiling hashbrown v0.11.2 - Compiling cranelift-codegen v0.86.1 - Compiling gimli v0.26.2 - Compiling object v0.28.4 - Compiling darling_core v0.13.4 - Compiling ptr_meta_derive v0.1.4 - Compiling thiserror-impl v1.0.32 - Compiling bytecheck_derive v0.6.9 - Compiling rkyv_derive v0.7.39 - Compiling enum-iterator-derive v0.7.0 - Compiling tracing-attributes v0.1.22 - Compiling time-macros-impl v0.1.2 - Compiling wasmer-derive v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/derive) - Compiling dynasm v1.2.3 - Compiling derivative v2.2.0 - Compiling wat v1.0.47 - Compiling addr2line v0.17.0 - Compiling ptr_meta v0.1.4 - Compiling enum-iterator v0.7.0 - Compiling time-macros v0.1.1 - Compiling darling_macro v0.13.4 - Compiling thiserror v1.0.32 - Compiling tracing v0.1.36 - Compiling wasmer-vfs v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/vfs) - Compiling wasmer-vnet v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/vnet) - Compiling wasmer-vbus v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/vbus) - Compiling darling v0.13.4 - Compiling enumset_derive v0.6.0 - Compiling enumset v1.0.11 - Compiling toml v0.5.9 - Compiling dynasmrt v1.2.3 - Compiling wasmer-types v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/types) - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/types/src/lib.rs:11:13 - | - 11 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))] - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `core`, `default`, `enable-serde`, `serde`, `serde_bytes`, and `std` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/types/src/lib.rs:13:5 - | - 13 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `core`, `default`, `enable-serde`, `serde`, `serde_bytes`, and `std` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - Compiling wasmer-vm v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/vm) - Compiling wasmer-object v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/object) - Compiling wasmer-wasi-types v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/wasi-types) - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/object/src/lib.rs:8:13 - | - 8 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))] - | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition - | - = note: no expected values for `feature` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/object/src/lib.rs:10:5 - | - 10 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition - | - = note: no expected values for `feature` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/vm/src/lib.rs:7:5 - | - 7 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `default`, `enable-serde`, and `serde` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/vm/src/lib.rs:11:5 - | - 11 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `default`, `enable-serde`, and `serde` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: `wasmer-object` (lib) generated 2 warnings - warning: creating a mutable reference to mutable static is discouraged - --> lib/vm/src/trap/traphandlers.rs:140:22 - | - 140 | register(&mut PREV_SIGSEGV, libc::SIGSEGV); - | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static - | - = note: for more information, see - = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives - = note: `#[warn(static_mut_refs)]` on by default - help: use `&raw mut` instead to create a raw pointer - | - 140 | register(&raw mut PREV_SIGSEGV, libc::SIGSEGV); - | ~~~~~~~~ - - warning: creating a mutable reference to mutable static is discouraged - --> lib/vm/src/trap/traphandlers.rs:143:22 - | - 143 | register(&mut PREV_SIGILL, libc::SIGILL); - | ^^^^^^^^^^^^^^^^ mutable reference to mutable static - | - = note: for more information, see - = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives - help: use `&raw mut` instead to create a raw pointer - | - 143 | register(&raw mut PREV_SIGILL, libc::SIGILL); - | ~~~~~~~~ - - warning: creating a mutable reference to mutable static is discouraged - --> lib/vm/src/trap/traphandlers.rs:147:26 - | - 147 | register(&mut PREV_SIGFPE, libc::SIGFPE); - | ^^^^^^^^^^^^^^^^ mutable reference to mutable static - | - = note: for more information, see - = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives - help: use `&raw mut` instead to create a raw pointer - | - 147 | register(&raw mut PREV_SIGFPE, libc::SIGFPE); - | ~~~~~~~~ - - warning: creating a mutable reference to mutable static is discouraged - --> lib/vm/src/trap/traphandlers.rs:153:26 - | - 153 | register(&mut PREV_SIGBUS, libc::SIGBUS); - | ^^^^^^^^^^^^^^^^ mutable reference to mutable static - | - = note: for more information, see - = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives - help: use `&raw mut` instead to create a raw pointer - | - 153 | register(&raw mut PREV_SIGBUS, libc::SIGBUS); - | ~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> lib/vm/src/trap/traphandlers.rs:200:34 - | - 200 | libc::SIGSEGV => &PREV_SIGSEGV, - | ^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - help: use `&raw const` instead to create a raw pointer - | - 200 | libc::SIGSEGV => &raw const PREV_SIGSEGV, - | ~~~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> lib/vm/src/trap/traphandlers.rs:201:33 - | - 201 | libc::SIGBUS => &PREV_SIGBUS, - | ^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - help: use `&raw const` instead to create a raw pointer - | - 201 | libc::SIGBUS => &raw const PREV_SIGBUS, - | ~~~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> lib/vm/src/trap/traphandlers.rs:202:33 - | - 202 | libc::SIGFPE => &PREV_SIGFPE, - | ^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - help: use `&raw const` instead to create a raw pointer - | - 202 | libc::SIGFPE => &raw const PREV_SIGFPE, - | ~~~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> lib/vm/src/trap/traphandlers.rs:203:33 - | - 203 | libc::SIGILL => &PREV_SIGILL, - | ^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - help: use `&raw const` instead to create a raw pointer - | - 203 | libc::SIGILL => &raw const PREV_SIGILL, - | ~~~~~~~~~~ - - Compiling wasmer-compiler v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/compiler) - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/compiler/src/lib.rs:13:5 - | - 13 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `default`, `enable-serde`, `hashbrown`, `serde`, `serde_bytes`, `static-artifact-create`, `static-artifact-load`, `std`, `translator`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-object`, and `wasmparser` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/compiler/src/lib.rs:17:5 - | - 17 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `default`, `enable-serde`, `hashbrown`, `serde`, `serde_bytes`, `static-artifact-create`, `static-artifact-load`, `std`, `translator`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-object`, and `wasmparser` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unused imports: `collections`, `fmt`, and `str` - --> lib/compiler/src/lib.rs:50:38 - | - 50 | pub use std::{borrow, boxed, collections, fmt, str, string, sync, vec}; - | ^^^^^^^^^^^ ^^^ ^^^ - | - = note: `#[warn(unused_imports)]` on by default - - warning: unused imports: `DeserializeError` and `SerializeError` - --> lib/compiler/src/engine/error.rs:5:24 - | - 5 | pub use wasmer_types::{DeserializeError, ImportError, SerializeError}; - | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ - - Compiling wasmer-c-api v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/c-api) - warning: `wasmer-vm` (lib) generated 10 warnings - warning: unexpected `cfg` condition value: `emscripten` - --> lib/c-api/build.rs:57:15 - | - 57 | #[cfg(feature = $feature)] - | ^^^^^^^^^^^^^^^^^^ - ... - 149 | map_feature_as_c_define!("emscripten", EMSCRIPTEN_FEATURE_AS_C_DEFINE, pre_header); - | ---------------------------------------------------------------------------------- in this macro invocation - | - = note: expected values for `feature` are: `compiler`, `compiler-headless`, `cranelift`, `default`, `jit`, `llvm`, `middlewares`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `typetag`, `wasi`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-emscripten`, `wasmer-middlewares`, `wasmer-wasi`, and `wat` - = help: consider adding `emscripten` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - = note: this warning originates in the macro `map_feature_as_c_define` (in Nightly builds, run with -Z macro-backtrace for more info) - - warning: `wasmer-types` (lib) generated 2 warnings - Compiling wasmer v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/api) - Compiling wasmer-compiler-singlepass v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/compiler-singlepass) - warning: lint `deprecated_cfg_attr_crate_type_name` has been removed: converted into hard error, see issue #91632 for more information - --> lib/api/src/lib.rs:28:10 - | - 28 | #![allow(deprecated_cfg_attr_crate_type_name)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `#[warn(renamed_and_removed_lints)]` on by default - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/api/src/lib.rs:13:5 - | - 13 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/api/src/lib.rs:17:5 - | - 17 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `default-cranelift` - --> lib/api/src/lib.rs:319:13 - | - 319 | #![cfg_attr(feature = "default-cranelift", doc = "(enabled),")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat` - = help: consider adding `default-cranelift` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `default-cranelift` - --> lib/api/src/lib.rs:320:17 - | - 320 | #![cfg_attr(not(feature = "default-cranelift"), doc = "(disabled),")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat` - = help: consider adding `default-cranelift` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `default-llvm` - --> lib/api/src/lib.rs:323:13 - | - 323 | #![cfg_attr(feature = "default-llvm", doc = "(enabled),")] - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat` - = help: consider adding `default-llvm` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `default-llvm` - --> lib/api/src/lib.rs:324:17 - | - 324 | #![cfg_attr(not(feature = "default-llvm"), doc = "(disabled),")] - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat` - = help: consider adding `default-llvm` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `default-singlepass` - --> lib/api/src/lib.rs:327:13 - | - 327 | #![cfg_attr(feature = "default-singlepass", doc = "(enabled),")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat` - = help: consider adding `default-singlepass` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `default-singlepass` - --> lib/api/src/lib.rs:328:17 - | - 328 | #![cfg_attr(not(feature = "default-singlepass"), doc = "(disabled),")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat` - = help: consider adding `default-singlepass` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: `wasmer-c-api` (build script) generated 1 warning - Compiling cranelift-frontend v0.86.1 - warning: `wasmer-compiler` (lib) generated 4 warnings (run `cargo fix --lib -p wasmer-compiler` to apply 2 suggestions) - warning: unexpected `cfg` condition value: `enable-serde` - --> lib/compiler-singlepass/src/unwind_winx64.rs:174:12 - | - 174 | #[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))] - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `avx`, `core`, `default`, `gimli`, `hashbrown`, `rayon`, `sse`, `std`, `unwind`, and `wasm` - = help: consider adding `enable-serde` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/compiler-cranelift/src/lib.rs:10:5 - | - 10 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/compiler-cranelift/src/lib.rs:14:5 - | - 14 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unused import: `cranelift_codegen::print_errors::pretty_error` - --> lib/compiler-cranelift/src/trampoline/mod.rs:9:9 - | - 9 | pub use cranelift_codegen::print_errors::pretty_error; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - - warning: unused import: `cranelift_codegen::Context` - --> lib/compiler-cranelift/src/trampoline/mod.rs:10:9 - | - 10 | pub use cranelift_codegen::Context; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - - warning: unused import: `FunctionBuilder` - --> lib/compiler-cranelift/src/trampoline/mod.rs:11:30 - | - 11 | pub use cranelift_frontend::{FunctionBuilder, FunctionBuilderContext}; - | ^^^^^^^^^^^^^^^ - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/compiler-cranelift/src/translator/code_translator.rs:103:5 - | - 103 | feature = "cargo-clippy", - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/compiler-cranelift/src/translator/code_translator.rs:2033:12 - | - 2033 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::unneeded_field_pattern))] - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unexpected `cfg` condition value: `cargo-clippy` - --> lib/compiler-cranelift/src/translator/func_environ.rs:169:16 - | - 169 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] - | ^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm` - = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - - warning: unused import: `ReturnMode` - --> lib/compiler-cranelift/src/translator/mod.rs:10:63 - | - 10 | pub use self::func_environ::{FuncEnvironment, GlobalVariable, ReturnMode, TargetEnvironment}; - | ^^^^^^^^^^ - - warning: unused import: `self::func_state::FuncTranslationState` - --> lib/compiler-cranelift/src/translator/mod.rs:11:9 - | - 11 | pub use self::func_state::FuncTranslationState; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - - warning: unused import: `get_vmctx_value_label` - --> lib/compiler-cranelift/src/translator/mod.rs:14:5 - | - 14 | get_vmctx_value_label, irlibcall_to_libcall, irreloc_to_relocationkind, - | ^^^^^^^^^^^^^^^^^^^^^ - - warning: method `pointer_bytes` is never used - --> lib/compiler-cranelift/src/translator/func_environ.rs:66:8 - | - 54 | pub trait TargetEnvironment { - | ----------------- method in this trait - ... - 66 | fn pointer_bytes(&self) -> u8 { - | ^^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - - warning: methods `get_global_type`, `get_local_type`, `get_local_types`, `get_function_type`, and `get_function_sig` are never used - --> lib/compiler-cranelift/src/translator/func_environ.rs:475:8 - | - 83 | pub trait FuncEnvironment: TargetEnvironment { - | --------------- methods in this trait - ... - 475 | fn get_global_type(&self, global_index: GlobalIndex) -> Option; - | ^^^^^^^^^^^^^^^ - ... - 484 | fn get_local_type(&self, local_index: u32) -> Option; - | ^^^^^^^^^^^^^^ - ... - 487 | fn get_local_types(&self) -> &[WasmerType]; - | ^^^^^^^^^^^^^^^ - ... - 490 | fn get_function_type(&self, function_index: FunctionIndex) -> Option<&FunctionType>; - | ^^^^^^^^^^^^^^^^^ - ... - 493 | fn get_function_sig(&self, sig_index: SignatureIndex) -> Option<&FunctionType>; - | ^^^^^^^^^^^^^^^^ - - warning: variable does not need to be mutable - --> lib/api/src/sys/module.rs:380:60 - | - 380 | Arc::get_mut(&mut self.module_info).map_or(false, |mut module_info| { - | ----^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - - warning: trait `HostFunctionKindSealed` is never used - --> lib/api/src/sys/externals/function.rs:1127:19 - | - 1127 | pub trait HostFunctionKindSealed {} - | ^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - - Compiling wasmer-middlewares v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/middlewares) - warning: `wasmer` (lib) generated 11 warnings (run `cargo fix --lib -p wasmer` to apply 1 suggestion) - Compiling wasmer-wasi v3.0.0-beta (/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta/lib/wasi) - warning: `wasmer-compiler-cranelift` (lib) generated 13 warnings (run `cargo fix --lib -p wasmer-compiler-cranelift` to apply 6 suggestions) - warning: elided lifetime has a name - --> lib/wasi/src/lib.rs:357:27 - | - 353 | pub(crate) fn get_memory_and_wasi_state<'a>( - | -- lifetime `'a` declared here - ... - 357 | ) -> (MemoryView<'a>, &WasiState) { - | ^ this elided lifetime gets resolved as `'a` - | - = note: `#[warn(elided_named_lifetimes)]` on by default - - warning: elided lifetime has a name - --> lib/wasi/src/lib.rs:367:27 - | - 363 | pub(crate) fn get_memory_and_wasi_state_and_inodes<'a>( - | -- lifetime `'a` declared here - ... - 367 | ) -> (MemoryView<'a>, &WasiState, RwLockReadGuard) { - | ^ this elided lifetime gets resolved as `'a` - - warning: elided lifetime has a name - --> lib/wasi/src/lib.rs:367:54 - | - 363 | pub(crate) fn get_memory_and_wasi_state_and_inodes<'a>( - | -- lifetime `'a` declared here - ... - 367 | ) -> (MemoryView<'a>, &WasiState, RwLockReadGuard) { - | ^ this elided lifetime gets resolved as `'a` - - warning: elided lifetime has a name - --> lib/wasi/src/lib.rs:378:27 - | - 374 | pub(crate) fn get_memory_and_wasi_state_and_inodes_mut<'a>( - | -- lifetime `'a` declared here - ... - 378 | ) -> (MemoryView<'a>, &WasiState, RwLockWriteGuard) { - | ^ this elided lifetime gets resolved as `'a` - - warning: elided lifetime has a name - --> lib/wasi/src/lib.rs:378:55 - | - 374 | pub(crate) fn get_memory_and_wasi_state_and_inodes_mut<'a>( - | -- lifetime `'a` declared here - ... - 378 | ) -> (MemoryView<'a>, &WasiState, RwLockWriteGuard) { - | ^ this elided lifetime gets resolved as `'a` - - warning: variable does not need to be mutable - --> lib/compiler-singlepass/src/codegen.rs:2981:21 - | - 2981 | let mut frame = &mut self.control_stack.last_mut().unwrap(); - | ----^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - - warning: multiple fields are never read - --> lib/compiler-singlepass/src/common_decl.rs:40:9 - | - 35 | pub struct MachineStateDiff { - | ---------------- fields in this struct - ... - 40 | pub stack_push: Vec, - | ^^^^^^^^^^ - ... - 43 | pub stack_pop: usize, - | ^^^^^^^^^ - ... - 46 | pub reg_diff: Vec<(RegisterIndex, MachineValue)>, - | ^^^^^^^^ - ... - 49 | pub prev_frame_diff: BTreeMap>, // None for removal - | ^^^^^^^^^^^^^^^ - ... - 52 | pub wasm_stack_push: Vec, - | ^^^^^^^^^^^^^^^ - ... - 55 | pub wasm_stack_pop: usize, - | ^^^^^^^^^^^^^^ - ... - 58 | pub wasm_inst_offset: usize, // absolute value; not a diff. - | ^^^^^^^^^^^^^^^^ - | - = note: `MachineStateDiff` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis - = note: `#[warn(dead_code)]` on by default - - warning: fields `initial`, `locals`, `shadow_size`, `wasm_function_header_target_offset`, and `loop_offsets` are never read - --> lib/compiler-singlepass/src/common_decl.rs:88:9 - | - 86 | pub struct FunctionStateMap { - | ---------------- fields in this struct - 87 | /// Initial. - 88 | pub initial: MachineState, - | ^^^^^^^ - ... - 92 | pub locals: Vec, - | ^^^^^^ - 93 | /// Shadow size. - 94 | pub shadow_size: usize, // for single-pass backend, 32 bytes on x86-64 - | ^^^^^^^^^^^ - ... - 98 | pub wasm_function_header_target_offset: Option, - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ... - 102 | pub loop_offsets: BTreeMap, /* suspend_offset -> info */ - | ^^^^^^^^^^^^ - | - = note: `FunctionStateMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis - - warning: field `0` is never read - --> lib/compiler-singlepass/src/common_decl.rs:123:10 - | - 123 | Call(usize), - | ---- ^^^^^ - | | - | field in this variant - | - = note: `SuspendOffset` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 123 | Call(()), - | ~~ - - warning: field `0` is never read - --> lib/compiler-singlepass/src/common_decl.rs:125:15 - | - 125 | Trappable(usize), - | --------- ^^^^^ - | | - | field in this variant - | - = note: `SuspendOffset` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 125 | Trappable(()), - | ~~ - - warning: fields `end_offset`, `diff_id`, and `activate_offset` are never read - --> lib/compiler-singlepass/src/common_decl.rs:132:9 - | - 130 | pub struct OffsetInfo { - | ---------- fields in this struct - 131 | /// Exclusive range-end offset. - 132 | pub end_offset: usize, - | ^^^^^^^^^^ - 133 | /// Index pointing to the `MachineStateDiff` entry. - 134 | pub diff_id: usize, - | ^^^^^^^ - 135 | /// Offset at which execution can be continued. - 136 | pub activate_offset: usize, - | ^^^^^^^^^^^^^^^ - | - = note: `OffsetInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis - - warning: multiple methods are never used - --> lib/compiler-singlepass/src/emitter_arm64.rs:91:8 - | - 88 | pub trait EmitterARM64 { - | ------------ methods in this trait - ... - 91 | fn get_jmp_instr_size(&self) -> u8; - | ^^^^^^^^^^^^^^^^^^ - ... - 111 | fn emit_strdb( - | ^^^^^^^^^^ - ... - 125 | fn emit_ldria( - | ^^^^^^^^^^ - ... - 160 | fn emit_movz(&mut self, reg: Location, val: u32) -> Result<(), CodegenError>; - | ^^^^^^^^^ - 161 | fn emit_movk(&mut self, reg: Location, val: u32, shift: u32) -> Result<(), CodegenError>; - | ^^^^^^^^^ - ... - 307 | fn emit_uxtb(&mut self, sz: Size, src: Location, dst: Location) -> Result<(), CodegenError>; - | ^^^^^^^^^ - 308 | fn emit_uxth(&mut self, sz: Size, src: Location, dst: Location) -> Result<(), CodegenError>; - | ^^^^^^^^^ - ... - 311 | fn emit_csetm(&mut self, sz: Size, dst: Location, cond: Condition) -> Result<(), CodegenError>; - | ^^^^^^^^^^ - 312 | fn emit_cinc( - | ^^^^^^^^^ - ... - 340 | fn emit_tbnz_label( - | ^^^^^^^^^^^^^^^ - - warning: multiple methods are never used - --> lib/compiler-singlepass/src/emitter_x64.rs:75:8 - | - 65 | pub trait EmitterX64 { - | ---------- methods in this trait - ... - 75 | fn emit_u64(&mut self, x: u64) -> Result<(), CodegenError>; - | ^^^^^^^^ - ... - 80 | fn emit_nop(&mut self) -> Result<(), CodegenError>; - | ^^^^^^^^ - ... - 148 | fn emit_cmovae_gpr_32(&mut self, src: GPR, dst: GPR) -> Result<(), CodegenError>; - | ^^^^^^^^^^^^^^^^^^ - ... - 220 | fn emit_vcmpordss( - | ^^^^^^^^^^^^^^ - ... - 226 | fn emit_vcmpordsd( - | ^^^^^^^^^^^^^^ - ... - 348 | fn emit_ud2(&mut self) -> Result<(), CodegenError>; - | ^^^^^^^^ - ... - 462 | fn arch_emit_entry_trampoline(&mut self) -> Result<(), CodegenError> { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ... - 468 | fn arch_mov64_imm_offset(&self) -> Result { - | ^^^^^^^^^^^^^^^^^^^^^ - - warning: methods `is_callee_save` and `is_reserved` are never used - --> lib/compiler-singlepass/src/location.rs:42:8 - | - 41 | pub trait Reg: Copy + Clone + Eq + PartialEq + Debug + Hash + Ord { - | --- methods in this trait - 42 | fn is_callee_save(self) -> bool; - | ^^^^^^^^^^^^^^ - 43 | fn is_reserved(self) -> bool; - | ^^^^^^^^^^^ - - warning: trait `Descriptor` is never used - --> lib/compiler-singlepass/src/location.rs:50:11 - | - 50 | pub trait Descriptor { - | ^^^^^^^^^^ - - warning: associated items `to_index`, `from_gpr`, and `from_simd` are never used - --> lib/compiler-singlepass/src/location.rs:70:8 - | - 68 | pub trait CombinedRegister: Copy + Clone + Eq + PartialEq + Debug { - | ---------------- associated items in this trait - 69 | /// Returns the index of the register. - 70 | fn to_index(&self) -> RegisterIndex; - | ^^^^^^^^ - ... - 74 | fn from_gpr(x: u16) -> Self; - | ^^^^^^^^ - 75 | /// Convert from an SIMD register - 76 | fn from_simd(x: u16) -> Self; - | ^^^^^^^^^ - - warning: methods `imm_value` and `is_imm` are never used - --> lib/compiler-singlepass/src/machine.rs:41:8 - | - 40 | pub trait MaybeImmediate { - | -------------- methods in this trait - 41 | fn imm_value(&self) -> Option; - | ^^^^^^^^^ - 42 | fn is_imm(&self) -> bool { - | ^^^^^^ - - warning: multiple methods are never used - --> lib/compiler-singlepass/src/machine.rs:119:8 - | - 59 | pub trait Machine { - | ------- methods in this trait - ... - 119 | fn mark_address_with_trap_code(&mut self, code: TrapCode); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ... - 284 | fn emit_call_label(&mut self, label: Label) -> Result<(), CodegenError>; - | ^^^^^^^^^^^^^^^ - ... - 303 | fn emit_debug_breakpoint(&mut self) -> Result<(), CodegenError>; - | ^^^^^^^^^^^^^^^^^^^^^ - ... - 307 | fn location_address( - | ^^^^^^^^^^^^^^^^ - ... - 315 | fn location_and( - | ^^^^^^^^^^^^ - ... - 348 | fn location_sub( - | ^^^^^^^^^^^^ - ... - 373 | fn location_test( - | ^^^^^^^^^^^^^ - ... - 390 | fn jmp_on_above(&mut self, label: Label) -> Result<(), CodegenError>; - | ^^^^^^^^^^^^ - ... - 399 | fn jmp_on_overflow(&mut self, label: Label) -> Result<(), CodegenError>; - | ^^^^^^^^^^^^^^^ - - warning: trait `WasiPath` is never used - --> lib/wasi/src/state/types.rs:376:11 - | - 376 | pub trait WasiPath {} - | ^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - - warning: `wasmer-compiler-singlepass` (lib) generated 14 warnings (run `cargo fix --lib -p wasmer-compiler-singlepass` to apply 1 suggestion) - warning: `wasmer-wasi` (lib) generated 6 warnings - warning: unexpected `cfg` condition value: `dylib` - --> lib/c-api/src/wasm_c_api/engine.rs:255:59 - | - 255 | #[cfg(all(feature = "compiler", any(feature = "compiler", feature = "dylib")))] - | ^^^^^^^^^^^^^^^^^ - | - = note: expected values for `feature` are: `compiler`, `compiler-headless`, `cranelift`, `default`, `jit`, `llvm`, `middlewares`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `typetag`, `wasi`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-emscripten`, `wasmer-middlewares`, `wasmer-wasi`, and `wat` - = help: consider adding `dylib` as a feature in `Cargo.toml` - = note: see for more information about checking conditional configuration - = note: `#[warn(unexpected_cfgs)]` on by default - - warning: unexpected `cfg` condition name: `__cbindgen_hack__` - --> lib/c-api/src/wasm_c_api/unstable/wasi.rs:59:7 - | - 59 | #[cfg(__cbindgen_hack__ = "yes")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` - = help: consider using a Cargo feature instead - = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: - [lints.rust] - unexpected_cfgs = { level = "warn", check-cfg = ['cfg(__cbindgen_hack__, values("yes"))'] } - = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(__cbindgen_hack__, values(\"yes\"))");` to the top of the `build.rs` - = note: see for more information about checking conditional configuration - - warning: `wasmer-c-api` (lib) generated 2 warnings - Finished `release` profile [optimized] target(s) in 1m 01s [libwasmer: make package-capi] + /usr/bin/make "package-capi" (CWD=/home/opam/.opam/default/.opam-switch/build/libwasmer.3.0.0~beta) - ----------- - INFORMATION - ----------- - - bash: line 1: rustup: command not found - Host Target: ``. - Enabled Compilers: cranelift, singlepass. - Testing the following compilers & engines: -   * API: cranelift-universal singlepass-universal, -   * C-API: cranelift-universal. - Cargo features: -   * Compilers: `--features cranelift,singlepass,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load`. - Rust version: rustc 1.85.1 (4eb161250 2025-03-15) (built from a source tarball). - bash: line 1: node: command not found - NodeJS version: . - - - -------------- - RULE EXECUTION - -------------- - - - mkdir -p "package/include" - mkdir -p "package/lib" - cp lib/c-api/wasmer.h* package/include - cp lib/c-api/wasmer_wasm.h* package/include - cp lib/c-api/wasm.h* package/include - cp lib/c-api/README.md package/include/README.md - if [ -f target/release/wasmer.dll ]; then \ - cp target/release/wasmer.dll package/lib/wasmer.dll ;\ - fi - if [ -f target/release/wasmer.lib ]; then \ - cp target/release/wasmer.lib package/lib/wasmer.lib ;\ - fi - if [ -f target/release/libwasmer.dylib ]; then \ - cp target/release/libwasmer.dylib package/lib/libwasmer.dylib ;\ - fi - if [ -f target/release/libwasmer.so ]; then \ - cp target/release/libwasmer.so package/lib/libwasmer.so ;\ - fi - if [ -f target/release/libwasmer.a ]; then \ - cp target/release/libwasmer.a package/lib/libwasmer.a ;\ - fi -> compiled libwasmer.3.0.0~beta -> installed libwasmer.3.0.0~beta