wasmtime-c-api-impl 24.0.2

C API to expose the Wasmtime runtime
Documentation
Build #1497836 2024-11-05T21:04:52.681597+00:00
# rustc version
rustc 1.84.0-nightly (fbab78289 2024-11-04)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/wasmtime-c-api-impl-24.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/wasmtime-c-api-impl-24.0.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241104-1.84.0-nightly-fbab78289\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ac0e0cd924cf9c76c5e776dd7dbffee1f0609e7a3133421646305e62908890ff
[INFO] running `Command { std: "docker" "start" "-a" "ac0e0cd924cf9c76c5e776dd7dbffee1f0609e7a3133421646305e62908890ff", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking cranelift-bitset v0.111.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking postcard v1.0.10
[INFO] [stderr]     Checking object v0.36.5
[INFO] [stderr]     Checking cranelift-entity v0.111.2
[INFO] [stderr]     Checking wasmtime-jit-icache-coherence v24.0.2
[INFO] [stderr]     Checking libm v0.2.11
[INFO] [stderr]    Compiling wasmtime v24.0.2
[INFO] [stderr] warning: wasmtime@24.0.2: GNU compiler is not supported for this target
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int]
[INFO] [stderr] warning: wasmtime@24.0.2:    77 | __declspec(dllexport)
[INFO] [stderr] warning: wasmtime@24.0.2:       | ^~~~~~~~~~
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c: In function '__declspec':
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:87:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
[INFO] [stderr] warning: wasmtime@24.0.2:    87 |     void __jit_debug_register_code() {
[INFO] [stderr] warning: wasmtime@24.0.2:       |                                      ^
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:93:1: warning: empty declaration
[INFO] [stderr] warning: wasmtime@24.0.2:    93 | struct JITDescriptor {
[INFO] [stderr] warning: wasmtime@24.0.2:       | ^~~~~~
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:102:1: error: expected declaration specifiers before '__declspec'
[INFO] [stderr] warning: wasmtime@24.0.2:   102 | __declspec(dllexport)
[INFO] [stderr] warning: wasmtime@24.0.2:       | ^~~~~~~~~~
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:109:69: error: expected declaration specifiers before ';' token
[INFO] [stderr] warning: wasmtime@24.0.2:   109 |     struct JITDescriptor __jit_debug_descriptor = {1, 0, NULL, NULL};
[INFO] [stderr] warning: wasmtime@24.0.2:       |                                                                     ^
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:111:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
[INFO] [stderr] warning: wasmtime@24.0.2:   111 | struct JITDescriptor *VERSIONED_SYMBOL(wasmtime_jit_debug_descriptor)() {
[INFO] [stderr] warning: wasmtime@24.0.2:       |                                                                         ^
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:77:1: warning: type of 'dllexport' defaults to 'int' [-Wimplicit-int]
[INFO] [stderr] warning: wasmtime@24.0.2:    77 | __declspec(dllexport)
[INFO] [stderr] warning: wasmtime@24.0.2:       | ^~~~~~~~~~
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:114: error: expected '{' at end of input
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:77:1: warning: unused parameter 'dllexport' [-Wunused-parameter]
[INFO] [stderr] warning: wasmtime@24.0.2:    77 | __declspec(dllexport)
[INFO] [stderr] warning: wasmtime@24.0.2:       | ^~~~~~~~~~
[INFO] [stderr] warning: wasmtime@24.0.2: src/runtime/vm/helpers.c:114: warning: control reaches end of non-void function [-Wreturn-type]
[INFO] [stderr] error: failed to run custom build command for `wasmtime v24.0.2`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/wasmtime-950d42cf2fe46e8d/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-changed=build.rs
[INFO] [stderr]   cargo:rustc-check-cfg=cfg(asan)
[INFO] [stderr]   cargo:rerun-if-changed=src/runtime/vm/helpers.c
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/i686-pc-windows-msvc/debug/build/wasmtime-71c78cf982751ff6/out)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   TARGET = Some(i686-pc-windows-msvc)
[INFO] [stderr]   cargo:rerun-if-env-changed=VCINSTALLDIR
[INFO] [stderr]   VCINSTALLDIR = None
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_i686-pc-windows-msvc
[INFO] [stderr]   CC_i686-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_i686_pc_windows_msvc
[INFO] [stderr]   CC_i686_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2)
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_i686-pc-windows-msvc
[INFO] [stderr]   CFLAGS_i686-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_i686_pc_windows_msvc
[INFO] [stderr]   CFLAGS_i686_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int]
[INFO] [stderr]   cargo:warning=   77 | __declspec(dllexport)
[INFO] [stderr]   cargo:warning=      | ^~~~~~~~~~
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c: In function '__declspec':
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:87:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
[INFO] [stderr]   cargo:warning=   87 |     void __jit_debug_register_code() {
[INFO] [stderr]   cargo:warning=      |                                      ^
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:93:1: warning: empty declaration
[INFO] [stderr]   cargo:warning=   93 | struct JITDescriptor {
[INFO] [stderr]   cargo:warning=      | ^~~~~~
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:102:1: error: expected declaration specifiers before '__declspec'
[INFO] [stderr]   cargo:warning=  102 | __declspec(dllexport)
[INFO] [stderr]   cargo:warning=      | ^~~~~~~~~~
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:109:69: error: expected declaration specifiers before ';' token
[INFO] [stderr]   cargo:warning=  109 |     struct JITDescriptor __jit_debug_descriptor = {1, 0, NULL, NULL};
[INFO] [stderr]   cargo:warning=      |                                                                     ^
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:111:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
[INFO] [stderr]   cargo:warning=  111 | struct JITDescriptor *VERSIONED_SYMBOL(wasmtime_jit_debug_descriptor)() {
[INFO] [stderr]   cargo:warning=      |                                                                         ^
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:77:1: warning: type of 'dllexport' defaults to 'int' [-Wimplicit-int]
[INFO] [stderr]   cargo:warning=   77 | __declspec(dllexport)
[INFO] [stderr]   cargo:warning=      | ^~~~~~~~~~
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:114: error: expected '{' at end of input
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:77:1: warning: unused parameter 'dllexport' [-Wunused-parameter]
[INFO] [stderr]   cargo:warning=   77 | __declspec(dllexport)
[INFO] [stderr]   cargo:warning=      | ^~~~~~~~~~
[INFO] [stderr]   cargo:warning=src/runtime/vm/helpers.c:114: warning: control reaches end of non-void function [-Wreturn-type]
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m32" "-Wall" "-Wextra" "-DCFG_TARGET_OS_windows" "-DCFG_TARGET_ARCH_x86" "-DVERSIONED_SUFFIX=_24_0_2" "-o" "/opt/rustwide/target/i686-pc-windows-msvc/debug/build/wasmtime-71c78cf982751ff6/out/07c0bb04dd2aaef1-helpers.o" "-c" "src/runtime/vm/helpers.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "ac0e0cd924cf9c76c5e776dd7dbffee1f0609e7a3133421646305e62908890ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac0e0cd924cf9c76c5e776dd7dbffee1f0609e7a3133421646305e62908890ff", kill_on_drop: false }`
[INFO] [stdout] ac0e0cd924cf9c76c5e776dd7dbffee1f0609e7a3133421646305e62908890ff