fast-nix-gc-0.1.0
aarch64-darwin.package-default
· build #61
· raw
unpackPhase
1unpacking source archive /nix/store/c4r7v1w0rgj06y8kxxr4dgfsqssncx9w-source2source root is source3Executing cargoSetupPostUnpackHook4Finished cargoSetupPostUnpackHookpatchPhase
5Executing cargoSetupPostPatchHook6Validating consistency between /nix/var/nix/builds/nix-83241-2195837280/source/Cargo.lock and /nix/var/nix/builds/nix-83241-2195837280/cargo-vendor-dir/Cargo.lock7Finished cargoSetupPostPatchHookbuildPhase
8Executing cargoBuildHook9cargoBuildHook flags: -j 10 --target aarch64-apple-darwin --offline --profile release -p fast-nix-gc -p fast-nix-optimise10 Compiling proc-macro2 v1.0.10611 Compiling unicode-ident v1.0.2412 Compiling quote v1.0.4513 Compiling libc v0.2.18614 Compiling serde_core v1.0.22815 Compiling serde v1.0.22816 Compiling typenum v1.20.017 Compiling pin-project-lite v0.2.1718 Compiling unicode-segmentation v1.13.219 Compiling thiserror v2.0.1820 Compiling unicode-xid v0.2.621 Compiling cfg-if v1.0.422 Compiling autocfg v1.5.023 Compiling const-oid v0.10.224 Compiling convert_case v0.10.025 Compiling cfg_aliases v0.2.126 Compiling pkg-config v0.3.3327 Compiling memoffset v0.9.128 Compiling crossbeam-utils v0.8.2129 Compiling vcpkg v0.2.1530 Compiling hybrid-array v0.4.1231 Compiling libsqlite3-sys v0.37.032 Compiling block-buffer v0.12.033 Compiling crypto-common v0.2.134 Compiling digest v0.11.335 Compiling nix v0.31.336 Compiling zerocopy v0.8.4837 Compiling foldhash v0.2.038 Compiling bitflags v2.11.139 Compiling data-encoding v2.11.040 Compiling hashbrown v0.16.141 Compiling anyhow v1.0.10342 Compiling zmij v1.0.2143 Compiling md5 v0.8.044 Compiling syn v2.0.11745 Compiling hashlink v0.11.046 Compiling futures-sink v0.3.3347 Compiling serde_json v1.0.14948 Compiling memchr v2.8.049 Compiling crossbeam-epoch v0.9.1850 Compiling rayon-core v1.13.051 Compiling fallible-iterator v0.3.052 Compiling fallible-streaming-iterator v0.1.953 Compiling smallvec v1.15.154 Compiling same-file v1.0.655 Compiling futures-core v0.3.3356 Compiling walkdir v2.5.057 Compiling crossbeam-deque v0.8.658 Compiling futures-task v0.3.3359 Compiling log v0.4.3360 Compiling once_cell v1.21.461 Compiling itoa v1.0.1862 Compiling slab v0.4.1263 Compiling tracing-core v0.1.3664 Compiling pico-args v0.5.065 Compiling regex-automata v0.4.1466 Compiling either v1.15.067 Compiling errno v0.3.1468 Compiling mio v1.2.069 Compiling signal-hook-registry v1.4.870 Compiling socket2 v0.6.371 Compiling cpufeatures v0.3.072 Compiling sha2 v0.11.073 Compiling sha1 v0.11.074 Compiling bstr v1.12.175 Compiling rayon v1.12.076 Compiling serde_derive v1.0.22877 Compiling tokio-macros v2.7.078 Compiling thiserror-impl v2.0.1879 Compiling derive_more-impl v2.1.180 Compiling zerocopy-derive v0.8.4881 Compiling futures-macro v0.3.3382 Compiling rusqlite v0.39.083 Compiling tracing-attributes v0.1.3184 Compiling futures-util v0.3.3385 Compiling tracing v0.1.4486 Compiling derive_more v2.1.187 Compiling bytes v1.11.188 Compiling harmonia-utils-base-encoding v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)89 Compiling harmonia-file-core v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)90 Compiling tokio v1.52.391 Compiling harmonia-utils-hash v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)92 Compiling harmonia-utils-io v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)93 Compiling tokio-util v0.7.1894 Compiling harmonia-store-core v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)95 Compiling harmonia-file-nar v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)96 Compiling fast-nix-common v0.1.0 (/nix/var/nix/builds/nix-83241-2195837280/source/crates/common)97 Compiling fast-nix-gc v0.1.0 (/nix/var/nix/builds/nix-83241-2195837280/source/crates/gc)98 Compiling fast-nix-optimise v0.1.0 (/nix/var/nix/builds/nix-83241-2195837280/source/crates/optimise)99 Finished `release` profile [optimized] target(s) in 54.91s100Executing cargoInstallPostBuildHook101Finished cargoInstallPostBuildHook102Finished cargoBuildHook103buildPhase completed in 56 secondscheckPhase
104Executing cargoCheckHook105cargoCheckHook flags: -j 10 --profile release --target aarch64-apple-darwin --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 bitflags v2.11.1109 Compiling shlex v1.3.0110 Compiling find-msvc-tools v0.1.9111 Compiling rand_core v0.10.1112 Compiling getrandom v0.4.2113 Compiling cpufeatures v0.2.17114 Compiling signature v2.2.0115 Compiling zeroize v1.8.2116 Compiling subtle v2.6.1117 Compiling rustix v1.1.4118 Compiling getrandom v0.3.4119 Compiling cc v1.2.62120 Compiling ed25519 v2.2.3121 Compiling nix v0.31.3122 Compiling fastrand v2.4.1123 Compiling generic-array v0.14.7124 Compiling chacha20 v0.10.0125 Compiling rustc_version v0.4.1126 Compiling rand v0.10.2127 Compiling curve25519-dalek v4.1.3128 Compiling libsqlite3-sys v0.37.0129 Compiling crypto-common v0.1.7130 Compiling block-buffer v0.10.4131 Compiling digest v0.10.7132 Compiling sha2 v0.10.9133 Compiling tempfile v3.27.0134 Compiling ed25519-dalek v2.2.0135 Compiling harmonia-store-core v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)136 Compiling harmonia-file-nar v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)137 Compiling harmonia-store-path-info v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)138 Compiling rusqlite v0.39.0139 Compiling fast-nix-common v0.1.0 (/nix/var/nix/builds/nix-83241-2195837280/source/crates/common)140 Compiling harmonia-store-db v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)141 Compiling fast-nix-gc v0.1.0 (/nix/var/nix/builds/nix-83241-2195837280/source/crates/gc)142 Compiling fast-nix-optimise v0.1.0 (/nix/var/nix/builds/nix-83241-2195837280/source/crates/optimise)143 Finished `release` profile [optimized] target(s) in 1m 06s144 Running unittests src/lib.rs (target/aarch64-apple-darwin/release/deps/fast_nix_common-f9c9b1f9264b9a7f)145146running 22 tests147test closest_match_tests::suggests_near_misses_only ... ok148test db::tests::has_table_checks_existence ... ok149test db::tests::load_graph_build_trace_edges ... ok150test db::tests::is_valid_path_checks_db ... ok151test db::tests::empty_graph ... ok152test db::tests::load_graph_builds_csr ... ok153test db::tests::compute_closure_marks_reachable_only ... ok154test logging::tests::respects_level_filter ... ok155test db::tests::basename_index_lookups ... ok156test nix_config::tests::parse ... ok157test temp_roots::tests::add_uses_gc_socket_when_gc_holds_the_lock ... ok158test db::tests::invalidate_ids_cascades_derivation_outputs ... ok159test db::tests::load_graph_ignores_edges_with_unknown_ids ... ok160test tests::format_size_units ... ok161test temp_roots::tests::add_writes_nul_terminated_roots ... ok162test db::tests::invalidate_ids_clears_realisations_with_restrict_fk ... ok163test nix_config::tests::unknown_key_falls_back_to_default ... ok164test db::tests::invalidate_ids_handles_ref_cycles ... ok165test db::tests::maybe_vacuum_skips_small_freelist ... ok166test db::tests::load_graph_keep_derivations_adds_output_to_drv_edge ... ok167test db::tests::valid_store_paths_and_typed_variants ... ok168test db::tests::store_dir_typed_uses_configured_dir ... ok169170test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s171172 Running unittests src/lib.rs (target/aarch64-apple-darwin/release/deps/fast_nix_gc-7d01a61eadad04a4)173174running 31 tests175test gc::tests::delete_store_path_file_reports_disk_blocks ... ok176test gc::tests::delete_store_path_other_stat_errors_propagate ... ok177test gc::tests::try_lock_dir_none_while_held ... ok178test gc::tests::delete_store_path_missing_is_zero ... ok179test gc::tests::delete_store_path_removes_readonly_tree ... ok180test profiles::tests::current_generation_none_when_missing ... ok181test gc::tests::clean_links_removes_only_unreferenced ... ok182test profiles::tests::generation_links_and_current ... ok183test profiles::tests::parse_older_than_rejects_invalid ... ok184test profiles::tests::parse_older_than_units ... ok185test profiles::tests::profile_dirs_includes_state_and_xdg_paths_but_not_home ... ok186test profiles::tests::delete_old_generations_keeps_only_current ... ok187test profiles::tests::delete_generations_older_than_cutoff ... ok188test profiles::tests::profile_lock_acquire_release_cleans_up ... ok189test roots::tests::extract_store_path_takes_first_component ... ok190test profiles::tests::unparseable_current_generation_deletes_nothing ... ok191test roots::tests::is_in_store_requires_separator ... ok192test roots::tests::scan_blob_finds_embedded_store_paths ... ok193test roots::tests::scan_blob_ignores_bare_prefix ... ok194test roots::tests::store_path_basename_grammar ... ok195test roots::tests::temp_roots_missing_dir_is_empty ... ok196test roots::tests::temp_roots_reads_locked_skips_stale_and_junk ... ok197test gc_socket::tests::protect_marks_closure_and_blocks_deletion ... ok198test profiles::tests::remove_old_generations_recurses_and_skips_non_link_targets ... ok199test gc_socket::tests::drop_returns_when_idle_accept_loop_is_waiting ... ok200test gc_socket::tests::drop_joins_handlers_and_snapshot_sees_acked_roots ... ok201test gc_socket::tests::unknown_path_protected_by_basename ... ok202test roots::tests::find_roots_scans_extra_dirs ... ok203test gc_socket::tests::claim_nodes_partitions_and_blocks_protect ... ok204test gc_socket::tests::protect_blocks_until_pending_delete_finishes ... ok205test gc_socket::tests::protect_waits_for_already_protected_pending_node ... ok206207test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s208209 Running unittests src/main.rs (target/aarch64-apple-darwin/release/deps/fast_nix_gc-d144d70eb52aca32)210211running 3 tests212test tests::parse_ensure_free_values ... ok213test tests::parse_size_units ... ok214test tests::parse_args_rejects_unknown_arguments ... ok215216test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s217218 Running tests/integration.rs (target/aarch64-apple-darwin/release/deps/integration-25d3573d7a699279)219220running 43 tests221test gc_chunk_size_one_deletes_whole_dead_chain ... ok222test gc_deletes_readonly_paths ... ok223test gc_does_not_hang_on_tmp_fifo ... ok224test gc_empty_store_is_noop ... ok225test gc_dry_run_serves_socket_and_honors_roots ... ok226test gc_dry_run_does_not_delete ... ok227test gc_deletes_drv_when_output_deriver_is_unset ... ok228test gc_dry_run_counts_unknown_on_disk ... ok229test gc_drops_partial_temp_root ... ok230test gc_deletes_unreferenced_paths ... ok231test gc_cleans_unused_links_only_when_not_dry_run ... ok232test gc_fails_when_roots_dir_is_unreadable ... ok233test gc_keeps_auto_root_with_unreadable_target ... ok234test gc_keeps_ca_outputs_of_alive_drv ... ok235test gc_keep_recent_pins_recently_registered ... ok236test gc_handles_self_references ... ok237test gc_keeps_deriver_of_alive_path ... ok238test gc_keeps_lock_file_of_active_build ... ok239[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true240test gc_ignores_invalid_store_basenames ... ok241[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false242[INFO ] loading store graph...243[INFO ] 1 total valid paths244test gc_keeps_indirect_auto_root ... ok245test gc_keeps_ca_output_via_build_trace ... ok246test gc_keeps_ca_deriver_via_deriver_field_not_build_trace ... ok247[INFO ] finding garbage collector roots...248test gc_keeps_runtime_roots_from_environ ... ok249test gc_refuses_store_dir_mismatching_db ... ok250[INFO ] found 1 roots251[INFO ] computing alive closure...252[INFO ] 1 alive paths253[INFO ] 0 dead paths254[INFO ] 1 unknown paths on disk not in DB255[INFO ] deleting garbage...256[INFO ] deleting unused links...257test gc_keeps_temp_root_not_yet_in_db ... ok258test gc_keeps_transitive_closure ... ok259test gc_max_freed_stops_early ... ok2600 store paths deleted, 0 bytes freed261test gc_max_freed_batches_by_estimated_size ... ok262test gc_keeps_unknown_path_registered_after_snapshot ... ok263test gc_max_freed_referrer_never_outlives_reference ... ok264test gc_removes_dangling_auto_root ... ok265[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true266[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false267[INFO ] loading store graph...268[INFO ] 2 total valid paths269[INFO ] finding garbage collector roots...270test gc_removes_stale_temp_roots_file ... ok271test gc_removes_reserved_space_file_and_creates_private_lock ... ok272test gc_removes_unlocked_tmp_dir ... ok273test gc_runtime_roots_validated_against_db ... ok274[INFO ] found 0 roots275[INFO ] computing alive closure...276[INFO ] 0 alive paths277[INFO ] 2 dead paths278[INFO ] deleting garbage...279[INFO ] deleting unused links...280test gc_removes_unknown_disk_entries ... ok281test gc_socket_serves_before_graph_load_and_keeps_early_roots ... ok2821 store paths deleted, 4.00 KiB freed283test gc_skips_locked_tmp_dir ... ok284test gc_socket_root_mid_gc_keeps_path_and_deletes_rest ... ok285test gc_scans_roots_despite_unfollowable_indirect_target ... ok286test gc_rebases_canonical_runtime_roots_to_logical_store ... ok287test gc_store_dir_trailing_slash_is_normalized ... ok288test gc_vacuums_db_after_mass_deletion ... ok289290test result: ok. 43 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.85s291292 Running tests/socket_concurrency.rs (target/aarch64-apple-darwin/release/deps/socket_concurrency-8f75333cf71fe83f)293294running 1 test295test concurrent_clients_never_resurrect_deleted_paths ... ok296297test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.76s298299 Running unittests src/main.rs (target/aarch64-apple-darwin/release/deps/fast_nix_optimise-11415ed463ed3202)300301running 18 tests302test optimise::tests::errno_helpers_match_libc_values ... ok303test optimise::tests::load_link_inodes_missing_dir_is_empty ... ok304test hash::tests::matches_nix_hash_path_symlink ... ok305test hash::tests::matches_nix_hash_path_regular ... ok306test optimise::tests::rand_suffix_is_unique_per_call ... ok307test hash::tests::matches_nix_hash_path_executable ... ok308test optimise::tests::load_link_inodes_returns_actual_inodes ... ok309test optimise::tests::dry_run_takes_no_temp_roots ... ok310test optimise::tests::canonical_file_is_not_counted_as_linked ... ok311test optimise::tests::corrupt_link_with_size_mismatch_is_skipped ... ok312test optimise::tests::min_size_above_len_is_skipped ... ok313test optimise::tests::min_size_equal_to_len_is_processed ... ok314test optimise::tests::restores_parent_perms_and_mtime ... ok315test optimise::tests::dedups_identical_files ... ok316test optimise::tests::dry_run_counts_but_does_not_link ... ok317test optimise::tests::registers_temp_roots_for_optimised_paths ... ok318test optimise::tests::unreadable_path_is_skipped_not_fatal ... ok319test optimise::tests::writable_file_is_skipped_as_suspicious ... ok320321test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s322323 Doc-tests fast_nix_common324325running 0 tests326327test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s328329 Doc-tests fast_nix_gc330331running 0 tests332333test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s334335Finished cargoCheckHook336checkPhase completed in 1 minutes 16 secondsinstallPhase
337Executing cargoInstallHook338Finished cargoInstallHookfixupPhase
339checking for references to /nix/var/nix/builds/nix-83241-2195837280/ in /nix/store/hyxpridq01pywy1nq88khpd0mxnv8ys4-fast-nix-gc-0.1.0...340/nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh: line 39: 10930 Done find "$dir" -type f -not -path '*/.build-id/*' -print0341 10932 Segmentation fault: 11 | while IFS= read -r -d '' file; do342 if isELF "$file"; then343 printf '%s\0' "$file" 1>&3;344 else345 if isScript "$file"; then346 filename=${file##*/}; dir=${file%/*}; if [ -e "$dir/.$filename-wrapped" ]; then347 printf '%s\0' "$file" 1>&4;348 fi;349 fi;350 fi;351done352patching script interpreter paths in /nix/store/hyxpridq01pywy1nq88khpd0mxnv8ys4-fast-nix-gc-0.1.0353stripping (with command strip and flags -S) in /nix/store/hyxpridq01pywy1nq88khpd0mxnv8ys4-fast-nix-gc-0.1.0/bin