nixbot

builds
1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/c4r7v1w0rgj06y8kxxr4dgfsqssncx9w-source3source root is source4Executing cargoSetupPostUnpackHook5Finished cargoSetupPostUnpackHook
patchPhase
6Executing cargoSetupPostPatchHook7Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock8Finished cargoSetupPostPatchHook
buildPhase
9Executing cargoBuildHook10cargoBuildHook flags: -j 24 --target x86_64-unknown-linux-gnu --offline --profile release -p fast-nix-gc -p fast-nix-optimise11 Compiling proc-macro2 v1.0.10612 Compiling quote v1.0.4513 Compiling unicode-ident v1.0.2414 Compiling libc v0.2.18615 Compiling serde_core v1.0.22816 Compiling serde v1.0.22817 Compiling typenum v1.20.018 Compiling pin-project-lite v0.2.1719 Compiling unicode-segmentation v1.13.220 Compiling unicode-xid v0.2.621 Compiling cfg-if v1.0.422 Compiling thiserror v2.0.1823 Compiling autocfg v1.5.024 Compiling const-oid v0.10.225 Compiling crossbeam-utils v0.8.2126 Compiling pkg-config v0.3.3327 Compiling vcpkg v0.2.1528 Compiling cfg_aliases v0.2.129 Compiling cpufeatures v0.3.030 Compiling bitflags v2.11.131 Compiling foldhash v0.2.032 Compiling data-encoding v2.11.033 Compiling zerocopy v0.8.4834 Compiling zmij v1.0.2135 Compiling md5 v0.8.036 Compiling anyhow v1.0.10337 Compiling fallible-streaming-iterator v0.1.938 Compiling serde_json v1.0.14939 Compiling nix v0.31.340 Compiling memchr v2.8.041 Compiling hashbrown v0.16.142 Compiling rayon-core v1.13.043 Compiling smallvec v1.15.144 Compiling futures-core v0.3.3345 Compiling convert_case v0.10.046 Compiling memoffset v0.9.147 Compiling futures-sink v0.3.3348 Compiling fallible-iterator v0.3.049 Compiling same-file v1.0.650 Compiling log v0.4.3351 Compiling slab v0.4.1252 Compiling itoa v1.0.1853 Compiling futures-task v0.3.3354 Compiling once_cell v1.21.455 Compiling walkdir v2.5.056 Compiling either v1.15.057 Compiling pico-args v0.5.058 Compiling regex-automata v0.4.1459 Compiling libsqlite3-sys v0.37.060 Compiling tracing-core v0.1.3661 Compiling hybrid-array v0.4.1262 Compiling crossbeam-epoch v0.9.1863 Compiling hashlink v0.11.064 Compiling crossbeam-deque v0.8.665 Compiling syn v2.0.11766 Compiling rusqlite v0.39.067 Compiling block-buffer v0.12.068 Compiling crypto-common v0.2.169 Compiling bstr v1.12.170 Compiling rayon v1.12.071 Compiling errno v0.3.1472 Compiling socket2 v0.6.373 Compiling mio v1.2.074 Compiling digest v0.11.375 Compiling signal-hook-registry v1.4.876 Compiling sha1 v0.11.077 Compiling sha2 v0.11.078 Compiling serde_derive v1.0.22879 Compiling tokio-macros v2.7.080 Compiling derive_more-impl v2.1.181 Compiling thiserror-impl v2.0.1882 Compiling zerocopy-derive v0.8.4883 Compiling futures-macro v0.3.3384 Compiling tracing-attributes v0.1.3185 Compiling futures-util v0.3.3386 Compiling tracing v0.1.4487 Compiling derive_more v2.1.188 Compiling bytes v1.11.189 Compiling harmonia-utils-base-encoding v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)90 Compiling harmonia-file-core v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)91 Compiling tokio v1.52.392 Compiling harmonia-utils-hash v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)93 Compiling harmonia-utils-io v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)94 Compiling tokio-util v0.7.1895 Compiling harmonia-store-core v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)96 Compiling harmonia-file-nar v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)97 Compiling fast-nix-common v0.1.0 (/build/source/crates/common)98 Compiling fast-nix-gc v0.1.0 (/build/source/crates/gc)99 Compiling fast-nix-optimise v0.1.0 (/build/source/crates/optimise)100 Finished `release` profile [optimized] target(s) in 19.10s101Executing cargoInstallPostBuildHook102Finished cargoInstallPostBuildHook103Finished cargoBuildHook
checkPhase
104Executing cargoCheckHook105cargoCheckHook flags: -j 24 --profile release --target x86_64-unknown-linux-gnu --offline -p fast-nix-gc -p fast-nix-common -p fast-nix-optimise --106 Compiling version_check v0.9.5107 Compiling semver v1.0.28108 Compiling find-msvc-tools v0.1.9109 Compiling getrandom v0.4.2110 Compiling rand_core v0.10.1111 Compiling bitflags v2.11.1112 Compiling cpufeatures v0.2.17113 Compiling shlex v1.3.0114 Compiling signature v2.2.0115 Compiling subtle v2.6.1116 Compiling zeroize v1.8.2117 Compiling curve25519-dalek-derive v0.1.1118 Compiling getrandom v0.3.4119 Compiling rustix v1.1.4120 Compiling linux-raw-sys v0.12.1121 Compiling fastrand v2.4.1122 Compiling ed25519 v2.2.3123 Compiling chacha20 v0.10.0124 Compiling cc v1.2.62125 Compiling nix v0.31.3126 Compiling rustc_version v0.4.1127 Compiling generic-array v0.14.7128 Compiling curve25519-dalek v4.1.3129 Compiling rand v0.10.2130 Compiling libsqlite3-sys v0.37.0131 Compiling crypto-common v0.1.7132 Compiling block-buffer v0.10.4133 Compiling digest v0.10.7134 Compiling sha2 v0.10.9135 Compiling tempfile v3.27.0136 Compiling ed25519-dalek v2.2.0137 Compiling harmonia-file-nar v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)138 Compiling harmonia-store-core v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)139 Compiling harmonia-store-path-info v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)140 Compiling rusqlite v0.39.0141 Compiling fast-nix-common v0.1.0 (/build/source/crates/common)142 Compiling harmonia-store-db v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)143 Compiling fast-nix-gc v0.1.0 (/build/source/crates/gc)144 Compiling fast-nix-optimise v0.1.0 (/build/source/crates/optimise)145 Finished `release` profile [optimized] target(s) in 51.18s146 Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_common-bb600492633367c7)147148running 22 tests149test closest_match_tests::suggests_near_misses_only ... ok150test logging::tests::respects_level_filter ... ok151test nix_config::tests::parse ... ok152test temp_roots::tests::add_writes_nul_terminated_roots ... ok153test tests::format_size_units ... ok154test temp_roots::tests::add_uses_gc_socket_when_gc_holds_the_lock ... ok155test nix_config::tests::unknown_key_falls_back_to_default ... ok156test db::tests::basename_index_lookups ... ok157test db::tests::load_graph_ignores_edges_with_unknown_ids ... ok158test db::tests::empty_graph ... ok159test db::tests::load_graph_build_trace_edges ... ok160test db::tests::is_valid_path_checks_db ... ok161test db::tests::store_dir_typed_uses_configured_dir ... ok162test db::tests::load_graph_keep_derivations_adds_output_to_drv_edge ... ok163test db::tests::invalidate_ids_cascades_derivation_outputs ... ok164test db::tests::invalidate_ids_handles_ref_cycles ... ok165test db::tests::invalidate_ids_clears_realisations_with_restrict_fk ... ok166test db::tests::has_table_checks_existence ... ok167test db::tests::valid_store_paths_and_typed_variants ... ok168test db::tests::compute_closure_marks_reachable_only ... ok169test db::tests::maybe_vacuum_skips_small_freelist ... ok170test db::tests::load_graph_builds_csr ... ok171172test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s173174 Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_gc-61103916a372857a)175176running 33 tests177test gc::tests::delete_store_path_file_reports_disk_blocks ... ok178test gc::tests::delete_store_path_missing_is_zero ... ok179test gc::tests::delete_store_path_other_stat_errors_propagate ... ok180test gc::tests::try_lock_dir_none_while_held ... ok181test gc::tests::delete_store_path_removes_readonly_tree ... ok182test profiles::tests::parse_older_than_units ... ok183test profiles::tests::parse_older_than_rejects_invalid ... ok184test roots::tests::is_in_store_requires_separator ... ok185test profiles::tests::profile_lock_acquire_release_cleans_up ... ok186test roots::tests::extract_store_path_takes_first_component ... ok187test profiles::tests::generation_links_and_current ... ok188test roots::runtime_roots::tests::read_file_root_trims_and_extracts ... ok189test roots::runtime_roots::tests::read_file_root_ignores_non_store_paths ... ok190test profiles::tests::unparseable_current_generation_deletes_nothing ... ok191test roots::tests::store_path_basename_grammar ... ok192test profiles::tests::delete_generations_older_than_cutoff ... ok193test roots::tests::scan_blob_ignores_bare_prefix ... ok194test roots::tests::scan_blob_finds_embedded_store_paths ... ok195test profiles::tests::profile_dirs_includes_state_and_xdg_paths_but_not_home ... ok196test profiles::tests::current_generation_none_when_missing ... ok197test roots::tests::temp_roots_missing_dir_is_empty ... ok198test profiles::tests::delete_old_generations_keeps_only_current ... ok199test roots::tests::temp_roots_reads_locked_skips_stale_and_junk ... ok200test roots::tests::find_roots_scans_extra_dirs ... ok201test gc_socket::tests::drop_returns_when_idle_accept_loop_is_waiting ... ok202test gc_socket::tests::unknown_path_protected_by_basename ... ok203test gc_socket::tests::protect_marks_closure_and_blocks_deletion ... ok204test gc_socket::tests::drop_joins_handlers_and_snapshot_sees_acked_roots ... ok205test profiles::tests::remove_old_generations_recurses_and_skips_non_link_targets ... ok206test gc::tests::clean_links_removes_only_unreferenced ... ok207test gc_socket::tests::protect_blocks_until_pending_delete_finishes ... ok208test gc_socket::tests::claim_nodes_partitions_and_blocks_protect ... ok209test gc_socket::tests::protect_waits_for_already_protected_pending_node ... ok210211test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s212213 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_gc-3f6448d8abc3281f)214215running 3 tests216test tests::parse_size_units ... ok217test tests::parse_ensure_free_values ... ok218test tests::parse_args_rejects_unknown_arguments ... ok219220test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s221222 Running tests/integration.rs (target/x86_64-unknown-linux-gnu/release/deps/integration-cda54897aa07fc4c)223224running 45 tests225test gc_dry_run_counts_unknown_on_disk ... ok226test gc_dry_run_does_not_delete ... ok227test gc_dry_run_serves_socket_and_honors_roots ... ok228test gc_keeps_auto_root_with_unreadable_target ... ok229test gc_fails_when_roots_dir_is_unreadable ... ok230[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true231[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false232[INFO ] loading store graph...233[INFO ] 1 total valid paths234[INFO ] finding garbage collector roots...235test gc_empty_store_is_noop ... ok236test gc_keeps_deriver_of_alive_path ... FAILED237test gc_handles_self_references ... FAILED238test gc_keep_recent_pins_recently_registered ... FAILED239test gc_deletes_non_utf8_store_entry ... ok240test gc_keeps_runtime_roots_from_environ ... ok241test gc_deletes_unreferenced_paths ... FAILED242test gc_chunk_size_one_deletes_whole_dead_chain ... FAILED243[INFO ] found 1test gc_does_not_hang_on_tmp_fifo ... rootsok244245[INFO ] computing alive closure...246[INFO ] 1 alive paths247[INFO ] 0 dead paths248[INFO ] 1 unknown paths on disk not in DB249[INFO ] deleting garbage...250test gc_ignores_invalid_store_basenames ... ok251test gc_keeps_indirect_auto_root ... ok252test gc_deletes_readonly_paths ... ok253test gc_drops_partial_temp_root ... FAILED254test gc_max_freed_batches_by_estimated_size ... FAILED255test gc_keeps_ca_outputs_of_alive_drv ... ok256test gc_deletes_drv_when_output_deriver_is_unset ... ok257test gc_keeps_lock_file_of_active_build ... FAILED258test gc_refuses_store_dir_mismatching_db ... ok259test gc_keeps_ca_output_via_build_trace ... ok260[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true261[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false262[INFO ] loading store graph...263[INFO ] 2 total valid paths264test gc_keeps_ca_deriver_via_deriver_field_not_build_trace ... ok265[INFO ] finding garbage collector roots...266test gc_keeps_runtime_roots_from_open_fd ... ok267test gc_max_freed_stops_early ... FAILED268[INFO ] deleting unused links...269test gc_max_freed_referrer_never_outlives_reference ... FAILED270test gc_cleans_unused_links_only_when_not_dry_run ... ok271test gc_keeps_temp_root_not_yet_in_db ... ok272[INFO ] found 0 roots273[INFO ] computing alive closure...274[INFO ] 0 alive paths275[INFO ] 2 dead paths276[INFO ] deleting garbage...2770 store paths deleted, 0 bytes freed278test gc_keeps_transitive_closure ... ok279test gc_removes_dangling_auto_root ... ok280test gc_keeps_unknown_path_registered_after_snapshot ... ok281test gc_removes_reserved_space_file_and_creates_private_lock ... ok282test gc_runtime_roots_validated_against_db ... ok283test gc_removes_stale_temp_roots_file ... ok284[INFO ] deleting unused links...285test gc_removes_unknown_disk_entries ... ok286test gc_removes_unlocked_tmp_dir ... ok2871 store paths deleted, 1.00 KiB freed288test gc_store_dir_trailing_slash_is_normalized ... ok289test gc_scans_roots_despite_unfollowable_indirect_target ... ok290test gc_rebases_canonical_runtime_roots_to_logical_store ... ok291test gc_socket_serves_before_graph_load_and_keeps_early_roots ... ok292test gc_skips_locked_tmp_dir ... ok293test gc_socket_root_mid_gc_keeps_path_and_deletes_rest ... ok294test gc_vacuums_db_after_mass_deletion ... ok295296failures:297298---- gc_keeps_deriver_of_alive_path stdout ----299300thread 'gc_keeps_deriver_of_alive_path' (3893) panicked at crates/gc/tests/integration.rs:199:9:301stderr: [WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true302[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false303[INFO ] loading store graph...304[INFO ] 3 total valid paths305[INFO ] finding garbage collector roots...306[INFO ] found 1 roots307[INFO ] computing alive closure...308[INFO ] 2 alive paths309[INFO ] 1 dead paths310[INFO ] deleting garbage...311312thread 'main' (4096) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:313The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }314note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace315316317---- gc_handles_self_references stdout ----318319thread 'gc_handles_self_references' (3886) panicked at crates/gc/tests/integration.rs:199:9:320stderr: [WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true321[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false322[INFO ] loading store graph...323[INFO ] 2 total valid paths324[INFO ] finding garbage collector roots...325[INFO ] found 1 roots326[INFO ] computing alive closure...327[INFO ] 1 alive paths328[INFO ] 1 dead paths329[INFO ] deleting garbage...330331thread 'main' (4110) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:332The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }333note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace334335336---- gc_keep_recent_pins_recently_registered stdout ----337338thread 'gc_keep_recent_pins_recently_registered' (3888) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:339The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }340note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace341342---- gc_deletes_unreferenced_paths stdout ----343344thread 'gc_deletes_unreferenced_paths' (3878) panicked at crates/gc/tests/integration.rs:199:9:345stderr: [WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true346[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false347[INFO ] loading store graph...348[INFO ] 3 total valid paths349[INFO ] finding garbage collector roots...350[INFO ] found 1 roots351[INFO ] computing alive closure...352[INFO ] 2 alive paths353[INFO ] 1 dead paths354[INFO ] deleting garbage...355356thread 'main' (4078) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:357The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }358note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace359360361---- gc_chunk_size_one_deletes_whole_dead_chain stdout ----362363thread 'gc_chunk_size_one_deletes_whole_dead_chain' (3873) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:364The global thread pool has not been initialized.: ThreadPoolBuildError { kind: GlobalPoolAlreadyInitialized }365366---- gc_drops_partial_temp_root stdout ----367368thread 'gc_drops_partial_temp_root' (3880) panicked at crates/gc/tests/integration.rs:199:9:369stderr: [WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true370[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false371[INFO ] loading store graph...372[INFO ] 2 total valid paths373[INFO ] finding garbage collector roots...374[INFO ] found 1 roots375[INFO ] computing alive closure...376[INFO ] 1 alive paths377[INFO ] 1 dead paths378[INFO ] deleting garbage...379380thread 'main' (3924) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:381The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }382note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace383384385---- gc_max_freed_batches_by_estimated_size stdout ----386387thread 'gc_max_freed_batches_by_estimated_size' (5747) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:388The global thread pool has not been initialized.: ThreadPoolBuildError { kind: GlobalPoolAlreadyInitialized }389390---- gc_keeps_lock_file_of_active_build stdout ----391392thread 'gc_keeps_lock_file_of_active_build' (3895) panicked at crates/gc/tests/integration.rs:199:9:393stderr: [WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true394[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false395[INFO ] loading store graph...396[INFO ] 1 total valid paths397[INFO ] finding garbage collector roots...398[INFO ] found 1 roots399[INFO ] computing alive closure...400[INFO ] 1 alive paths401[INFO ] 0 dead paths402[INFO ] 1 unknown paths on disk not in DB403[INFO ] deleting garbage...404405thread 'main' (3919) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:406The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }407note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace408409410---- gc_max_freed_stops_early stdout ----411412thread 'gc_max_freed_stops_early' (9267) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:413The global thread pool has not been initialized.: ThreadPoolBuildError { kind: GlobalPoolAlreadyInitialized }414415---- gc_max_freed_referrer_never_outlives_reference stdout ----416417thread 'gc_max_freed_referrer_never_outlives_reference' (9260) panicked at /build/cargo-vendor-dir/rayon-core-1.13.0/src/registry.rs:171:10:418The global thread pool has not been initialized.: ThreadPoolBuildError { kind: GlobalPoolAlreadyInitialized }419420421failures:422 gc_chunk_size_one_deletes_whole_dead_chain423 gc_deletes_unreferenced_paths424 gc_drops_partial_temp_root425 gc_handles_self_references426 gc_keep_recent_pins_recently_registered427 gc_keeps_deriver_of_alive_path428 gc_keeps_lock_file_of_active_build429 gc_max_freed_batches_by_estimated_size430 gc_max_freed_referrer_never_outlives_reference431 gc_max_freed_stops_early432433test result: FAILED. 35 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.12s434435error: test failed, to rerun pass `-p fast-nix-gc --test integration`