[INFO] fetching crate wasmer-runtime-core 0.17.1... [INFO] testing wasmer-runtime-core-0.17.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate wasmer-runtime-core 0.17.1 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate wasmer-runtime-core 0.17.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-runtime-core 0.17.1 [INFO] finished tweaking crates.io crate wasmer-runtime-core 0.17.1 [INFO] tweaked toml for crates.io crate wasmer-runtime-core 0.17.1 written to /workspace/builds/worker-27/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c124ab32539c8a3d8df2009ad8590bc053d8171b317048a45ad26a8a7bed5ba [INFO] running `Command { std: "docker" "start" "-a" "0c124ab32539c8a3d8df2009ad8590bc053d8171b317048a45ad26a8a7bed5ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c124ab32539c8a3d8df2009ad8590bc053d8171b317048a45ad26a8a7bed5ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c124ab32539c8a3d8df2009ad8590bc053d8171b317048a45ad26a8a7bed5ba", kill_on_drop: false }` [INFO] [stdout] 0c124ab32539c8a3d8df2009ad8590bc053d8171b317048a45ad26a8a7bed5ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 049fbe8709df26e293a7b3cdce9367285b8c573a0f39901fcfa77e8195e42450 [INFO] running `Command { std: "docker" "start" "-a" "049fbe8709df26e293a7b3cdce9367285b8c573a0f39901fcfa77e8195e42450", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling wasmparser v0.51.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling wasmer-runtime-core v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde-bench v0.0.7 [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 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] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.73s [INFO] running `Command { std: "docker" "inspect" "049fbe8709df26e293a7b3cdce9367285b8c573a0f39901fcfa77e8195e42450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049fbe8709df26e293a7b3cdce9367285b8c573a0f39901fcfa77e8195e42450", kill_on_drop: false }` [INFO] [stdout] 049fbe8709df26e293a7b3cdce9367285b8c573a0f39901fcfa77e8195e42450 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cce88deca283c88b82eb5a55af07d3201be20785475e17a1556249e11880c91e [INFO] running `Command { std: "docker" "start" "-a" "cce88deca283c88b82eb5a55af07d3201be20785475e17a1556249e11880c91e", kill_on_drop: false }` [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 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] [stderr] Compiling wasmer-runtime-core v0.17.1 (/opt/rustwide/workdir) [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] 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 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] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.83s [INFO] running `Command { std: "docker" "inspect" "cce88deca283c88b82eb5a55af07d3201be20785475e17a1556249e11880c91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce88deca283c88b82eb5a55af07d3201be20785475e17a1556249e11880c91e", kill_on_drop: false }` [INFO] [stdout] cce88deca283c88b82eb5a55af07d3201be20785475e17a1556249e11880c91e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] afa52b3bdfefb05808588a308142c9b45256a37e0057e6bc6228120da5548988 [INFO] running `Command { std: "docker" "start" "-a" "afa52b3bdfefb05808588a308142c9b45256a37e0057e6bc6228120da5548988", kill_on_drop: false }` [INFO] [stderr] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | memory_index: LocalMemoryIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | delta: Pages, [INFO] [stderr] | ^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/units.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Pages(pub u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | memory_index: LocalMemoryIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:55:6 [INFO] [stderr] | [INFO] [stderr] 55 | ) -> Pages { [INFO] [stderr] | ^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/units.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Pages(pub u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:74:19 [INFO] [stderr] | [INFO] [stderr] 74 | memory_index: LocalMemoryIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | delta: Pages, [INFO] [stderr] | ^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/units.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Pages(pub u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | memory_index: LocalMemoryIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:100:6 [INFO] [stderr] | [INFO] [stderr] 100 | ) -> Pages { [INFO] [stderr] | ^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/units.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Pages(pub u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:123:26 [INFO] [stderr] | [INFO] [stderr] 123 | import_memory_index: ImportedMemoryIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | delta: Pages, [INFO] [stderr] | ^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/units.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Pages(pub u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:151:26 [INFO] [stderr] | [INFO] [stderr] 151 | import_memory_index: ImportedMemoryIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:152:6 [INFO] [stderr] | [INFO] [stderr] 152 | ) -> Pages { [INFO] [stderr] | ^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/units.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Pages(pub u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:174:19 [INFO] [stderr] | [INFO] [stderr] 174 | memory_index: ImportedMemoryIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:175:12 [INFO] [stderr] | [INFO] [stderr] 175 | delta: Pages, [INFO] [stderr] | ^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/units.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Pages(pub u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:199:19 [INFO] [stderr] | [INFO] [stderr] 199 | memory_index: ImportedMemoryIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Pages`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:200:6 [INFO] [stderr] | [INFO] [stderr] 200 | ) -> Pages { [INFO] [stderr] | ^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/units.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Pages(pub u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `LocalTableIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:213:18 [INFO] [stderr] | [INFO] [stderr] 213 | table_index: LocalTableIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `LocalTableIndex`, which is not FFI-safe [INFO] [stderr] --> src/vmcalls.rs:222:71 [INFO] [stderr] | [INFO] [stderr] 222 | pub unsafe extern "C" fn local_table_size(ctx: &vm::Ctx, table_index: LocalTableIndex) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/types.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct $ty (u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 459 | / define_map_index![ [INFO] [stderr] 460 | | FuncIndex, MemoryIndex, TableIndex, GlobalIndex, [INFO] [stderr] 461 | | | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex, [INFO] [stderr] 462 | | | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex, [INFO] [stderr] 463 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `wasmer-runtime-core` (lib) generated 18 warnings [INFO] [stderr] warning: `wasmer-runtime-core` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wasmer_runtime_core-c20d4fba5115926f) [INFO] [stdout] [INFO] [stdout] running 53 tests [INFO] [stdout] test instance::test::test_instance_is_send ... ok [INFO] [stdout] test import::test::extending_works ... ok [INFO] [stdout] test import::test::extending_conflict_overwrites ... ok [INFO] [stdout] test macros::test::imports_macro_allows_trailing_comma_and_none_with_state ... ok [INFO] [stdout] test memory::memory_tests::test_initial_memory_size ... ok [INFO] [stdout] test memory::memory_tests::test_invalid_descriptor_returns_error ... ok [INFO] [stdout] test macros::test::imports_macro_allows_trailing_comma_and_none ... ok [INFO] [stdout] test memory::ptr::test::wasm_ptr_memory_bounds_checks_hold ... ok [INFO] [stdout] test table::table_tests::test_initial_table_size ... ok [INFO] [stdout] test trampoline_x64::tests::test_trampolines_with_floating_point ... ok [INFO] [stdout] test typed_func::tests::test_call ... ok [INFO] [stdout] test trampoline_x64::tests::test_context_trampoline ... ok [INFO] [stdout] test trampoline_x64::tests::test_callinfo_trampoline ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_0 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_1 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_10 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_11 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_12 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_13 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_14 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_15 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_16 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_17 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_18 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_19 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_2 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_21 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_20 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_22 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_23 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_24 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_25 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_3 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_4 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_5 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_6 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_26 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_7 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_8 ... ok [INFO] [stdout] test typed_func::tests::test_func_arity_9 ... ok [INFO] [stdout] test types::tests::test_native_types_round_trip ... ok [INFO] [stdout] test typed_func::tests::test_imports ... ok [INFO] [stdout] test vm::vm_offset_tests::func_ctx ... ok [INFO] [stdout] test vm::vm_ctx_tests::test_callback_on_drop ... ok [INFO] [stdout] test vm::vm_offset_tests::cc_anyfunc ... ok [INFO] [stdout] test vm::vm_offset_tests::imported_func ... ok [INFO] [stdout] test vm::vm_offset_tests::local_global ... ok [INFO] [stdout] test vm::vm_offset_tests::local_memory ... ok [INFO] [stdout] test vm::vm_offset_tests::local_table ... ok [INFO] [stdout] test vm::vm_offset_tests::offset_of ... ok [INFO] [stdout] test vm::vm_offset_tests::vmctx ... ok [INFO] [stdout] test trampoline_x64::tests::test_many_global_trampolines ... ok [INFO] [stdout] test typed_func::tests::test_many_new_dynamics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 48.97s [INFO] [stdout] [INFO] [stderr] Doc-tests wasmer-runtime-core [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/instance.rs - instance::Instance::call (line 282) ... ok [INFO] [stdout] test src/import.rs - import::ImportObject::maybe_with_namespace (line 142) ... ok [INFO] [stdout] test src/import.rs - import::ImportObject::register (line 96) ... ok [INFO] [stdout] test src/instance.rs - instance::Instance::dyn_func (line 251) ... ok [INFO] [stdout] test src/module.rs - module::Module::instantiate (line 142) ... ok [INFO] [stdout] test src/instance.rs - instance::Instance::func (line 221) ... ok [INFO] [stdout] test src/instance.rs - instance::Exports::into_iter (line 978) ... ok [INFO] [stdout] test src/instance.rs - instance::Instance::call (line 297) ... ok [INFO] [stdout] test src/memory/mod.rs - memory::Memory::view (line 127) ... ok [INFO] [stdout] test src/instance.rs - instance::DynFunc::call (line 732) ... ok [INFO] [stdout] test src/memory/mod.rs - memory::Memory::new (line 50) ... ok [INFO] [stdout] test src/memory/ptr.rs - memory::ptr::WasmPtr (line 26) ... ok [INFO] [stdout] test src/instance.rs - instance::Exports::get (line 945) ... ok [INFO] [stdout] test src/vm.rs - vm::Ctx::memory (line 382) ... ok [INFO] [stdout] test src/table/mod.rs - table::Table::new (line 112) ... ok [INFO] [stdout] test src/global.rs - global::Global::new (line 25) ... ok [INFO] [stdout] test src/global.rs - global::Global::new_mutable (line 38) ... ok [INFO] [stdout] test src/import.rs - import::ImportObject (line 44) ... ok [INFO] [stdout] test src/macros.rs - macros::func (line 9) ... ok [INFO] [stdout] test src/macros.rs - macros::imports (line 57) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "afa52b3bdfefb05808588a308142c9b45256a37e0057e6bc6228120da5548988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa52b3bdfefb05808588a308142c9b45256a37e0057e6bc6228120da5548988", kill_on_drop: false }` [INFO] [stdout] afa52b3bdfefb05808588a308142c9b45256a37e0057e6bc6228120da5548988