[INFO] fetching crate wasmer-runtime-core-fl 0.17.1... [INFO] checking wasmer-runtime-core-fl-0.17.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate wasmer-runtime-core-fl 0.17.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate wasmer-runtime-core-fl 0.17.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-runtime-core-fl 0.17.1 [INFO] finished tweaking crates.io crate wasmer-runtime-core-fl 0.17.1 [INFO] tweaked toml for crates.io crate wasmer-runtime-core-fl 0.17.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake3 v0.3.8 (available: v1.5.4) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding constant_time_eq v0.1.5 (available: v0.3.1) [INFO] [stderr] Adding cranelift-entity v0.59.0 (available: v0.112.1) [INFO] [stderr] Adding crypto-mac v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding digest v0.8.1 (available: v0.10.7) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding errno v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding faerie v0.14.0 (available: v0.16.0) [INFO] [stderr] Adding fallible-iterator v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding generic-array v0.12.4 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding gimli v0.20.0 (available: v0.31.0) [INFO] [stderr] Adding goblin v0.1.3 (available: v0.8.2) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding more-asserts v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding nix v0.15.0 (available: v0.29.0) [INFO] [stderr] Adding page_size v0.4.2 (available: v0.6.0) [INFO] [stderr] Adding parking_lot v0.10.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.7.3 (available: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding scroll v0.10.2 (available: v0.12.0) [INFO] [stderr] Adding scroll_derive v0.10.5 (available: v0.12.0) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding serde-bench v0.0.7 (available: v0.0.11) [INFO] [stderr] Adding string-interner v0.7.1 (available: v0.17.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding target-lexicon v0.10.0 (available: v0.12.16) [INFO] [stderr] Adding wasmparser v0.51.4 (available: v0.217.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-debug v0.2.0 [INFO] [stderr] Downloaded serde-bench v0.0.7 [INFO] [stderr] Downloaded wasmparser v0.51.4 [INFO] [stderr] Downloaded string-interner v0.7.1 [INFO] [stderr] Downloaded cranelift-entity v0.59.0 [INFO] [stderr] Downloaded faerie v0.14.0 [INFO] [stderr] Downloaded gimli v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fece778cbed5add8eacedf7f19a0e978ca6c595a5e03928e20fef38ee3f13ca [INFO] running `Command { std: "docker" "start" "-a" "7fece778cbed5add8eacedf7f19a0e978ca6c595a5e03928e20fef38ee3f13ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fece778cbed5add8eacedf7f19a0e978ca6c595a5e03928e20fef38ee3f13ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fece778cbed5add8eacedf7f19a0e978ca6c595a5e03928e20fef38ee3f13ca", kill_on_drop: false }` [INFO] [stdout] 7fece778cbed5add8eacedf7f19a0e978ca6c595a5e03928e20fef38ee3f13ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b2b94160574ca06fd25693091865ca609a21293d59032d03463619c102485e9 [INFO] running `Command { std: "docker" "start" "-a" "0b2b94160574ca06fd25693091865ca609a21293d59032d03463619c102485e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking wasmparser v0.51.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling wasmer-runtime-core-fl v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking serde-bench v0.0.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/module.rs:351:16 [INFO] [stdout] | [INFO] [stdout] 351 | #[cfg_attr(feature = "cache", serde(with = "serde_bytes"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `deterministic-execution`, `dynamicfunc-fat-closures`, `generate-debug-information`, `generate-debug-information-no-export-symbols`, `managed`, and `wasm-debug` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/module.rs:351:16 [INFO] [stdout] | [INFO] [stdout] 351 | #[cfg_attr(feature = "cache", serde(with = "serde_bytes"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `deterministic-execution`, `dynamicfunc-fat-closures`, `generate-debug-information`, `generate-debug-information-no-export-symbols`, `managed`, and `wasm-debug` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait `Atomicity` is never used [INFO] [stdout] --> src/memory/view.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Atomicity {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | dead_code, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/error.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let expected: &FuncSig = expected.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `FuncSig` does not implement `Borrow`, so calling `borrow` on `&FuncSig` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 345 - let expected: &FuncSig = expected.borrow(); [INFO] [stdout] 345 + let expected: &FuncSig = expected; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `FuncSig`, implement `Clone` for it [INFO] [stdout] --> src/types.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 + #[derive(Clone)] [INFO] [stdout] 358 | pub struct FuncSig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/instance.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { Box::from_raw(self.vmctx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { let _ = Box::from_raw(self.vmctx); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/typed_func.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | Box::from_raw(self.ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 445 | let _ = Box::from_raw(self.ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | memory_index: LocalMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | delta: Pages, [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | memory_index: LocalMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | ) -> Pages { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | memory_index: LocalMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | delta: Pages, [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | memory_index: LocalMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Pages { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | import_memory_index: ImportedMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | delta: Pages, [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | import_memory_index: ImportedMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | ) -> Pages { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | memory_index: ImportedMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | delta: Pages, [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | memory_index: ImportedMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:200:6 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Pages { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalTableIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | table_index: LocalTableIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalTableIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:222:71 [INFO] [stdout] | [INFO] [stdout] 222 | pub unsafe extern "C" fn local_table_size(ctx: &vm::Ctx, table_index: LocalTableIndex) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-runtime-core-fl` (lib) due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: trait `Atomicity` is never used [INFO] [stdout] --> src/memory/view.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Atomicity {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | dead_code, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/error.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let expected: &FuncSig = expected.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `FuncSig` does not implement `Borrow`, so calling `borrow` on `&FuncSig` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 345 - let expected: &FuncSig = expected.borrow(); [INFO] [stdout] 345 + let expected: &FuncSig = expected; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `FuncSig`, implement `Clone` for it [INFO] [stdout] --> src/types.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 + #[derive(Clone)] [INFO] [stdout] 358 | pub struct FuncSig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/instance.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { Box::from_raw(self.vmctx) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { let _ = Box::from_raw(self.vmctx); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/typed_func.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | Box::from_raw(self.ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 445 | let _ = Box::from_raw(self.ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/vm.rs:1015:9 [INFO] [stdout] | [INFO] [stdout] 1015 | drop(test_data); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut TestData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1015 - drop(test_data); [INFO] [stdout] 1015 + let _ = test_data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | memory_index: LocalMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | delta: Pages, [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | memory_index: LocalMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | ) -> Pages { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | memory_index: LocalMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | delta: Pages, [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | memory_index: LocalMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Pages { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | import_memory_index: ImportedMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | delta: Pages, [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | import_memory_index: ImportedMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | ) -> Pages { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | memory_index: ImportedMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | delta: Pages, [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | memory_index: ImportedMemoryIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:200:6 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Pages { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/units.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Pages(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalTableIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | table_index: LocalTableIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `LocalTableIndex`, which is not FFI-safe [INFO] [stdout] --> src/vmcalls.rs:222:71 [INFO] [stdout] | [INFO] [stdout] 222 | pub unsafe extern "C" fn local_table_size(ctx: &vm::Ctx, table_index: LocalTableIndex) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/types.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct $ty (u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | / define_map_index![ [INFO] [stdout] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stdout] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stdout] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stdout] 463 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-runtime-core-fl` (lib test) due to 2 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b2b94160574ca06fd25693091865ca609a21293d59032d03463619c102485e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2b94160574ca06fd25693091865ca609a21293d59032d03463619c102485e9", kill_on_drop: false }` [INFO] [stdout] 0b2b94160574ca06fd25693091865ca609a21293d59032d03463619c102485e9