wasmtime-jit 17.0.3

JIT-style execution for WebAsssembly code in Cranelift
Documentation
Build #1187510 2024-04-11T20:55:11.917403+00:00
# rustc version
rustc 1.79.0-nightly (aa067fb98 2024-04-10)# docs.rs version
docsrs 0.6.0 (5a34f74a 2024-04-10)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/wasmtime-jit-17.0.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/wasmtime-jit-17.0.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240410-1.79.0-nightly-aa067fb98\", \"--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}/x86_64-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] 2476d622ce86f044d4e6d3c20b1a3533965f3261bac8d9f9136207dcfdc018cc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2476d622ce86f044d4e6d3c20b1a3533965f3261bac8d9f9136207dcfdc018cc", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking cranelift-entity v0.104.3
[INFO] [stderr]    Compiling wasmtime-runtime v17.0.3
[INFO] [stderr]     Checking sptr v0.3.2
[INFO] [stderr]     Checking wasmtime-wmemcheck v17.0.3
[INFO] [stderr]     Checking wasmtime-jit-icache-coherence v17.0.3
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: GNU compiler is not supported for this target
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int]
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:    77 | __declspec(dllexport)
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:       | ^~~~~~~~~~
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c: In function '__declspec':
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:87:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:    87 |     void __jit_debug_register_code() {
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:       |                                      ^
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:93:1: warning: empty declaration
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:    93 | struct JITDescriptor {
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:       | ^~~~~~
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:102:1: error: expected declaration specifiers before '__declspec'
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:   102 | __declspec(dllexport)
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:       | ^~~~~~~~~~
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:109:69: error: expected declaration specifiers before ';' token
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:   109 |     struct JITDescriptor __jit_debug_descriptor = {1, 0, NULL, NULL};
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:       |                                                                     ^
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:111:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:   111 | struct JITDescriptor *VERSIONED_SYMBOL(wasmtime_jit_debug_descriptor)() {
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:       |                                                                         ^
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:77:1: warning: type of 'dllexport' defaults to 'int' [-Wimplicit-int]
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:    77 | __declspec(dllexport)
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:       | ^~~~~~~~~~
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:114: error: expected '{' at end of input
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:77:1: warning: unused parameter 'dllexport' [-Wunused-parameter]
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:    77 | __declspec(dllexport)
[INFO] [stderr] warning: wasmtime-runtime@17.0.3:       | ^~~~~~~~~~
[INFO] [stderr] warning: wasmtime-runtime@17.0.3: src/helpers.c:114: warning: control reaches end of non-void function [-Wreturn-type]
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `wasmtime-runtime v17.0.3`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/wasmtime-runtime-9654aed308d79647/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-changed=build.rs
[INFO] [stderr]   cargo:rerun-if-changed=src/helpers.c
[INFO] [stderr]   TARGET = Some("x86_64-pc-windows-msvc")
[INFO] [stderr]   OPT_LEVEL = Some("0")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
[INFO] [stderr]   CC_x86_64_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]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[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("cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3")
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
[INFO] [stderr]   CFLAGS_x86_64_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/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/helpers.c: In function '__declspec':
[INFO] [stderr]   cargo:warning=src/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/helpers.c:93:1: warning: empty declaration
[INFO] [stderr]   cargo:warning=   93 | struct JITDescriptor {
[INFO] [stderr]   cargo:warning=      | ^~~~~~
[INFO] [stderr]   cargo:warning=src/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/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/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/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/helpers.c:114: error: expected '{' at end of input
[INFO] [stderr]   cargo:warning=src/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/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" "-m64" "-Wall" "-Wextra" "-DCFG_TARGET_OS_windows" "-DCFG_TARGET_ARCH_x86_64" "-DVERSIONED_SUFFIX=_17_0_3" "-o" "/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/wasmtime-runtime-0b82a21f1e5f527a/out/2e40c9e35e9506f4-helpers.o" "-c" "src/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" "2476d622ce86f044d4e6d3c20b1a3533965f3261bac8d9f9136207dcfdc018cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2476d622ce86f044d4e6d3c20b1a3533965f3261bac8d9f9136207dcfdc018cc", kill_on_drop: false }`
[INFO] [stdout] 2476d622ce86f044d4e6d3c20b1a3533965f3261bac8d9f9136207dcfdc018cc