nixbot

builds

succeeded fast-nix-gc-0.1.0 checks.x86_64-linux.package-default · build #131 · raw

1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/9y97d9pfdka9nhw5bwglqrxzfdljn1ji-source3source root is source4Executing cargoSetupPostUnpackHook5Finished cargoSetupPostUnpackHook6setting SOURCE_DATE_EPOCH to timestamp 1787534632 of file "source/crates/gc/src/roots.rs"
patchPhase
7Executing cargoSetupPostPatchHook8Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock9Finished cargoSetupPostPatchHook
buildPhase
10Executing cargoBuildHook11cargoBuildHook flags: -j 24 --target x86_64-unknown-linux-gnu --offline --profile release -p fast-nix-gc -p fast-nix-optimise12 Compiling proc-macro2 v1.0.10613 Compiling unicode-ident v1.0.2414 Compiling quote v1.0.4515 Compiling serde_core v1.0.22816 Compiling libc v0.2.18617 Compiling serde v1.0.22818 Compiling typenum v1.20.019 Compiling pin-project-lite v0.2.1720 Compiling unicode-segmentation v1.13.221 Compiling cfg-if v1.0.422 Compiling unicode-xid v0.2.623 Compiling thiserror v2.0.1824 Compiling const-oid v0.10.225 Compiling autocfg v1.5.026 Compiling crossbeam-utils v0.8.2127 Compiling pkg-config v0.3.3328 Compiling cfg_aliases v0.2.129 Compiling cpufeatures v0.3.030 Compiling vcpkg v0.2.1531 Compiling foldhash v0.2.032 Compiling data-encoding v2.11.033 Compiling bitflags v2.11.134 Compiling zerocopy v0.8.4835 Compiling md5 v0.8.036 Compiling anyhow v1.0.10437 Compiling zmij v1.0.2138 Compiling smallvec v1.15.139 Compiling nix v0.31.340 Compiling memchr v2.8.041 Compiling futures-sink v0.3.3342 Compiling fallible-iterator v0.3.043 Compiling hashbrown v0.16.144 Compiling fallible-streaming-iterator v0.1.945 Compiling same-file v1.0.646 Compiling futures-core v0.3.3347 Compiling convert_case v0.10.048 Compiling memoffset v0.9.149 Compiling rayon-core v1.13.050 Compiling serde_json v1.0.14951 Compiling walkdir v2.5.052 Compiling futures-task v0.3.3353 Compiling itoa v1.0.1854 Compiling once_cell v1.21.455 Compiling slab v0.4.1256 Compiling log v0.4.3457 Compiling regex-automata v0.4.1458 Compiling pico-args v0.5.059 Compiling either v1.15.060 Compiling libsqlite3-sys v0.37.061 Compiling tracing-core v0.1.3662 Compiling hybrid-array v0.4.1263 Compiling crossbeam-epoch v0.9.1864 Compiling hashlink v0.11.065 Compiling crossbeam-deque v0.8.666 Compiling syn v2.0.11767 Compiling rusqlite v0.39.068 Compiling block-buffer v0.12.069 Compiling crypto-common v0.2.170 Compiling bstr v1.12.171 Compiling rayon v1.12.072 Compiling errno v0.3.1473 Compiling mio v1.2.074 Compiling socket2 v0.6.375 Compiling signal-hook-registry v1.4.876 Compiling digest v0.11.377 Compiling sha2 v0.11.078 Compiling sha1 v0.11.079 Compiling serde_derive v1.0.22880 Compiling tokio-macros v2.7.081 Compiling thiserror-impl v2.0.1882 Compiling derive_more-impl v2.1.183 Compiling zerocopy-derive v0.8.4884 Compiling futures-macro v0.3.3385 Compiling tracing-attributes v0.1.3186 Compiling futures-util v0.3.3387 Compiling tracing v0.1.4488 Compiling derive_more v2.1.189 Compiling bytes v1.11.190 Compiling harmonia-utils-base-encoding v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)91 Compiling harmonia-file-core v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)92 Compiling tokio v1.53.193 Compiling harmonia-utils-hash v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)94 Compiling harmonia-utils-io v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)95 Compiling tokio-util v0.7.1896 Compiling harmonia-store-core v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)97 Compiling harmonia-file-nar v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)98 Compiling fast-nix-common v0.1.0 (/build/source/crates/common)99 Compiling fast-nix-gc v0.1.0 (/build/source/crates/gc)100 Compiling fast-nix-optimise v0.1.0 (/build/source/crates/optimise)101 Finished `release` profile [optimized] target(s) in 16.91s102Executing cargoInstallPostBuildHook103Finished cargoInstallPostBuildHook104Finished cargoBuildHook
checkPhase
105Executing cargoCheckHook106cargoCheckHook flags: -j 24 --profile release --target x86_64-unknown-linux-gnu --offline -p fast-nix-gc -p fast-nix-common -p fast-nix-optimise --107 Compiling version_check v0.9.5108 Compiling semver v1.0.28109 Compiling shlex v1.3.0110 Compiling cpufeatures v0.2.17111 Compiling getrandom v0.4.2112 Compiling rand_core v0.10.1113 Compiling find-msvc-tools v0.1.9114 Compiling bitflags v2.11.1115 Compiling signature v2.2.0116 Compiling subtle v2.6.1117 Compiling zeroize v1.8.2118 Compiling curve25519-dalek-derive v0.1.1119 Compiling rustix v1.1.4120 Compiling getrandom v0.3.4121 Compiling linux-raw-sys v0.12.1122 Compiling fastrand v2.4.1123 Compiling ed25519 v2.2.3124 Compiling chacha20 v0.10.0125 Compiling cc v1.2.62126 Compiling nix v0.31.3127 Compiling rustc_version v0.4.1128 Compiling generic-array v0.14.7129 Compiling curve25519-dalek v4.1.3130 Compiling rand v0.10.2131 Compiling libsqlite3-sys v0.37.0132 Compiling block-buffer v0.10.4133 Compiling crypto-common v0.1.7134 Compiling digest v0.10.7135 Compiling sha2 v0.10.9136 Compiling tempfile v3.27.0137 Compiling ed25519-dalek v2.2.0138 Compiling harmonia-store-core v0.0.0-alpha.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)139 Compiling harmonia-file-nar v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)140 Compiling harmonia-store-path-info v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)141 Compiling rusqlite v0.39.0142 Compiling fast-nix-common v0.1.0 (/build/source/crates/common)143 Compiling harmonia-store-db v3.1.0 (https://github.com/nix-community/harmonia?rev=9789e1d0a322360442ff2a2a150f8bd2b9ccf93a#9789e1d0)144 Compiling fast-nix-gc v0.1.0 (/build/source/crates/gc)145 Compiling fast-nix-optimise v0.1.0 (/build/source/crates/optimise)146 Finished `release` profile [optimized] target(s) in 50.68s147 Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_common-991ce23a61c4cc30)148149running 22 tests150test closest_match_tests::suggests_near_misses_only ... ok151test nix_config::tests::parse ... ok152test logging::tests::respects_level_filter ... ok153test tests::format_size_units ... ok154test nix_config::tests::unknown_key_falls_back_to_default ... ok155test temp_roots::tests::add_writes_nul_terminated_roots ... ok156test temp_roots::tests::add_uses_gc_socket_when_gc_holds_the_lock ... ok157test db::tests::empty_graph ... ok158test db::tests::has_table_checks_existence ... ok159test db::tests::basename_index_lookups ... ok160test db::tests::store_dir_typed_uses_configured_dir ... ok161test db::tests::valid_store_paths_and_typed_variants ... ok162test db::tests::load_graph_builds_csr ... ok163test db::tests::load_graph_build_trace_edges ... ok164test db::tests::invalidate_ids_cascades_derivation_outputs ... ok165test db::tests::is_valid_path_checks_db ... ok166test db::tests::invalidate_ids_handles_ref_cycles ... ok167test db::tests::maybe_vacuum_skips_small_freelist ... ok168test db::tests::compute_closure_marks_reachable_only ... ok169test db::tests::invalidate_ids_clears_realisations_with_restrict_fk ... ok170test db::tests::load_graph_ignores_edges_with_unknown_ids ... ok171test db::tests::load_graph_keep_derivations_adds_output_to_drv_edge ... ok172173test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s174175 Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_gc-98d5366abed27fbd)176177running 33 tests178test gc::tests::delete_store_path_missing_is_zero ... ok179test gc::tests::delete_store_path_file_reports_disk_blocks ... ok180test gc::tests::try_lock_dir_none_while_held ... ok181test gc::tests::delete_store_path_other_stat_errors_propagate ... ok182test gc::tests::delete_store_path_removes_readonly_tree ... ok183test profiles::tests::profile_dirs_includes_state_and_xdg_paths_but_not_home ... ok184test profiles::tests::current_generation_none_when_missing ... ok185test profiles::tests::parse_older_than_units ... ok186test profiles::tests::parse_older_than_rejects_invalid ... ok187test roots::tests::is_in_store_requires_separator ... ok188test profiles::tests::delete_old_generations_keeps_only_current ... ok189test roots::runtime_roots::tests::read_file_root_ignores_non_store_paths ... ok190test gc::tests::clean_links_removes_only_unreferenced ... ok191test profiles::tests::profile_lock_acquire_release_cleans_up ... ok192test roots::tests::extract_store_path_takes_first_component ... ok193test profiles::tests::generation_links_and_current ... ok194test roots::tests::scan_blob_ignores_bare_prefix ... ok195test roots::tests::store_path_basename_grammar ... ok196test profiles::tests::unparseable_current_generation_deletes_nothing ... ok197test roots::tests::scan_blob_finds_embedded_store_paths ... ok198test profiles::tests::delete_generations_older_than_cutoff ... ok199test roots::tests::temp_roots_missing_dir_is_empty ... ok200test roots::runtime_roots::tests::read_file_root_trims_and_extracts ... ok201test gc_socket::tests::drop_returns_when_idle_accept_loop_is_waiting ... ok202test roots::tests::temp_roots_reads_locked_skips_stale_and_junk ... ok203test profiles::tests::remove_old_generations_recurses_and_skips_non_link_targets ... ok204test roots::tests::find_roots_scans_extra_dirs ... ok205test gc_socket::tests::drop_joins_handlers_and_snapshot_sees_acked_roots ... ok206test gc_socket::tests::protect_marks_closure_and_blocks_deletion ... ok207test gc_socket::tests::unknown_path_protected_by_basename ... ok208test gc_socket::tests::claim_nodes_partitions_and_blocks_protect ... ok209test gc_socket::tests::protect_blocks_until_pending_delete_finishes ... ok210test gc_socket::tests::protect_waits_for_already_protected_pending_node ... ok211212test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s213214 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_gc-37f79afadfd1df70)215216running 3 tests217test tests::parse_ensure_free_values ... ok218test tests::parse_size_units ... ok219test tests::parse_args_rejects_unknown_arguments ... ok220221test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s222223 Running tests/integration.rs (target/x86_64-unknown-linux-gnu/release/deps/integration-895a9457e94ec514)224225running 45 tests226test gc_deletes_non_utf8_store_entry ... ok227test gc_dry_run_counts_unknown_on_disk ... ok228test gc_does_not_hang_on_tmp_fifo ... ok229test gc_ignores_invalid_store_basenames ... ok230test gc_empty_store_is_noop ... ok231test gc_keeps_auto_root_with_unreadable_target ... ok232test gc_deletes_readonly_paths ... ok233test gc_keeps_indirect_auto_root ... ok234test gc_keeps_lock_file_of_active_build ... ok235test gc_fails_when_roots_dir_is_unreadable ... ok236test gc_dry_run_serves_socket_and_honors_roots ... ok237test gc_drops_partial_temp_root ... ok238test gc_dry_run_does_not_delete ... ok239test gc_deletes_drv_when_output_deriver_is_unset ... ok240test gc_handles_self_references ... ok241test gc_keeps_ca_output_via_build_trace ... ok242test gc_keep_recent_pins_recently_registered ... ok243test gc_keeps_deriver_of_alive_path ... ok244test gc_keeps_ca_outputs_of_alive_drv ... ok245test gc_keeps_ca_deriver_via_deriver_field_not_build_trace ... ok246test gc_chunk_size_one_deletes_whole_dead_chain ... ok247[WARN ] cannot run `nix config show keep-derivations`: No such file or directory (os error 2); using default true248[WARN ] cannot run `nix config show keep-outputs`: No such file or directory (os error 2); using default false249[INFO ] loading store graph...250[INFO ] 1 total valid paths251test gc_keeps_runtime_roots_from_environ ... ok252test gc_keeps_temp_root_not_yet_in_db ... ok253test gc_cleans_unused_links_only_when_not_dry_run ... ok254[INFO ] finding garbage collector roots...255test gc_keeps_runtime_roots_from_open_fd ... ok256[INFO ] found 1 roots257[INFO ] computing alive closure...258[INFO ] 1 alive paths259[test gc_deletes_unreferenced_paths ... INFOok 260] 0 dead paths261[INFO ] 1 unknown paths on disk not in DB262[INFO ] deleting garbage...263[INFO ] deleting unused links...2640 store paths deleted, 0 bytes freed265[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 paths269test gc_removes_dangling_auto_root ... ok270test gc_removes_reserved_space_file_and_creates_private_lock ... ok271test gc_keeps_unknown_path_registered_after_snapshot ... ok272test gc_removes_unknown_disk_entries ... ok273test gc_refuses_store_dir_mismatching_db ... ok274test gc_max_freed_stops_early ... ok275test gc_keeps_transitive_closure ... ok276[INFO ] finding garbage collector roots...277test gc_rebases_canonical_runtime_roots_to_logical_store ... ok278test gc_removes_stale_temp_roots_file ... ok279[INFO ] found 0 roots280[INFO ] computing alive closure...281[INFO ] 0 alive paths282[INFO ] 2 dead paths283[INFO ] deleting garbage...284test gc_removes_unlocked_tmp_dir ... ok285[INFO ] deleting unused links...286test gc_runtime_roots_validated_against_db ... ok287test gc_skips_locked_tmp_dir ... ok288test gc_max_freed_referrer_never_outlives_reference ... ok2891 store paths deleted, 1.00 KiB freed290test gc_store_dir_trailing_slash_is_normalized ... ok291test gc_socket_serves_before_graph_load_and_keeps_early_roots ... ok292test gc_scans_roots_despite_unfollowable_indirect_target ... ok293test gc_socket_root_mid_gc_keeps_path_and_deletes_rest ... ok294test gc_max_freed_batches_by_estimated_size ... ok295test gc_vacuums_db_after_mass_deletion ... ok296297test result: ok. 45 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.74s298299 Running tests/socket_concurrency.rs (target/x86_64-unknown-linux-gnu/release/deps/socket_concurrency-0ae98f1fb55dc75c)300301running 1 test302test concurrent_clients_never_resurrect_deleted_paths ... ok303304test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s305306 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/fast_nix_optimise-a6d1d911f8019595)307308running 18 tests309test optimise::tests::errno_helpers_match_libc_values ... ok310test optimise::tests::rand_suffix_is_unique_per_call ... ok311test optimise::tests::load_link_inodes_missing_dir_is_empty ... ok312test optimise::tests::load_link_inodes_returns_actual_inodes ... ok313test hash::tests::matches_nix_hash_path_symlink ... ok314test hash::tests::matches_nix_hash_path_executable ... ok315test hash::tests::matches_nix_hash_path_regular ... ok316test optimise::tests::dry_run_takes_no_temp_roots ... ok317test optimise::tests::dry_run_counts_but_does_not_link ... ok318test optimise::tests::canonical_file_is_not_counted_as_linked ... ok319test optimise::tests::min_size_equal_to_len_is_processed ... ok320test optimise::tests::restores_parent_perms_and_mtime ... ok321test optimise::tests::corrupt_link_with_size_mismatch_is_skipped ... ok322test optimise::tests::min_size_above_len_is_skipped ... ok323test optimise::tests::unreadable_path_is_skipped_not_fatal ... ok324test optimise::tests::writable_file_is_skipped_as_suspicious ... ok325test optimise::tests::registers_temp_roots_for_optimised_paths ... ok326test optimise::tests::dedups_identical_files ... ok327328test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s329330 Doc-tests fast_nix_common331332running 0 tests333334test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s335336 Doc-tests fast_nix_gc337338running 0 tests339340test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s341342Finished cargoCheckHook343checkPhase completed in 1 minutes 2 seconds
installPhase
344Executing cargoInstallHook345Finished cargoInstallHook
fixupPhase
346shrinking RPATHs of ELF executables and libraries in /nix/store/s2y56lrjhpkzyslfs7nwmx5jbsi6dd8f-fast-nix-gc-0.1.0347shrinking /nix/store/s2y56lrjhpkzyslfs7nwmx5jbsi6dd8f-fast-nix-gc-0.1.0/bin/fast-nix-optimise348shrinking /nix/store/s2y56lrjhpkzyslfs7nwmx5jbsi6dd8f-fast-nix-gc-0.1.0/bin/fast-nix-gc349checking for references to /build/ in /nix/store/s2y56lrjhpkzyslfs7nwmx5jbsi6dd8f-fast-nix-gc-0.1.0...350patching script interpreter paths in /nix/store/s2y56lrjhpkzyslfs7nwmx5jbsi6dd8f-fast-nix-gc-0.1.0351stripping (with command strip and flags -S -p) in /nix/store/s2y56lrjhpkzyslfs7nwmx5jbsi6dd8f-fast-nix-gc-0.1.0/bin