Building on toxis.caelum.ci.dev
(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
Digest: sha256:ddf15bac1fa20047ef1a74f312acfa03eb67216bc7b4dc9eae73336fee957f7c
Status: Downloaded newer image for ocaml/opam:debian-unstable
2026-01-21 10:19.54 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache
/: (user (uid 1000) (gid 1000))
/: (env OPAMPRECISETRACKING 1)
/: (env OPAMUTF8 never)
/: (env OPAMEXTERNALSOLVER builtin-0install)
/: (env OPAMCRITERIA +removed)
/: (env CI true)
/: (env OPAM_HEALTH_CHECK_CI true)
/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-21 10:19.54 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache
/: (run (network host)
(shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 10a02a697b08f6d78a6c4c2cb9a76136afc7776d"))
2026-01-21 10:19.54 ---> using "1e900f095b617695cba731f8ea7d4f181f17d5d2c67a45e910b441ea8b4cc395" from cache
/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
User configuration:
~/.profile is already up-to-date.
2026-01-21 10:19.54 ---> using "dde2ec861d92885e35715529e38f79775c7e8cc633662c811e07abc19e33e887" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "sudo apt update && sudo apt install autoconf -y"))
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-01-21-0800.23-F-2026-01-16-2009.15.pdiff [881 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-01-21-0800.23-F-2026-01-16-2009.15.pdiff [881 kB]
Fetched 1131 kB in 3s (400 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
65 packages can be upgraded. Run 'apt list --upgradable' to see them.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
Installing:
autoconf
Installing dependencies:
automake autotools-dev m4
Suggested packages:
autoconf-archive gnu-standards autoconf-doc libtool gettext m4-doc
Summary:
Upgrading: 0, Installing: 4, Removing: 0, Not Upgrading: 65
Download size: 1757 kB
Space needed: 5333 kB / 135 GB available
Get:1 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.20-2 [325 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.18.1-3 [878 kB]
Fetched 1757 kB in 0s (32.2 MB/s)
Selecting previously unselected package m4.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20859 files and directories currently installed.)
Preparing to unpack .../archives/m4_1.4.20-2_amd64.deb ...
Unpacking m4 (1.4.20-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.72-3.1_all.deb ...
Unpacking autoconf (2.72-3.1) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20240727.1_all.deb ...
Unpacking autotools-dev (20240727.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.18.1-3_all.deb ...
Unpacking automake (1:1.18.1-3) ...
Setting up m4 (1.4.20-2) ...
Setting up autotools-dev (20240727.1) ...
Setting up autoconf (2.72-3.1) ...
Setting up automake (1:1.18.1-3) ...
update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode
2026-01-21 10:19.54 ---> using "1799f973d7e56ed7a0dfa7e98e537e0f6b9380429d423b25c85bd301ff8db70b" from cache
/: (run (network host)
(shell "git clone -q 'https://github.com/oxcaml/opam-repository' ~/'oxcaml' && git -C ~/'oxcaml' checkout -q d26509af1e9232ddaab223c3cab162ecf81e52b8"))
2026-01-21 10:19.54 ---> using "2814ab43288df8b068af11359de6c2e85949a3d6e2f2218776bc7c1f9c9af05e" from cache
/: (run (shell "opam repository add --dont-select 'oxcaml' ~/'oxcaml'"))
[oxcaml] Initialised
2026-01-21 10:19.54 ---> using "bdd8d3afe8e38fb87653ddbd31aa79956dedc657ba2a251ad8f4ffc25815b952" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=oxcaml,default '5.2.0+flambda2' '5.2.0+ox'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.2.0+ox"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> installed conf-autoconf.0.2
-> installed conf-which.1
-> retrieved ocaml-config.3 (2 extra sources)
-> retrieved ocaml-config.3 (2 extra sources)
-> retrieved ocaml-variants.5.2.0+ox (https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-25.tar.gz)
-> installed ocaml-variants.5.2.0+ox
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.2.0+flambda2)
2026-01-21 10:19.54 ---> using "c4b13ec5d9609bce0206ed1cb5e5f4bc921db329ec3c9213ee27bd3b03bde010" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian unstable InRelease
- Reading package lists...
2026-01-21 10:19.54 ---> using "9beb6678510458dab111501a44a02ca68362c4f008cca5d48cc74c2c94ccf823" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam remove -y libwasmer.3.0.0~beta\
\nopam install -vy libwasmer.3.0.0~beta\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: libwasmer.3.0.0~beta | grep -q 'debian-unstable'; then\
\n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
\n exit 69\
\n fi\
\nfi \
\n\
\n\
\nexit $res"))
[NOTE] libwasmer.3.0.0~beta is not installed.
Nothing to do.
The following actions will be performed:
=== install 2 packages
- install conf-rust-2021 1 [required by libwasmer]
- install libwasmer 3.0.0~beta
The following system packages will first need to be installed:
cargo
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "cargo"
- Selecting previously unselected package libpipeline1:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21180 files and directories currently installed.)
- Preparing to unpack .../libpipeline1_1.5.8-2_amd64.deb ...
- Unpacking libpipeline1:amd64 (1.5.8-2) ...
- Selecting previously unselected package binfmt-support.
- Preparing to unpack .../binfmt-support_2.2.2-8_amd64.deb ...
- Unpacking binfmt-support (2.2.2-8) ...
- Selecting previously unselected package libpython3.13-minimal:amd64.
- Preparing to unpack .../libpython3.13-minimal_3.13.11-1+b1_amd64.deb ...
- Unpacking libpython3.13-minimal:amd64 (3.13.11-1+b1) ...
- Selecting previously unselected package python3.13-minimal.
- Preparing to unpack .../python3.13-minimal_3.13.11-1+b1_amd64.deb ...
- Unpacking python3.13-minimal (3.13.11-1+b1) ...
- Setting up libpython3.13-minimal:amd64 (3.13.11-1+b1) ...
- Setting up python3.13-minimal (3.13.11-1+b1) ...
- Selecting previously unselected package python3-minimal.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21529 files and directories currently installed.)
- Preparing to unpack .../0-python3-minimal_3.13.9-3_amd64.deb ...
- Unpacking python3-minimal (3.13.9-3) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../1-media-types_14.0.0_all.deb ...
- Unpacking media-types (14.0.0) ...
- Selecting previously unselected package readline-common.
- Preparing to unpack .../2-readline-common_8.3-3_all.deb ...
- Unpacking readline-common (8.3-3) ...
- Selecting previously unselected package libreadline8t64:amd64.
- Preparing to unpack .../3-libreadline8t64_8.3-3+b1_amd64.deb ...
- Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
- Unpacking libreadline8t64:amd64 (8.3-3+b1) ...
- Selecting previously unselected package libpython3.13-stdlib:amd64.
- Preparing to unpack .../4-libpython3.13-stdlib_3.13.11-1+b1_amd64.deb ...
- Unpacking libpython3.13-stdlib:amd64 (3.13.11-1+b1) ...
- Selecting previously unselected package python3.13.
- Preparing to unpack .../5-python3.13_3.13.11-1+b1_amd64.deb ...
- Unpacking python3.13 (3.13.11-1+b1) ...
- Selecting previously unselected package libpython3-stdlib:amd64.
- Preparing to unpack .../6-libpython3-stdlib_3.13.9-3_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.13.9-3) ...
- Setting up python3-minimal (3.13.9-3) ...
- Selecting previously unselected package python3.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 22017 files and directories currently installed.)
- Preparing to unpack .../00-python3_3.13.9-3_amd64.deb ...
- Unpacking python3 (3.13.9-3) ...
- Selecting previously unselected package libhttp-parser2.9:amd64.
- Preparing to unpack .../01-libhttp-parser2.9_2.9.4-6+b3_amd64.deb ...
- Unpacking libhttp-parser2.9:amd64 (2.9.4-6+b3) ...
- Selecting previously unselected package libmbedcrypto16:amd64.
- Preparing to unpack .../02-libmbedcrypto16_3.6.5-0.1_amd64.deb ...
- Unpacking libmbedcrypto16:amd64 (3.6.5-0.1) ...
- Selecting previously unselected package libmbedx509-7:amd64.
- Preparing to unpack .../03-libmbedx509-7_3.6.5-0.1_amd64.deb ...
- Unpacking libmbedx509-7:amd64 (3.6.5-0.1) ...
- Selecting previously unselected package libmbedtls21:amd64.
- Preparing to unpack .../04-libmbedtls21_3.6.5-0.1_amd64.deb ...
- Unpacking libmbedtls21:amd64 (3.6.5-0.1) ...
- Selecting previously unselected package libgit2-1.9:amd64.
- Preparing to unpack .../05-libgit2-1.9_1.9.2+ds-2_amd64.deb ...
- Unpacking libgit2-1.9:amd64 (1.9.2+ds-2) ...
- Selecting previously unselected package libxml2-16:amd64.
- Preparing to unpack .../06-libxml2-16_2.15.1+dfsg-2+b1_amd64.deb ...
- Unpacking libxml2-16:amd64 (2.15.1+dfsg-2+b1) ...
- Selecting previously unselected package libz3-4:amd64.
- Preparing to unpack .../07-libz3-4_4.13.3-1+b1_amd64.deb ...
- Unpacking libz3-4:amd64 (4.13.3-1+b1) ...
- Selecting previously unselected package libllvm21:amd64.
- Preparing to unpack .../08-libllvm21_1%3a21.1.8-2_amd64.deb ...
- Unpacking libllvm21:amd64 (1:21.1.8-2) ...
- Selecting previously unselected package libstd-rust-1.91:amd64.
- Preparing to unpack .../09-libstd-rust-1.91_1.91.1+dfsg1-1_amd64.deb ...
- Unpacking libstd-rust-1.91:amd64 (1.91.1+dfsg1-1) ...
- Selecting previously unselected package libstd-rust-dev:amd64.
- Preparing to unpack .../10-libstd-rust-dev_1.91.1+dfsg1-1_amd64.deb ...
- Unpacking libstd-rust-dev:amd64 (1.91.1+dfsg1-1) ...
- Selecting previously unselected package rustc.
- Preparing to unpack .../11-rustc_1.91.1+dfsg1-1_amd64.deb ...
- Unpacking rustc (1.91.1+dfsg1-1) ...
- Selecting previously unselected package libclang-cpp21.
- Preparing to unpack .../12-libclang-cpp21_1%3a21.1.8-2_amd64.deb ...
- Unpacking libclang-cpp21 (1:21.1.8-2) ...
- Selecting previously unselected package libgc1:amd64.
- Preparing to unpack .../13-libgc1_1%3a8.2.10-1_amd64.deb ...
- Unpacking libgc1:amd64 (1:8.2.10-1) ...
- Selecting previously unselected package libobjc4:amd64.
- Preparing to unpack .../14-libobjc4_15.2.0-12_amd64.deb ...
- Unpacking libobjc4:amd64 (15.2.0-12) ...
- Selecting previously unselected package libobjc-15-dev:amd64.
- Preparing to unpack .../15-libobjc-15-dev_15.2.0-12_amd64.deb ...
- Unpacking libobjc-15-dev:amd64 (15.2.0-12) ...
- Selecting previously unselected package libclang-common-21-dev:amd64.
- Preparing to unpack .../16-libclang-common-21-dev_1%3a21.1.8-2_amd64.deb ...
- Unpacking libclang-common-21-dev:amd64 (1:21.1.8-2) ...
- Selecting previously unselected package llvm-21-linker-tools.
- Preparing to unpack .../17-llvm-21-linker-tools_1%3a21.1.8-2_amd64.deb ...
- Unpacking llvm-21-linker-tools (1:21.1.8-2) ...
- Selecting previously unselected package libclang1-21.
- Preparing to unpack .../18-libclang1-21_1%3a21.1.8-2_amd64.deb ...
- Unpacking libclang1-21 (1:21.1.8-2) ...
- Selecting previously unselected package clang-21.
- Preparing to unpack .../19-clang-21_1%3a21.1.8-2_amd64.deb ...
- Unpacking clang-21 (1:21.1.8-2) ...
- Selecting previously unselected package cargo.
- Preparing to unpack .../20-cargo_1.91.1+dfsg1-1_amd64.deb ...
- Unpacking cargo (1.91.1+dfsg1-1) ...
- Selecting previously unselected package clang-tools-21.
- Preparing to unpack .../21-clang-tools-21_1%3a21.1.8-2_amd64.deb ...
- Unpacking clang-tools-21 (1:21.1.8-2) ...
- Selecting previously unselected package libpfm4:amd64.
- Preparing to unpack .../22-libpfm4_4.13.0+git106-g3e4031b-1+b1_amd64.deb ...
- Unpacking libpfm4:amd64 (4.13.0+git106-g3e4031b-1+b1) ...
- Selecting previously unselected package lld-21.
- Preparing to unpack .../23-lld-21_1%3a21.1.8-2_amd64.deb ...
- Unpacking lld-21 (1:21.1.8-2) ...
- Selecting previously unselected package llvm-21-runtime.
- Preparing to unpack .../24-llvm-21-runtime_1%3a21.1.8-2_amd64.deb ...
- Unpacking llvm-21-runtime (1:21.1.8-2) ...
- Selecting previously unselected package llvm-21.
- Preparing to unpack .../25-llvm-21_1%3a21.1.8-2_amd64.deb ...
- Unpacking llvm-21 (1:21.1.8-2) ...
- Selecting previously unselected package rust-llvm.
- Preparing to unpack .../26-rust-llvm_1.91.1+dfsg1-1_amd64.deb ...
- Unpacking rust-llvm (1.91.1+dfsg1-1) ...
- Setting up media-types (14.0.0) ...
- Setting up libpipeline1:amd64 (1.5.8-2) ...
- Setting up libxml2-16:amd64 (2.15.1+dfsg-2+b1) ...
- Setting up libz3-4:amd64 (4.13.3-1+b1) ...
- Setting up libpfm4:amd64 (4.13.0+git106-g3e4031b-1+b1) ...
- Setting up libllvm21:amd64 (1:21.1.8-2) ...
- Setting up binfmt-support (2.2.2-8) ...
- invoke-rc.d: could not determine current runlevel
- invoke-rc.d: policy-rc.d denied execution of start.
- Setting up llvm-21-linker-tools (1:21.1.8-2) ...
- Setting up libgc1:amd64 (1:8.2.10-1) ...
- Setting up libstd-rust-1.91:amd64 (1.91.1+dfsg1-1) ...
- Setting up libmbedcrypto16:amd64 (3.6.5-0.1) ...
- Setting up libclang-common-21-dev:amd64 (1:21.1.8-2) ...
- Setting up libclang1-21 (1:21.1.8-2) ...
- Setting up readline-common (8.3-3) ...
- Setting up libhttp-parser2.9:amd64 (2.9.4-6+b3) ...
- Setting up libobjc4:amd64 (15.2.0-12) ...
- Setting up lld-21 (1:21.1.8-2) ...
- Setting up libstd-rust-dev:amd64 (1.91.1+dfsg1-1) ...
- Setting up libclang-cpp21 (1:21.1.8-2) ...
- Setting up libmbedx509-7:amd64 (3.6.5-0.1) ...
- Setting up llvm-21-runtime (1:21.1.8-2) ...
- Setting up libmbedtls21:amd64 (3.6.5-0.1) ...
- Setting up libreadline8t64:amd64 (8.3-3+b1) ...
- Setting up rustc (1.91.1+dfsg1-1) ...
- Setting up libobjc-15-dev:amd64 (15.2.0-12) ...
- Setting up clang-21 (1:21.1.8-2) ...
- Setting up libpython3.13-stdlib:amd64 (3.13.11-1+b1) ...
- Setting up libpython3-stdlib:amd64 (3.13.9-3) ...
- Setting up python3.13 (3.13.11-1+b1) ...
- Setting up python3 (3.13.9-3) ...
- running python rtupdate hooks for python3.13...
- running python post-rtupdate hooks for python3.13...
- Setting up llvm-21 (1:21.1.8-2) ...
- Setting up libgit2-1.9:amd64 (1.9.2+ds-2) ...
- Setting up clang-tools-21 (1:21.1.8-2) ...
- Setting up rust-llvm (1.91.1+dfsg1-1) ...
- Setting up cargo (1.91.1+dfsg1-1) ...
- Processing triggers for libc-bin (2.42-7) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-rust-2021.1 (cached)
Processing 2/6: [libwasmer.3.0.0~beta: http]
Processing 3/6: [libwasmer.3.0.0~beta: http] [conf-rust-2021: cargo]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "cargo" "--version" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/conf-rust-2021.1)
- cargo 1.91.1 (ea2d97820 2025-10-10) (built from a source tarball)
Processing 3/6: [libwasmer.3.0.0~beta: http] [conf-rust-2021: rustc 2021]
Processing 3/6: [libwasmer.3.0.0~beta: extract] [conf-rust-2021: rustc 2021]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rustc" "--edition" "2021" "test.rs" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/conf-rust-2021.1)
-> compiled conf-rust-2021.1
Processing 3/6: [libwasmer.3.0.0~beta: extract]
-> installed conf-rust-2021.1
Processing 4/6: [libwasmer.3.0.0~beta: extract]
Processing 4/6: [libwasmer.3.0.0~beta/config.toml: dl]
Processing 4/6: [libwasmer.3.0.0~beta/libwasmer.install: dl]
Processing 4/6: [libwasmer.3.0.0~beta/vendor.tar.gz: dl]
-> retrieved libwasmer.3.0.0~beta (https://github.com/wasmerio/wasmer/archive/refs/tags/3.0.0-beta.tar.gz)
Processing 5/6: [libwasmer: mkdir .cargo]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mkdir" ".cargo" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta)
Processing 5/6: [libwasmer: mv config.toml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mv" "config.toml" ".cargo" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta)
Processing 5/6: [libwasmer: sh gunzip vendor.tar.gz && tar xf vendor.tar]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "gunzip vendor.tar.gz && tar xf vendor.tar" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta)
Processing 5/6: [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "build-capi" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta)
- -----------
- INFORMATION
- -----------
-
- bash: line 1: rustup: command not found
- Host Target: ``.
- Enabled Compilers: cranelift, singlepass.
- Testing the following compilers & engines:
- * API: cranelift-universal singlepass-universal,
- * C-API: cranelift-universal.
- Cargo features:
- * Compilers: `--features cranelift,singlepass,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load`.
- Rust version: rustc 1.91.1 (ed61e7d7e 2025-11-07) (built from a source tarball).
- bash: line 1: node: command not found
- NodeJS version: .
-
-
- --------------
- RULE EXECUTION
- --------------
-
-
- RUSTFLAGS="" cargo build --manifest-path lib/c-api/Cargo.toml --release \
- --no-default-features --features wat,compiler,wasi,middlewares --features cranelift,singlepass,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load
- Compiling proc-macro2 v1.0.43
- Compiling quote v1.0.21
- Compiling unicode-ident v1.0.3
- Compiling syn v1.0.99
- Compiling version_check v0.9.4
- Compiling libc v0.2.127
- Compiling autocfg v1.1.0
- Compiling cfg-if v1.0.0
- Compiling once_cell v1.13.0
- Compiling bitflags v1.2.1
- Compiling ident_case v1.0.1
- Compiling memchr v2.5.0
- Compiling fnv v1.0.7
- Compiling target-lexicon v0.12.4
- Compiling bytecheck v0.6.9
- Compiling rend v0.3.6
- Compiling fallible-iterator v0.2.0
- Compiling scopeguard v1.1.0
- Compiling stable_deref_trait v1.2.0
- Compiling rkyv v0.7.39
- Compiling log v0.4.17
- Compiling seahash v4.1.0
- Compiling more-asserts v0.2.2
- Compiling crc32fast v1.3.2
- Compiling cc v1.0.73
- Compiling byteorder v1.4.3
- Compiling crossbeam-utils v0.8.11
- Compiling adler v1.0.2
- Compiling leb128 v0.2.5
- Compiling smallvec v1.9.0
- Compiling rustc-demangle v0.1.21
- Compiling serde_derive v1.0.142
- Compiling proc-macro-hack v0.5.19
- Compiling cranelift-isle v0.86.1
- Compiling lazy_static v1.4.0
- Compiling serde v1.0.142
- Compiling pin-project-lite v0.2.9
- Compiling rayon-core v1.9.3
- Compiling cranelift-codegen-shared v0.86.1
- Compiling wasmparser v0.83.0
- Compiling const_fn v0.4.9
- Compiling unicode-width v0.1.9
- Compiling os_str_bytes v6.2.0
- Compiling serde_json v1.0.83
- Compiling hashbrown v0.12.3
- Compiling itoa v1.0.3
- Compiling ryu v1.0.11
- Compiling textwrap v0.15.0
- Compiling cbindgen v0.24.3
- Compiling remove_dir_all v0.5.3
- Compiling slice-group-by v0.3.0
- Compiling fastrand v1.8.0
- Compiling cranelift-entity v0.86.1
- Compiling strsim v0.10.0
- Compiling termcolor v1.1.3
- Compiling heck v0.4.0
- Compiling either v1.7.0
- Compiling cfg-if v0.1.10
- Compiling bytes v1.2.1
- Compiling wasmer-compiler-cranelift v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/compiler-cranelift)
- Compiling paste v1.0.8
- Compiling generational-arena v0.2.8
- Compiling cranelift-codegen-meta v0.86.1
- Compiling miniz_oxide v0.5.3
- Compiling wasm-encoder v0.15.0
- Compiling indexmap v1.9.1
- Compiling memoffset v0.6.5
- Compiling corosensei v0.1.3
- Compiling crossbeam-epoch v0.9.10
- Compiling rayon v1.5.3
- Compiling tracing-core v0.1.29
- Compiling clap_lex v0.2.4
- Compiling ahash v0.7.6
- Compiling proc-macro-error-attr v1.0.4
- Compiling proc-macro-error v1.0.4
- Compiling standback v0.2.17
- Compiling time v0.2.27
- Compiling fxhash v0.2.1
- Compiling cranelift-bforest v0.86.1
- Compiling regalloc2 v0.3.2
- Compiling crossbeam-channel v0.5.6
- Compiling object v0.29.0
- Compiling backtrace v0.3.66
- Compiling crossbeam-deque v0.8.2
- Compiling wast v45.0.0
- Compiling getrandom v0.2.7
- Compiling memmap2 v0.5.5
- Compiling region v3.0.0
- Compiling num_cpus v1.13.1
- Compiling atty v0.2.14
- Compiling tempfile v3.3.0
- Compiling hashbrown v0.11.2
- Compiling clap v3.2.16
- Compiling cranelift-codegen v0.86.1
- Compiling gimli v0.26.2
- Compiling object v0.28.4
- Compiling darling_core v0.13.4
- Compiling ptr_meta_derive v0.1.4
- Compiling thiserror-impl v1.0.32
- Compiling bytecheck_derive v0.6.9
- Compiling enum-iterator-derive v0.7.0
- Compiling rkyv_derive v0.7.39
- Compiling tracing-attributes v0.1.22
- Compiling time-macros-impl v0.1.2
- Compiling wasmer-derive v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/derive)
- Compiling dynasm v1.2.3
- Compiling derivative v2.2.0
- Compiling ptr_meta v0.1.4
- Compiling enum-iterator v0.7.0
- Compiling time-macros v0.1.1
- Compiling addr2line v0.17.0
- Compiling thiserror v1.0.32
- Compiling tracing v0.1.36
- Compiling darling_macro v0.13.4
- Compiling wat v1.0.47
- Compiling wasmer-vfs v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/vfs)
- Compiling wasmer-vbus v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/vbus)
- Compiling wasmer-vnet v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/vnet)
- Compiling darling v0.13.4
- Compiling enumset_derive v0.6.0
- Compiling enumset v1.0.11
- Compiling toml v0.5.9
- Compiling wasmer-types v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/types)
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/types/src/lib.rs:11:13
- |
- 11 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))]
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `core`, `default`, `enable-serde`, `serde`, `serde_bytes`, and `std`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/types/src/lib.rs:13:5
- |
- 13 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `core`, `default`, `enable-serde`, `serde`, `serde_bytes`, and `std`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/boxed_slice.rs:75:19
- |
- 75 | pub fn values(&self) -> slice::Iter<V> {
- | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
- help: use `'_` for type paths
- |
- 75 | pub fn values(&self) -> slice::Iter<'_, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/boxed_slice.rs:80:23
- |
- 80 | pub fn values_mut(&mut self) -> slice::IterMut<V> {
- | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 80 | pub fn values_mut(&mut self) -> slice::IterMut<'_, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/boxed_slice.rs:85:17
- |
- 85 | pub fn iter(&self) -> Iter<K, V> {
- | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 85 | pub fn iter(&self) -> Iter<'_, K, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/boxed_slice.rs:90:21
- |
- 90 | pub fn iter_mut(&mut self) -> IterMut<K, V> {
- | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 90 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/primary_map.rs:96:19
- |
- 96 | pub fn values(&self) -> slice::Iter<V> {
- | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 96 | pub fn values(&self) -> slice::Iter<'_, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/primary_map.rs:101:23
- |
- 101 | pub fn values_mut(&mut self) -> slice::IterMut<V> {
- | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 101 | pub fn values_mut(&mut self) -> slice::IterMut<'_, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/primary_map.rs:106:17
- |
- 106 | pub fn iter(&self) -> Iter<K, V> {
- | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 106 | pub fn iter(&self) -> Iter<'_, K, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/primary_map.rs:111:21
- |
- 111 | pub fn iter_mut(&mut self) -> IterMut<K, V> {
- | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 111 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/secondary_map.rs:108:17
- |
- 108 | pub fn iter(&self) -> Iter<K, V> {
- | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 108 | pub fn iter(&self) -> Iter<'_, K, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/secondary_map.rs:113:21
- |
- 113 | pub fn iter_mut(&mut self) -> IterMut<K, V> {
- | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 113 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/secondary_map.rs:123:19
- |
- 123 | pub fn values(&self) -> slice::Iter<V> {
- | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 123 | pub fn values(&self) -> slice::Iter<'_, V> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/types/src/entity/secondary_map.rs:128:23
- |
- 128 | pub fn values_mut(&mut self) -> slice::IterMut<V> {
- | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 128 | pub fn values_mut(&mut self) -> slice::IterMut<'_, V> {
- | +++
-
- Compiling wasmer-object v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/object)
- Compiling wasmer-vm v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/vm)
- Compiling wasmer-wasi-types v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/wasi-types)
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/object/src/lib.rs:8:13
- |
- 8 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))]
- | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
- |
- = note: no expected values for `feature`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/object/src/lib.rs:10:5
- |
- 10 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
- |
- = note: no expected values for `feature`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/vm/src/lib.rs:7:5
- |
- 7 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `default`, `enable-serde`, and `serde`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/vm/src/lib.rs:11:5
- |
- 11 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `default`, `enable-serde`, and `serde`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/object/src/module.rs:34:38
- |
- 34 | pub fn get_object_for_target(triple: &Triple) -> Result<Object, ObjectError> {
- | ^^^^^^^ ^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
- help: use `'_` for type paths
- |
- 34 | pub fn get_object_for_target(triple: &Triple) -> Result<Object<'_>, ObjectError> {
- | ++++
-
- warning: `wasmer-object` (lib) generated 3 warnings (run `cargo fix --lib -p wasmer-object` to apply 1 suggestion)
- Compiling wasmer-c-api v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/c-api)
- warning: unexpected `cfg` condition value: `emscripten`
- --> lib/c-api/build.rs:57:15
- |
- 57 | #[cfg(feature = $feature)]
- | ^^^^^^^^^^^^^^^^^^
- ...
- 149 | map_feature_as_c_define!("emscripten", EMSCRIPTEN_FEATURE_AS_C_DEFINE, pre_header);
- | ---------------------------------------------------------------------------------- in this macro invocation
- |
- = note: expected values for `feature` are: `compiler`, `compiler-headless`, `cranelift`, `default`, `jit`, `llvm`, `middlewares`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `typetag`, `wasi`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-emscripten`, `wasmer-middlewares`, `wasmer-wasi`, and `wat`
- = help: consider adding `emscripten` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
- = note: this warning originates in the macro `map_feature_as_c_define` (in Nightly builds, run with -Z macro-backtrace for more info)
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/vm/src/instance/mod.rs:1063:20
- |
- 1063 | pub fn exports(&self) -> indexmap::map::Iter<String, ExportIndex> {
- | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
- help: use `'_` for type paths
- |
- 1063 | pub fn exports(&self) -> indexmap::map::Iter<'_, String, ExportIndex> {
- | +++
-
- warning: creating a mutable reference to mutable static
- --> lib/vm/src/trap/traphandlers.rs:140:22
- |
- 140 | register(&mut PREV_SIGSEGV, libc::SIGSEGV);
- | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
- |
- = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
- = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
- = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
- help: use `&raw mut` instead to create a raw pointer
- |
- 140 | register(&raw mut PREV_SIGSEGV, libc::SIGSEGV);
- | +++
-
- warning: creating a mutable reference to mutable static
- --> lib/vm/src/trap/traphandlers.rs:143:22
- |
- 143 | register(&mut PREV_SIGILL, libc::SIGILL);
- | ^^^^^^^^^^^^^^^^ mutable reference to mutable static
- |
- = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
- = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
- help: use `&raw mut` instead to create a raw pointer
- |
- 143 | register(&raw mut PREV_SIGILL, libc::SIGILL);
- | +++
-
- warning: creating a mutable reference to mutable static
- --> lib/vm/src/trap/traphandlers.rs:147:26
- |
- 147 | register(&mut PREV_SIGFPE, libc::SIGFPE);
- | ^^^^^^^^^^^^^^^^ mutable reference to mutable static
- |
- = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
- = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
- help: use `&raw mut` instead to create a raw pointer
- |
- 147 | register(&raw mut PREV_SIGFPE, libc::SIGFPE);
- | +++
-
- warning: creating a mutable reference to mutable static
- --> lib/vm/src/trap/traphandlers.rs:153:26
- |
- 153 | register(&mut PREV_SIGBUS, libc::SIGBUS);
- | ^^^^^^^^^^^^^^^^ mutable reference to mutable static
- |
- = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
- = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
- help: use `&raw mut` instead to create a raw pointer
- |
- 153 | register(&raw mut PREV_SIGBUS, libc::SIGBUS);
- | +++
-
- warning: creating a shared reference to mutable static
- --> lib/vm/src/trap/traphandlers.rs:200:34
- |
- 200 | libc::SIGSEGV => &PREV_SIGSEGV,
- | ^^^^^^^^^^^^^ shared reference to mutable static
- |
- = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
- = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
- help: use `&raw const` instead to create a raw pointer
- |
- 200 | libc::SIGSEGV => &raw const PREV_SIGSEGV,
- | +++++++++
-
- warning: creating a shared reference to mutable static
- --> lib/vm/src/trap/traphandlers.rs:201:33
- |
- 201 | libc::SIGBUS => &PREV_SIGBUS,
- | ^^^^^^^^^^^^ shared reference to mutable static
- |
- = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
- = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
- help: use `&raw const` instead to create a raw pointer
- |
- 201 | libc::SIGBUS => &raw const PREV_SIGBUS,
- | +++++++++
-
- warning: creating a shared reference to mutable static
- --> lib/vm/src/trap/traphandlers.rs:202:33
- |
- 202 | libc::SIGFPE => &PREV_SIGFPE,
- | ^^^^^^^^^^^^ shared reference to mutable static
- |
- = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
- = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
- help: use `&raw const` instead to create a raw pointer
- |
- 202 | libc::SIGFPE => &raw const PREV_SIGFPE,
- | +++++++++
-
- warning: creating a shared reference to mutable static
- --> lib/vm/src/trap/traphandlers.rs:203:33
- |
- 203 | libc::SIGILL => &PREV_SIGILL,
- | ^^^^^^^^^^^^ shared reference to mutable static
- |
- = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
- = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
- help: use `&raw const` instead to create a raw pointer
- |
- 203 | libc::SIGILL => &raw const PREV_SIGILL,
- | +++++++++
-
- warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
- --> lib/vm/src/vmcontext.rs:575:5
- |
- 564 | #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)]
- | --------- in this derive macro expansion
- ...
- 575 | pub call_trampoline: VMTrampoline,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: the address of the same function can vary between different codegen units
- = note: furthermore, different functions could have the same address after being merged together
- = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
- = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
-
- Compiling wasmer-compiler v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/compiler)
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/compiler/src/lib.rs:13:5
- |
- 13 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `default`, `enable-serde`, `hashbrown`, `serde`, `serde_bytes`, `static-artifact-create`, `static-artifact-load`, `std`, `translator`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-object`, and `wasmparser`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/compiler/src/lib.rs:17:5
- |
- 17 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `default`, `enable-serde`, `hashbrown`, `serde`, `serde_bytes`, `static-artifact-create`, `static-artifact-load`, `std`, `translator`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-object`, and `wasmparser`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unused imports: `collections`, `fmt`, and `str`
- --> lib/compiler/src/lib.rs:50:38
- |
- 50 | pub use std::{borrow, boxed, collections, fmt, str, string, sync, vec};
- | ^^^^^^^^^^^ ^^^ ^^^
- |
- = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
-
- warning: unused imports: `DeserializeError` and `SerializeError`
- --> lib/compiler/src/engine/error.rs:5:24
- |
- 5 | pub use wasmer_types::{DeserializeError, ImportError, SerializeError};
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
-
- warning: `wasmer-vm` (lib) generated 12 warnings (run `cargo fix --lib -p wasmer-vm` to apply 1 suggestion)
- Compiling dynasmrt v1.2.3
- warning: `wasmer-c-api` (build script) generated 1 warning
- warning: `wasmer-types` (lib) generated 14 warnings (run `cargo fix --lib -p wasmer-types` to apply 12 suggestions)
- Compiling wasmer v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/api)
- Compiling wasmer-compiler-singlepass v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/compiler-singlepass)
- warning: lint `deprecated_cfg_attr_crate_type_name` has been removed: converted into hard error, see issue #91632 <https://github.com/rust-lang/rust/issues/91632> for more information
- --> lib/api/src/lib.rs:28:10
- |
- 28 | #![allow(deprecated_cfg_attr_crate_type_name)]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(renamed_and_removed_lints)]` on by default
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/api/src/lib.rs:13:5
- |
- 13 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/api/src/lib.rs:17:5
- |
- 17 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `default-cranelift`
- --> lib/api/src/lib.rs:319:13
- |
- 319 | #![cfg_attr(feature = "default-cranelift", doc = "(enabled),")]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat`
- = help: consider adding `default-cranelift` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `default-cranelift`
- --> lib/api/src/lib.rs:320:17
- |
- 320 | #![cfg_attr(not(feature = "default-cranelift"), doc = "(disabled),")]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat`
- = help: consider adding `default-cranelift` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `default-llvm`
- --> lib/api/src/lib.rs:323:13
- |
- 323 | #![cfg_attr(feature = "default-llvm", doc = "(enabled),")]
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat`
- = help: consider adding `default-llvm` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `default-llvm`
- --> lib/api/src/lib.rs:324:17
- |
- 324 | #![cfg_attr(not(feature = "default-llvm"), doc = "(disabled),")]
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat`
- = help: consider adding `default-llvm` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `default-singlepass`
- --> lib/api/src/lib.rs:327:13
- |
- 327 | #![cfg_attr(feature = "default-singlepass", doc = "(enabled),")]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat`
- = help: consider adding `default-singlepass` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `default-singlepass`
- --> lib/api/src/lib.rs:328:17
- |
- 328 | #![cfg_attr(not(feature = "default-singlepass"), doc = "(disabled),")]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `core`, `cranelift`, `default`, `enable-serde`, `engine`, `hashbrown`, `jit`, `js`, `js-default`, `js-serializable-module`, `js-sys`, `llvm`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `std`, `sys`, `sys-default`, `tracing`, `wasm-bindgen`, `wasm-types-polyfill`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmparser`, and `wat`
- = help: consider adding `default-singlepass` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unnecessary parentheses around closure body
- --> lib/api/src/sys/imports.rs:69:38
- |
- 69 | self.map.keys().any(|(k, _)| (k == name))
- | ^ ^
- |
- = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
- help: remove these parentheses
- |
- 69 - self.map.keys().any(|(k, _)| (k == name))
- 69 + self.map.keys().any(|(k, _)| k == name)
- |
-
- Compiling cranelift-frontend v0.86.1
- warning: `wasmer-compiler` (lib) generated 4 warnings (run `cargo fix --lib -p wasmer-compiler` to apply 2 suggestions)
- warning: unexpected `cfg` condition value: `enable-serde`
- --> lib/compiler-singlepass/src/unwind_winx64.rs:174:12
- |
- 174 | #[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `avx`, `core`, `default`, `gimli`, `hashbrown`, `rayon`, `sse`, `std`, `unwind`, and `wasm`
- = help: consider adding `enable-serde` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/compiler-cranelift/src/lib.rs:10:5
- |
- 10 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/compiler-cranelift/src/lib.rs:14:5
- |
- 14 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unused import: `cranelift_codegen::print_errors::pretty_error`
- --> lib/compiler-cranelift/src/trampoline/mod.rs:9:9
- |
- 9 | pub use cranelift_codegen::print_errors::pretty_error;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
-
- warning: unused import: `cranelift_codegen::Context`
- --> lib/compiler-cranelift/src/trampoline/mod.rs:10:9
- |
- 10 | pub use cranelift_codegen::Context;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- warning: unused import: `FunctionBuilder`
- --> lib/compiler-cranelift/src/trampoline/mod.rs:11:30
- |
- 11 | pub use cranelift_frontend::{FunctionBuilder, FunctionBuilderContext};
- | ^^^^^^^^^^^^^^^
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/compiler-cranelift/src/translator/code_translator.rs:103:5
- |
- 103 | feature = "cargo-clippy",
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/compiler-cranelift/src/translator/code_translator.rs:2033:12
- |
- 2033 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::unneeded_field_pattern))]
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unexpected `cfg` condition value: `cargo-clippy`
- --> lib/compiler-cranelift/src/translator/func_environ.rs:169:16
- |
- 169 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))]
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `core`, `default`, `gimli`, `hashbrown`, `rayon`, `std`, `unwind`, and `wasm`
- = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: unused import: `ReturnMode`
- --> lib/compiler-cranelift/src/translator/mod.rs:10:63
- |
- 10 | pub use self::func_environ::{FuncEnvironment, GlobalVariable, ReturnMode, TargetEnvironment};
- | ^^^^^^^^^^
-
- warning: unused import: `self::func_state::FuncTranslationState`
- --> lib/compiler-cranelift/src/translator/mod.rs:11:9
- |
- 11 | pub use self::func_state::FuncTranslationState;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- warning: unused import: `get_vmctx_value_label`
- --> lib/compiler-cranelift/src/translator/mod.rs:14:5
- |
- 14 | get_vmctx_value_label, irlibcall_to_libcall, irreloc_to_relocationkind,
- | ^^^^^^^^^^^^^^^^^^^^^
-
- warning: method `pointer_bytes` is never used
- --> lib/compiler-cranelift/src/translator/func_environ.rs:66:8
- |
- 54 | pub trait TargetEnvironment {
- | ----------------- method in this trait
- ...
- 66 | fn pointer_bytes(&self) -> u8 {
- | ^^^^^^^^^^^^^
- |
- = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
-
- warning: methods `get_global_type`, `get_local_type`, `get_local_types`, `get_function_type`, and `get_function_sig` are never used
- --> lib/compiler-cranelift/src/translator/func_environ.rs:475:8
- |
- 83 | pub trait FuncEnvironment: TargetEnvironment {
- | --------------- methods in this trait
- ...
- 475 | fn get_global_type(&self, global_index: GlobalIndex) -> Option<WasmerType>;
- | ^^^^^^^^^^^^^^^
- ...
- 484 | fn get_local_type(&self, local_index: u32) -> Option<WasmerType>;
- | ^^^^^^^^^^^^^^
- ...
- 487 | fn get_local_types(&self) -> &[WasmerType];
- | ^^^^^^^^^^^^^^^
- ...
- 490 | fn get_function_type(&self, function_index: FunctionIndex) -> Option<&FunctionType>;
- | ^^^^^^^^^^^^^^^^^
- ...
- 493 | fn get_function_sig(&self, sig_index: SignatureIndex) -> Option<&FunctionType>;
- | ^^^^^^^^^^^^^^^^
-
- warning: variable does not need to be mutable
- --> lib/api/src/sys/module.rs:380:60
- |
- 380 | Arc::get_mut(&mut self.module_info).map_or(false, |mut module_info| {
- | ----^^^^^^^^^^^
- | |
- | help: remove this `mut`
- |
- = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
-
- warning: trait `HostFunctionKindSealed` is never used
- --> lib/api/src/sys/externals/function.rs:1127:19
- |
- 1127 | pub trait HostFunctionKindSealed {}
- | ^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/api/src/sys/exports.rs:212:17
- |
- 212 | pub fn iter(&self) -> ExportsIterator<impl Iterator<Item = (&String, &Extern)>> {
- | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | | | | |
- | | | | the same lifetime is elided here
- | | | the same lifetime is elided here
- | | the same lifetime is hidden here
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
- help: use `'_` for type paths
- |
- 212 | pub fn iter(&self) -> ExportsIterator<'_, impl Iterator<Item = (&String, &Extern)>> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/api/src/sys/function_env.rs:56:34
- |
- 56 | pub fn into_mut(self, store: &mut impl AsStoreMut) -> FunctionEnvMut<T>
- | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 56 | pub fn into_mut(self, store: &mut impl AsStoreMut) -> FunctionEnvMut<'_, T>
- | +++
-
- Compiling wasmer-middlewares v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/middlewares)
- warning: `wasmer-compiler-cranelift` (lib) generated 13 warnings (run `cargo fix --lib -p wasmer-compiler-cranelift` to apply 6 suggestions)
- warning: `wasmer` (lib) generated 14 warnings (run `cargo fix --lib -p wasmer` to apply 4 suggestions)
- Compiling wasmer-wasi v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/wasi)
- warning: unnecessary parentheses around type
- --> lib/wasi/src/runtime.rs:49:23
- |
- 49 | fn bus(&self) -> &(dyn VirtualBus);
- | ^ ^
- |
- = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
- help: remove these parentheses
- |
- 49 - fn bus(&self) -> &(dyn VirtualBus);
- 49 + fn bus(&self) -> &dyn VirtualBus;
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/runtime.rs:53:30
- |
- 53 | fn networking(&self) -> &(dyn VirtualNetworking);
- | ^ ^
- |
- help: remove these parentheses
- |
- 53 - fn networking(&self) -> &(dyn VirtualNetworking);
- 53 + fn networking(&self) -> &dyn VirtualNetworking;
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/runtime.rs:140:23
- |
- 140 | fn bus(&self) -> &(dyn VirtualBus) {
- | ^ ^
- |
- help: remove these parentheses
- |
- 140 - fn bus(&self) -> &(dyn VirtualBus) {
- 140 + fn bus(&self) -> &dyn VirtualBus {
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/runtime.rs:144:30
- |
- 144 | fn networking(&self) -> &(dyn VirtualNetworking) {
- | ^ ^
- |
- help: remove these parentheses
- |
- 144 - fn networking(&self) -> &(dyn VirtualNetworking) {
- 144 + fn networking(&self) -> &dyn VirtualNetworking {
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/state/socket.rs:163:15
- |
- 163 | net: &(dyn VirtualNetworking),
- | ^ ^
- |
- help: remove these parentheses
- |
- 163 - net: &(dyn VirtualNetworking),
- 163 + net: &dyn VirtualNetworking,
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/state/socket.rs:215:15
- |
- 215 | net: &(dyn VirtualNetworking),
- | ^ ^
- |
- help: remove these parentheses
- |
- 215 - net: &(dyn VirtualNetworking),
- 215 + net: &dyn VirtualNetworking,
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/state/socket.rs:281:15
- |
- 281 | net: &(dyn VirtualNetworking),
- | ^ ^
- |
- help: remove these parentheses
- |
- 281 - net: &(dyn VirtualNetworking),
- 281 + net: &dyn VirtualNetworking,
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/lib.rs:243:31
- |
- 243 | pub fn runtime(&self) -> &(dyn WasiRuntimeImplementation) {
- | ^ ^
- |
- help: remove these parentheses
- |
- 243 - pub fn runtime(&self) -> &(dyn WasiRuntimeImplementation) {
- 243 + pub fn runtime(&self) -> &dyn WasiRuntimeImplementation {
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/lib.rs:320:27
- |
- 320 | pub fn net(&self) -> &(dyn VirtualNetworking) {
- | ^ ^
- |
- help: remove these parentheses
- |
- 320 - pub fn net(&self) -> &(dyn VirtualNetworking) {
- 320 + pub fn net(&self) -> &dyn VirtualNetworking {
- |
-
- warning: unnecessary parentheses around type
- --> lib/wasi/src/lib.rs:325:27
- |
- 325 | pub fn bus(&self) -> &(dyn VirtualBus) {
- | ^ ^
- |
- help: remove these parentheses
- |
- 325 - pub fn bus(&self) -> &(dyn VirtualBus) {
- 325 + pub fn bus(&self) -> &dyn VirtualBus {
- |
-
- warning: variable does not need to be mutable
- --> lib/compiler-singlepass/src/codegen.rs:2981:21
- |
- 2981 | let mut frame = &mut self.control_stack.last_mut().unwrap();
- | ----^^^^^
- | |
- | help: remove this `mut`
- |
- = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
-
- warning: multiple fields are never read
- --> lib/compiler-singlepass/src/common_decl.rs:40:9
- |
- 35 | pub struct MachineStateDiff {
- | ---------------- fields in this struct
- ...
- 40 | pub stack_push: Vec<MachineValue>,
- | ^^^^^^^^^^
- ...
- 43 | pub stack_pop: usize,
- | ^^^^^^^^^
- ...
- 46 | pub reg_diff: Vec<(RegisterIndex, MachineValue)>,
- | ^^^^^^^^
- ...
- 49 | pub prev_frame_diff: BTreeMap<usize, Option<MachineValue>>, // None for removal
- | ^^^^^^^^^^^^^^^
- ...
- 52 | pub wasm_stack_push: Vec<WasmAbstractValue>,
- | ^^^^^^^^^^^^^^^
- ...
- 55 | pub wasm_stack_pop: usize,
- | ^^^^^^^^^^^^^^
- ...
- 58 | pub wasm_inst_offset: usize, // absolute value; not a diff.
- | ^^^^^^^^^^^^^^^^
- |
- = note: `MachineStateDiff` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
- = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
-
- warning: fields `initial`, `locals`, `shadow_size`, `wasm_function_header_target_offset`, and `loop_offsets` are never read
- --> lib/compiler-singlepass/src/common_decl.rs:88:9
- |
- 86 | pub struct FunctionStateMap {
- | ---------------- fields in this struct
- 87 | /// Initial.
- 88 | pub initial: MachineState,
- | ^^^^^^^
- ...
- 92 | pub locals: Vec<WasmAbstractValue>,
- | ^^^^^^
- 93 | /// Shadow size.
- 94 | pub shadow_size: usize, // for single-pass backend, 32 bytes on x86-64
- | ^^^^^^^^^^^
- ...
- 98 | pub wasm_function_header_target_offset: Option<SuspendOffset>,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...
- 102 | pub loop_offsets: BTreeMap<usize, OffsetInfo>, /* suspend_offset -> info */
- | ^^^^^^^^^^^^
- |
- = note: `FunctionStateMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
-
- warning: field `0` is never read
- --> lib/compiler-singlepass/src/common_decl.rs:123:10
- |
- 123 | Call(usize),
- | ---- ^^^^^
- | |
- | field in this variant
- |
- = note: `SuspendOffset` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
- help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
- |
- 123 - Call(usize),
- 123 + Call(()),
- |
-
- warning: field `0` is never read
- --> lib/compiler-singlepass/src/common_decl.rs:125:15
- |
- 125 | Trappable(usize),
- | --------- ^^^^^
- | |
- | field in this variant
- |
- = note: `SuspendOffset` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
- help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
- |
- 125 - Trappable(usize),
- 125 + Trappable(()),
- |
-
- warning: fields `end_offset`, `diff_id`, and `activate_offset` are never read
- --> lib/compiler-singlepass/src/common_decl.rs:132:9
- |
- 130 | pub struct OffsetInfo {
- | ---------- fields in this struct
- 131 | /// Exclusive range-end offset.
- 132 | pub end_offset: usize,
- | ^^^^^^^^^^
- 133 | /// Index pointing to the `MachineStateDiff` entry.
- 134 | pub diff_id: usize,
- | ^^^^^^^
- 135 | /// Offset at which execution can be continued.
- 136 | pub activate_offset: usize,
- | ^^^^^^^^^^^^^^^
- |
- = note: `OffsetInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
-
- warning: multiple methods are never used
- --> lib/compiler-singlepass/src/emitter_arm64.rs:91:8
- |
- 88 | pub trait EmitterARM64 {
- | ------------ methods in this trait
- ...
- 91 | fn get_jmp_instr_size(&self) -> u8;
- | ^^^^^^^^^^^^^^^^^^
- ...
- 111 | fn emit_strdb(
- | ^^^^^^^^^^
- ...
- 125 | fn emit_ldria(
- | ^^^^^^^^^^
- ...
- 160 | fn emit_movz(&mut self, reg: Location, val: u32) -> Result<(), CodegenError>;
- | ^^^^^^^^^
- 161 | fn emit_movk(&mut self, reg: Location, val: u32, shift: u32) -> Result<(), CodegenError>;
- | ^^^^^^^^^
- ...
- 193 | fn emit_subs(
- | ^^^^^^^^^
- ...
- 307 | fn emit_uxtb(&mut self, sz: Size, src: Location, dst: Location) -> Result<(), CodegenError>;
- | ^^^^^^^^^
- 308 | fn emit_uxth(&mut self, sz: Size, src: Location, dst: Location) -> Result<(), CodegenError>;
- | ^^^^^^^^^
- ...
- 311 | fn emit_csetm(&mut self, sz: Size, dst: Location, cond: Condition) -> Result<(), CodegenError>;
- | ^^^^^^^^^^
- 312 | fn emit_cinc(
- | ^^^^^^^^^
- ...
- 340 | fn emit_tbnz_label(
- | ^^^^^^^^^^^^^^^
- ...
- 360 | fn emit_brk(&mut self) -> Result<(), CodegenError>;
- | ^^^^^^^^
-
- warning: multiple methods are never used
- --> lib/compiler-singlepass/src/emitter_x64.rs:75:8
- |
- 65 | pub trait EmitterX64 {
- | ---------- methods in this trait
- ...
- 75 | fn emit_u64(&mut self, x: u64) -> Result<(), CodegenError>;
- | ^^^^^^^^
- ...
- 80 | fn emit_nop(&mut self) -> Result<(), CodegenError>;
- | ^^^^^^^^
- ...
- 111 | fn emit_test(&mut self, sz: Size, src: Location, dst: Location) -> Result<(), CodegenError>;
- | ^^^^^^^^^
- ...
- 148 | fn emit_cmovae_gpr_32(&mut self, src: GPR, dst: GPR) -> Result<(), CodegenError>;
- | ^^^^^^^^^^^^^^^^^^
- ...
- 220 | fn emit_vcmpordss(
- | ^^^^^^^^^^^^^^
- ...
- 226 | fn emit_vcmpordsd(
- | ^^^^^^^^^^^^^^
- ...
- 348 | fn emit_ud2(&mut self) -> Result<(), CodegenError>;
- | ^^^^^^^^
- ...
- 356 | fn emit_bkpt(&mut self) -> Result<(), CodegenError>;
- | ^^^^^^^^^
- ...
- 462 | fn arch_emit_entry_trampoline(&mut self) -> Result<(), CodegenError> {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...
- 468 | fn arch_mov64_imm_offset(&self) -> Result<usize, CodegenError> {
- | ^^^^^^^^^^^^^^^^^^^^^
-
- warning: methods `is_callee_save` and `is_reserved` are never used
- --> lib/compiler-singlepass/src/location.rs:42:8
- |
- 41 | pub trait Reg: Copy + Clone + Eq + PartialEq + Debug + Hash + Ord {
- | --- methods in this trait
- 42 | fn is_callee_save(self) -> bool;
- | ^^^^^^^^^^^^^^
- 43 | fn is_reserved(self) -> bool;
- | ^^^^^^^^^^^
-
- warning: trait `Descriptor` is never used
- --> lib/compiler-singlepass/src/location.rs:50:11
- |
- 50 | pub trait Descriptor<R: Reg, S: Reg> {
- | ^^^^^^^^^^
-
- warning: trait `CombinedRegister` is never used
- --> lib/compiler-singlepass/src/location.rs:68:11
- |
- 68 | pub trait CombinedRegister: Copy + Clone + Eq + PartialEq + Debug {
- | ^^^^^^^^^^^^^^^^
-
- warning: trait `MaybeImmediate` is never used
- --> lib/compiler-singlepass/src/machine.rs:40:11
- |
- 40 | pub trait MaybeImmediate {
- | ^^^^^^^^^^^^^^
-
- warning: multiple methods are never used
- --> lib/compiler-singlepass/src/machine.rs:119:8
- |
- 59 | pub trait Machine {
- | ------- methods in this trait
- ...
- 119 | fn mark_address_with_trap_code(&mut self, code: TrapCode);
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...
- 284 | fn emit_call_label(&mut self, label: Label) -> Result<(), CodegenError>;
- | ^^^^^^^^^^^^^^^
- ...
- 303 | fn emit_debug_breakpoint(&mut self) -> Result<(), CodegenError>;
- | ^^^^^^^^^^^^^^^^^^^^^
- ...
- 307 | fn location_address(
- | ^^^^^^^^^^^^^^^^
- ...
- 315 | fn location_and(
- | ^^^^^^^^^^^^
- ...
- 348 | fn location_sub(
- | ^^^^^^^^^^^^
- ...
- 373 | fn location_test(
- | ^^^^^^^^^^^^^
- ...
- 390 | fn jmp_on_above(&mut self, label: Label) -> Result<(), CodegenError>;
- | ^^^^^^^^^^^^
- ...
- 399 | fn jmp_on_overflow(&mut self, label: Label) -> Result<(), CodegenError>;
- | ^^^^^^^^^^^^^^^
-
- warning: struct `FallbackFileSystem` is never constructed
- --> lib/wasi/src/state/mod.rs:356:12
- |
- 356 | pub struct FallbackFileSystem;
- | ^^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
-
- warning: associated function `fail` is never used
- --> lib/wasi/src/state/mod.rs:359:8
- |
- 358 | impl FallbackFileSystem {
- | ----------------------- associated function in this implementation
- 359 | fn fail() -> ! {
- | ^^^^
-
- warning: trait `WasiPath` is never used
- --> lib/wasi/src/state/types.rs:376:11
- |
- 376 | pub trait WasiPath {}
- | ^^^^^^^^
-
- warning: eliding a lifetime that's named elsewhere is confusing
- --> lib/wasi/src/lib.rs:357:27
- |
- 354 | &'a self,
- | -- the lifetime is named here
- 355 | store: &'a impl AsStoreRef,
- | -- the lifetime is named here
- 356 | _mem_index: u32,
- 357 | ) -> (MemoryView<'a>, &WasiState) {
- | -- ^^^^^^^^^^ the same lifetime is elided here
- | |
- | the same lifetime is named here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
- help: consistently use `'a`
- |
- 357 | ) -> (MemoryView<'a>, &'a WasiState) {
- | ++
-
- warning: hiding or eliding a lifetime that's named elsewhere is confusing
- --> lib/wasi/src/lib.rs:367:27
- |
- 364 | &'a self,
- | -- the lifetime is named here
- 365 | store: &'a impl AsStoreRef,
- | -- the lifetime is named here
- 366 | _mem_index: u32,
- 367 | ) -> (MemoryView<'a>, &WasiState, RwLockReadGuard<WasiInodes>) {
- | -- ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | | |
- | | the same lifetime is elided here
- | the same lifetime is named here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: consistently use `'a`
- |
- 367 | ) -> (MemoryView<'a>, &'a WasiState, RwLockReadGuard<'a, WasiInodes>) {
- | ++ +++
-
- warning: hiding or eliding a lifetime that's named elsewhere is confusing
- --> lib/wasi/src/lib.rs:378:27
- |
- 375 | &'a self,
- | -- the lifetime is named here
- 376 | store: &'a impl AsStoreRef,
- | -- the lifetime is named here
- 377 | _mem_index: u32,
- 378 | ) -> (MemoryView<'a>, &WasiState, RwLockWriteGuard<WasiInodes>) {
- | -- ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | | |
- | | the same lifetime is elided here
- | the same lifetime is named here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: consistently use `'a`
- |
- 378 | ) -> (MemoryView<'a>, &'a WasiState, RwLockWriteGuard<'a, WasiInodes>) {
- | ++ +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/wasi/src/state/mod.rs:91:17
- |
- 91 | pub fn read(&self) -> RwLockReadGuard<Kind> {
- | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 91 | pub fn read(&self) -> RwLockReadGuard<'_, Kind> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/wasi/src/state/mod.rs:95:18
- |
- 95 | pub fn write(&self) -> RwLockWriteGuard<Kind> {
- | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- | |
- | the lifetime is elided here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 95 | pub fn write(&self) -> RwLockWriteGuard<'_, Kind> {
- | +++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/wasi/src/state/mod.rs:240:9
- |
- 240 | &self,
- | ^^^^^ the lifetime is elided here
- 241 | fd_map: &RwLock<HashMap<u32, Fd>>,
- 242 | ) -> Result<InodeValFileReadGuard, FsError> {
- | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 242 | ) -> Result<InodeValFileReadGuard<'_>, FsError> {
- | ++++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/wasi/src/state/mod.rs:247:9
- |
- 247 | &self,
- | ^^^^^ the lifetime is elided here
- 248 | fd_map: &RwLock<HashMap<u32, Fd>>,
- 249 | ) -> Result<InodeValFileWriteGuard, FsError> {
- | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 249 | ) -> Result<InodeValFileWriteGuard<'_>, FsError> {
- | ++++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/wasi/src/state/mod.rs:255:9
- |
- 255 | &self,
- | ^^^^^ the lifetime is elided here
- 256 | fd_map: &RwLock<HashMap<u32, Fd>>,
- 257 | ) -> Result<InodeValFileReadGuard, FsError> {
- | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 257 | ) -> Result<InodeValFileReadGuard<'_>, FsError> {
- | ++++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/wasi/src/state/mod.rs:262:9
- |
- 262 | &self,
- | ^^^^^ the lifetime is elided here
- 263 | fd_map: &RwLock<HashMap<u32, Fd>>,
- 264 | ) -> Result<InodeValFileWriteGuard, FsError> {
- | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 264 | ) -> Result<InodeValFileWriteGuard<'_>, FsError> {
- | ++++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/wasi/src/state/mod.rs:270:9
- |
- 270 | &self,
- | ^^^^^ the lifetime is elided here
- 271 | fd_map: &RwLock<HashMap<u32, Fd>>,
- 272 | ) -> Result<InodeValFileReadGuard, FsError> {
- | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 272 | ) -> Result<InodeValFileReadGuard<'_>, FsError> {
- | ++++
-
- warning: hiding a lifetime that's elided elsewhere is confusing
- --> lib/wasi/src/state/mod.rs:277:9
- |
- 277 | &self,
- | ^^^^^ the lifetime is elided here
- 278 | fd_map: &RwLock<HashMap<u32, Fd>>,
- 279 | ) -> Result<InodeValFileWriteGuard, FsError> {
- | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
- |
- = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
- help: use `'_` for type paths
- |
- 279 | ) -> Result<InodeValFileWriteGuard<'_>, FsError> {
- | ++++
-
- warning: `wasmer-compiler-singlepass` (lib) generated 14 warnings (run `cargo fix --lib -p wasmer-compiler-singlepass` to apply 1 suggestion)
- warning: `wasmer-wasi` (lib) generated 24 warnings (run `cargo fix --lib -p wasmer-wasi` to apply 21 suggestions)
- warning: unexpected `cfg` condition value: `dylib`
- --> lib/c-api/src/wasm_c_api/engine.rs:255:59
- |
- 255 | #[cfg(all(feature = "compiler", any(feature = "compiler", feature = "dylib")))]
- | ^^^^^^^^^^^^^^^^^
- |
- = note: expected values for `feature` are: `compiler`, `compiler-headless`, `cranelift`, `default`, `jit`, `llvm`, `middlewares`, `singlepass`, `static-artifact-create`, `static-artifact-load`, `typetag`, `wasi`, `wasmer-artifact-create`, `wasmer-artifact-load`, `wasmer-compiler-cranelift`, `wasmer-compiler-llvm`, `wasmer-compiler-singlepass`, `wasmer-emscripten`, `wasmer-middlewares`, `wasmer-wasi`, and `wat`
- = help: consider adding `dylib` as a feature in `Cargo.toml`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
- = note: `#[warn(unexpected_cfgs)]` on by default
-
- warning: unexpected `cfg` condition name: `__cbindgen_hack__`
- --> lib/c-api/src/wasm_c_api/unstable/wasi.rs:59:7
- |
- 59 | #[cfg(__cbindgen_hack__ = "yes")]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
- = help: consider using a Cargo feature instead
- = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
- [lints.rust]
- unexpected_cfgs = { level = "warn", check-cfg = ['cfg(__cbindgen_hack__, values("yes"))'] }
- = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(__cbindgen_hack__, values(\"yes\"))");` to the top of the `build.rs`
- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
-
- warning: `wasmer-c-api` (lib) generated 2 warnings
- Finished `release` profile [optimized] target(s) in 8m 34s
Processing 5/6: [libwasmer: make package-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "package-capi" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta)
- -----------
- INFORMATION
- -----------
-
- bash: line 1: rustup: command not found
- Host Target: ``.
- Enabled Compilers: cranelift, singlepass.
- Testing the following compilers & engines:
- * API: cranelift-universal singlepass-universal,
- * C-API: cranelift-universal.
- Cargo features:
- * Compilers: `--features cranelift,singlepass,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load`.
- Rust version: rustc 1.91.1 (ed61e7d7e 2025-11-07) (built from a source tarball).
- bash: line 1: node: command not found
- NodeJS version: .
-
-
- --------------
- RULE EXECUTION
- --------------
-
-
- mkdir -p "package/include"
- mkdir -p "package/lib"
- cp lib/c-api/wasmer.h* package/include
- cp lib/c-api/wasmer_wasm.h* package/include
- cp lib/c-api/wasm.h* package/include
- cp lib/c-api/README.md package/include/README.md
- if [ -f target/release/wasmer.dll ]; then \
- cp target/release/wasmer.dll package/lib/wasmer.dll ;\
- fi
- if [ -f target/release/wasmer.lib ]; then \
- cp target/release/wasmer.lib package/lib/wasmer.lib ;\
- fi
- if [ -f target/release/libwasmer.dylib ]; then \
- cp target/release/libwasmer.dylib package/lib/libwasmer.dylib ;\
- fi
- if [ -f target/release/libwasmer.so ]; then \
- cp target/release/libwasmer.so package/lib/libwasmer.so ;\
- fi
- if [ -f target/release/libwasmer.a ]; then \
- cp target/release/libwasmer.a package/lib/libwasmer.a ;\
- fi
-> compiled libwasmer.3.0.0~beta
-> installed libwasmer.3.0.0~beta
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-21 10:29.29 ---> saved as "105a3ca632c979dcdafc459133ae9f706acc610c349864cd8af22f295ca44964"
Job succeeded