[INFO] cloning repository https://github.com/aranajhonny/private-lucet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aranajhonny/private-lucet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faranajhonny%2Fprivate-lucet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faranajhonny%2Fprivate-lucet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa8b968d40cf998845643ce02f1a40c098b139ff
[INFO] testing aranajhonny/private-lucet against 1.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faranajhonny%2Fprivate-lucet" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/aranajhonny/private-lucet on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/aranajhonny/private-lucet
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/aranajhonny/private-lucet
[INFO] tweaked toml for git repo https://github.com/aranajhonny/private-lucet written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/aranajhonny/private-lucet already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/wasmerio/inkwell`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ghost v0.1.1
[INFO] [stderr]   Downloaded page_size v0.4.1
[INFO] [stderr]   Downloaded wasmer-clif-fork-wasm v0.44.0
[INFO] [stderr]   Downloaded cargo_toml v0.6.4
[INFO] [stderr]   Downloaded cranelift-entity v0.44.0
[INFO] [stderr]   Downloaded wasmer-clif-fork-frontend v0.44.0
[INFO] [stderr]   Downloaded cranelift-native v0.44.0
[INFO] [stderr]   Downloaded ctor v0.1.10
[INFO] [stderr]   Downloaded inventory-impl v0.1.4
[INFO] [stderr]   Downloaded generational-arena v0.2.3
[INFO] [stderr]   Downloaded typetag v0.1.4
[INFO] [stderr]   Downloaded target-lexicon v0.8.1
[INFO] [stderr]   Downloaded serde_bytes v0.11.2
[INFO] [stderr]   Downloaded llvm-sys v80.1.1
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.44.0
[INFO] [stderr]   Downloaded inventory v0.1.4
[INFO] [stderr]   Downloaded cranelift-codegen v0.44.0
[INFO] [stderr]   Downloaded goblin v0.0.24
[INFO] [stderr]   Downloaded enum-methods v0.0.8
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.44.0
[INFO] [stderr]   Downloaded serde-bench v0.0.7
[INFO] [stderr]   Downloaded dynasmrt v0.3.1
[INFO] [stderr]   Downloaded typetag-impl v0.1.4
[INFO] [stderr]   Downloaded field-offset v0.1.1
[INFO] [stderr]   Downloaded cranelift-bforest v0.44.0
[INFO] [stderr]   Downloaded wasmparser v0.39.1
[INFO] [stderr]   Downloaded dynasm v0.3.2
[INFO] [stderr]   Downloaded cbindgen v0.9.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f29af580ba66c9e4942343160724e123f5ff50f09aae3b4325db92ad15cf304
[INFO] running `Command { std: "docker" "start" "-a" "3f29af580ba66c9e4942343160724e123f5ff50f09aae3b4325db92ad15cf304", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f29af580ba66c9e4942343160724e123f5ff50f09aae3b4325db92ad15cf304", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f29af580ba66c9e4942343160724e123f5ff50f09aae3b4325db92ad15cf304", kill_on_drop: false }`
[INFO] [stdout] 3f29af580ba66c9e4942343160724e123f5ff50f09aae3b4325db92ad15cf304
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 263ac085b44a0b7ff5f5132c287083d447ebd1badad3e8014c3bba85194bd503
[INFO] running `Command { std: "docker" "start" "-a" "263ac085b44a0b7ff5f5132c287083d447ebd1badad3e8014c3bba85194bd503", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.3
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]    Compiling cc v1.0.46
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling cranelift-entity v0.44.0
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling arrayref v0.3.5
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.44.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.4
[INFO] [stderr]    Compiling indexmap v1.3.0
[INFO] [stderr]    Compiling bincode v1.1.4
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.44.0
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling lock_api v0.3.1
[INFO] [stderr]    Compiling blake2b_simd v0.5.8
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling wasmparser v0.39.1
[INFO] [stderr]    Compiling cranelift-bforest v0.44.0
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling rayon-core v1.6.0
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling raw-cpuid v6.1.0
[INFO] [stderr]    Compiling cmake v0.1.42
[INFO] [stderr]    Compiling unicode-width v0.1.6
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling page_size v0.4.1
[INFO] [stderr]    Compiling errno v0.2.4
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling c2-chacha v0.2.2
[INFO] [stderr]    Compiling wabt-sys v0.7.0
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling wasmer-wasi-tests v0.9.0 (/opt/rustwide/workdir/lib/wasi-tests)
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling rayon v1.2.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling wasmer-runtime-core v0.9.0 (/opt/rustwide/workdir/lib/runtime-core)
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling proc-macro-error v0.2.6
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]    Compiling inventory-impl v0.1.4
[INFO] [stderr]    Compiling ctor v0.1.10
[INFO] [stderr]    Compiling ghost v0.1.1
[INFO] [stderr]    Compiling cranelift-codegen v0.44.0
[INFO] [stderr]    Compiling typetag-impl v0.1.4
[INFO] [stderr]    Compiling structopt-derive v0.3.3
[INFO] [stderr]    Compiling inventory v0.1.4
[INFO] [stderr]    Compiling structopt v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling serde-bench v0.0.7
[INFO] [stderr]    Compiling serde_bytes v0.11.2
[INFO] [stderr]    Compiling erased-serde v0.3.9
[INFO] [stderr]    Compiling generational-arena v0.2.3
[INFO] [stderr]    Compiling typetag v0.1.4
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:366:44
[INFO] [stdout]     |
[INFO] [stdout] 366 |         impl< $( $x ),* > WasmTypeList for ( $( $x ),* )
[INFO] [stdout]     |                                            ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 366 -         impl< $( $x ),* > WasmTypeList for ( $( $x ),* )
[INFO] [stdout] 366 +         impl< $( $x ),* > WasmTypeList for $x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:441:59
[INFO] [stdout]     |
[INFO] [stdout] 441 |         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<( $( $x ),* ), Rets> for FN
[INFO] [stdout]     |                                                           ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 441 -         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<( $( $x ),* ), Rets> for FN
[INFO] [stdout] 441 +         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<$x, Rets> for FN
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:499:44
[INFO] [stdout]     |
[INFO] [stdout] 499 |         impl<'a $( , $x )*, Rets> Func<'a, ( $( $x ),* ), Rets, Wasm>
[INFO] [stdout]     |                                            ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 499 -         impl<'a $( , $x )*, Rets> Func<'a, ( $( $x ),* ), Rets, Wasm>
[INFO] [stdout] 499 +         impl<'a $( , $x )*, Rets> Func<'a, $x, Rets, Wasm>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling target-lexicon v0.8.1
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/runtime-core/src/error.rs:195:50
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let expected: &FuncSig = expected.borrow();
[INFO] [stdout]     |                                                  ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `FuncSig` does not implement `Borrow`, so calling `borrow` on `&FuncSig` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> lib/runtime-core/src/instance.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         unsafe { Box::from_raw(self.vmctx) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |         unsafe { let _ = Box::from_raw(self.vmctx); };
[INFO] [stdout]    |                  +++++++                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe
[INFO] [stdout]    --> lib/runtime-core/src/vmcalls.rs:17:19
[INFO] [stdout]     |
[INFO] [stdout] 17  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe
[INFO] [stdout]   --> lib/runtime-core/src/vmcalls.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:36:19
[INFO] [stdout]     |
[INFO] [stdout] 36  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | ) -> 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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:46:19
[INFO] [stdout]     |
[INFO] [stdout] 46  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:65:19
[INFO] [stdout]     |
[INFO] [stdout] 65  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | ) -> 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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:79:26
[INFO] [stdout]     |
[INFO] [stdout] 79  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:102:6
[INFO] [stdout]     |
[INFO] [stdout] 102 | ) -> 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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:134:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | ) -> 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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:156:71
[INFO] [stdout]     |
[INFO] [stdout] 156 | 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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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-wasi v0.9.0 (/opt/rustwide/workdir/lib/wasi)
[INFO] [stderr]    Compiling wasmer-middleware-common v0.9.0 (/opt/rustwide/workdir/lib/middleware-common)
[INFO] [stderr]    Compiling wasmer-emscripten v0.9.0 (/opt/rustwide/workdir/lib/emscripten)
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> lib/emscripten/src/lib.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         { FuncSig::new(vec![], vec![Type::I32]) };
[INFO] [stdout]    |         ^^                                     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 88 -         { FuncSig::new(vec![], vec![Type::I32]) };
[INFO] [stdout] 88 +         FuncSig::new(vec![], vec![Type::I32]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/emscripten/src/lib.rs:114:37
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub dyn_call_v: Option<Func<'a, (i32)>>,
[INFO] [stdout]     |                                     ^   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -     pub dyn_call_v: Option<Func<'a, (i32)>>,
[INFO] [stdout] 114 +     pub dyn_call_v: Option<Func<'a, i32>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/emscripten/src/lib.rs:171:40
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub stack_restore: Option<Func<'a, (i32)>>,
[INFO] [stdout]     |                                        ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 171 -     pub stack_restore: Option<Func<'a, (i32)>>,
[INFO] [stdout] 171 +     pub stack_restore: Option<Func<'a, i32>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> lib/emscripten/src/env/unix/mod.rs:248:21
[INFO] [stdout]     |
[INFO] [stdout] 248 |                 let mut pg = prev_guest.deref_mut(ctx.memory(0)).unwrap().get_mut();
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> lib/emscripten/src/lib.rs:5:5
[INFO] [stdout]     |
[INFO] [stdout] 5   |     unused_mut,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> lib/emscripten/src/env/unix/mod.rs:293:17
[INFO] [stdout]     |
[INFO] [stdout] 293 |             let mut current_guest_node = current_guest_node_ptr
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> lib/emscripten/src/syscalls/unix.rs:668:17
[INFO] [stdout]     |
[INFO] [stdout] 668 |             let mut address_mut = unsafe { address.deref_mut(ctx.memory(0)).unwrap().get_mut() };
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> lib/wasi/src/syscalls/mod.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 34 |     unsafe { state::get_wasi_state(&mut *(ctx as *const Ctx as *mut Ctx)) }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> lib/wasi/src/syscalls/mod.rs:77:22
[INFO] [stdout]    |
[INFO] [stdout] 77 |             unsafe { &mut *(bytes as *const [_] as *mut [_] as *mut [u8]) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]      |
[INFO] [stdout] 14   |       }};
[INFO] [stdout]      |  ______^
[INFO] [stdout] 15   | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16   | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17   | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...    |
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]      |
[INFO] [stdout] 14   |       }};
[INFO] [stdout]      |  ______^
[INFO] [stdout] 15   | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16   | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17   | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...    |
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]     --> lib/wasi/src/syscalls/mod.rs:2462:25
[INFO] [stdout]      |
[INFO] [stdout] 2462 |         let u8_buffer = &mut *(buf as *const [_] as *mut [_] as *mut [u8]);
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]      = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wabt v0.9.2
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wasmer-clif-fork-frontend v0.44.0
[INFO] [stderr]    Compiling cranelift-native v0.44.0
[INFO] [stderr]    Compiling wasmer-clif-fork-wasm v0.44.0
[INFO] [stderr]    Compiling wasmer-clif-backend v0.9.0 (/opt/rustwide/workdir/lib/clif-backend)
[INFO] [stderr]    Compiling wasmer-runtime v0.9.0 (/opt/rustwide/workdir/lib/runtime)
[INFO] [stderr]    Compiling wasmer-middleware-common-tests v0.9.0 (/opt/rustwide/workdir/lib/middleware-common-tests)
[INFO] [stderr]    Compiling wasmer v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::panic`
[INFO] [stdout]  --> src/webassembly.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::panic;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     unused_imports,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `socket` is never read
[INFO] [stdout]   --> src/bin/kwasmd.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Listen {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 30 |     #[structopt(long = "socket")]
[INFO] [stdout] 31 |     socket: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Listen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/bin/kwasmd.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  |     dead_code,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 20.59s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.44.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "263ac085b44a0b7ff5f5132c287083d447ebd1badad3e8014c3bba85194bd503", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "263ac085b44a0b7ff5f5132c287083d447ebd1badad3e8014c3bba85194bd503", kill_on_drop: false }`
[INFO] [stdout] 263ac085b44a0b7ff5f5132c287083d447ebd1badad3e8014c3bba85194bd503
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e646d6972033e1117a7a543d9d57a6a40734ce455dd6a822d8c61a52b50af8e2
[INFO] running `Command { std: "docker" "start" "-a" "e646d6972033e1117a7a543d9d57a6a40734ce455dd6a822d8c61a52b50af8e2", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:366:44
[INFO] [stdout]     |
[INFO] [stdout] 366 |         impl< $( $x ),* > WasmTypeList for ( $( $x ),* )
[INFO] [stdout]     |                                            ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 366 -         impl< $( $x ),* > WasmTypeList for ( $( $x ),* )
[INFO] [stdout] 366 +         impl< $( $x ),* > WasmTypeList for $x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:441:59
[INFO] [stdout]     |
[INFO] [stdout] 441 |         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<( $( $x ),* ), Rets> for FN
[INFO] [stdout]     |                                                           ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 441 -         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<( $( $x ),* ), Rets> for FN
[INFO] [stdout] 441 +         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<$x, Rets> for FN
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:499:44
[INFO] [stdout]     |
[INFO] [stdout] 499 |         impl<'a $( , $x )*, Rets> Func<'a, ( $( $x ),* ), Rets, Wasm>
[INFO] [stdout]     |                                            ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 499 -         impl<'a $( , $x )*, Rets> Func<'a, ( $( $x ),* ), Rets, Wasm>
[INFO] [stdout] 499 +         impl<'a $( , $x )*, Rets> Func<'a, $x, Rets, Wasm>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/runtime-core/src/error.rs:195:50
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let expected: &FuncSig = expected.borrow();
[INFO] [stdout]     |                                                  ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `FuncSig` does not implement `Borrow`, so calling `borrow` on `&FuncSig` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> lib/runtime-core/src/instance.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         unsafe { Box::from_raw(self.vmctx) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |         unsafe { let _ = Box::from_raw(self.vmctx); };
[INFO] [stdout]    |                  +++++++                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe
[INFO] [stdout]    --> lib/runtime-core/src/vmcalls.rs:17:19
[INFO] [stdout]     |
[INFO] [stdout] 17  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe
[INFO] [stdout]   --> lib/runtime-core/src/vmcalls.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:36:19
[INFO] [stdout]     |
[INFO] [stdout] 36  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | ) -> 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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:46:19
[INFO] [stdout]     |
[INFO] [stdout] 46  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:65:19
[INFO] [stdout]     |
[INFO] [stdout] 65  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | ) -> 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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:79:26
[INFO] [stdout]     |
[INFO] [stdout] 79  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:102:6
[INFO] [stdout]     |
[INFO] [stdout] 102 | ) -> 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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:134:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | ) -> 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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:156:71
[INFO] [stdout]     |
[INFO] [stdout] 156 | 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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> lib/emscripten/src/lib.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         { FuncSig::new(vec![], vec![Type::I32]) };
[INFO] [stdout]    |         ^^                                     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 88 -         { FuncSig::new(vec![], vec![Type::I32]) };
[INFO] [stdout] 88 +         FuncSig::new(vec![], vec![Type::I32]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/emscripten/src/lib.rs:114:37
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub dyn_call_v: Option<Func<'a, (i32)>>,
[INFO] [stdout]     |                                     ^   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -     pub dyn_call_v: Option<Func<'a, (i32)>>,
[INFO] [stdout] 114 +     pub dyn_call_v: Option<Func<'a, i32>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/emscripten/src/lib.rs:171:40
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub stack_restore: Option<Func<'a, (i32)>>,
[INFO] [stdout]     |                                        ^   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 171 -     pub stack_restore: Option<Func<'a, (i32)>>,
[INFO] [stdout] 171 +     pub stack_restore: Option<Func<'a, i32>>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> lib/emscripten/src/env/unix/mod.rs:248:21
[INFO] [stdout]     |
[INFO] [stdout] 248 |                 let mut pg = prev_guest.deref_mut(ctx.memory(0)).unwrap().get_mut();
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> lib/emscripten/src/lib.rs:5:5
[INFO] [stdout]     |
[INFO] [stdout] 5   |     unused_mut,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> lib/emscripten/src/env/unix/mod.rs:293:17
[INFO] [stdout]     |
[INFO] [stdout] 293 |             let mut current_guest_node = current_guest_node_ptr
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> lib/emscripten/src/syscalls/unix.rs:668:17
[INFO] [stdout]     |
[INFO] [stdout] 668 |             let mut address_mut = unsafe { address.deref_mut(ctx.memory(0)).unwrap().get_mut() };
[INFO] [stdout]     |                 ----^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> lib/wasi/src/syscalls/mod.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 34 |     unsafe { state::get_wasi_state(&mut *(ctx as *const Ctx as *mut Ctx)) }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> lib/wasi/src/syscalls/mod.rs:77:22
[INFO] [stdout]    |
[INFO] [stdout] 77 |             unsafe { &mut *(bytes as *const [_] as *mut [_] as *mut [u8]) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]     |
[INFO] [stdout] 14  |       }};
[INFO] [stdout]     |  ______^
[INFO] [stdout] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16  | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...   |
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]      |
[INFO] [stdout] 14   |       }};
[INFO] [stdout]      |  ______^
[INFO] [stdout] 15   | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16   | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17   | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...    |
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]     --> lib/wasi/src/macros.rs:14:6
[INFO] [stdout]      |
[INFO] [stdout] 14   |       }};
[INFO] [stdout]      |  ______^
[INFO] [stdout] 15   | |     ($expr:expr, $e:expr) => {{
[INFO] [stdout] 16   | |         let opt: Option<_> = $expr;
[INFO] [stdout] 17   | |         wasi_try!(opt.ok_or($e))
[INFO] [stdout] ...    |
[INFO] [stdout]      |
[INFO] [stdout]      = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]     --> lib/wasi/src/syscalls/mod.rs:2462:25
[INFO] [stdout]      |
[INFO] [stdout] 2462 |         let u8_buffer = &mut *(buf as *const [_] as *mut [_] as *mut [u8]);
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]      = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::panic`
[INFO] [stdout]  --> src/webassembly.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::panic;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     unused_imports,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wasmer v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::panic`
[INFO] [stdout]  --> src/webassembly.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::panic;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     unused_imports,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> examples/plugin.rs:154:39
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let entry_point = instance.func::<(i32), i32>("plugin_entrypoint").unwrap();
[INFO] [stdout]     |                                       ^   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -     let entry_point = instance.func::<(i32), i32>("plugin_entrypoint").unwrap();
[INFO] [stdout] 154 +     let entry_point = instance.func::<i32, i32>("plugin_entrypoint").unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `socket` is never read
[INFO] [stdout]   --> src/bin/kwasmd.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Listen {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 30 |     #[structopt(long = "socket")]
[INFO] [stdout] 31 |     socket: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Listen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/bin/kwasmd.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  |     dead_code,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.44.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "e646d6972033e1117a7a543d9d57a6a40734ce455dd6a822d8c61a52b50af8e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e646d6972033e1117a7a543d9d57a6a40734ce455dd6a822d8c61a52b50af8e2", kill_on_drop: false }`
[INFO] [stdout] e646d6972033e1117a7a543d9d57a6a40734ce455dd6a822d8c61a52b50af8e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d5c77f721d6d466ad6cf00f91c23b9d8794e745f97048c157c4172883b1832a9
[INFO] running `Command { std: "docker" "start" "-a" "d5c77f721d6d466ad6cf00f91c23b9d8794e745f97048c157c4172883b1832a9", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> lib/runtime-core/src/typed_func.rs:366:44
[INFO] [stderr]     |
[INFO] [stderr] 366 |         impl< $( $x ),* > WasmTypeList for ( $( $x ),* )
[INFO] [stderr]     |                                            ^^^^^  ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 530 | impl_traits!([transparent] S1, A);
[INFO] [stderr]     | --------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 366 -         impl< $( $x ),* > WasmTypeList for ( $( $x ),* )
[INFO] [stderr] 366 +         impl< $( $x ),* > WasmTypeList for $x
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> lib/runtime-core/src/typed_func.rs:441:59
[INFO] [stderr]     |
[INFO] [stderr] 441 |         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<( $( $x ),* ), Rets> for FN
[INFO] [stderr]     |                                                           ^^^^^  ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 530 | impl_traits!([transparent] S1, A);
[INFO] [stderr]     | --------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 441 -         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<( $( $x ),* ), Rets> for FN
[INFO] [stderr] 441 +         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<$x, Rets> for FN
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> lib/runtime-core/src/typed_func.rs:499:44
[INFO] [stderr]     |
[INFO] [stderr] 499 |         impl<'a $( , $x )*, Rets> Func<'a, ( $( $x ),* ), Rets, Wasm>
[INFO] [stderr]     |                                            ^^^^^  ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 530 | impl_traits!([transparent] S1, A);
[INFO] [stderr]     | --------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 499 -         impl<'a $( , $x )*, Rets> Func<'a, ( $( $x ),* ), Rets, Wasm>
[INFO] [stderr] 499 +         impl<'a $( , $x )*, Rets> Func<'a, $x, Rets, Wasm>
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stderr]    --> lib/runtime-core/src/error.rs:195:50
[INFO] [stderr]     |
[INFO] [stderr] 195 |                 let expected: &FuncSig = expected.borrow();
[INFO] [stderr]     |                                                  ^^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `FuncSig` does not implement `Borrow`, so calling `borrow` on `&FuncSig` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stderr]   --> lib/runtime-core/src/instance.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 39 |         unsafe { Box::from_raw(self.vmctx) };
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 39 |         unsafe { let _ = Box::from_raw(self.vmctx); };
[INFO] [stderr]    |                  +++++++                          +
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:17:19
[INFO] [stderr]     |
[INFO] [stderr] 17  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[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]   --> lib/runtime-core/src/vmcalls.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 18 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Pages(pub u32);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:36:19
[INFO] [stderr]     |
[INFO] [stderr] 36  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:37:6
[INFO] [stderr]    |
[INFO] [stderr] 37 | ) -> 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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Pages(pub u32);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:46:19
[INFO] [stderr]     |
[INFO] [stderr] 46  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Pages(pub u32);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:65:19
[INFO] [stderr]     |
[INFO] [stderr] 65  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:66:6
[INFO] [stderr]    |
[INFO] [stderr] 66 | ) -> 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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Pages(pub u32);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:79:26
[INFO] [stderr]     |
[INFO] [stderr] 79  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Pages(pub u32);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:101:26
[INFO] [stderr]     |
[INFO] [stderr] 101 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:102:6
[INFO] [stderr]     |
[INFO] [stderr] 102 | ) -> 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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stderr]     |
[INFO] [stderr] 14  | pub struct Pages(pub u32);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:114:19
[INFO] [stderr]     |
[INFO] [stderr] 114 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:115:12
[INFO] [stderr]     |
[INFO] [stderr] 115 |     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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stderr]     |
[INFO] [stderr] 14  | pub struct Pages(pub u32);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `ImportedMemoryIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:133:19
[INFO] [stderr]     |
[INFO] [stderr] 133 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:134:6
[INFO] [stderr]     |
[INFO] [stderr] 134 | ) -> 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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stderr]     |
[INFO] [stderr] 14  | pub struct Pages(pub u32);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `LocalTableIndex`, which is not FFI-safe
[INFO] [stderr]    --> lib/runtime-core/src/vmcalls.rs:147:18
[INFO] [stderr]     |
[INFO] [stderr] 147 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:156:71
[INFO] [stderr]     |
[INFO] [stderr] 156 | 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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stderr]     |
[INFO] [stderr] 440 |           pub struct $ty (u32);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 | / define_map_index![
[INFO] [stderr] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stderr] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stderr] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stderr] 472 | | ];
[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 23 warnings (run `cargo fix --lib -p wasmer-runtime-core` to apply 4 suggestions)
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> lib/emscripten/src/lib.rs:88:9
[INFO] [stderr]    |
[INFO] [stderr] 88 |         { FuncSig::new(vec![], vec![Type::I32]) };
[INFO] [stderr]    |         ^^                                     ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr] 88 -         { FuncSig::new(vec![], vec![Type::I32]) };
[INFO] [stderr] 88 +         FuncSig::new(vec![], vec![Type::I32]);
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> lib/emscripten/src/lib.rs:114:37
[INFO] [stderr]     |
[INFO] [stderr] 114 |     pub dyn_call_v: Option<Func<'a, (i32)>>,
[INFO] [stderr]     |                                     ^   ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 114 -     pub dyn_call_v: Option<Func<'a, (i32)>>,
[INFO] [stderr] 114 +     pub dyn_call_v: Option<Func<'a, i32>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> lib/emscripten/src/lib.rs:171:40
[INFO] [stderr]     |
[INFO] [stderr] 171 |     pub stack_restore: Option<Func<'a, (i32)>>,
[INFO] [stderr]     |                                        ^   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 171 -     pub stack_restore: Option<Func<'a, (i32)>>,
[INFO] [stderr] 171 +     pub stack_restore: Option<Func<'a, i32>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> lib/emscripten/src/env/unix/mod.rs:248:21
[INFO] [stderr]     |
[INFO] [stderr] 248 |                 let mut pg = prev_guest.deref_mut(ctx.memory(0)).unwrap().get_mut();
[INFO] [stderr]     |                     ----^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> lib/emscripten/src/lib.rs:5:5
[INFO] [stderr]     |
[INFO] [stderr] 5   |     unused_mut,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> lib/emscripten/src/env/unix/mod.rs:293:17
[INFO] [stderr]     |
[INFO] [stderr] 293 |             let mut current_guest_node = current_guest_node_ptr
[INFO] [stderr]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> lib/emscripten/src/syscalls/unix.rs:668:17
[INFO] [stderr]     |
[INFO] [stderr] 668 |             let mut address_mut = unsafe { address.deref_mut(ctx.memory(0)).unwrap().get_mut() };
[INFO] [stderr]     |                 ----^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: `wasmer-emscripten` (lib) generated 6 warnings (run `cargo fix --lib -p wasmer-emscripten` to apply 6 suggestions)
[INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stderr]   --> lib/wasi/src/syscalls/mod.rs:34:36
[INFO] [stderr]    |
[INFO] [stderr] 34 |     unsafe { state::get_wasi_state(&mut *(ctx as *const Ctx as *mut Ctx)) }
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stderr]    = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stderr]   --> lib/wasi/src/syscalls/mod.rs:77:22
[INFO] [stderr]    |
[INFO] [stderr] 77 |             unsafe { &mut *(bytes as *const [_] as *mut [_] as *mut [u8]) };
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stderr]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stderr]     |
[INFO] [stderr] 14  |       }};
[INFO] [stderr]     |  ______^
[INFO] [stderr] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stderr] 16  | |         let opt: Option<_> = $expr;
[INFO] [stderr] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stderr] ...   |
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> lib/wasi/src/macros.rs:14:6
[INFO] [stderr]     |
[INFO] [stderr] 14  |       }};
[INFO] [stderr]     |  ______^
[INFO] [stderr] 15  | |     ($expr:expr, $e:expr) => {{
[INFO] [stderr] 16  | |         let opt: Option<_> = $expr;
[INFO] [stderr] 17  | |         wasi_try!(opt.ok_or($e))
[INFO] [stderr] ...   |
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]     --> lib/wasi/src/macros.rs:14:6
[INFO] [stderr]      |
[INFO] [stderr] 14   |       }};
[INFO] [stderr]      |  ______^
[INFO] [stderr] 15   | |     ($expr:expr, $e:expr) => {{
[INFO] [stderr] 16   | |         let opt: Option<_> = $expr;
[INFO] [stderr] 17   | |         wasi_try!(opt.ok_or($e))
[INFO] [stderr] ...    |
[INFO] [stderr]      |
[INFO] [stderr]      = note: the type `Fd` does not implement `Clone`, so calling `clone` on `&Fd` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stderr]     --> lib/wasi/src/syscalls/mod.rs:2462:25
[INFO] [stderr]      |
[INFO] [stderr] 2462 |         let u8_buffer = &mut *(buf as *const [_] as *mut [_] as *mut [u8]);
[INFO] [stderr]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stderr]      = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stderr] 
[INFO] [stderr] warning: `wasmer-wasi` (lib) generated 10 warnings (4 duplicates) (run `cargo fix --lib -p wasmer-wasi` to apply 3 suggestions)
[INFO] [stderr] warning: unused import: `std::panic`
[INFO] [stderr]  --> src/webassembly.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::panic;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]  --> src/lib.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     unused_imports,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `wasmer` (lib) generated 1 warning (run `cargo fix --lib -p wasmer` to apply 1 suggestion)
[INFO] [stderr] warning: `wasmer` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: field `socket` is never read
[INFO] [stderr]   --> src/bin/kwasmd.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct Listen {
[INFO] [stderr]    |        ------ field in this struct
[INFO] [stderr] 30 |     #[structopt(long = "socket")]
[INFO] [stderr] 31 |     socket: String,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Listen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/bin/kwasmd.rs:2:5
[INFO] [stderr]    |
[INFO] [stderr] 2  |     dead_code,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> examples/plugin.rs:154:39
[INFO] [stderr]     |
[INFO] [stderr] 154 |     let entry_point = instance.func::<(i32), i32>("plugin_entrypoint").unwrap();
[INFO] [stderr]     |                                       ^   ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 154 -     let entry_point = instance.func::<(i32), i32>("plugin_entrypoint").unwrap();
[INFO] [stderr] 154 +     let entry_point = instance.func::<i32, i32>("plugin_entrypoint").unwrap();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `wasmer` (bin "kwasmd" test) generated 1 warning
[INFO] [stderr] warning: `wasmer` (example "plugin") generated 1 warning (run `cargo fix --example "plugin"` to apply 1 suggestion)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.44.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasmer-946b4554ee142e04)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/kwasmd.rs (/opt/rustwide/target/debug/deps/kwasmd-15ea43a5d6b16395)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/wasmer.rs (/opt/rustwide/target/debug/deps/wasmer-321445fa956cfaf4)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test filesystem_cache_should_work ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests wasmer
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d5c77f721d6d466ad6cf00f91c23b9d8794e745f97048c157c4172883b1832a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5c77f721d6d466ad6cf00f91c23b9d8794e745f97048c157c4172883b1832a9", kill_on_drop: false }`
[INFO] [stdout] d5c77f721d6d466ad6cf00f91c23b9d8794e745f97048c157c4172883b1832a9
[INFO] testing aranajhonny/private-lucet against beta-2024-02-10 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faranajhonny%2Fprivate-lucet" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/aranajhonny/private-lucet on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/aranajhonny/private-lucet
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/aranajhonny/private-lucet
[INFO] tweaked toml for git repo https://github.com/aranajhonny/private-lucet written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/aranajhonny/private-lucet already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 082752b957cce19ba799b5bf7b28b6fda4b86a16fe97ae9c2e5af583b8c2418a
[INFO] running `Command { std: "docker" "start" "-a" "082752b957cce19ba799b5bf7b28b6fda4b86a16fe97ae9c2e5af583b8c2418a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "082752b957cce19ba799b5bf7b28b6fda4b86a16fe97ae9c2e5af583b8c2418a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "082752b957cce19ba799b5bf7b28b6fda4b86a16fe97ae9c2e5af583b8c2418a", kill_on_drop: false }`
[INFO] [stdout] 082752b957cce19ba799b5bf7b28b6fda4b86a16fe97ae9c2e5af583b8c2418a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8cca781f1013b61a82029358237c64a98c59798fbfe2acb4ccbbffd2f9c66648
[INFO] running `Command { std: "docker" "start" "-a" "8cca781f1013b61a82029358237c64a98c59798fbfe2acb4ccbbffd2f9c66648", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.3
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]    Compiling cc v1.0.46
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling cranelift-entity v0.44.0
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling constant_time_eq v0.1.4
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling arrayref v0.3.5
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.44.0
[INFO] [stderr]    Compiling indexmap v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.44.0
[INFO] [stderr]    Compiling bincode v1.1.4
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling lock_api v0.3.1
[INFO] [stderr]    Compiling blake2b_simd v0.5.8
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling wasmparser v0.39.1
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling cranelift-bforest v0.44.0
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling rayon-core v1.6.0
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling raw-cpuid v6.1.0
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling cmake v0.1.42
[INFO] [stderr]    Compiling c2-chacha v0.2.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling unicode-width v0.1.6
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling page_size v0.4.1
[INFO] [stderr]    Compiling errno v0.2.4
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling wabt-sys v0.7.0
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling wasmer-wasi-tests v0.9.0 (/opt/rustwide/workdir/lib/wasi-tests)
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling rayon v1.2.0
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling wasmer-runtime-core v0.9.0 (/opt/rustwide/workdir/lib/runtime-core)
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling proc-macro-error v0.2.6
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]    Compiling inventory-impl v0.1.4
[INFO] [stderr]    Compiling cranelift-codegen v0.44.0
[INFO] [stderr]    Compiling ghost v0.1.1
[INFO] [stderr]    Compiling ctor v0.1.10
[INFO] [stderr]    Compiling typetag-impl v0.1.4
[INFO] [stderr]    Compiling structopt-derive v0.3.3
[INFO] [stderr]    Compiling inventory v0.1.4
[INFO] [stderr]    Compiling structopt v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling serde-bench v0.0.7
[INFO] [stderr]    Compiling serde_bytes v0.11.2
[INFO] [stderr]    Compiling erased-serde v0.3.9
[INFO] [stderr]    Compiling generational-arena v0.2.3
[INFO] [stderr]    Compiling typetag v0.1.4
[INFO] [stderr] error: failed to run custom build command for `wabt-sys v0.7.0`
[INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/wabt-sys-9b35785d7d441c01/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   running: cd "/opt/rustwide/target/debug/build/wabt-sys-644ff2f0683df3de/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wabt-sys-0.7.0/wabt" "-DBUILD_TESTS=OFF" "-DBUILD_TOOLS=OFF" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/wabt-sys-644ff2f0683df3de/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Debug"
[INFO] [stderr]   -- The C compiler identification is GNU 11.4.0
[INFO] [stderr]   -- The CXX compiler identification is GNU 11.4.0
[INFO] [stderr]   -- Detecting C compiler ABI info
[INFO] [stderr]   -- Detecting C compiler ABI info - done
[INFO] [stderr]   -- Check for working C compiler: /usr/bin/cc - skipped
[INFO] [stderr]   -- Detecting C compile features
[INFO] [stderr]   -- Detecting C compile features - done
[INFO] [stderr]   -- Detecting CXX compiler ABI info
[INFO] [stderr]   -- Detecting CXX compiler ABI info - done
[INFO] [stderr]   -- Check for working CXX compiler: /usr/bin/c++ - skipped
[INFO] [stderr]   -- Detecting CXX compile features
[INFO] [stderr]   -- Detecting CXX compile features - done
[INFO] [stderr]   -- Looking for alloca.h
[INFO] [stderr]   -- Looking for alloca.h - found
[INFO] [stderr]   -- Looking for unistd.h
[INFO] [stderr]   -- Looking for unistd.h - found
[INFO] [stderr]   -- Looking for snprintf
[INFO] [stderr]   -- Looking for snprintf - found
[INFO] [stderr]   -- Looking for sysconf
[INFO] [stderr]   -- Looking for sysconf - found
[INFO] [stderr]   -- Looking for strcasecmp
[INFO] [stderr]   -- Looking for strcasecmp - found
[INFO] [stderr]   -- Looking for sys/types.h
[INFO] [stderr]   -- Looking for sys/types.h - found
[INFO] [stderr]   -- Looking for stdint.h
[INFO] [stderr]   -- Looking for stdint.h - found
[INFO] [stderr]   -- Looking for stddef.h
[INFO] [stderr]   -- Looking for stddef.h - found
[INFO] [stderr]   -- Check size of ssize_t
[INFO] [stderr]   -- Check size of ssize_t - done
[INFO] [stderr]   -- Check size of size_t
[INFO] [stderr]   -- Check size of size_t - done
[INFO] [stderr]   -- Looking for pthread.h
[INFO] [stderr]   -- Looking for pthread.h - found
[INFO] [stderr]   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
[INFO] [stderr]   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
[INFO] [stderr]   -- Found Threads: TRUE  
[INFO] [stderr]   -- Configuring done
[INFO] [stderr]   -- Generating done
[INFO] [stderr]   -- Build files have been written to: /opt/rustwide/target/debug/build/wabt-sys-644ff2f0683df3de/out/build
[INFO] [stderr]   running: cd "/opt/rustwide/target/debug/build/wabt-sys-644ff2f0683df3de/out/build" && MAKEFLAGS="-j --jobserver-fds=7,8 --jobserver-auth=7,8" "cmake" "--build" "." "--config" "Debug" "--"
[INFO] [stderr]   [  2%] Building CXX object CMakeFiles/wabt.dir/src/apply-names.cc.o
[INFO] [stderr]   [  4%] Building CXX object CMakeFiles/wabt.dir/src/binary.cc.o
[INFO] [stderr]   [  7%] Building CXX object CMakeFiles/wabt.dir/src/binary-reader.cc.o
[INFO] [stderr]   [  9%] Building CXX object CMakeFiles/wabt.dir/src/binary-reader-ir.cc.o
[INFO] [stderr]   [ 12%] Building CXX object CMakeFiles/wabt.dir/src/binary-reader-logging.cc.o
[INFO] [stderr]   [ 14%] Building CXX object CMakeFiles/wabt.dir/src/binary-writer.cc.o
[INFO] [stderr]   [ 17%] Building CXX object CMakeFiles/wabt.dir/src/binary-writer-spec.cc.o
[INFO] [stderr]   [ 19%] Building CXX object CMakeFiles/wabt.dir/src/binding-hash.cc.o
[INFO] [stderr]   [ 21%] Building CXX object CMakeFiles/wabt.dir/src/color.cc.o
[INFO] [stderr]   [ 24%] Building CXX object CMakeFiles/wabt.dir/src/common.cc.o
[INFO] [stderr]   [ 26%] Building CXX object CMakeFiles/wabt.dir/src/config.cc.o
[INFO] [stderr]   [ 29%] Building CXX object CMakeFiles/wabt.dir/src/error-formatter.cc.o
[INFO] [stderr]   [ 31%] Building CXX object CMakeFiles/wabt.dir/src/expr-visitor.cc.o
[INFO] [stderr]   [ 34%] Building CXX object CMakeFiles/wabt.dir/src/feature.cc.o
[INFO] [stderr]   [ 39%] Building CXX object CMakeFiles/wabt.dir/src/filenames.cc.o
[INFO] [stderr]   [ 39%] Building CXX object CMakeFiles/wabt.dir/src/generate-names.cc.o
[INFO] [stderr]   [ 41%] Building CXX object CMakeFiles/wabt.dir/src/hash-util.cc.o
[INFO] [stderr]   [ 43%] Building CXX object CMakeFiles/wabt.dir/src/ir.cc.o
[INFO] [stderr]   [ 46%] Building CXX object CMakeFiles/wabt.dir/src/leb128.cc.o
[INFO] [stderr]   [ 48%] Building CXX object CMakeFiles/wabt.dir/src/lexer-source.cc.o
[INFO] [stderr]   [ 51%] Building CXX object CMakeFiles/wabt.dir/src/lexer-source-line-finder.cc.o
[INFO] [stderr]   [ 53%] Building CXX object CMakeFiles/wabt.dir/src/literal.cc.o
[INFO] [stderr]   [ 56%] Building CXX object CMakeFiles/wabt.dir/src/opcode.cc.o
[INFO] [stderr]   [ 58%] Building C object CMakeFiles/wabt.dir/src/opcode-code-table.c.o
[INFO] [stderr]   [ 60%] Building CXX object CMakeFiles/wabt.dir/src/option-parser.cc.o
[INFO] [stderr]   [ 63%] Building CXX object CMakeFiles/wabt.dir/src/resolve-names.cc.o
[INFO] [stderr]   [ 65%] Building CXX object CMakeFiles/wabt.dir/src/stream.cc.o
[INFO] [stderr]   [ 68%] Building CXX object CMakeFiles/wabt.dir/src/string-view.cc.o
[INFO] [stderr]   [ 70%] Building CXX object CMakeFiles/wabt.dir/src/token.cc.o
[INFO] [stderr]   [ 73%] Building CXX object CMakeFiles/wabt.dir/src/tracing.cc.o
[INFO] [stderr]   [ 78%] Building CXX object CMakeFiles/wabt.dir/src/utf8.cc.o
[INFO] [stderr]   [ 78%] Building CXX object CMakeFiles/wabt.dir/src/type-checker.cc.o
[INFO] [stderr]   [ 80%] Building CXX object CMakeFiles/wabt.dir/src/validator.cc.o
[INFO] [stderr]   [ 82%] Building CXX object CMakeFiles/wabt.dir/src/wast-lexer.cc.o
[INFO] [stderr]   [ 85%] Building CXX object CMakeFiles/wabt.dir/src/wast-parser.cc.o
[INFO] [stderr]   [ 87%] Building CXX object CMakeFiles/wabt.dir/src/wat-writer.cc.o
[INFO] [stderr]   [ 90%] Building CXX object CMakeFiles/wabt.dir/src/interp/binary-reader-interp.cc.o
[INFO] [stderr]   [ 92%] Building CXX object CMakeFiles/wabt.dir/src/interp/interp.cc.o
[INFO] [stderr]   [ 95%] Building CXX object CMakeFiles/wabt.dir/src/interp/interp-disassemble.cc.o
[INFO] [stderr]   [ 97%] Building CXX object CMakeFiles/wabt.dir/src/interp/interp-trace.cc.o
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required):
[INFO] [stderr]     Compatibility with CMake < 2.8.12 will be removed from a future version of
[INFO] [stderr]     CMake.
[INFO] [stderr] 
[INFO] [stderr]     Update the VERSION argument <min> value or use a ...<max> suffix to tell
[INFO] [stderr]     CMake that the project does not need compatibility with older versions.
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   c++: fatal error: Killed signal terminated program cc1plus
[INFO] [stderr]   compilation terminated.
[INFO] [stderr]   gmake[2]: *** [CMakeFiles/wabt.dir/build.make:118: CMakeFiles/wabt.dir/src/binary-reader-ir.cc.o] Error 1
[INFO] [stderr]   gmake[2]: *** Waiting for unfinished jobs....
[INFO] [stderr]   gmake[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/wabt.dir/all] Error 2
[INFO] [stderr]   gmake: *** [Makefile:91: all] Error 2
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.42/src/lib.rs:861:5:
[INFO] [stderr] 
[INFO] [stderr]   command did not execute successfully, got: exit status: 2
[INFO] [stderr] 
[INFO] [stderr]   build script failed, must exit now
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x55afbd46b346 - std::backtrace_rs::backtrace::libunwind::trace::h140b6deb6a45c671
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stderr]      1:     0x55afbd46b346 - std::backtrace_rs::backtrace::trace_unsynchronized::h8450d7e4e9219aed
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stderr]      2:     0x55afbd46b346 - std::sys_common::backtrace::_print_fmt::hbd28e5e6c6fc3a3f
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stderr]      3:     0x55afbd46b346 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb058f285768cf98e
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stderr]      4:     0x55afbd4913c0 - core::fmt::rt::Argument::fmt::h87dec7a95127da24
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/rt.rs:142:9
[INFO] [stderr]      5:     0x55afbd4913c0 - core::fmt::write::h873f89a91a4832db
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/mod.rs:1120:17
[INFO] [stderr]      6:     0x55afbd4680ef - std::io::Write::write_fmt::hc65183f01d14754a
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/io/mod.rs:1846:15
[INFO] [stderr]      7:     0x55afbd46b124 - std::sys_common::backtrace::_print::h7719d1529d9a9e13
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stderr]      8:     0x55afbd46b124 - std::sys_common::backtrace::print::haa3afbd0e7947108
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stderr]      9:     0x55afbd46ca07 - std::panicking::default_hook::{{closure}}::h10e3de2ec0eaff22
[INFO] [stderr]     10:     0x55afbd46c769 - std::panicking::default_hook::hbdc1b1b7fe073dab
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:292:9
[INFO] [stderr]     11:     0x55afbd46ce98 - std::panicking::rust_panic_with_hook::hb81692602460473d
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:781:13
[INFO] [stderr]     12:     0x55afbd46cd72 - std::panicking::begin_panic_handler::{{closure}}::h2470593aa2678e9c
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:659:13
[INFO] [stderr]     13:     0x55afbd46b846 - std::sys_common::backtrace::__rust_end_short_backtrace::h560bb50225b0562b
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stderr]     14:     0x55afbd46cac4 - rust_begin_unwind
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:647:5
[INFO] [stderr]     15:     0x55afbd3f6845 - core::panicking::panic_fmt::h29b6f262f6458dc3
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panicking.rs:72:14
[INFO] [stderr]     16:     0x55afbd401721 - cmake::fail::hc2e21dabdf489802
[INFO] [stderr]     17:     0x55afbd400e27 - cmake::run::h82954d0d93026d09
[INFO] [stderr]     18:     0x55afbd3fe1a7 - cmake::Config::build::h0e7d274153f58c1c
[INFO] [stderr]     19:     0x55afbd3f84f1 - build_script_build::main::h4cc0cdf0bd1c931f
[INFO] [stderr]     20:     0x55afbd3f76f3 - core::ops::function::FnOnce::call_once::ha63e4ab106b9a0c3
[INFO] [stderr]     21:     0x55afbd3f72f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4d824604ded37138
[INFO] [stderr]     22:     0x55afbd3f7349 - std::rt::lang_start::{{closure}}::hc31d55c67cc4b26c
[INFO] [stderr]     23:     0x55afbd463c11 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hb70d08830a5ade10
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:284:13
[INFO] [stderr]     24:     0x55afbd463c11 - std::panicking::try::do_call::h22b4f7e5a6651b4a
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stderr]     25:     0x55afbd463c11 - std::panicking::try::hc21d1712e01c2e20
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stderr]     26:     0x55afbd463c11 - std::panic::catch_unwind::h043dedc9b446785f
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stderr]     27:     0x55afbd463c11 - std::rt::lang_start_internal::{{closure}}::hd5b437811c37f411
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/rt.rs:148:48
[INFO] [stderr]     28:     0x55afbd463c11 - std::panicking::try::do_call::hd87c54a927c7af49
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stderr]     29:     0x55afbd463c11 - std::panicking::try::hf94d97659ed75d92
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stderr]     30:     0x55afbd463c11 - std::panic::catch_unwind::h2ddd57de1d25402e
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stderr]     31:     0x55afbd463c11 - std::rt::lang_start_internal::h7fecc45801af5220
[INFO] [stderr]                                  at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/rt.rs:148:20
[INFO] [stderr]     32:     0x55afbd3f7327 - std::rt::lang_start::he846741ca07112b1
[INFO] [stderr]     33:     0x55afbd3f8d35 - main
[INFO] [stderr]     34:     0x7f693db05d90 - <unknown>
[INFO] [stderr]     35:     0x7f693db05e40 - __libc_start_main
[INFO] [stderr]     36:     0x55afbd3f6f75 - _start
[INFO] [stderr]     37:                0x0 - <unknown>
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:366:44
[INFO] [stdout]     |
[INFO] [stdout] 366 |         impl< $( $x ),* > WasmTypeList for ( $( $x ),* )
[INFO] [stdout]     |                                            ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 366 -         impl< $( $x ),* > WasmTypeList for ( $( $x ),* )
[INFO] [stdout] 366 +         impl< $( $x ),* > WasmTypeList for $x
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:441:59
[INFO] [stdout]     |
[INFO] [stdout] 441 |         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<( $( $x ),* ), Rets> for FN
[INFO] [stdout]     |                                                           ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 441 -         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<( $( $x ),* ), Rets> for FN
[INFO] [stdout] 441 +         impl< $( $x, )* Rets, Trap, FN > ExternalFunction<$x, Rets> for FN
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> lib/runtime-core/src/typed_func.rs:499:44
[INFO] [stdout]     |
[INFO] [stdout] 499 |         impl<'a $( , $x )*, Rets> Func<'a, ( $( $x ),* ), Rets, Wasm>
[INFO] [stdout]     |                                            ^^^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 | impl_traits!([transparent] S1, A);
[INFO] [stdout]     | --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `impl_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 499 -         impl<'a $( , $x )*, Rets> Func<'a, ( $( $x ),* ), Rets, Wasm>
[INFO] [stdout] 499 +         impl<'a $( , $x )*, Rets> Func<'a, $x, Rets, Wasm>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> lib/runtime-core/src/error.rs:195:50
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let expected: &FuncSig = expected.borrow();
[INFO] [stdout]     |                                                  ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `FuncSig` does not implement `Borrow`, so calling `borrow` on `&FuncSig` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> lib/runtime-core/src/instance.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         unsafe { Box::from_raw(self.vmctx) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |         unsafe { let _ = Box::from_raw(self.vmctx); };
[INFO] [stdout]    |                  +++++++                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `LocalMemoryIndex`, which is not FFI-safe
[INFO] [stdout]    --> lib/runtime-core/src/vmcalls.rs:17:19
[INFO] [stdout]     |
[INFO] [stdout] 17  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `define_map_index` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Pages`, which is not FFI-safe
[INFO] [stdout]   --> lib/runtime-core/src/vmcalls.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:36:19
[INFO] [stdout]     |
[INFO] [stdout] 36  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | ) -> 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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:46:19
[INFO] [stdout]     |
[INFO] [stdout] 46  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:65:19
[INFO] [stdout]     |
[INFO] [stdout] 65  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | ) -> 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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:79:26
[INFO] [stdout]     |
[INFO] [stdout] 79  |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]   --> lib/runtime-core/src/vmcalls.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     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]   --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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]    --> lib/runtime-core/src/vmcalls.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:102:6
[INFO] [stdout]     |
[INFO] [stdout] 102 | ) -> 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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:134:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | ) -> 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]    --> lib/runtime-core/src/units.rs:14:1
[INFO] [stdout]     |
[INFO] [stdout] 14  | 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]    --> lib/runtime-core/src/vmcalls.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |     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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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]    --> lib/runtime-core/src/vmcalls.rs:156:71
[INFO] [stdout]     |
[INFO] [stdout] 156 | 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]    --> lib/runtime-core/src/types.rs:440:9
[INFO] [stdout]     |
[INFO] [stdout] 440 |           pub struct $ty (u32);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 | / define_map_index![
[INFO] [stdout] 469 | |     FuncIndex, MemoryIndex, TableIndex, GlobalIndex,
[INFO] [stdout] 470 | |     | local: LocalFuncIndex, LocalMemoryIndex, LocalTableIndex, LocalGlobalIndex,
[INFO] [stdout] 471 | |     | imported: ImportedFuncIndex, ImportedMemoryIndex, ImportedTableIndex, ImportedGlobalIndex,
[INFO] [stdout] 472 | | ];
[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: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8cca781f1013b61a82029358237c64a98c59798fbfe2acb4ccbbffd2f9c66648", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cca781f1013b61a82029358237c64a98c59798fbfe2acb4ccbbffd2f9c66648", kill_on_drop: false }`
[INFO] [stdout] 8cca781f1013b61a82029358237c64a98c59798fbfe2acb4ccbbffd2f9c66648
