structuredAttrs is enabled Running phase: unpackPhase unpacking source archive /nix/store/fri8r3ass2qnlcavc0h9r88pvvm79f1r-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/vhost-device-vsock-0.3.0-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 4 --target aarch64-unknown-linux-gnu --offline --profile release -p vhost-device-vsock Compiling proc-macro2 v1.0.95 Compiling unicode-ident v1.0.18 Compiling libc v0.2.174 Compiling cfg-if v1.0.1 Compiling getrandom v0.3.3 Compiling zerocopy v0.8.25 Compiling thiserror v1.0.69 Compiling version_check v0.9.5 Compiling quote v1.0.40 Compiling memchr v2.7.5 Compiling syn v2.0.87 Compiling bitflags v2.9.1 Compiling arc-swap v1.7.1 Compiling rand_core v0.9.3 Compiling log v0.4.27 Compiling bitflags v1.3.2 Compiling autocfg v1.5.0 Compiling ppv-lite86 v0.2.21 Compiling utf8parse v0.2.2 Compiling anstyle-parse v0.2.7 Compiling vmm-sys-util v0.14.0 Compiling memoffset v0.9.1 Compiling rand_chacha v0.9.0 Compiling aho-corasick v1.1.3 Compiling regex-syntax v0.8.5 Compiling anstyle-query v1.1.3 Compiling colorchoice v1.0.4 Compiling serde v1.0.219 Compiling anstyle v1.0.11 Compiling cfg_aliases v0.2.1 Compiling is_terminal_polyfill v1.70.1 Compiling anstream v0.6.19 Compiling regex-automata v0.4.9 Compiling thiserror-impl v1.0.69 Compiling vm-memory v0.16.2 Compiling serde_derive v1.0.219 Compiling nix v0.29.0 Compiling rand v0.9.2 Compiling uncased v0.9.10 Compiling virtio-bindings v0.2.6 Compiling equivalent v1.0.2 Compiling hashbrown v0.15.4 Compiling indexmap v2.10.0 Compiling virtio-queue v0.16.0 Compiling uuid v1.17.0 Compiling regex v1.11.1 Compiling figment v0.10.19 Compiling strsim v0.11.1 Compiling itoa v1.0.15 Compiling ryu v1.0.20 Compiling thiserror v2.0.12 Compiling unsafe-libyaml v0.2.11 Compiling heck v0.5.0 Compiling clap_lex v0.7.5 Compiling clap_builder v4.5.42 Compiling clap_derive v4.5.41 Compiling serde_yaml v0.9.34+deprecated Compiling env_filter v0.1.3 Compiling vhost v0.14.0 Compiling thiserror-impl v2.0.12 Compiling humantime v2.2.0 Compiling env_logger v0.11.6 Compiling vsock v0.5.1 Compiling vhost-user-backend v0.20.0 Compiling clap v4.5.42 Compiling virtio-vsock v0.10.0 Compiling epoll v4.3.3 Compiling byteorder v1.5.0 Compiling vhost-device-vsock v0.3.0 (/build/source/vhost-device-vsock) Finished `release` profile [optimized] target(s) in 50.93s Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook buildPhase completed in 51 seconds Running phase: checkPhase Executing cargoCheckHook cargoCheckHook flags: -j 4 --profile release --target aarch64-unknown-linux-gnu --offline -p vhost-device-vsock -- Compiling bitflags v2.9.1 Compiling rustix v1.0.3 Compiling virtio-queue v0.16.0 Compiling linux-raw-sys v0.9.3 Compiling nix v0.29.0 Compiling vhost v0.14.0 Compiling once_cell v1.21.3 Compiling fastrand v2.3.0 Compiling virtio-vsock v0.10.0 Compiling epoll v4.3.3 Compiling vsock v0.5.1 Compiling vhost-user-backend v0.20.0 Compiling assert_matches v1.5.0 Compiling tempfile v3.20.0 Compiling vhost-device-vsock v0.3.0 (/build/source/vhost-device-vsock) Finished `release` profile [optimized] target(s) in 16.02s Running unittests src/main.rs (target/aarch64-unknown-linux-gnu/release/deps/vhost_device_vsock-02d57abe500d2cc2) running 40 tests test rxops::tests::test_bitmask ... ok test rxops::tests::test_rxops ... ok test rxqueue::tests::test_contains ... ok test rxqueue::tests::test_dequeue ... ok test rxqueue::tests::test_enqueue ... ok test rxqueue::tests::test_debug ... ok test rxqueue::tests::test_peek ... ok test rxqueue::tests::test_pending_rx ... ok test tests::test_main_structs_vsock ... ok test tests::test_start_backend_servers_failure ... ok test tests::test_vsock_config_setup_from_vm_args_unix ... ok test tests::test_vsock_config_setup_from_vm_args_vsock ... ok test tests::test_vsock_config_setup_unix ... ok test tests::test_vsock_config_setup_vsock ... ok test tests::test_vsock_config_setup_from_file_unix ... ok test tests::test_vsock_config_setup_from_file_vsock ... ok test tests::test_vsock_server_vsock ... ok test tests::test_vsock_server_unix ... ok test thread_backend::tests::test_vsock_thread_backend_unix ... ok test thread_backend::tests::test_vsock_thread_backend_sibling_vms ... ok test txbuf::tests::test_txbuf_is_empty ... ok test txbuf::tests::test_txbuf_debug ... ok test txbuf::tests::test_txbuf_len ... ok test thread_backend::tests::test_vsock_thread_backend_vsock ... FAILED test txbuf::tests::test_txbuf_flush_to ... ok test vhu_vsock::tests::test_vhu_vsock_structs ... ok test txbuf::tests::test_txbuf_push ... ok test vhu_vsock::tests::test_vsock_backend_failures ... ok test vhu_vsock::tests::test_vsock_backend_unix ... ok test vhu_vsock::tests::test_vsock_backend_vsock ... ok test vhu_vsock_thread::tests::test_vsock_thread_unix ... ok test vhu_vsock_thread::tests::test_vsock_thread_failures ... ok test vhu_vsock_thread::tests::test_vsock_thread_unix_backend ... ok test vhu_vsock_thread::tests::test_vsock_thread_vsock_backend ... FAILED test vhu_vsock_thread::tests::test_vsock_thread_vsock ... ok test vsock_conn::tests::test_vsock_conn_credit ... ok test vsock_conn::tests::test_vsock_conn_init ... ok test vsock_conn::tests::test_vsock_conn_init_pkt ... ok test vsock_conn::tests::test_vsock_conn_recv_pkt ... ok test vsock_conn::tests::test_vsock_conn_send_pkt ... ok failures: ---- thread_backend::tests::test_vsock_thread_backend_vsock stdout ---- thread 'thread_backend::tests::test_vsock_thread_backend_vsock' (1940) panicked at vhost-device-vsock/src/thread_backend.rs:613:84: This test uses VMADDR_CID_LOCAL, so the vsock_loopback kernel module must be loaded: Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ---- vhu_vsock_thread::tests::test_vsock_thread_vsock_backend stdout ---- thread 'vhu_vsock_thread::tests::test_vsock_thread_vsock_backend' (1962) panicked at vhost-device-vsock/src/vhu_vsock_thread.rs:1039:84: This test uses VMADDR_CID_LOCAL, so the vsock_loopback kernel module must be loaded: Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" } failures: thread_backend::tests::test_vsock_thread_backend_vsock vhu_vsock_thread::tests::test_vsock_thread_vsock_backend test result: FAILED. 38 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s error: test failed, to rerun pass `-p vhost-device-vsock --bin vhost-device-vsock`