[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.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faranajhonny%2Fprivate-lucet" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aranajhonny/private-lucet on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.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-2-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.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/wasmerio/inkwell` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.1.10 [INFO] [stderr] Downloaded page_size v0.4.1 [INFO] [stderr] Downloaded typetag v0.1.4 [INFO] [stderr] Downloaded inventory-impl v0.1.4 [INFO] [stderr] Downloaded inventory v0.1.4 [INFO] [stderr] Downloaded llvm-sys v80.1.1 [INFO] [stderr] Downloaded cranelift-native v0.44.0 [INFO] [stderr] Downloaded wasmer-clif-fork-frontend v0.44.0 [INFO] [stderr] Downloaded cargo_toml v0.6.4 [INFO] [stderr] Downloaded cranelift-entity v0.44.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.44.0 [INFO] [stderr] Downloaded raw-cpuid v6.1.0 [INFO] [stderr] Downloaded structopt-derive v0.3.3 [INFO] [stderr] Downloaded wabt v0.9.2 [INFO] [stderr] Downloaded generational-arena v0.2.3 [INFO] [stderr] Downloaded structopt v0.3.3 [INFO] [stderr] Downloaded cbindgen v0.9.1 [INFO] [stderr] Downloaded wabt-sys v0.7.0 [INFO] [stderr] Downloaded dynasm v0.3.2 [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 wasmparser v0.39.1 [INFO] [stderr] Downloaded cranelift-bforest v0.44.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.44.0 [INFO] [stderr] Downloaded cranelift-codegen v0.44.0 [INFO] [stderr] Downloaded goblin v0.0.24 [INFO] [stderr] Downloaded erased-serde v0.3.9 [INFO] [stderr] Downloaded target-lexicon v0.8.1 [INFO] [stderr] Downloaded enum-methods v0.0.8 [INFO] [stderr] Downloaded wasmer-clif-fork-wasm v0.44.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99f804008f709f450aeb4e264193ef23db552fa32ce41f0b6d8ee1af614be600 [INFO] running `Command { std: "docker" "start" "-a" "99f804008f709f450aeb4e264193ef23db552fa32ce41f0b6d8ee1af614be600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99f804008f709f450aeb4e264193ef23db552fa32ce41f0b6d8ee1af614be600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f804008f709f450aeb4e264193ef23db552fa32ce41f0b6d8ee1af614be600", kill_on_drop: false }` [INFO] [stdout] 99f804008f709f450aeb4e264193ef23db552fa32ce41f0b6d8ee1af614be600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64cbcc33baaeabeeba5456e3876cfe14cee02bc818b128425f76612e5dee5321 [INFO] running `Command { std: "docker" "start" "-a" "64cbcc33baaeabeeba5456e3876cfe14cee02bc818b128425f76612e5dee5321", 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 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 unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling cranelift-entity v0.44.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cranelift-codegen-shared v0.44.0 [INFO] [stderr] Compiling blake2b_simd v0.5.8 [INFO] [stderr] Compiling cranelift-codegen-meta v0.44.0 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling lock_api v0.3.1 [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 generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling page_size v0.4.1 [INFO] [stderr] Compiling errno v0.2.4 [INFO] [stderr] Compiling cranelift-bforest v0.44.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling wasmer-runtime-core v0.9.0 (/opt/rustwide/workdir/lib/runtime-core) [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling wabt-sys v0.7.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling wasmer-wasi-tests v0.9.0 (/opt/rustwide/workdir/lib/wasi-tests) [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [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 typetag-impl v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Compiling inventory v0.1.4 [INFO] [stderr] Compiling cranelift-codegen v0.44.0 [INFO] [stderr] Compiling structopt v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling target-lexicon v0.8.1 [INFO] [stderr] Compiling serde_bytes v0.11.2 [INFO] [stderr] Compiling serde-bench v0.0.7 [INFO] [stderr] Compiling erased-serde v0.3.9 [INFO] [stderr] Compiling generational-arena v0.2.3 [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 typetag v0.1.4 [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::::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>, [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>, [INFO] [stdout] 114 + pub dyn_call_v: Option>, [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>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - pub stack_restore: Option>, [INFO] [stdout] 171 + pub stack_restore: Option>, [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 [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 [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 [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 wasmer-clif-fork-frontend v0.44.0 [INFO] [stderr] Compiling wasmer-clif-fork-wasm v0.44.0 [INFO] [stderr] Compiling cranelift-native v0.44.0 [INFO] [stderr] Compiling wasmer-clif-backend v0.9.0 (/opt/rustwide/workdir/lib/clif-backend) [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wabt v0.9.2 [INFO] [stderr] Compiling wasmer-runtime v0.9.0 (/opt/rustwide/workdir/lib/runtime) [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 `0` is never read [INFO] [stdout] --> src/bin/kwasmd.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Listen(Listen), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Listen(()), [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.57s [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 4` [INFO] running `Command { std: "docker" "inspect" "64cbcc33baaeabeeba5456e3876cfe14cee02bc818b128425f76612e5dee5321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64cbcc33baaeabeeba5456e3876cfe14cee02bc818b128425f76612e5dee5321", kill_on_drop: false }` [INFO] [stdout] 64cbcc33baaeabeeba5456e3876cfe14cee02bc818b128425f76612e5dee5321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d97747f1a94409f4718427954106755267dfffdfe6c45579b7986fdb413f68a [INFO] running `Command { std: "docker" "start" "-a" "1d97747f1a94409f4718427954106755267dfffdfe6c45579b7986fdb413f68a", 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::::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: 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 [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 [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 [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: 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>, [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>, [INFO] [stdout] 114 + pub dyn_call_v: Option>, [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>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - pub stack_restore: Option>, [INFO] [stdout] 171 + pub stack_restore: Option>, [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: 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] [stderr] Compiling wasmer v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning 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: 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::("plugin_entrypoint").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/kwasmd.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Listen(Listen), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Listen(()), [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings 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 1.86s [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 4` [INFO] running `Command { std: "docker" "inspect" "1d97747f1a94409f4718427954106755267dfffdfe6c45579b7986fdb413f68a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d97747f1a94409f4718427954106755267dfffdfe6c45579b7986fdb413f68a", kill_on_drop: false }` [INFO] [stdout] 1d97747f1a94409f4718427954106755267dfffdfe6c45579b7986fdb413f68a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0151dced90da54450ab816c177e0b72e7cce3b3b9336dd55aa0d729e8c5258d [INFO] running `Command { std: "docker" "start" "-a" "d0151dced90da54450ab816c177e0b72e7cce3b3b9336dd55aa0d729e8c5258d", 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::::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: 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 [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 [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 [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: 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>, [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>, [INFO] [stderr] 114 + pub dyn_call_v: Option>, [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>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 171 - pub stack_restore: Option>, [INFO] [stderr] 171 + pub stack_restore: Option>, [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: 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 `0` is never read [INFO] [stderr] --> src/bin/kwasmd.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | Listen(Listen), [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 25 | Listen(()), [INFO] [stderr] | ~~ [INFO] [stderr] [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] [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::("plugin_entrypoint").unwrap(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wasmer` (bin "kwasmd" test) generated 2 warnings [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 4` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasmer-f6b01acb59c09e3b) [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-e7c96514ea2dcf4e) [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-86ded74aa658e983) [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" "d0151dced90da54450ab816c177e0b72e7cce3b3b9336dd55aa0d729e8c5258d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0151dced90da54450ab816c177e0b72e7cce3b3b9336dd55aa0d729e8c5258d", kill_on_drop: false }` [INFO] [stdout] d0151dced90da54450ab816c177e0b72e7cce3b3b9336dd55aa0d729e8c5258d [INFO] testing aranajhonny/private-lucet against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faranajhonny%2Fprivate-lucet" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aranajhonny/private-lucet on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "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-2-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-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08c32996a025dda94ddc4fb9ac9e303f66db1ace490067fb963fd7e09109b976 [INFO] running `Command { std: "docker" "start" "-a" "08c32996a025dda94ddc4fb9ac9e303f66db1ace490067fb963fd7e09109b976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08c32996a025dda94ddc4fb9ac9e303f66db1ace490067fb963fd7e09109b976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c32996a025dda94ddc4fb9ac9e303f66db1ace490067fb963fd7e09109b976", kill_on_drop: false }` [INFO] [stdout] 08c32996a025dda94ddc4fb9ac9e303f66db1ace490067fb963fd7e09109b976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37f0ac088a38289d241fbc38d5ce5fa78047883cf5037340f62f3e17c9dbeda0 [INFO] running `Command { std: "docker" "start" "-a" "37f0ac088a38289d241fbc38d5ce5fa78047883cf5037340f62f3e17c9dbeda0", 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 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 unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cranelift-entity v0.44.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cranelift-codegen-shared v0.44.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.44.0 [INFO] [stderr] Compiling blake2b_simd v0.5.8 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling lock_api v0.3.1 [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 generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cranelift-bforest v0.44.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 errno v0.2.4 [INFO] [stderr] Compiling page_size v0.4.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] error: failed to run custom build command for `wasmer-runtime-core v0.9.0 (/opt/rustwide/workdir/lib/runtime-core)` [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/wasmer-runtime-core-4b6455a710d22f88/build-script-build` (signal: 6, SIGABRT: process abort signal) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at library/core/src/panicking.rs:156:5: [INFO] [stderr] unsafe precondition(s) violated: slice::get_unchecked_mut requires that the index is within the slice [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5641a3bf5e12 - std::backtrace_rs::backtrace::libunwind::trace::hf591c4fa475b521b [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stderr] 1: 0x5641a3bf5e12 - std::backtrace_rs::backtrace::trace_unsynchronized::hce0fc3788d7159a9 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5641a3bf5e12 - std::sys_common::backtrace::_print_fmt::he2d1cbe468040257 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stderr] 3: 0x5641a3bf5e12 - ::fmt::h2c24b8bf09043006 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x5641a3c1a6bc - core::fmt::rt::Argument::fmt::h982f45771e9ecd8b [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/fmt/rt.rs:142:9 [INFO] [stderr] 5: 0x5641a3c1a6bc - core::fmt::write::h08d521d188b46bd0 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/fmt/mod.rs:1153:17 [INFO] [stderr] 6: 0x5641a3bf2d7f - std::io::Write::write_fmt::h30d389991f37d75e [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/io/mod.rs:1843:15 [INFO] [stderr] 7: 0x5641a3bf5be4 - std::sys_common::backtrace::_print::h3e781da3859a0efa [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 8: 0x5641a3bf5be4 - std::sys_common::backtrace::print::he5e9ec6ac18663c5 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 9: 0x5641a3bf741b - std::panicking::default_hook::{{closure}}::hb05b3618b96e9a16 [INFO] [stderr] 10: 0x5641a3bf7173 - std::panicking::default_hook::ha92ce0e319b86adc [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panicking.rs:292:9 [INFO] [stderr] 11: 0x5641a3bf78bd - std::panicking::rust_panic_with_hook::h0843a0c6d846e961 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panicking.rs:779:13 [INFO] [stderr] 12: 0x5641a3bf7759 - std::panicking::begin_panic_handler::{{closure}}::h089f044d920e4ed4 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panicking.rs:649:13 [INFO] [stderr] 13: 0x5641a3bf62e6 - std::sys_common::backtrace::__rust_end_short_backtrace::h17a752ec00eb4307 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stderr] 14: 0x5641a3bf74c4 - rust_begin_unwind [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panicking.rs:645:5 [INFO] [stderr] 15: 0x5641a3ab260a - core::panicking::panic_nounwind_fmt::runtime::h762a01e9781b3200 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/panicking.rs:110:18 [INFO] [stderr] 16: 0x5641a3ab260a - core::panicking::panic_nounwind_fmt::hc6c08c4591994c18 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/panicking.rs:123:9 [INFO] [stderr] 17: 0x5641a3ab26b9 - core::panicking::panic_nounwind::h375e432f93a2f928 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/panicking.rs:156:5 [INFO] [stderr] 18: 0x5641a3b37ac8 - >::get_unchecked_mut::precondition_check::h770ab35923641440 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/intrinsics.rs:2799:21 [INFO] [stderr] 19: 0x5641a3b37a7d - >::get_unchecked_mut::h627480776e62e1c0 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/slice/index.rs:252:9 [INFO] [stderr] 20: 0x5641a3b3e369 - core::slice::::get_unchecked_mut::h0ea8a1fe7c2dfbb4 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/slice/mod.rs:728:24 [INFO] [stderr] 21: 0x5641a3b37f72 - arrayvec::ArrayVec::push_unchecked::h875e02c7a685e485 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayvec-0.4.11/src/lib.rs:246:20 [INFO] [stderr] 22: 0x5641a3b38823 - arrayvec::ArrayVec::try_push::h788409054ba3a9cb [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayvec-0.4.11/src/lib.rs:212:17 [INFO] [stderr] 23: 0x5641a3b3819b - arrayvec::ArrayVec::push::hcc3309caf71d5cd5 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arrayvec-0.4.11/src/lib.rs:184:9 [INFO] [stderr] 24: 0x5641a3b3cfa1 - blake2b_simd::many::fill_jobs_vec::h54672e22f0c3f5f5 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/blake2b_simd-0.5.8/src/many.rs:106:13 [INFO] [stderr] 25: 0x5641a3b3cfa1 - blake2b_simd::many::compress_many::h9b021fb3823d2a9c [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/blake2b_simd-0.5.8/src/many.rs:148:13 [INFO] [stderr] 26: 0x5641a3b34627 - blake2b_simd::blake2bp::State::finalize::h01fe08015ff67c58 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/blake2b_simd-0.5.8/src/blake2bp.rs:385:9 [INFO] [stderr] 27: 0x5641a3ab3acf - build_script_build::main::h19b827bd6a1df8cb [INFO] [stderr] 28: 0x5641a3ab3073 - core::ops::function::FnOnce::call_once::hb213c83c15409545 [INFO] [stderr] 29: 0x5641a3ab2ce6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd00a2993f11234df [INFO] [stderr] 30: 0x5641a3ab2e19 - std::rt::lang_start::{{closure}}::hf47f04a50dc79ebb [INFO] [stderr] 31: 0x5641a3bef0b3 - core::ops::function::impls:: for &F>::call_once::ha55599606c4801fa [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 32: 0x5641a3bef0b3 - std::panicking::try::do_call::hdbe0105e9cf1e2ee [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panicking.rs:552:40 [INFO] [stderr] 33: 0x5641a3bef0b3 - std::panicking::try::hc30968547c4c042b [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panicking.rs:516:19 [INFO] [stderr] 34: 0x5641a3bef0b3 - std::panic::catch_unwind::hd3d3f133d01e085b [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panic.rs:146:14 [INFO] [stderr] 35: 0x5641a3bef0b3 - std::rt::lang_start_internal::{{closure}}::h6e4de722777ae3c2 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/rt.rs:148:48 [INFO] [stderr] 36: 0x5641a3bef0b3 - std::panicking::try::do_call::h46b94aee435e7f57 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panicking.rs:552:40 [INFO] [stderr] 37: 0x5641a3bef0b3 - std::panicking::try::h1ffb076bbe218058 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panicking.rs:516:19 [INFO] [stderr] 38: 0x5641a3bef0b3 - std::panic::catch_unwind::h9edee6e761ecfcb7 [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/panic.rs:146:14 [INFO] [stderr] 39: 0x5641a3bef0b3 - std::rt::lang_start_internal::h6114988f93cc8d0a [INFO] [stderr] at /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/rt.rs:148:20 [INFO] [stderr] 40: 0x5641a3ab2df7 - std::rt::lang_start::he8083ca783e02101 [INFO] [stderr] 41: 0x5641a3ab4045 - main [INFO] [stderr] 42: 0x7f8c24859d90 - [INFO] [stderr] 43: 0x7f8c24859e40 - __libc_start_main [INFO] [stderr] 44: 0x5641a3ab2b85 - _start [INFO] [stderr] 45: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "37f0ac088a38289d241fbc38d5ce5fa78047883cf5037340f62f3e17c9dbeda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37f0ac088a38289d241fbc38d5ce5fa78047883cf5037340f62f3e17c9dbeda0", kill_on_drop: false }` [INFO] [stdout] 37f0ac088a38289d241fbc38d5ce5fa78047883cf5037340f62f3e17c9dbeda0