[INFO] fetching crate wasmer-runtime-core-near 0.17.1... [INFO] checking wasmer-runtime-core-near-0.17.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate wasmer-runtime-core-near 0.17.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate wasmer-runtime-core-near 0.17.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-runtime-core-near 0.17.1 [INFO] finished tweaking crates.io crate wasmer-runtime-core-near 0.17.1 [INFO] tweaked toml for crates.io crate wasmer-runtime-core-near 0.17.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-debug v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5575cc0b779c052d747b924223229383deda4ea76bd45174c35845bbf0c5a018 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5575cc0b779c052d747b924223229383deda4ea76bd45174c35845bbf0c5a018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5575cc0b779c052d747b924223229383deda4ea76bd45174c35845bbf0c5a018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5575cc0b779c052d747b924223229383deda4ea76bd45174c35845bbf0c5a018", kill_on_drop: false }` [INFO] [stdout] 5575cc0b779c052d747b924223229383deda4ea76bd45174c35845bbf0c5a018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f99bc9335703015d29da3f0b6e6fe706e45c8190c9aa9448c83a54b3ef44741c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f99bc9335703015d29da3f0b6e6fe706e45c8190c9aa9448c83a54b3ef44741c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking wasmparser v0.51.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking serde-bench v0.0.7 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking nix v0.15.0 [INFO] [stderr] Compiling wasmer-runtime-core-near v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking parking_lot v0.10.2 [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "f99bc9335703015d29da3f0b6e6fe706e45c8190c9aa9448c83a54b3ef44741c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99bc9335703015d29da3f0b6e6fe706e45c8190c9aa9448c83a54b3ef44741c", kill_on_drop: false }` [INFO] [stdout] f99bc9335703015d29da3f0b6e6fe706e45c8190c9aa9448c83a54b3ef44741c