Building on doris.caelum.ci.dev
(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
27312a70d934: Pulling fs layer
27312a70d934: Verifying Checksum
27312a70d934: Download complete
27312a70d934: Pull complete
Digest: sha256:d03f1d3d5516a04cb238c890ee24c265c842b392ad1d3f7f1213ae180926dfc1
Status: Downloaded newer image for ocaml/opam:debian-unstable
2025-11-12 10:48.25 ---> 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"))
2025-11-12 10:48.25 ---> 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 e4e631bfa1de346c5c18d3bb460fd03366bcb0e6"))
2025-11-12 10:48.25 ---> using "6f889e36a277629f9f71a80b27336fd916593b91f2202cf84b843c76010b5a11" 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.
2025-11-12 10:48.25 ---> using "3be048844c6cb51df1a68819dc1bbb8ff1c831955fd05a423fa4629bd3de1bfc" 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 [176 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-2025-11-12-0810.48-F-2025-11-08-0809.16.pdiff [267 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-11-12-0810.48-F-2025-11-08-0809.16.pdiff [267 kB]
Fetched 507 kB in 2s (336 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
25 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: 25
Download size: 1756 kB
Space needed: 5330 kB / 264 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-2 [877 kB]
Fetched 1756 kB in 0s (17.7 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 ... 20804 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-2_all.deb ...
Unpacking automake (1:1.18.1-2) ...
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-2) ...
update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode
2025-11-12 10:48.25 ---> using "277cadd498f2625ca878ea86beeb913872ebbd6dbbd1f07c19512639b6583a69" from cache
/: (run (network host)
(shell "git clone -q 'https://github.com/oxcaml/opam-repository' ~/'oxcaml' && git -C ~/'oxcaml' checkout -q a1ea0d33dd5662b89183f751c3fec566d7860b75"))
2025-11-12 10:48.25 ---> using "fce964cfbb8ec4ed6cd042c743e2bef38f67d1eaccc111bc2a12054d7401efc5" from cache
/: (run (shell "opam repository add --dont-select 'oxcaml' ~/'oxcaml'"))
[oxcaml] Initialised
2025-11-12 10:48.25 ---> using "4c32f7f36d2d8f67a0d818f157e94ab14e93aaf7ca1338ed5b22bd45f911bb06" 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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3 (cached)
-> 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-variants.5.2.0+ox (https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-19-opam.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)
2025-11-12 10:48.25 ---> using "319d64188ef8cdaf1e291ebb44a207e538b905beeb42b3b71a316988736a398b" 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...
2025-11-12 10:48.25 ---> using "31a34e465cdc98ad3ea9bb85e99555ab13c78e4ac54f0da9ca97aaaee955511b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam remove -y wasmer.1.2.1\
\nopam install -vy wasmer.1.2.1\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: wasmer.1.2.1 | 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"))
Nothing to do.
[NOTE] wasmer.1.2.1 is not installed.
The following actions will be performed:
=== install 13 packages
- install bigarray-compat 1.1.0 [required by ctypes]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by ctypes-foreign]
- install conf-rust-2021 1 [required by libwasmer]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.23.0+ox [required by wasmer]
- install ctypes-foreign 0.23.0+ox [required by wasmer]
- install dune 3.20.2+ox [required by wasmer]
- install dune-configurator 3.20.2 [required by ctypes, ctypes-foreign]
- install integers 0.7.0 [required by ctypes]
- install libwasmer 3.0.0~beta [required by wasmer]
- install stdlib-shims 0.3.0 [required by integers]
- install wasmer 1.2.1
The following system packages will first need to be installed:
cargo libffi-dev pkg-config
<><> 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" "libffi-dev" "pkg-config"
- Selecting previously unselected package libhttp-parser2.9: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 ... 21125 files and directories currently installed.)
- Preparing to unpack .../00-libhttp-parser2.9_2.9.4-6+b2_amd64.deb ...
- Unpacking libhttp-parser2.9:amd64 (2.9.4-6+b2) ...
- Selecting previously unselected package libmbedcrypto16:amd64.
- Preparing to unpack .../01-libmbedcrypto16_3.6.4-2_amd64.deb ...
- Unpacking libmbedcrypto16:amd64 (3.6.4-2) ...
- Selecting previously unselected package libmbedx509-7:amd64.
- Preparing to unpack .../02-libmbedx509-7_3.6.4-2_amd64.deb ...
- Unpacking libmbedx509-7:amd64 (3.6.4-2) ...
- Selecting previously unselected package libmbedtls21:amd64.
- Preparing to unpack .../03-libmbedtls21_3.6.4-2_amd64.deb ...
- Unpacking libmbedtls21:amd64 (3.6.4-2) ...
- Selecting previously unselected package libgit2-1.9:amd64.
- Preparing to unpack .../04-libgit2-1.9_1.9.1+ds-1_amd64.deb ...
- Unpacking libgit2-1.9:amd64 (1.9.1+ds-1) ...
- Selecting previously unselected package libxml2-16:amd64.
- Preparing to unpack .../05-libxml2-16_2.15.1+dfsg-0.3_amd64.deb ...
- Unpacking libxml2-16:amd64 (2.15.1+dfsg-0.3) ...
- Selecting previously unselected package libz3-4:amd64.
- Preparing to unpack .../06-libz3-4_4.13.3-1_amd64.deb ...
- Unpacking libz3-4:amd64 (4.13.3-1) ...
- Selecting previously unselected package libllvm19:amd64.
- Preparing to unpack .../07-libllvm19_1%3a19.1.7-10.1_amd64.deb ...
- Unpacking libllvm19:amd64 (1:19.1.7-10.1) ...
- Selecting previously unselected package libstd-rust-1.90:amd64.
- Preparing to unpack .../08-libstd-rust-1.90_1.90.0+dfsg1-1_amd64.deb ...
- Unpacking libstd-rust-1.90:amd64 (1.90.0+dfsg1-1) ...
- Selecting previously unselected package libstd-rust-dev:amd64.
- Preparing to unpack .../09-libstd-rust-dev_1.90.0+dfsg1-1_amd64.deb ...
- Unpacking libstd-rust-dev:amd64 (1.90.0+dfsg1-1) ...
- Selecting previously unselected package rustc.
- Preparing to unpack .../10-rustc_1.90.0+dfsg1-1_amd64.deb ...
- Unpacking rustc (1.90.0+dfsg1-1) ...
- Selecting previously unselected package cargo.
- Preparing to unpack .../11-cargo_1.90.0+dfsg1-1_amd64.deb ...
- Unpacking cargo (1.90.0+dfsg1-1) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../12-libffi-dev_3.5.2-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.5.2-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../13-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../14-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../15-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../16-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libxml2-16:amd64 (2.15.1+dfsg-0.3) ...
- Setting up libffi-dev:amd64 (3.5.2-2) ...
- Setting up libz3-4:amd64 (4.13.3-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libmbedcrypto16:amd64 (3.6.4-2) ...
- Setting up libhttp-parser2.9:amd64 (2.9.4-6+b2) ...
- Setting up libllvm19:amd64 (1:19.1.7-10.1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up libmbedx509-7:amd64 (3.6.4-2) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Setting up libmbedtls21:amd64 (3.6.4-2) ...
- Setting up libstd-rust-1.90:amd64 (1.90.0+dfsg1-1) ...
- Setting up libstd-rust-dev:amd64 (1.90.0+dfsg1-1) ...
- Setting up libgit2-1.9:amd64 (1.9.1+ds-1) ...
- Setting up rustc (1.90.0+dfsg1-1) ...
- Setting up cargo (1.90.0+dfsg1-1) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/37: [bigarray-compat.1.1.0: extract]
Processing 2/37: [bigarray-compat.1.1.0: extract]
Processing 3/37: [bigarray-compat.1.1.0: extract]
-> retrieved conf-rust-2021.1 (cached)
Processing 4/37: [bigarray-compat.1.1.0: extract]
Processing 5/37: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract]
Processing 6/37: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0+ox, ctypes-foreign.0.23.0+ox: extract]
Processing 7/37: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0+ox, ctypes-foreign.0.23.0+ox: extract] [conf-pkg-config: pkg-config]
Processing 8/37: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0+ox, ctypes-foreign.0.23.0+ox: extract] [conf-pkg-config: pkg-config] [conf-rust-2021: cargo]
-> retrieved bigarray-compat.1.1.0 (cached)
Processing 8/37: [csexp.1.5.2: extract] [ctypes.0.23.0+ox, ctypes-foreign.0.23.0+ox: extract] [conf-pkg-config: pkg-config] [conf-rust-2021: cargo]
Processing 9/37: [csexp.1.5.2: extract] [ctypes.0.23.0+ox, ctypes-foreign.0.23.0+ox: extract] [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [conf-pkg-config: pkg-config] [conf-rust-2021: cargo]
-> retrieved csexp.1.5.2 (cached)
Processing 9/37: [ctypes.0.23.0+ox, ctypes-foreign.0.23.0+ox: extract] [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [conf-pkg-config: pkg-config] [conf-rust-2021: cargo]
Processing 10/37: [ctypes.0.23.0+ox, ctypes-foreign.0.23.0+ox: extract] [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [integers.0.7.0: extract] [conf-pkg-config: pkg-config] [conf-rust-2021: cargo]
-> retrieved ctypes.0.23.0+ox, ctypes-foreign.0.23.0+ox (cached)
Processing 10/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [integers.0.7.0: extract] [conf-pkg-config: pkg-config] [conf-rust-2021: cargo]
Processing 11/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [integers.0.7.0: extract] [libwasmer.3.0.0~beta: extract] [conf-pkg-config: pkg-config] [conf-rust-2021: cargo]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/conf-pkg-config.4)
- usage: pkgconf [OPTIONS] [LIBRARIES]
-
- basic options:
-
- --help this message
- --about print pkgconf version and license to stdout
- --version print supported pkg-config version to stdout
- --atleast-pkgconfig-version check whether or not pkgconf is compatible
- with a specified pkg-config version
- --errors-to-stdout print all errors on stdout instead of stderr
- --print-errors ensure all errors are printed
- --short-errors be less verbose about some errors
- --silence-errors explicitly be silent about errors
- --list-all list all known packages
- --list-package-names list all known package names
- --simulate simulate walking the calculated dependency graph
- --no-cache do not cache already seen packages when
- walking the dependency graph
- --log-file=filename write an audit log to a specified file
- --with-path=path adds a directory to the search path
- --define-prefix override the prefix variable with one that is guessed based on
- the location of the .pc file
- --dont-define-prefix do not override the prefix variable under any circumstances
- --prefix-variable=varname sets the name of the variable that pkgconf considers
- to be the package prefix
- --relocate=path relocates a path and exits (mostly for testsuite)
- --dont-relocate-paths disables path relocation support
-
- cross-compilation personality support:
-
- --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename'
- --dump-personality dumps details concerning selected personality
-
- checking specific pkg-config database entries:
-
- --atleast-version require a specific version of a module
- --exact-version require an exact version of a module
- --max-version require a maximum version of a module
- --exists check whether or not a module exists
- --uninstalled check whether or not an uninstalled module will be used
- --no-uninstalled never use uninstalled modules when satisfying dependencies
- --no-provides do not use 'provides' rules to resolve dependencies
- --maximum-traverse-depth maximum allowed depth for dependency graph
- --static be more aggressive when computing dependency graph
- (for static linking)
- --shared use a simplified dependency graph (usually default)
- --pure optimize a static dependency graph as if it were a normal
- dependency graph
- --env-only look only for package entries in PKG_CONFIG_PATH
- --ignore-conflicts ignore 'conflicts' rules in modules
- --validate validate specific .pc files for correctness
-
- querying specific pkg-config database fields:
-
- --define-variable=varname=value define variable 'varname' as 'value'
- --variable=varname print specified variable entry to stdout
- --cflags print required CFLAGS to stdout
- --cflags-only-I print required include-dir CFLAGS to stdout
- --cflags-only-other print required non-include-dir CFLAGS to stdout
- --libs print required linker flags to stdout
- --libs-only-L print required LDPATH linker flags to stdout
- --libs-only-l print required LIBNAME linker flags to stdout
- --libs-only-other print required other linker flags to stdout
- --print-requires print required dependency frameworks to stdout
- --print-requires-private print required dependency frameworks for static
- linking to stdout
- --print-provides print provided dependencies to stdout
- --print-variables print all known variables in module to stdout
- --digraph print entire dependency graph in graphviz 'dot' format
- --keep-system-cflags keep -I/usr/include entries in cflags output
- --keep-system-libs keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output
- --path show the exact filenames for any matching .pc files
- --modversion print the specified module's version to stdout
- --internal-cflags do not filter 'internal' cflags from output
-
- filtering output:
-
- --msvc-syntax print translatable fragments in MSVC syntax
- --fragment-filter=types filter output fragments to the specified types
-
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled conf-pkg-config.4
Processing 11/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [integers.0.7.0: extract] [libwasmer.3.0.0~beta: extract] [conf-rust-2021: cargo]
-> installed conf-pkg-config.4
Processing 12/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [integers.0.7.0: extract] [libwasmer.3.0.0~beta: extract] [conf-rust-2021: cargo]
Processing 13/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [integers.0.7.0: extract] [libwasmer.3.0.0~beta: extract] [conf-libffi: pkg-config libffi] [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.90.0 (840b83a10 2025-07-30) (built from a source tarball)
Processing 13/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [integers.0.7.0: extract] [libwasmer.3.0.0~beta: extract] [conf-libffi: pkg-config libffi] [conf-rust-2021: rustc 2021]
-> retrieved integers.0.7.0 (cached)
Processing 13/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [libwasmer.3.0.0~beta: extract] [conf-libffi: pkg-config libffi] [conf-rust-2021: rustc 2021]
Processing 14/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [libwasmer.3.0.0~beta: extract] [stdlib-shims.0.3.0: extract] [conf-libffi: pkg-config libffi] [conf-rust-2021: rustc 2021]
-> retrieved stdlib-shims.0.3.0 (cached)
Processing 14/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [libwasmer.3.0.0~beta: extract] [conf-libffi: pkg-config libffi] [conf-rust-2021: rustc 2021]
Processing 15/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [libwasmer.3.0.0~beta: extract] [wasmer.1.2.1: extract] [conf-libffi: pkg-config libffi] [conf-rust-2021: rustc 2021]
-> retrieved wasmer.1.2.1 (cached)
Processing 15/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [libwasmer.3.0.0~beta: extract] [conf-libffi: pkg-config libffi] [conf-rust-2021: rustc 2021]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "libffi" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/conf-libffi.2.0.0)
-> compiled conf-libffi.2.0.0
Processing 15/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [libwasmer.3.0.0~beta: extract] [conf-rust-2021: rustc 2021]
-> installed conf-libffi.2.0.0
Processing 16/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [libwasmer.3.0.0~beta: extract] [conf-rust-2021: rustc 2021]
-> retrieved libwasmer.3.0.0~beta (cached)
Processing 16/37: [dune.3.20.2+ox, dune-configurator.3.20.2: extract] [conf-rust-2021: rustc 2021]
-> retrieved dune.3.20.2+ox, dune-configurator.3.20.2 (cached)
Processing 16/37: [conf-rust-2021: rustc 2021]
[dune: patch] applying oxcaml-dune.patch
Processing 17/37: [conf-rust-2021: rustc 2021] [dune: ocaml 255]
+ /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 17/37: [dune: ocaml 255]
-> installed conf-rust-2021.1
Processing 18/37: [dune: ocaml 255]
Processing 19/37: [dune: ocaml 255] [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 19/37: [dune: ocaml 255] [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 19/37: [dune: ocaml 255] [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 19/37: [dune: ocaml 255] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/dune.3.20.2+ox)
- ocamlc -output-complete-exe -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 255
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads stdune__Code_error.ml
- File "stdune__Code_error.ml", line 30, characters 2-27:
- 30 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads notty_unix.ml
- File "notty_unix.ml", line 38, characters 23-29:
- 38 | let old_hdl = Sys.(signal signum (Signal_handle (fun _ -> f ()))) in
- ^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.signal
- Use [Sys.Safe.signal].
-
- File "notty_unix.ml", line 39, characters 31-45:
- 39 | `Revert (once @@ fun () -> Sys.set_signal signum old_hdl)
- ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.set_signal
- Use [Sys.Safe.set_signal].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads stdune__User_error.ml
- File "stdune__User_error.ml", line 18, characters 2-27:
- 18 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads opamStd.ml
- File "opamStd.ml", line 960, characters 10-24:
- 960 | try Sys.set_signal 28 (* SIGWINCH *)
- ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.set_signal
- Use [Sys.Safe.set_signal].
-
- File "opamStd.ml", line 1409, characters 4-15:
- 1409 | Unix.putenv "HOME" dir;
- ^^^^^^^^^^^
- Alert unsafe_multidomain: Unix.putenv
- Mutating the environment makes reading the environment unsafe.
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Conv.ml
- File "dune_rpc_private__Conv.ml", line 49, characters 2-27:
- 49 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Where.ml
- File "dune_rpc_private__Where.ml", line 23, characters 2-27:
- 23 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads opamSystem.ml
- File "opamSystem.ml", line 1248, characters 2-27:
- 1248 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
- File "opamSystem.ml", line 1264, characters 6-20:
- 1264 | try Sys.set_signal Sys.sigpipe (Sys.Signal_handle (fun _ -> ()))
- ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.set_signal
- Use [Sys.Safe.set_signal].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Types.ml
- File "dune_rpc_private__Types.ml", line 155, characters 6-31:
- 155 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Registry.ml
- File "dune_rpc_private__Registry.ml", line 68, characters 4-29:
- 68 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Versioned.ml
- File "dune_rpc_private__Versioned.ml", line 24, characters 4-29:
- 24 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads memo.ml
- File "memo.ml", line 415, characters 2-27:
- 415 | Printexc.register_printer (fun exn ->
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private.ml
- File "dune_rpc_private.ml", line 202, characters 6-31:
- 202 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_server.ml
- File "dune_rpc_server.ml", line 15, characters 2-27:
- 15 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads opamPp.ml
- File "opamPp.ml", line 64, characters 9-34:
- 64 | let () = Printexc.register_printer @@ function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_engine__Scheduler.ml
- File "dune_engine__Scheduler.ml", line 55, characters 4-29:
- 55 | Printexc.register_printer (function
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
-
- File "dune_engine__Scheduler.ml", line 631, characters 6-20:
- 631 | Sys.set_signal
- ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Dune_engine__.Import.Sys.set_signal
- Use [Sys.Safe.set_signal].
-
*s
cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_tui.ml
- File "dune_tui.ml", line 15, characters 7-21:
- 15 | Sys.set_signal Sys.sigcont
- ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Dune_tui__.Import.Sys.set_signal
- Use [Sys.Safe.set_signal].
-
- File "dune_tui.ml", line 23, characters 12-22:
- 23 | (Sys.signal Sys.sigtstp
- ^^^^^^^^^^
- Alert unsafe_multidomain: Dune_tui__.Import.Sys.signal
- Use [Sys.Safe.signal].
-
Processing 19/37: [dune: ./_boot/dune.exe build] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/dune.3.20.2+ox)
-> compiled dune.3.20.2+ox
Processing 19/37: [libwasmer: make build-capi]
-> installed dune.3.20.2+ox
Processing 20/37: [libwasmer: make build-capi]
Processing 21/37: [bigarray-compat: dune build] [libwasmer: make build-capi]
Processing 22/37: [bigarray-compat: dune build] [csexp: dune build] [libwasmer: make build-capi]
Processing 23/37: [bigarray-compat: dune build] [csexp: dune build] [libwasmer: make build-capi] [stdlib-shims: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled stdlib-shims.0.3.0
Processing 23/37: [bigarray-compat: dune build] [csexp: dune build] [libwasmer: make build-capi]
-> installed stdlib-shims.0.3.0
Processing 24/37: [bigarray-compat: dune build] [csexp: dune build] [libwasmer: make build-capi]
Processing 25/37: [bigarray-compat: dune build] [csexp: dune build] [integers: dune build] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/bigarray-compat.1.1.0)
-> compiled bigarray-compat.1.1.0
Processing 25/37: [csexp: dune build] [integers: dune build] [libwasmer: make build-capi]
-> installed bigarray-compat.1.1.0
Processing 26/37: [csexp: dune build] [integers: dune build] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "255" "@install" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/csexp.1.5.2)
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.csexp.objs/byte -cmi-file src/.csexp.objs/byte/csexp.cmi -no-alias-deps -o src/.csexp.objs/byte/csexp.cmo -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 | [@@inlined always]
- ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -g -I src/.csexp.objs/byte -I src/.csexp.objs/native -cmi-file src/.csexp.objs/byte/csexp.cmi -no-alias-deps -o src/.csexp.objs/native/csexp.cmx -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 | [@@inlined always]
- ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
-> compiled csexp.1.5.2
Processing 26/37: [integers: dune build] [libwasmer: make build-capi]
-> installed csexp.1.5.2
Processing 27/37: [integers: dune build] [libwasmer: make build-capi]
Processing 28/37: [dune-configurator: rm] [integers: dune build] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "integers" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/integers.0.7.0)
-> compiled integers.0.7.0
Processing 28/37: [dune-configurator: rm] [libwasmer: make build-capi]
-> installed integers.0.7.0
Processing 29/37: [dune-configurator: rm] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/dune-configurator.3.20.2)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/dune-configurator.3.20.2)
Processing 29/37: [dune-configurator: dune build] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/dune-configurator.3.20.2)
-> compiled dune-configurator.3.20.2
Processing 29/37: [libwasmer: make build-capi]
-> installed dune-configurator.3.20.2
Processing 30/37: [libwasmer: make build-capi]
[ctypes: patch] applying bigarray.patch
Processing 31/37: [ctypes: dune build] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ctypes.0.23.0+ox)
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/ctypes/.ctypes.objs/byte -I /home/opam/.opam/5.2.0+flambda2/lib/bigarray-compat -I /home/opam/.opam/5.2.0+flambda2/lib/integers -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -cmi-file src/ctypes/.ctypes.objs/byte/ctypes_coerce.cmi -no-alias-deps -o src/ctypes/.ctypes.objs/byte/ctypes_coerce.cmo -c -impl src/ctypes/ctypes_coerce.ml)
- File "src/ctypes/ctypes_coerce.ml", line 31, characters 9-34:
- 31 | let () = Printexc.register_printer show_uncoercible
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -g -I src/ctypes/.ctypes.objs/byte -I src/ctypes/.ctypes.objs/native -I /home/opam/.opam/5.2.0+flambda2/lib/bigarray-compat -I /home/opam/.opam/5.2.0+flambda2/lib/integers -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -cmi-file src/ctypes/.ctypes.objs/byte/ctypes_coerce.cmi -no-alias-deps -o src/ctypes/.ctypes.objs/native/ctypes_coerce.cmx -c -impl src/ctypes/ctypes_coerce.ml)
- File "src/ctypes/ctypes_coerce.ml", line 31, characters 9-34:
- 31 | let () = Printexc.register_printer show_uncoercible
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -g -I src/ctypes-top/.ctypes_top.objs/byte -I src/ctypes-top/.ctypes_top.objs/native -I /home/opam/.opam/5.2.0+flambda2/lib/bigarray-compat -I /home/opam/.opam/5.2.0+flambda2/lib/integers -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -I src/ctypes/.ctypes.objs/byte -I src/ctypes/.ctypes.objs/native -cmi-file src/ctypes-top/.ctypes_top.objs/byte/ctypes_top__Install_ctypes_printers.cmi -no-alias-deps -open Ctypes_top -o src/ctypes-top/.ctypes_top.objs/native/ctypes_top__Install_ctypes_printers.cmx -c -impl src/ctypes-top/install_ctypes_printers.ml)
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
Processing 31/37: [ctypes: dune install] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ctypes.0.23.0+ox)
-> compiled ctypes.0.23.0+ox
Processing 31/37: [libwasmer: make build-capi]
-> installed ctypes.0.23.0+ox
Processing 32/37: [libwasmer: make build-capi]
[ctypes-foreign: patch] applying bigarray.patch
Processing 33/37: [ctypes-foreign: dune build] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes-foreign" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ctypes-foreign.0.23.0+ox)
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/ctypes-foreign/.ctypes_foreign.objs/byte -I src/ctypes-foreign/.ctypes_foreign.objs/public_cmi -I /home/opam/.opam/5.2.0+flambda2/lib/bigarray-compat -I /home/opam/.opam/5.2.0+flambda2/lib/ctypes -I /home/opam/.opam/5.2.0+flambda2/lib/integers -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/threads -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -no-alias-deps -o src/ctypes-foreign/.ctypes_foreign.objs/byte/ctypes_ffi_stubs.cmo -c -impl src/ctypes-foreign/ctypes_ffi_stubs.ml)
- File "src/ctypes-foreign/ctypes_ffi_stubs.ml", line 86, characters 9-36:
- 86 | let () = Callback.register_exception "FFI_internal_error"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
-
- File "src/ctypes-foreign/ctypes_ffi_stubs.ml", line 92, characters 9-36:
- 92 | let () = Callback.register_exception "CallToExpiredClosure"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -g -I src/ctypes-foreign/.ctypes_foreign.objs/byte -I src/ctypes-foreign/.ctypes_foreign.objs/native -I src/ctypes-foreign/.ctypes_foreign.objs/public_cmi -I /home/opam/.opam/5.2.0+flambda2/lib/bigarray-compat -I /home/opam/.opam/5.2.0+flambda2/lib/ctypes -I /home/opam/.opam/5.2.0+flambda2/lib/integers -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/threads -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -cmi-file src/ctypes-foreign/.ctypes_foreign.objs/byte/ctypes_ffi_stubs.cmi -no-alias-deps -o src/ctypes-foreign/.ctypes_foreign.objs/native/ctypes_ffi_stubs.cmx -c -impl src/ctypes-foreign/ctypes_ffi_stubs.ml)
- File "src/ctypes-foreign/ctypes_ffi_stubs.ml", line 86, characters 9-36:
- 86 | let () = Callback.register_exception "FFI_internal_error"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
-
- File "src/ctypes-foreign/ctypes_ffi_stubs.ml", line 92, characters 9-36:
- 92 | let () = Callback.register_exception "CallToExpiredClosure"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
Processing 33/37: [ctypes-foreign: dune install] [libwasmer: make build-capi]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes-foreign" "--create-install-files" "ctypes-foreign" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ctypes-foreign.0.23.0+ox)
-> compiled ctypes-foreign.0.23.0+ox
Processing 33/37: [libwasmer: make build-capi]
-> installed ctypes-foreign.0.23.0+ox
Processing 34/37: [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.90.0 (1159e78c4 2025-09-14) (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 memchr v2.5.0
- Compiling fnv v1.0.7
- Compiling ident_case v1.0.1
- Compiling bytecheck v0.6.9
- Compiling target-lexicon v0.12.4
- Compiling rend v0.3.6
- Compiling rkyv v0.7.39
- Compiling scopeguard v1.1.0
- Compiling stable_deref_trait v1.2.0
- Compiling fallible-iterator v0.2.0
- Compiling seahash v4.1.0
- Compiling log v0.4.17
- Compiling crc32fast v1.3.2
- Compiling cc v1.0.73
- Compiling more-asserts v0.2.2
- Compiling adler v1.0.2
- Compiling smallvec v1.9.0
- Compiling leb128 v0.2.5
- Compiling crossbeam-utils v0.8.11
- Compiling byteorder v1.4.3
- Compiling rustc-demangle v0.1.21
- Compiling serde_derive v1.0.142
- Compiling proc-macro-hack v0.5.19
- Compiling serde v1.0.142
- Compiling cranelift-isle v0.86.1
- Compiling lazy_static v1.4.0
- Compiling rayon-core v1.9.3
- Compiling wasmparser v0.83.0
- Compiling cranelift-codegen-shared v0.86.1
- Compiling pin-project-lite v0.2.9
- Compiling const_fn v0.4.9
- Compiling os_str_bytes v6.2.0
- Compiling unicode-width v0.1.9
- Compiling serde_json v1.0.83
- Compiling hashbrown v0.12.3
- Compiling cranelift-entity v0.86.1
- Compiling itoa v1.0.3
- Compiling strsim v0.10.0
- Compiling cbindgen v0.24.3
- Compiling remove_dir_all v0.5.3
- Compiling termcolor v1.1.3
- Compiling fastrand v1.8.0
- Compiling textwrap v0.15.0
- Compiling slice-group-by v0.3.0
- Compiling ryu v1.0.11
- Compiling heck v0.4.0
- Compiling either v1.7.0
- 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 cfg-if v0.1.10
- Compiling bytes v1.2.1
- Compiling paste v1.0.8
- Compiling tracing-core v0.1.29
- Compiling miniz_oxide v0.5.3
- Compiling generational-arena v0.2.8
- Compiling ahash v0.7.6
- Compiling proc-macro-error-attr v1.0.4
- Compiling proc-macro-error v1.0.4
- Compiling indexmap v1.9.1
- Compiling memoffset v0.6.5
- Compiling corosensei v0.1.3
- Compiling crossbeam-epoch v0.9.10
- Compiling standback v0.2.17
- Compiling rayon v1.5.3
- Compiling time v0.2.27
- Compiling wasm-encoder v0.15.0
- Compiling cranelift-codegen-meta v0.86.1
- Compiling fxhash v0.2.1
- Compiling clap_lex v0.2.4
- Compiling cranelift-bforest v0.86.1
- Compiling regalloc2 v0.3.2
- Compiling backtrace v0.3.66
- Compiling crossbeam-channel v0.5.6
- Compiling object v0.29.0
- 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 crossbeam-deque v0.8.2
- Compiling clap v3.2.16
- Compiling hashbrown v0.11.2
- Compiling cranelift-codegen v0.86.1
- Compiling gimli v0.26.2
- Compiling object v0.28.4
- Compiling darling_core v0.13.4
- Compiling thiserror-impl v1.0.32
- Compiling ptr_meta_derive v0.1.4
- 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 wat v1.0.47
- Compiling ptr_meta v0.1.4
- Compiling enum-iterator v0.7.0
- Compiling time-macros v0.1.1
- Compiling addr2line v0.17.0
- Compiling darling_macro v0.13.4
- Compiling thiserror v1.0.32
- Compiling tracing v0.1.36
- 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 darling v0.13.4
- 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 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-vm v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/vm)
- 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-wasi-types v3.0.0-beta (/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/libwasmer.3.0.0~beta/lib/wasi-types)
- Compiling dynasmrt v1.2.3
- 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
- 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)]` 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-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)]
- | _______________^
- 58 | | {
- 59 | | use std::fmt::Write;
- 60 | | let _ = write!(
- ... |
- 148 | | map_feature_as_c_define!("middlewares", MIDDLEWARES_FEATURE_AS_C_DEFINE, pre_header);
- 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)
-
- 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)]` 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
- warning: `wasmer-types` (lib) generated 14 warnings
- 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: `wasmer-c-api` (build script) generated 1 warning
- 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)]` 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: 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)]` 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: `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: 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)]` 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)]` 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)]` 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 2 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)]` 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)]` 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)]` 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)]` 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:354:10
- |
- 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:364:10
- |
- 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:375:10
- |
- 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 10 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 1m 09s
Processing 34/37: [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.90.0 (1159e78c4 2025-09-14) (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
Processing 36/37: [wasmer: mv lib-dune]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mv" "lib-dune" "lib/dune" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/wasmer.1.2.1)
Processing 36/37: [wasmer: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "wasmer" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/wasmer.1.2.1)
-> compiled wasmer.1.2.1
-> installed wasmer.1.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-12 10:50.08 ---> saved as "8cfd8f1b5437fbd2f515e978e831cb4136c860cfd827cfd637f73b6f1bd3874e"
Job succeeded