fast-nix-gc-0.1.0
x86_64-linux.home-manager-coder
· build #229
· raw
1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/742hxkalljchsx6d6d3mim4pkjbj64av-source3source root is source4Executing cargoSetupPostUnpackHook5Finished cargoSetupPostUnpackHookpatchPhase
6Executing cargoSetupPostPatchHook7Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock8Finished cargoSetupPostPatchHookbuildPhase
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 pin-project-lite v0.2.1718 Compiling typenum v1.20.019 Compiling unicode-segmentation v1.13.220 Compiling unicode-xid v0.2.621 Compiling thiserror v2.0.1822 Compiling cfg-if v1.0.423 Compiling const-oid v0.10.224 Compiling autocfg v1.5.025 Compiling crossbeam-utils v0.8.2126 Compiling vcpkg v0.2.1527 Compiling cfg_aliases v0.2.128 Compiling pkg-config v0.3.3329 Compiling cpufeatures v0.3.030 Compiling zerocopy v0.8.4831 Compiling foldhash v0.2.032 Compiling data-encoding v2.11.033 Compiling bitflags v2.11.134 Compiling anyhow v1.0.10235 Compiling zmij v1.0.2136 Compiling md5 v0.8.037 Compiling nix v0.31.338 Compiling fallible-streaming-iterator v0.1.939 Compiling smallvec v1.15.140 Compiling same-file v1.0.641 Compiling hashbrown v0.16.142 Compiling fallible-iterator v0.3.043 Compiling futures-core v0.3.3244 Compiling serde_json v1.0.14945 Compiling futures-sink v0.3.3246 Compiling memchr v2.8.047 Compiling convert_case v0.10.048 Compiling rayon-core v1.13.049 Compiling walkdir v2.5.050 Compiling memoffset v0.9.151 Compiling futures-task v0.3.3252 Compiling once_cell v1.21.453 Compiling log v0.4.3254 Compiling slab v0.4.1255 Compiling itoa v1.0.1856 Compiling either v1.15.057 Compiling regex-automata v0.4.1458 Compiling pico-args v0.5.059 Compiling tracing-core v0.1.3660 Compiling libsqlite3-sys v0.37.061 Compiling crossbeam-epoch v0.9.1862 Compiling hybrid-array v0.4.1263 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 mio v1.2.073 Compiling socket2 v0.6.374 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.3284 Compiling tracing-attributes v0.1.3185 Compiling futures-util v0.3.3286 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 tokio-util v0.7.1894 Compiling harmonia-utils-io v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)95 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 16.75s101Executing cargoInstallPostBuildHook102Finished cargoInstallPostBuildHook103Finished cargoBuildHookcheckPhase
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 cpufeatures v0.2.17109 Compiling shlex v1.3.0110 Compiling find-msvc-tools v0.1.9111 Compiling bitflags v2.11.1112 Compiling signature v2.2.0113 Compiling subtle v2.6.1114 Compiling getrandom v0.4.2115 Compiling zeroize v1.8.2116 Compiling rustix v1.1.4117 Compiling curve25519-dalek-derive v0.1.1118 Compiling getrandom v0.3.4119 Compiling linux-raw-sys v0.12.1120 Compiling fastrand v2.4.1121 Compiling ed25519 v2.2.3122 Compiling cc v1.2.62123 Compiling nix v0.31.3124 Compiling rustc_version v0.4.1125 Compiling generic-array v0.14.7126 Compiling curve25519-dalek v4.1.3127 Compiling libsqlite3-sys v0.37.0128 Compiling crypto-common v0.1.7129 Compiling block-buffer v0.10.4130 Compiling digest v0.10.7131 Compiling sha2 v0.10.9132 Compiling tempfile v3.27.0133 Compiling ed25519-dalek v2.2.0134 Compiling harmonia-store-core v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)135 Compiling harmonia-file-nar v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)136 Compiling harmonia-store-path-info v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)137 Compiling rusqlite v0.39.0138 Compiling fast-nix-common v0.1.0 (/build/source/crates/common)139 Compiling harmonia-store-db v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)140 Compiling fast-nix-gc v0.1.0 (/build/source/crates/gc)141 Compiling fast-nix-optimise v0.1.0 (/build/source/crates/optimise)142 Finished `release` profile [optimized] target(s) in 51.69s143 Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_common-42c76148dbc16c61)144145running 21 tests146test closest_match_tests::suggests_near_misses_only ... ok147test logging::tests::respects_level_filter ... ok148test nix_config::tests::parse ... ok149test tests::format_size_units ... ok150test temp_roots::tests::add_writes_nul_terminated_roots ... ok151test temp_roots::tests::add_uses_gc_socket_when_gc_holds_the_lock ... ok152test nix_config::tests::unknown_key_falls_back_to_default ... ok153test db::tests::load_graph_build_trace_edges ... ok154test db::tests::has_table_checks_existence ... ok155test db::tests::compute_closure_marks_reachable_only ... ok156test db::tests::invalidate_paths_clears_realisations_with_restrict_fk ... ok157test db::tests::invalidate_paths_cascades_derivation_outputs ... ok158test db::tests::load_graph_ignores_edges_with_unknown_ids ... ok159test db::tests::valid_store_paths_and_typed_variants ... ok160test db::tests::store_dir_typed_uses_configured_dir ... ok161test db::tests::invalidate_paths_handles_ref_cycles ... ok162test db::tests::basename_index_lookups ... ok163test db::tests::is_valid_path_checks_db ... ok164test db::tests::load_graph_builds_csr ... ok165test db::tests::empty_graph ... ok166test db::tests::load_graph_keep_derivations_adds_output_to_drv_edge ... ok167168test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s169170 Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_gc-1d9957bf543cb0ed)171172running 32 tests173test gc::tests::delete_store_path_file_reports_disk_blocks ... ok174test gc::tests::delete_store_path_missing_is_zero ... ok175test gc::tests::delete_store_path_other_stat_errors_propagate ... ok176test gc::tests::try_lock_dir_none_while_held ... ok177test profiles::tests::parse_older_than_units ... ok178test profiles::tests::profile_dirs_includes_state_and_xdg_paths_but_not_home ... ok179test profiles::tests::parse_older_than_rejects_invalid ... ok180test gc::tests::delete_store_path_removes_readonly_tree ... ok181test roots::tests::extract_store_path_takes_first_component ... ok182test roots::tests::scan_blob_ignores_bare_prefix ... ok183test roots::tests::scan_blob_finds_embedded_store_paths ... ok184test roots::tests::is_in_store_requires_separator ... ok185test roots::tests::store_path_basename_grammar ... ok186test profiles::tests::profile_lock_acquire_release_cleans_up ... ok187test profiles::tests::current_generation_none_when_missing ... ok188test profiles::tests::generation_links_and_current ... ok189test roots::runtime_roots::tests::read_file_root_ignores_non_store_paths ... ok190test profiles::tests::delete_old_generations_keeps_only_current ... ok191test profiles::tests::unparseable_current_generation_deletes_nothing ... ok192test roots::runtime_roots::tests::read_file_root_trims_and_extracts ... ok193test roots::tests::temp_roots_missing_dir_is_empty ... ok194test profiles::tests::delete_generations_older_than_cutoff ... ok195test roots::tests::temp_roots_reads_locked_skips_stale_and_junk ... ok196test gc_socket::tests::protect_marks_closure_and_blocks_deletion ... ok197test gc_socket::tests::drop_joins_handlers_and_snapshot_sees_acked_roots ... ok198test gc_socket::tests::drop_returns_when_idle_accept_loop_is_waiting ... ok199test gc_socket::tests::unknown_path_protected_by_basename ... ok200test gc::tests::clean_links_removes_only_unreferenced ... ok201test profiles::tests::remove_old_generations_recurses_and_skips_non_link_targets ... ok202test gc_socket::tests::claim_nodes_partitions_and_blocks_protect ... ok203test gc_socket::tests::protect_blocks_until_pending_delete_finishes ... ok204test gc_socket::tests::protect_waits_for_already_protected_pending_node ... ok205206test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s207208 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_gc-45a3a28ae729e244)209210running 2 tests211test tests::parse_args_rejects_unknown_arguments ... ok212test tests::parse_size_units ... ok213214test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s215216 Running tests/integration.rs (target/x86_64-unknown-linux-gnu/release/deps/integration-70a3d5851e6dffbf)217218running 41 tests219test gc_dry_run_counts_unknown_on_disk ... ok220test gc_dry_run_does_not_delete ... ok221test gc_dry_run_serves_socket_and_honors_roots ... ok222test gc_fails_when_roots_dir_is_unreadable ... ok223test gc_keeps_auto_root_with_unreadable_target ... ok224[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true225[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false226[INFO ] loading store graph...227[INFO ] 1 total valid paths228[INFO ] finding garbage collector roots...229test gc_deletes_non_utf8_store_entry ... ok230test gc_deletes_readonly_paths ... ok231test gc_empty_store_is_noop ... ok232test gc_does_not_hang_on_tmp_fifo ... ok233test gc_keeps_temp_root_not_yet_in_db ... ok234test gc_ignores_invalid_store_basenames ... ok235test gc_keep_recent_pins_recently_registered ... ok236test gc_keeps_runtime_roots_from_environ ... ok237test gc_keeps_runtime_roots_from_open_fd ... ok238[INFO ] found 1 roots239[INFO ] computing alive closure...240[INFO ] 1 alive paths241[INFO ] 0 dead paths242[INFO ] 1 unknown paths on disk not in DB243[INFO ] deleting garbage...244test gc_keeps_lock_file_of_active_build ... ok245test gc_keeps_ca_deriver_via_deriver_field_not_build_trace ... ok246test gc_keeps_deriver_of_alive_path ... ok247test gc_keeps_ca_output_via_build_trace ... ok248test gc_drops_partial_temp_root ... ok249test gc_handles_self_references ... ok250test gc_deletes_drv_when_output_deriver_is_unset ... ok251test gc_max_freed_stops_early ... ok252test gc_max_freed_batches_by_estimated_size ... ok253test gc_refuses_store_dir_mismatching_db ... ok254test gc_keeps_ca_outputs_of_alive_drv ... ok255test gc_deletes_unreferenced_paths ... ok256test gc_max_freed_referrer_never_outlives_reference ... ok257[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true258[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false259[INFO ] loading store graph...260[INFO ] 2 total valid paths261[INFO ] finding garbage collector roots...262test gc_cleans_unused_links_only_when_not_dry_run ... ok263[INFO ] deleting unused links...264[INFO ] found 0 roots265[INFO ] computing alive closure...266[INFO ] 0 alive paths267[INFO ] 2 dead paths268[INFO ] deleting garbage...269test gc_keeps_transitive_closure ... ok2700 store paths deleted, 0 bytes freed271test gc_keeps_unknown_path_registered_after_snapshot ... ok272test gc_removes_reserved_space_file_and_creates_private_lock ... ok273test gc_removes_dangling_auto_root ... ok274[INFO ] deleting unused links...275test gc_runtime_roots_validated_against_db ... ok276test gc_removes_unknown_disk_entries ... ok277test gc_rebases_canonical_runtime_roots_to_logical_store ... ok278test gc_removes_stale_temp_roots_file ... ok279test gc_removes_unlocked_tmp_dir ... ok280test gc_skips_locked_tmp_dir ... ok2811 store paths deleted, 1.00 KiB freed282test gc_socket_serves_before_graph_load_and_keeps_early_roots ... ok283test gc_store_dir_trailing_slash_is_normalized ... ok284test gc_socket_root_mid_gc_keeps_path_and_deletes_rest ... ok285286test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s287288 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_optimise-92ae5fbcf8377841)289290running 18 tests291test optimise::tests::errno_helpers_match_libc_values ... ok292test optimise::tests::rand_suffix_is_unique_per_call ... ok293test optimise::tests::load_link_inodes_missing_dir_is_empty ... ok294test optimise::tests::load_link_inodes_returns_actual_inodes ... ok295test hash::tests::matches_nix_hash_path_executable ... ok296test hash::tests::matches_nix_hash_path_symlink ... ok297test hash::tests::matches_nix_hash_path_regular ... ok298test optimise::tests::corrupt_link_with_size_mismatch_is_skipped ... ok299test optimise::tests::canonical_file_is_not_counted_as_linked ... ok300test optimise::tests::dry_run_counts_but_does_not_link ... ok301test optimise::tests::dry_run_takes_no_temp_roots ... ok302test optimise::tests::dedups_identical_files ... ok303test optimise::tests::writable_file_is_skipped_as_suspicious ... ok304test optimise::tests::restores_parent_perms_and_mtime ... ok305test optimise::tests::registers_temp_roots_for_optimised_paths ... ok306test optimise::tests::min_size_above_len_is_skipped ... ok307test optimise::tests::min_size_equal_to_len_is_processed ... ok308test optimise::tests::unreadable_path_is_skipped_not_fatal ... ok309310test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s311312 Doc-tests fast_nix_common313314running 0 tests315316test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s317318 Doc-tests fast_nix_gc319320running 0 tests321322test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s323324Finished cargoCheckHook325checkPhase completed in 52 secondsinstallPhase
326Executing cargoInstallHook327Finished cargoInstallHookfixupPhase
328shrinking RPATHs of ELF executables and libraries in /nix/store/grz885j4b67smyrzfgmkyqhgrlv0v51x-fast-nix-gc-0.1.0329shrinking /nix/store/grz885j4b67smyrzfgmkyqhgrlv0v51x-fast-nix-gc-0.1.0/bin/fast-nix-gc330shrinking /nix/store/grz885j4b67smyrzfgmkyqhgrlv0v51x-fast-nix-gc-0.1.0/bin/fast-nix-optimise331checking for references to /build/ in /nix/store/grz885j4b67smyrzfgmkyqhgrlv0v51x-fast-nix-gc-0.1.0...332patching script interpreter paths in /nix/store/grz885j4b67smyrzfgmkyqhgrlv0v51x-fast-nix-gc-0.1.0333stripping (with command strip and flags -S -p) in /nix/store/grz885j4b67smyrzfgmkyqhgrlv0v51x-fast-nix-gc-0.1.0/bin