[INFO] fetching crate wasmer-runtime-core-near 0.18.1...
[INFO] testing wasmer-runtime-core-near-0.18.1 against beta-2021-08-01 for beta-1.55-1
[INFO] extracting crate wasmer-runtime-core-near 0.18.1 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate wasmer-runtime-core-near 0.18.1 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate wasmer-runtime-core-near 0.18.1
[INFO] finished tweaking crates.io crate wasmer-runtime-core-near 0.18.1
[INFO] tweaked toml for crates.io crate wasmer-runtime-core-near 0.18.1 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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" "+beta-2021-08-01" "fetch" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 278295175c078d05aefb7a449921843dbd6a3e8e319c312d5ea7230ce67dda03
[INFO] running `Command { std: "docker" "start" "-a" "278295175c078d05aefb7a449921843dbd6a3e8e319c312d5ea7230ce67dda03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "278295175c078d05aefb7a449921843dbd6a3e8e319c312d5ea7230ce67dda03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "278295175c078d05aefb7a449921843dbd6a3e8e319c312d5ea7230ce67dda03", kill_on_drop: false }`
[INFO] [stdout] 278295175c078d05aefb7a449921843dbd6a3e8e319c312d5ea7230ce67dda03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f3aa40bda41cbd6000210913c9b6480e3d420524ef26967a1bad2245061413b
[INFO] running `Command { std: "docker" "start" "-a" "3f3aa40bda41cbd6000210913c9b6480e3d420524ef26967a1bad2245061413b", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling wasmparser v0.51.4
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling page_size v0.4.2
[INFO] [stderr]    Compiling errno v0.2.7
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling wasmer-runtime-core-near v0.18.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling serde-bench v0.0.7
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]    Compiling borsh v0.9.1
[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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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 39.21s
[INFO] running `Command { std: "docker" "inspect" "3f3aa40bda41cbd6000210913c9b6480e3d420524ef26967a1bad2245061413b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f3aa40bda41cbd6000210913c9b6480e3d420524ef26967a1bad2245061413b", kill_on_drop: false }`
[INFO] [stdout] 3f3aa40bda41cbd6000210913c9b6480e3d420524ef26967a1bad2245061413b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a24c2bfa3d73a3fa66f50e7fb6cf9a2b6a44c6b3c8e6e1306fce622076065475
[INFO] running `Command { std: "docker" "start" "-a" "a24c2bfa3d73a3fa66f50e7fb6cf9a2b6a44c6b3c8e6e1306fce622076065475", 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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-near v0.18.1 (/opt/rustwide/workdir)
[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:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | 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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 460 | / define_map_index![
[INFO] [stdout] 461 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 462 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 463 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 464 | | ];
[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] error[E0308]: mismatched types
[INFO] [stdout]     --> src/vm.rs:1125:26
[INFO] [stdout]      |
[INFO] [stdout] 1125 |                 exports: IndexMap::new(),
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ expected struct `ExportsMap`, found struct `IndexMap`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected struct `ExportsMap`
[INFO] [stdout]                 found struct `IndexMap<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasmer-runtime-core-near` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "a24c2bfa3d73a3fa66f50e7fb6cf9a2b6a44c6b3c8e6e1306fce622076065475", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a24c2bfa3d73a3fa66f50e7fb6cf9a2b6a44c6b3c8e6e1306fce622076065475", kill_on_drop: false }`
[INFO] [stdout] a24c2bfa3d73a3fa66f50e7fb6cf9a2b6a44c6b3c8e6e1306fce622076065475
