[INFO] fetching crate wasmer-wasi-fl 0.17.1... [INFO] testing wasmer-wasi-fl-0.17.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wasmer-wasi-fl 0.17.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate wasmer-wasi-fl 0.17.1 [INFO] finished tweaking crates.io crate wasmer-wasi-fl 0.17.1 [INFO] tweaked toml for crates.io crate wasmer-wasi-fl 0.17.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmer-wasi-fl 0.17.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.3.3) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding typetag v0.1.8 (available: v0.2.21) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.2.3 [INFO] [stderr] Downloaded generational-arena v0.2.9 [INFO] [stderr] Downloaded typetag-impl v0.1.8 [INFO] [stderr] Downloaded typetag v0.1.8 [INFO] [stderr] Downloaded erased-serde v0.3.31 [INFO] [stderr] Downloaded wasmer-runtime-core-fl v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1d1b2aaf3e452fd6bf51ff51292eadb5a6b2a7745c22c4de92dd6e6bc571ae1 [INFO] running `Command { std: "docker" "start" "-a" "a1d1b2aaf3e452fd6bf51ff51292eadb5a6b2a7745c22c4de92dd6e6bc571ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1d1b2aaf3e452fd6bf51ff51292eadb5a6b2a7745c22c4de92dd6e6bc571ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d1b2aaf3e452fd6bf51ff51292eadb5a6b2a7745c22c4de92dd6e6bc571ae1", kill_on_drop: false }` [INFO] [stdout] a1d1b2aaf3e452fd6bf51ff51292eadb5a6b2a7745c22c4de92dd6e6bc571ae1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95164110ec1fe55499675354e8cfbf61feab2dbfb89060853801b0b921f12879 [INFO] running `Command { std: "docker" "start" "-a" "95164110ec1fe55499675354e8cfbf61feab2dbfb89060853801b0b921f12879", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling wasmparser v0.51.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling wasmer-runtime-core-fl v0.17.1 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling typetag-impl v0.1.8 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling inventory v0.2.3 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-bench v0.0.7 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling typetag v0.1.8 [INFO] [stderr] Compiling wasmer-wasi-fl v0.17.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(target = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("windows"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"windows\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state/types.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_WasiFile_registry` [INFO] [stdout] 150 | pub trait WasiFile: std::fmt::Debug + Send + Write + Read + Seek { [INFO] [stdout] | -------- `WasiFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state/types.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_WasiFile_registry` [INFO] [stdout] 150 | pub trait WasiFile: std::fmt::Debug + Send + Write + Read + Seek { [INFO] [stdout] | -------- `WasiFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state/types.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_WasiFile_registry` [INFO] [stdout] 150 | pub trait WasiFile: std::fmt::Debug + Send + Write + Read + Seek { [INFO] [stdout] | -------- `WasiFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state/types.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_WasiFile_registry` [INFO] [stdout] 150 | pub trait WasiFile: std::fmt::Debug + Send + Write + Read + Seek { [INFO] [stdout] | -------- `WasiFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state/types.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_WasiFile_registry` [INFO] [stdout] 150 | pub trait WasiFile: std::fmt::Debug + Send + Write + Read + Seek { [INFO] [stdout] | -------- `WasiFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state/types.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_WasiFile_registry` [INFO] [stdout] 150 | pub trait WasiFile: std::fmt::Debug + Send + Write + Read + Seek { [INFO] [stdout] | -------- `WasiFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state/types.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_WasiFile_registry` [INFO] [stdout] 150 | pub trait WasiFile: std::fmt::Debug + Send + Write + Read + Seek { [INFO] [stdout] | -------- `WasiFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/state/types.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_WasiFile_registry` [INFO] [stdout] 150 | pub trait WasiFile: std::fmt::Debug + Send + Write + Read + Seek { [INFO] [stdout] | -------- `WasiFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/syscalls/mod.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | 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] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/syscalls/mod.rs:2529:25 [INFO] [stdout] | [INFO] [stdout] 2529 | 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: unnecessary transmute [INFO] [stdout] --> src/syscalls/types.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | let bytes: [u8; 8] = unsafe { transmute(ent.d_next.to_le()) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/syscalls/types.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | let bytes: [u8; 8] = unsafe { transmute(ent.d_ino.to_le()) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/syscalls/types.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let bytes: [u8; 4] = unsafe { transmute(ent.d_namlen.to_le()) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-wasi-fl` (lib) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "95164110ec1fe55499675354e8cfbf61feab2dbfb89060853801b0b921f12879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95164110ec1fe55499675354e8cfbf61feab2dbfb89060853801b0b921f12879", kill_on_drop: false }` [INFO] [stdout] 95164110ec1fe55499675354e8cfbf61feab2dbfb89060853801b0b921f12879