fast-nix-gc-0.1.0
aarch64-linux.package-default
· build #61
· raw
1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/c4r7v1w0rgj06y8kxxr4dgfsqssncx9w-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 aarch64-unknown-linux-gnu --offline --profile release -p fast-nix-gc -p fast-nix-optimise11 Compiling proc-macro2 v1.0.10612 Compiling unicode-ident v1.0.2413 Compiling quote v1.0.4514 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 autocfg v1.5.024 Compiling const-oid v0.10.225 Compiling cfg_aliases v0.2.126 Compiling crossbeam-utils v0.8.2127 Compiling pkg-config v0.3.3328 Compiling vcpkg v0.2.1529 Compiling zerocopy v0.8.4830 Compiling bitflags v2.11.131 Compiling foldhash v0.2.032 Compiling data-encoding v2.11.033 Compiling anyhow v1.0.10334 Compiling md5 v0.8.035 Compiling zmij v1.0.2136 Compiling rayon-core v1.13.037 Compiling nix v0.31.338 Compiling fallible-iterator v0.3.039 Compiling futures-sink v0.3.3340 Compiling hashbrown v0.16.141 Compiling serde_json v1.0.14942 Compiling futures-core v0.3.3343 Compiling fallible-streaming-iterator v0.1.944 Compiling memchr v2.8.045 Compiling smallvec v1.15.146 Compiling same-file v1.0.647 Compiling once_cell v1.21.448 Compiling slab v0.4.1249 Compiling memoffset v0.9.150 Compiling futures-task v0.3.3351 Compiling convert_case v0.10.052 Compiling walkdir v2.5.053 Compiling log v0.4.3354 Compiling itoa v1.0.1855 Compiling regex-automata v0.4.1456 Compiling either v1.15.057 Compiling pico-args v0.5.058 Compiling tracing-core v0.1.3659 Compiling libsqlite3-sys v0.37.060 Compiling crossbeam-epoch v0.9.1861 Compiling hashlink v0.11.062 Compiling hybrid-array v0.4.1263 Compiling syn v2.0.11764 Compiling crossbeam-deque v0.8.665 Compiling rusqlite v0.39.066 Compiling bstr v1.12.167 Compiling block-buffer v0.12.068 Compiling crypto-common v0.2.169 Compiling rayon v1.12.070 Compiling errno v0.3.1471 Compiling mio v1.2.072 Compiling socket2 v0.6.373 Compiling cpufeatures v0.3.074 Compiling signal-hook-registry v1.4.875 Compiling digest v0.11.376 Compiling sha2 v0.11.077 Compiling sha1 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 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 22.84s101Executing cargoInstallPostBuildHook102Finished cargoInstallPostBuildHook103Finished cargoBuildHookcheckPhase
104Executing cargoCheckHook105cargoCheckHook flags: -j 24 --profile release --target aarch64-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 shlex v1.3.0110 Compiling bitflags v2.11.1111 Compiling getrandom v0.4.2112 Compiling rand_core v0.10.1113 Compiling zeroize v1.8.2114 Compiling subtle v2.6.1115 Compiling signature v2.2.0116 Compiling cpufeatures v0.2.17117 Compiling rustix v1.1.4118 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 chacha20 v0.10.0124 Compiling nix v0.31.3125 Compiling rustc_version v0.4.1126 Compiling generic-array v0.14.7127 Compiling rand v0.10.2128 Compiling curve25519-dalek v4.1.3129 Compiling libsqlite3-sys v0.37.0130 Compiling block-buffer v0.10.4131 Compiling crypto-common v0.1.7132 Compiling digest v0.10.7133 Compiling sha2 v0.10.9134 Compiling ed25519-dalek v2.2.0135 Compiling tempfile v3.27.0136 Compiling harmonia-store-core v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)137 Compiling harmonia-file-nar v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)138 Compiling harmonia-store-path-info v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)139 Compiling rusqlite v0.39.0140 Compiling fast-nix-common v0.1.0 (/build/source/crates/common)141 Compiling harmonia-store-db v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)142 Compiling fast-nix-gc v0.1.0 (/build/source/crates/gc)143 Compiling fast-nix-optimise v0.1.0 (/build/source/crates/optimise)144 Finished `release` profile [optimized] target(s) in 1m 20s145 Running unittests src/lib.rs (target/aarch64-unknown-linux-gnu/release/deps/fast_nix_common-a465958d58814271)146147running 22 tests148test closest_match_tests::suggests_near_misses_only ... ok149test nix_config::tests::parse ... ok150test logging::tests::respects_level_filter ... ok151test tests::format_size_units ... ok152test nix_config::tests::unknown_key_falls_back_to_default ... ok153test temp_roots::tests::add_writes_nul_terminated_roots ... ok154test temp_roots::tests::add_uses_gc_socket_when_gc_holds_the_lock ... ok155test db::tests::empty_graph ... ok156test db::tests::maybe_vacuum_skips_small_freelist ... ok157test db::tests::store_dir_typed_uses_configured_dir ... ok158test db::tests::is_valid_path_checks_db ... ok159test db::tests::load_graph_builds_csr ... ok160test db::tests::load_graph_keep_derivations_adds_output_to_drv_edge ... ok161test db::tests::load_graph_build_trace_edges ... ok162test db::tests::invalidate_ids_clears_realisations_with_restrict_fk ... ok163test db::tests::has_table_checks_existence ... ok164test db::tests::load_graph_ignores_edges_with_unknown_ids ... ok165test db::tests::valid_store_paths_and_typed_variants ... ok166test db::tests::basename_index_lookups ... ok167test db::tests::compute_closure_marks_reachable_only ... ok168test db::tests::invalidate_ids_cascades_derivation_outputs ... ok169test db::tests::invalidate_ids_handles_ref_cycles ... ok170171test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s172173 Running unittests src/lib.rs (target/aarch64-unknown-linux-gnu/release/deps/fast_nix_gc-6e0828676bf2523c)174175running 33 tests176test gc::tests::delete_store_path_missing_is_zero ... ok177test gc::tests::delete_store_path_removes_readonly_tree ... ok178test profiles::tests::parse_older_than_rejects_invalid ... ok179test profiles::tests::parse_older_than_units ... ok180test profiles::tests::profile_dirs_includes_state_and_xdg_paths_but_not_home ... ok181test gc::tests::delete_store_path_other_stat_errors_propagate ... ok182test gc::tests::try_lock_dir_none_while_held ... ok183test roots::tests::is_in_store_requires_separator ... ok184test roots::tests::extract_store_path_takes_first_component ... ok185test gc::tests::delete_store_path_file_reports_disk_blocks ... ok186test roots::tests::store_path_basename_grammar ... ok187test roots::tests::scan_blob_finds_embedded_store_paths ... ok188test roots::tests::scan_blob_ignores_bare_prefix ... ok189test roots::runtime_roots::tests::read_file_root_ignores_non_store_paths ... ok190test profiles::tests::current_generation_none_when_missing ... ok191test roots::runtime_roots::tests::read_file_root_trims_and_extracts ... ok192test profiles::tests::profile_lock_acquire_release_cleans_up ... ok193test profiles::tests::generation_links_and_current ... ok194test profiles::tests::unparseable_current_generation_deletes_nothing ... ok195test profiles::tests::delete_generations_older_than_cutoff ... ok196test roots::tests::temp_roots_missing_dir_is_empty ... ok197test profiles::tests::delete_old_generations_keeps_only_current ... ok198test roots::tests::temp_roots_reads_locked_skips_stale_and_junk ... ok199test roots::tests::find_roots_scans_extra_dirs ... ok200test gc_socket::tests::drop_joins_handlers_and_snapshot_sees_acked_roots ... ok201test gc_socket::tests::drop_returns_when_idle_accept_loop_is_waiting ... ok202test gc_socket::tests::protect_marks_closure_and_blocks_deletion ... ok203test gc_socket::tests::unknown_path_protected_by_basename ... ok204test gc::tests::clean_links_removes_only_unreferenced ... ok205test profiles::tests::remove_old_generations_recurses_and_skips_non_link_targets ... ok206test gc_socket::tests::claim_nodes_partitions_and_blocks_protect ... ok207test gc_socket::tests::protect_blocks_until_pending_delete_finishes ... ok208test gc_socket::tests::protect_waits_for_already_protected_pending_node ... ok209210test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s211212 Running unittests src/main.rs (target/aarch64-unknown-linux-gnu/release/deps/fast_nix_gc-7bbc990448bfd976)213214running 3 tests215test tests::parse_ensure_free_values ... ok216test tests::parse_size_units ... ok217test tests::parse_args_rejects_unknown_arguments ... ok218219test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s220221 Running tests/integration.rs (target/aarch64-unknown-linux-gnu/release/deps/integration-053fc5f796ac03d4)222223running 45 tests224test gc_dry_run_counts_unknown_on_disk ... ok225test gc_does_not_hang_on_tmp_fifo ... ok226test gc_fails_when_roots_dir_is_unreadable ... ok227test gc_dry_run_does_not_delete ... ok228test gc_keeps_auto_root_with_unreadable_target ... ok229test gc_empty_store_is_noop ... ok230test gc_dry_run_serves_socket_and_honors_roots ... ok231[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true232[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false233[INFO ] loading store graph...234[INFO ] 1 total valid paths235[INFO ] finding garbage collector roots...236test gc_keeps_runtime_roots_from_environ ... ok237test gc_deletes_non_utf8_store_entry ... ok238test gc_keeps_lock_file_of_active_build ... ok239test gc_ignores_invalid_store_basenames ... ok240test gc_deletes_readonly_paths ... ok241test gc_deletes_drv_when_output_deriver_is_unset ... ok242test gc_keeps_ca_output_via_build_trace ... ok243test gc_handles_self_references ... ok244test gc_drops_partial_temp_root ... ok245test gc_cleans_unused_links_only_when_not_dry_run ... ok246test gc_keep_recent_pins_recently_registered ... ok247[INFO ] found 1 roots248[INFO ] computing alive closure...249[INFO ] 1 alive paths250[INFO ] 0 dead paths251[INFO ] 1 unknown paths on disk not in DB252[INFO ] deleting garbage...253test gc_keeps_ca_deriver_via_deriver_field_not_build_trace ... ok254test gc_keeps_ca_outputs_of_alive_drv ... ok255test gc_keeps_runtime_roots_from_open_fd ... ok256test gc_keeps_indirect_auto_root ... ok257[INFO ] deleting unused links...258test gc_chunk_size_one_deletes_whole_dead_chain ... ok259test gc_deletes_unreferenced_paths ... ok260test gc_keeps_deriver_of_alive_path ... ok261test gc_max_freed_referrer_never_outlives_reference ... ok2620 store paths deleted, 0 bytes freed263[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true264[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false265[INFO ] loading store graph...266[INFO ] 2 total valid paths267test gc_max_freed_stops_early ... ok268test gc_refuses_store_dir_mismatching_db ... ok269test gc_keeps_temp_root_not_yet_in_db ... ok270test gc_keeps_unknown_path_registered_after_snapshot ... ok271[INFO ] finding garbage collector roots...272[INFO ] found 0 roots273[INFO ] computing alive closure...274[INFO ] 0 alive paths275[INFO ] 2 dead paths276[INFO ] deleting garbage...277test gc_max_freed_batches_by_estimated_size ... ok278test gc_keeps_transitive_closure ... ok279test gc_removes_dangling_auto_root ... ok280test gc_removes_unknown_disk_entries ... ok281[INFO ] deleting unused links...282test gc_removes_reserved_space_file_and_creates_private_lock ... ok283test gc_removes_unlocked_tmp_dir ... ok284test gc_store_dir_trailing_slash_is_normalized ... ok2851 store paths deleted, 1.00 KiB freed286test gc_skips_locked_tmp_dir ... ok287test gc_runtime_roots_validated_against_db ... ok288test gc_socket_root_mid_gc_keeps_path_and_deletes_rest ... ok289test gc_removes_stale_temp_roots_file ... ok290test gc_scans_roots_despite_unfollowable_indirect_target ... ok291test gc_rebases_canonical_runtime_roots_to_logical_store ... ok292test gc_socket_serves_before_graph_load_and_keeps_early_roots ... ok293test gc_vacuums_db_after_mass_deletion ... ok294295test result: ok. 45 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.88s296297 Running tests/socket_concurrency.rs (target/aarch64-unknown-linux-gnu/release/deps/socket_concurrency-3facb5b1ff1ac7b0)298299running 1 test300test concurrent_clients_never_resurrect_deleted_paths ... ok301302test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s303304 Running unittests src/main.rs (target/aarch64-unknown-linux-gnu/release/deps/fast_nix_optimise-e8b7f7c02b78503d)305306running 18 tests307test optimise::tests::rand_suffix_is_unique_per_call ... ok308test optimise::tests::errno_helpers_match_libc_values ... ok309test optimise::tests::load_link_inodes_returns_actual_inodes ... ok310test optimise::tests::load_link_inodes_missing_dir_is_empty ... ok311test hash::tests::matches_nix_hash_path_symlink ... ok312test hash::tests::matches_nix_hash_path_regular ... ok313test hash::tests::matches_nix_hash_path_executable ... ok314test optimise::tests::canonical_file_is_not_counted_as_linked ... ok315test optimise::tests::dry_run_counts_but_does_not_link ... ok316test optimise::tests::corrupt_link_with_size_mismatch_is_skipped ... ok317test optimise::tests::dedups_identical_files ... ok318test optimise::tests::registers_temp_roots_for_optimised_paths ... ok319test optimise::tests::dry_run_takes_no_temp_roots ... ok320test optimise::tests::min_size_equal_to_len_is_processed ... ok321test optimise::tests::writable_file_is_skipped_as_suspicious ... ok322test optimise::tests::min_size_above_len_is_skipped ... ok323test optimise::tests::restores_parent_perms_and_mtime ... ok324test optimise::tests::unreadable_path_is_skipped_not_fatal ... ok325326test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s327328 Doc-tests fast_nix_common329330running 0 tests331332test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s333334 Doc-tests fast_nix_gc335336running 0 tests337338test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s339340Finished cargoCheckHook341checkPhase completed in 1 minutes 38 secondsinstallPhase
342Executing cargoInstallHook343Finished cargoInstallHookfixupPhase
344shrinking RPATHs of ELF executables and libraries in /nix/store/611afl8715jqrn67hhwkr0l70wkljhwk-fast-nix-gc-0.1.0345shrinking /nix/store/611afl8715jqrn67hhwkr0l70wkljhwk-fast-nix-gc-0.1.0/bin/fast-nix-gc346shrinking /nix/store/611afl8715jqrn67hhwkr0l70wkljhwk-fast-nix-gc-0.1.0/bin/fast-nix-optimise347checking for references to /build/ in /nix/store/611afl8715jqrn67hhwkr0l70wkljhwk-fast-nix-gc-0.1.0...348patching script interpreter paths in /nix/store/611afl8715jqrn67hhwkr0l70wkljhwk-fast-nix-gc-0.1.0349stripping (with command strip and flags -S -p) in /nix/store/611afl8715jqrn67hhwkr0l70wkljhwk-fast-nix-gc-0.1.0/bin