==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_e3985645-29a0-4492-bcd9-d149814341e1]...done ==> Making package: wasm-component-ld 0.5.4-1.1 (Thu Jul 4 10:38:24 2024) ==> Retrieving sources... -> Cloning wasm-component-ld git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v2/wasm-component-ld-0.5.4-1/wasm-component-ld'... ==> Validating source files with b2sums... wasm-component-ld ... Passed ==> Making package: wasm-component-ld 0.5.4-1.1 (Thu Jul 4 10:38:27 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libedit 20240517_3.1-1 0.27 MiB extra/llvm-libs 17.0.6-5 129.24 MiB extra/lld 17.0.6-1 5.58 MiB Total Installed Size: 135.09 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing lld... ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 2 providers available for cargo: :: Repository extra 1) rust 2) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Package (7) New Version Net Change core/expat 2.6.2-1 0.41 MiB extra/perl-error 0.17029-5 0.04 MiB extra/perl-mailtools 2.21-7 0.10 MiB extra/perl-timedate 2.33-5 0.08 MiB extra/git 2.45.2-1 27.79 MiB extra/rust 1:1.79.0-1 256.65 MiB extra/rust-wasm 1:1.79.0-1 190.01 MiB Total Installed Size: 475.08 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script installing expat... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing rust-wasm... :: Running post-transaction hooks... (1/1) Warn about old perl modules ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of wasm-component-ld git repo... Cloning into 'wasm-component-ld'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... Updating crates.io index Downloading crates ... Downloaded equivalent v1.0.1 Downloaded colorchoice v1.0.1 Downloaded is_terminal_polyfill v1.70.0 Downloaded wit-parser v0.210.0 Downloaded wat v1.210.0 Downloaded cfg-if v1.0.0 Downloaded version_check v0.9.4 Downloaded itoa v1.0.11 Downloaded leb128 v0.2.5 Downloaded id-arena v2.2.1 Downloaded wasm-metadata v0.210.0 Downloaded utf8parse v0.2.2 Downloaded anstyle-parse v0.2.4 Downloaded anstyle v1.0.7 Downloaded errno v0.3.9 Downloaded unicode-xid v0.2.4 Downloaded clap_lex v0.7.1 Downloaded anstyle-query v1.1.0 Downloaded quote v1.0.36 Downloaded smallvec v1.13.2 Downloaded tempfile v3.10.1 Downloaded anstream v0.6.14 Downloaded heck v0.5.0 Downloaded wasm-encoder v0.210.0 Downloaded unicode-ident v1.0.12 Downloaded log v0.4.21 Downloaded clap_derive v4.5.5 Downloaded lexopt v0.3.0 Downloaded bitflags v2.5.0 Downloaded ahash v0.8.11 Downloaded once_cell v1.19.0 Downloaded semver v1.0.23 Downloaded fastrand v2.1.0 Downloaded strsim v0.11.1 Downloaded anyhow v1.0.86 Downloaded proc-macro2 v1.0.85 Downloaded bumpalo v3.16.0 Downloaded clap v4.5.7 Downloaded memchr v2.7.4 Downloaded indexmap v2.2.6 Downloaded serde v1.0.203 Downloaded serde_json v1.0.117 Downloaded hashbrown v0.14.5 Downloaded wast v210.0.0 Downloaded clap_builder v4.5.7 Downloaded wit-component v0.210.0 Downloaded zerocopy v0.7.34 Downloaded serde_derive v1.0.203 Downloaded wasmparser v0.210.0 Downloaded ryu v1.0.18 Downloaded syn v2.0.66 Downloaded rustix v0.38.34 Downloaded unicode-width v0.1.13 Downloaded libc v0.2.155 Downloaded spdx v0.10.6 Downloaded linux-raw-sys v0.4.14 ==> Starting build()... Compiling proc-macro2 v1.0.85 Compiling version_check v0.9.4 Compiling unicode-ident v1.0.12 Compiling serde v1.0.203 Compiling cfg-if v1.0.0 Compiling once_cell v1.19.0 Compiling zerocopy v0.7.34 Compiling bitflags v2.5.0 Compiling semver v1.0.23 Compiling equivalent v1.0.1 Compiling serde_json v1.0.117 Compiling anyhow v1.0.86 Compiling leb128 v0.2.5 Compiling ryu v1.0.18 Compiling utf8parse v0.2.2 Compiling wasm-encoder v0.210.0 Compiling itoa v1.0.11 Compiling anstyle-parse v0.2.4 Compiling colorchoice v1.0.1 Compiling smallvec v1.13.2 Compiling is_terminal_polyfill v1.70.0 Compiling anstyle-query v1.1.0 Compiling anstyle v1.0.7 Compiling rustix v0.38.34 Compiling unicode-width v0.1.13 Compiling heck v0.5.0 Compiling log v0.4.21 Compiling unicode-xid v0.2.4 Compiling anstream v0.6.14 Compiling spdx v0.10.6 Compiling bumpalo v3.16.0 Compiling id-arena v2.2.1 Compiling clap_lex v0.7.1 Compiling linux-raw-sys v0.4.14 Compiling memchr v2.7.4 Compiling strsim v0.11.1 Compiling fastrand v2.1.0 Compiling quote v1.0.36 Compiling ahash v0.8.11 Compiling clap_builder v4.5.7 Compiling syn v2.0.66 Compiling lexopt v0.3.0 Compiling wast v210.0.0 Compiling tempfile v3.10.1 Compiling hashbrown v0.14.5 Compiling indexmap v2.2.6 Compiling wasmparser v0.210.0 Compiling wat v1.210.0 Compiling serde_derive v1.0.203 Compiling clap_derive v4.5.5 Compiling clap v4.5.7 Compiling wasm-metadata v0.210.0 Compiling wit-parser v0.210.0 Compiling wit-component v0.210.0 Compiling wasm-component-ld v0.5.4 (/startdir/src/wasm-component-ld) Finished `release` profile [optimized + debuginfo] target(s) in 1m 33s ==> Starting check()... Compiling proc-macro2 v1.0.85 Compiling version_check v0.9.4 Compiling serde v1.0.203 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling once_cell v1.19.0 Compiling zerocopy v0.7.34 Compiling semver v1.0.23 Compiling bitflags v2.5.0 Compiling equivalent v1.0.1 Compiling anyhow v1.0.86 Compiling serde_json v1.0.117 Compiling leb128 v0.2.5 Compiling ryu v1.0.18 Compiling utf8parse v0.2.2 Compiling wasm-encoder v0.210.0 Compiling itoa v1.0.11 Compiling rustix v0.38.34 Compiling anstyle-parse v0.2.4 Compiling colorchoice v1.0.1 Compiling is_terminal_polyfill v1.70.0 Compiling anstyle-query v1.1.0 Compiling smallvec v1.13.2 Compiling anstyle v1.0.7 Compiling linux-raw-sys v0.4.14 Compiling clap_lex v0.7.1 Compiling unicode-width v0.1.13 Compiling spdx v0.10.6 Compiling anstream v0.6.14 Compiling id-arena v2.2.1 Compiling memchr v2.7.4 Compiling bumpalo v3.16.0 Compiling unicode-xid v0.2.4 Compiling log v0.4.21 Compiling quote v1.0.36 Compiling strsim v0.11.1 Compiling heck v0.5.0 Compiling syn v2.0.66 Compiling ahash v0.8.11 Compiling clap_builder v4.5.7 Compiling wast v210.0.0 Compiling fastrand v2.1.0 Compiling lexopt v0.3.0 Compiling hashbrown v0.14.5 Compiling tempfile v3.10.1 Compiling indexmap v2.2.6 Compiling wasmparser v0.210.0 Compiling wat v1.210.0 Compiling serde_derive v1.0.203 Compiling clap_derive v4.5.5 Compiling clap v4.5.7 Compiling wit-parser v0.210.0 Compiling wasm-metadata v0.210.0 Compiling wit-component v0.210.0 Compiling wasm-component-ld v0.5.4 (/startdir/src/wasm-component-ld) Finished `test` profile [unoptimized + debuginfo] target(s) in 55.89s Running unittests src/lib.rs (target/debug/deps/wasm_component_ld-7acdef201f2622ef) running 1 test test verify_app ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (target/debug/deps/wasm_component_ld-08b842d0d84c441e) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/all.rs (target/debug/deps/all-2d63665d7fa5552b) running 6 tests error[E0463]: can't find crate for `std` | = note: the `wasm32-wasip1` target may not be installed = help: consider downloading the target with `rustup target add wasm32-wasip1` error[E0463]: can't find crate for `std` | = note: the `wasm32-wasip1` target may not be installed = help: consider downloading the target with `rustup target add wasm32-wasip1` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0463`. error: aborting due to 1 previous error error[E0463]: can't find crate for `std` | For more information about this error, try `rustc --explain E0463`. = note: the `wasm32-wasip1` target may not be installed = help: consider downloading the target with `rustup target add wasm32-wasip1` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0463`. error[E0463]: can't find crate for `std` error[E0463]: can't find crate for `std` | | = note: the `wasm32-wasip1` target may not be installed = note: the `wasm32-wasip1` target may not be installed = help: consider downloading the target with `rustup target add wasm32-wasip1` = help: consider downloading the target with `rustup target add wasm32-wasip1` error: aborting due to 1 previous error error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0463`.For more information about this error, try `rustc --explain E0463`. error[E0463]: can't find crate for `std` | = note: the `wasm32-wasip1` target may not be installed = help: consider downloading the target with `rustup target add wasm32-wasip1` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0463`. test linker_flags ... FAILED test can_access_badfd ... FAILED test cdylib_arbitrary_export ... FAILED test empty ... FAILED test hello_world ... FAILED test empty_main ... FAILED failures: ---- linker_flags stdout ---- thread 'linker_flags' panicked at tests/all.rs:34:5: assertion failed: rustc.wait().unwrap().success() ---- can_access_badfd stdout ---- thread 'can_access_badfd' panicked at tests/all.rs:34:5: assertion failed: rustc.wait().unwrap().success() note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ---- cdylib_arbitrary_export stdout ---- thread 'cdylib_arbitrary_export' panicked at tests/all.rs:34:5: assertion failed: rustc.wait().unwrap().success() ---- empty stdout ---- thread 'empty' panicked at tests/all.rs:34:5: assertion failed: rustc.wait().unwrap().success() ---- hello_world stdout ---- thread 'hello_world' panicked at tests/all.rs:34:5: assertion failed: rustc.wait().unwrap().success() ---- empty_main stdout ---- thread 'empty_main' panicked at tests/all.rs:34:5: assertion failed: rustc.wait().unwrap().success() failures: can_access_badfd cdylib_arbitrary_export empty empty_main hello_world linker_flags test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s error: test failed, to rerun pass `--test all` ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_e3985645-29a0-4492-bcd9-d149814341e1/build