rspack_loader_preact_refresh 0.1.0

rspack preact refresh loader
Documentation
Build #1316260 2024-08-08T11:34:49.640284+00:00
# rustc version
rustc 1.82.0-nightly (e57f3090a 2024-08-05)# docs.rs version
docsrs 0.6.0 (a6435f13 2024-08-07)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rspack_loader_preact_refresh-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rspack_loader_preact_refresh-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-08-06" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240805-1.82.0-nightly-e57f3090a\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4f3242751912fb14e1528aa21931c2c1b1a3e4c0f88ba1c270879b62e81e9cbc
[INFO] running `Command { std: "docker" "start" "-a" "4f3242751912fb14e1528aa21931c2c1b1a3e4c0f88ba1c270879b62e81e9cbc", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking hstr v0.2.11
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking indexmap v2.3.0
[INFO] [stderr]     Checking addr2line v0.22.0
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hstr-0.2.11/src/tagged_value.rs:76:81
[INFO] [stderr]      |
[INFO] [stderr] 76   |             value: unsafe { std::mem::transmute::<usize, std::ptr::NonNull<()>>(value) },
[INFO] [stderr]      |                             --------------------------------------------------- ^^^^^ expected `usize`, found `u64`
[INFO] [stderr]      |                             |
[INFO] [stderr]      |                             arguments to this function are incorrect
[INFO] [stderr]      |
[INFO] [stderr] note: function defined here
[INFO] [stderr]     --> /opt/rustwide/rustup-home/toolchains/nightly-2024-08-06-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/intrinsics.rs:1389:12
[INFO] [stderr]      |
[INFO] [stderr] 1389 |     pub fn transmute<Src, Dst>(src: Src) -> Dst;
[INFO] [stderr]      |            ^^^^^^^^^
[INFO] [stderr] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stderr]      |
[INFO] [stderr] 76   |             value: unsafe { std::mem::transmute::<usize, std::ptr::NonNull<()>>(value.try_into().unwrap()) },
[INFO] [stderr]      |                                                                                      ++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hstr-0.2.11/src/tagged_value.rs:76:29
[INFO] [stderr]    |
[INFO] [stderr] 76 |             value: unsafe { std::mem::transmute::<usize, std::ptr::NonNull<()>>(value) },
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `NonZero<u64>`, found `NonNull<()>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected struct `NonZero<u64>`
[INFO] [stderr]               found struct `NonNull<()>`
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `hstr` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "4f3242751912fb14e1528aa21931c2c1b1a3e4c0f88ba1c270879b62e81e9cbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f3242751912fb14e1528aa21931c2c1b1a3e4c0f88ba1c270879b62e81e9cbc", kill_on_drop: false }`
[INFO] [stdout] 4f3242751912fb14e1528aa21931c2c1b1a3e4c0f88ba1c270879b62e81e9cbc