From fa6c5462dd70dbf866d54542cb483c8ee92a8fb6 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:17:58 +0530 Subject: [PATCH 01/26] chore: add target baseline log This adds a new file to store the target baseline for future comparisons and testing. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 115 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 target-baseline.log diff --git a/target-baseline.log b/target-baseline.log new file mode 100644 index 0000000..4f9f7f7 --- /dev/null +++ b/target-baseline.log @@ -0,0 +1,115 @@ + Compiling proc-macro2 v1.0.107 + Compiling quote v1.0.47 + Compiling unicode-ident v1.0.24 + Compiling libc v0.2.189 + Compiling cfg-if v1.0.4 + Compiling shlex v2.0.1 + Compiling find-msvc-tools v0.1.10 + Compiling once_cell v1.21.4 + Compiling thiserror v2.0.20 + Compiling constant_time_eq v0.4.2 + Compiling arrayvec v0.7.8 + Compiling bytes v1.12.1 + Compiling pin-project-lite v0.2.17 + Compiling getrandom v0.4.3 + Compiling futures-core v0.3.34 + Compiling reflink-copy v0.1.30 + Compiling rustix v1.1.4 + Compiling typenum v1.20.1 + Compiling cc v1.4.2 + Compiling bitflags v2.13.1 + Compiling itoa v1.0.18 + Compiling tracing-core v0.1.36 + Compiling http v1.5.0 + Compiling hybrid-array v0.4.15 + Compiling equivalent v1.0.3 + Compiling slab v0.4.12 + Compiling fastrand v2.5.0 + Compiling hashbrown v0.17.1 + Compiling futures-sink v0.3.34 + Compiling zeroize v1.9.1 + Compiling httparse v1.10.1 + Compiling untrusted v0.9.0 + Compiling indexmap v2.14.2 + Compiling http-body v1.1.0 + Compiling rustls-pki-types v1.15.1 + Compiling block-buffer v0.12.1 + Compiling crypto-common v0.2.2 + Compiling try-lock v0.2.5 + Compiling blake3 v1.8.7 + Compiling ring v0.17.14 + Compiling fnv v1.0.7 + Compiling futures-task v0.3.34 + Compiling atomic-waker v1.1.2 + Compiling want v0.3.2 + Compiling futures-util v0.3.34 + Compiling digest v0.11.3 + Compiling futures-channel v0.3.34 + Compiling httpdate v1.0.3 + Compiling tower-service v0.3.3 + Compiling smallvec v1.16.3 + Compiling anyhow v1.0.104 + Compiling rustls v0.23.46 + Compiling syn v3.0.3 + Compiling syn v2.0.119 + Compiling log v0.4.34 + Compiling either v1.19.0 + Compiling errno v0.3.14 + Compiling signal-hook-registry v1.4.8 + Compiling socket2 v0.6.5 + Compiling mio v1.2.4 + Compiling getrandom v0.2.17 + Compiling cpufeatures v0.3.1 + Compiling sha2 v0.11.1 + Compiling subtle v2.6.1 + Compiling itertools v0.14.0 + Compiling sync_wrapper v1.0.2 + Compiling tower-layer v0.3.3 + Compiling webpki-roots v1.0.9 + Compiling thiserror-impl v2.0.20 + Compiling tokio-macros v2.7.2 + Compiling http-body-util v0.1.5 + Compiling percent-encoding v2.3.2 + Compiling base64 v0.22.1 + Compiling tokio v1.53.3 + Compiling utf8parse v0.2.2 + Compiling anstyle-parse v1.0.0 + Compiling ed25519-compact v2.6.0 + Compiling tracing-attributes v0.1.31 + Compiling pin-project-internal v1.1.13 + Compiling colorchoice v1.0.5 + Compiling anstyle v1.0.14 + Compiling is_terminal_polyfill v1.70.2 + Compiling anstyle-query v1.1.5 + Compiling anstream v1.0.0 + Compiling pin-project v1.1.13 + Compiling heck v0.5.0 + Compiling tracing v0.1.44 + Compiling strsim v0.11.1 + Compiling tempfile v3.27.0 + Compiling clap_lex v1.1.1 + Compiling clap_derive v4.6.7 + Compiling clap_builder v4.6.7 + Compiling powerfmt v0.2.1 + Compiling deranged v0.5.9 + Compiling time-core v0.1.9 + Compiling num-conv v0.2.2 + Compiling base64 v0.23.1 + Compiling pem v4.0.0 + Compiling clap v4.6.7 + Compiling time v0.3.55 + Compiling yasna v0.6.0 + Compiling prost-derive v0.14.4 + Compiling rustls-webpki v0.103.15 + Compiling rcgen v0.14.10 + Compiling prost v0.14.4 + Compiling tinymold-hash v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-hash) + Compiling tinymold-cas v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-cas) + Compiling tinymold-key v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-key) + Compiling tinymold-store v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-store) + Compiling tinymold-wrap v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-wrap) + Compiling tokio-util v0.7.20 + Compiling tokio-stream v0.1.19 + Compiling h2 v0.4.20 + Compiling tower v0.5.3 + Compiling hyper v1.12.0 From cb85b508ef66f51f6c61732ac192a2f58c767af1 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:00 +0530 Subject: [PATCH 02/26] chore(build): update target baseline log This updates the target baseline log to include the compilation of hyper-util and tokio-rustls dependencies. This ensures the build log accurately reflects all dependencies being compiled. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index 4f9f7f7..dfa4a90 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -113,3 +113,7 @@ Compiling h2 v0.4.20 Compiling tower v0.5.3 Compiling hyper v1.12.0 + Compiling hyper-util v0.1.21 + Compiling tokio-rustls v0.26.6 + Compiling hyper-timeout v0.5.2 + Compiling tonic v0.14.6 From 5ebc34e5f8b8f92e3848d18c27fbc37604048eba Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:06 +0530 Subject: [PATCH 03/26] test(build): update baseline log with new compilation and test results This updates the target-baseline.log file to include the compilation and unit test results for the newly added dependencies and modules. This ensures the baseline accurately reflects the current build state. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 180 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index dfa4a90..43320f2 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -117,3 +117,183 @@ Compiling tokio-rustls v0.26.6 Compiling hyper-timeout v0.5.2 Compiling tonic v0.14.6 + Compiling tonic-prost v0.14.6 + Compiling tinymold-server v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-server) + Compiling tinymold-remote v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-remote) + Compiling tinymold v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold) + Finished `test` profile [unoptimized + debuginfo] target(s) in 14.49s + Running unittests src/lib.rs (target/debug/deps/tinymold-a71b0e817824a050) + +running 160 tests +test cli::test::every_strategy_maps_to_the_store_strategy ... ok +test autogc::test::a_store_that_does_not_exist_is_never_collected ... ok +test cli::test::outcomes_map_to_exit_codes ... ok +test autogc::test::a_stamp_from_the_future_does_not_claim_a_collection ... ok +test autogc::test::automatic_collection_is_on_unless_switched_off ... ok +test cli::test::locations_default_to_the_cwd_and_cargo_target_dir ... ok +test autogc::test::a_collection_is_due_once_per_interval ... ok +test cli::test::rejects_a_malformed_digest_at_parse_time ... ok +test cli::test::hash_fails_on_a_missing_file ... ok +test cli::test::doctor_describes_the_remote_without_its_credential ... ok +test cli::test::snapshot_commands_need_a_store ... ok +test autogc::test::the_collection_keeps_recent_generations_of_the_given_store ... ok +test autogc::test::the_collection_drops_entries_unused_for_48_hours ... ok +test cli::test::gc_rejects_an_unparsable_age_or_size ... ok +test cli::test::remote_commands_need_a_remote ... ok +test cli::test::stats_fails_on_a_log_it_cannot_read ... ok +test cli::test::a_store_path_that_is_a_file_is_an_error ... ok +test doctor::test::extracts_fields_from_verbose_version_output ... ok +test doctor::test::a_missing_rustc_is_reported_not_fatal ... ok +test cli::test::stats_of_a_log_not_written_yet_has_no_hit_rate ... ok +test cli::test::has_reports_absence_through_the_outcome ... ok +test cli::test::hash_prints_digest_and_path_like_b3sum ... ok +test doctor::test::reports_a_configured_remote ... ok +test error::test::a_missing_log_location_says_how_to_give_one ... ok +test error::test::a_missing_remote_says_how_to_configure_one ... ok +test error::test::freshness_and_snapshot_errors_say_what_went_wrong ... ok +test error::test::invalid_limits_say_what_is_accepted ... ok +test error::test::library_errors_convert_and_render_transparently ... ok +test error::test::output_errors_keep_their_cause ... ok +test cli::test::remote_keygen_prints_a_matching_key_pair_without_a_remote ... ok +test error::test::remote_errors_convert_transparently ... ok +test error::test::store_location_error_tells_the_user_how_to_fix_it ... ok +test error::test::wrapper_errors_convert_transparently ... ok +test fresh::test::a_corrupt_manifest_names_the_bad_line ... ok +test cli::test::stats_summarizes_a_log_and_checks_the_hit_rate ... ok +test doctor::test::finds_only_tools_that_exist ... ok +test cli::test::store_errors_propagate ... ok +test cli::test::gc_reports_what_it_removed_from_the_store ... ok +test cli::test::remote_push_of_an_empty_store_sends_nothing_and_check_needs_a_server ... ok +test fresh::test::a_missing_or_non_directory_target_has_no_fingerprints ... ok +test cli::test::put_get_has_and_verify_round_trip_through_a_store ... ok +test fresh::test::paths_that_cannot_be_one_manifest_line_are_skipped ... ok +test cli::test::fresh_record_then_restore_reports_counts ... ok +test fresh::test::record_fails_on_an_unreadable_workspace ... ok +test fresh::test::a_corrupt_manifest_on_disk_is_reported ... ok +test fresh::test::an_unreadable_profile_directory_is_an_error ... ok +test cli::test::snapshot_save_without_a_name_needs_a_git_checkout ... ok +test fresh::test::a_changed_file_older_than_the_outputs_is_made_newer ... ok +test fresh::test::a_second_record_reuses_digests_of_unchanged_files ... ok +test fresh::test::only_cargo_fingerprints_move_the_stamp ... ok +test fresh::test::the_manifest_encoding_is_pinned ... ok +test fresh::test::times_convert_to_nanoseconds_and_back ... ok +test fresh::test::a_file_rewritten_within_a_coarse_tick_of_the_record_is_hashed_again ... ok +test fresh::test::record_counts_files_with_unencodable_names_as_skipped ... ok +test cli::test::snapshot_save_list_and_restore_round_trip ... ok +test fresh::test::write_atomically_reports_an_unwritable_location ... ok +test fresh::test::record_ignores_an_unreadable_previous_manifest ... ok +test gc::test::a_shorter_grace_sweeps_young_unreferenced_objects ... ok +test fresh::test::records_workspace_files_but_not_git_targets_or_nested_checkouts ... ok +test fresh::test::restore_without_a_manifest_does_nothing ... ok +test gc::test::a_record_that_cannot_be_removed_is_an_error ... ok +test gc::test::a_dry_run_reports_the_same_numbers_and_removes_nothing ... ok +test gc::test::ages_parse_with_every_unit_and_reject_anything_else ... ok +test doctor::test::a_failing_rustc_yields_no_output ... ok +test fresh::test::restore_leaves_changed_and_missing_files_alone ... ok +test fresh::test::restore_undoes_a_touch_that_did_not_change_content ... ok +test fresh::test::restore_refuses_after_a_build_changed_the_target ... ok +test gc::test::an_unreadable_snapshots_path_is_an_error ... ok +test gc::test::a_test_run_that_cannot_be_read_is_an_error_not_garbage ... ok +test fresh::test::every_fingerprint_location_cargo_uses_is_read ... ok +test gc::test::a_young_unreferenced_object_is_left_for_an_ingest_in_progress ... ok +test gc::test::sizes_parse_plain_or_with_a_binary_suffix_and_reject_anything_else ... ok +test gc::test::sizes_display_in_the_largest_fitting_unit ... ok +test fresh::test::verified_restore_hashes_even_when_mtimes_match_and_memoizes ... ok +test gc::test::a_test_run_keeps_its_output_until_it_expires ... ok +test gc::test::snapshot_expiry_without_a_snapshots_directory_removes_nothing ... ok +test gc::test::usage_of_a_missing_store_is_zero_and_creates_nothing ... ok +test gc::test::old_lock_files_go_unless_a_wrapper_holds_them ... ok +test gc::test::an_object_shared_by_two_actions_survives_until_neither_is_kept ... ok +test gc::test::an_action_unused_past_the_cutoff_goes_and_a_recent_one_stays ... ok +test gc::test::a_size_budget_keeps_the_most_recently_used_actions_that_fit ... ok +test gc::test::snapshots_older_than_their_cutoff_go ... ok +test gocacheprog::test::a_body_line_cut_off_mid_string_is_an_input_error ... ok +test gc::test::evicting_for_size_frees_only_objects_no_kept_action_shares ... ok +test gc::test::usage_counts_objects_and_bytes ... ok +test gocacheprog::test::a_body_that_is_not_a_json_string_is_an_input_error ... ok +test gocacheprog::test::a_closed_output_is_an_output_error ... ok +test gocacheprog::test::a_session_starts_by_announcing_its_commands ... ok +test gocacheprog::test::a_body_of_the_wrong_size_is_refused_and_the_session_stays_in_step ... ok +test gc::test::old_pre_keys_caches_and_temporaries_go_and_corrupt_actions_are_dropped ... ok +test gc::test::without_limits_only_garbage_goes ... ok +test gocacheprog::test::hex_round_trips_and_rejects_odd_or_bad_text ... ok +test gocacheprog::test::json_strings_escape_quotes_backslashes_and_controls ... ok +test gocacheprog::test::malformed_requests_are_refused ... ok +test gocacheprog::test::requests_parse_with_escapes_and_the_old_object_id_name ... ok +test location::test::an_explicit_store_wins ... ok +test gocacheprog::test::blank_lines_between_requests_are_skipped ... ok +test gocacheprog::test::an_unknown_action_is_a_miss ... ok +test location::test::local_app_data_is_used_on_windows_style_environments ... ok +test location::test::the_server_dir_prefers_its_own_variable_and_never_the_wrapper_store ... ok +test location::test::empty_variables_are_ignored ... ok +test location::test::nothing_set_means_no_location ... ok +test location::test::xdg_cache_home_beats_home ... ok +test serve::test::arguments_become_a_server_configuration ... ok +test gc::test::test_binary_records_expire_like_pre_keys ... ok +test serve::test::a_tls_certificate_needs_a_key ... ok +test serve::test::a_bind_failure_is_a_server_error ... ok +test serve::test::defaults_are_loopback_and_open ... ok +test gocacheprog::test::close_answers_and_ends_the_session ... ok +test serve::test::the_command_line_reaches_the_server ... ok +test gocacheprog::test::input_that_is_not_the_protocol_ends_the_session_with_an_error ... ok +test serve::test::serving_the_wrapper_store_is_refused ... ok +test serve::test::the_scheme_follows_tls ... ok +test gocacheprog::test::unknown_commands_are_answered_with_an_error ... ok +test gocacheprog::test::the_command_serves_the_named_store_and_refuses_the_wrapper_store ... ok +test gocacheprog::test::a_put_output_is_served_back_from_its_disk_path ... ok +test serve::test::a_closed_output_is_an_output_error ... ok +test doctor::test::reads_the_toolchain_through_rustc ... ok +test cli::test::output_failures_are_reported ... ok +test cli::test::doctor_prints_a_report ... ok +test doctor::test::reports_every_searched_tool_with_its_location ... ok +test gocacheprog::test::an_empty_output_has_no_body_line ... ok +test gc::test::each_unit_keeps_only_its_most_recent_generations ... ok +test stats::test::an_empty_log_says_so ... ok +test stats::test::counts_every_outcome_and_skips_lines_it_cannot_read ... ok +test stats::test::keeps_the_slowest_misses_slowest_first ... ok +test serve::test::starting_binds_and_says_where_it_listens ... ok +test doctor::test::reports_the_size_of_an_existing_store ... ok +test stats::test::test_runs_are_counted_apart_from_compiles ... ok +test stats::test::renders_text_and_markdown ... ok +test stats::test::the_hit_rate_counts_cacheable_invocations_only ... ok +test serve::test::running_serves_until_shutdown_and_succeeds ... ok +test tree::test::a_walk_into_a_missing_parent_reports_the_path ... ok +test tree::test::a_whole_tree_clone_that_cannot_happen_falls_back_cleanly ... ok +test tree::test::a_walk_of_a_missing_source_reports_the_source ... ok +test tree::test::describes_how_the_tree_was_placed ... ok +test tree::test::refuses_a_source_that_is_not_a_directory ... ok +test tree::test::set_modified_works_on_a_read_only_file ... ok +test wrapper::test::a_remote_is_configured_only_by_a_well_formed_url ... ok +test wrapper::test::compilers_and_paths_are_wrapper_calls ... ok +test wrapper::test::subcommands_and_flags_are_not ... ok +test tree::test::refuses_an_existing_destination ... ok +test wrapper::test::the_executable_limit_comes_from_the_environment_and_ignores_malformed_sizes ... ok +test wrapper::test::the_wrapper_uses_the_default_store_and_an_optional_log ... ok +test snapshot::test::restore_reports_missing_snapshots ... ok +test snapshot::test::a_snapshot_without_a_manifest_scores_zero ... ok +test snapshot::test::snapshot_names_are_single_plain_path_components ... ok +test snapshot::test::store_failures_carry_the_path ... ok +test tree::test::clones_a_tree_with_contents_mtimes_and_symlinks ... ok +test snapshot::test::a_snapshot_whose_outputs_moved_is_refused_and_removed ... ok +test tree::test::the_file_walk_alone_preserves_contents_and_mtimes ... ok +test snapshot::test::a_second_worktree_restores_a_snapshot_and_gets_the_built_mtimes ... ok +test snapshot::test::replacing_deletes_a_target_without_a_valid_manifest ... ok +test snapshot::test::a_file_that_differs_from_the_snapshot_is_made_newer_than_its_outputs ... ok +test snapshot::test::saving_again_replaces_the_snapshot_and_list_shows_it ... ok +test snapshot::test::restore_by_name_replaces_an_existing_target_only_when_asked ... ok +test snapshot::test::equal_mtimes_from_another_workspace_are_not_trusted ... ok +test snapshot::test::replacing_keeps_a_valid_target_as_an_automatic_snapshot ... ok +test snapshot::test::the_best_match_is_the_snapshot_sharing_the_most_content ... ok +test cli::test::git_head_names_the_checked_out_commit ... ok + +test result: ok. 160 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s + + Running unittests src/main.rs (target/debug/deps/tinymold-22a916be828c6d03) + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/cli.rs (target/debug/deps/cli-7744ac15fe05febc) + +running 3 tests From 51cf24b0d3c840bee7f95a66fe3f10b13f25d7d5 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:08 +0530 Subject: [PATCH 04/26] test(logging): add more test results to baseline log This updates the target-baseline.log to include the results of three additional tests. This ensures the baseline accurately reflects the current test suite execution. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index 43320f2..2459e04 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -297,3 +297,19 @@ test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini Running tests/cli.rs (target/debug/deps/cli-7744ac15fe05febc) running 3 tests +test failures_print_the_cause_chain_and_exit_nonzero ... ok +test hash_succeeds_and_prints_one_line_per_file ... ok +test has_exits_one_for_an_absent_object ... ok + +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s + + Running tests/live_go.rs (target/debug/deps/live_go-7a48ed616d72a956) + +running 1 test +test live_go_builds_from_the_store_with_an_empty_gocache ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/run_test.rs (target/debug/deps/run_test-01fc4cea250a9397) + +running 5 tests From a7e74a16da953617de3413b0f080a2dd61a6ccc0 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:09 +0530 Subject: [PATCH 05/26] test(logging): add test case for argument passing and exit status This adds a new test case to the baseline log to verify that arguments and exit status are correctly passed through during test execution. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index 2459e04..54850a8 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -313,3 +313,5 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini Running tests/run_test.rs (target/debug/deps/run_test-01fc4cea250a9397) running 5 tests +test run_test_passes_arguments_and_exit_status_through ... ok +test a_failing_test_fails_again_instead_of_being_replayed ... ok From 6b7b80edf92d01028f4c22d79aa6cbeb8d1bd960 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:15 +0530 Subject: [PATCH 06/26] test(baseline): update test results log This updates the target-baseline.log file to include results from additional tests that were run during the build process. This provides a more comprehensive record of the test suite's execution. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index 54850a8..ba94cdf 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -315,3 +315,25 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini running 5 tests test run_test_passes_arguments_and_exit_status_through ... ok test a_failing_test_fails_again_instead_of_being_replayed ... ok +test a_package_binary_outside_the_build_turns_caching_off ... ok +test an_integration_test_reruns_when_the_binary_it_runs_changes ... ok +test cargo_test_reruns_exactly_the_binaries_an_edit_reaches ... ok + +test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.75s + + Running tests/wrapper.rs (target/debug/deps/wrapper-4c60d8557d7af861) + +running 9 tests +test queries_and_other_programs_pass_through ... ok +test a_wrapper_call_starts_a_background_collection_unless_switched_off ... ok +test a_crate_that_uses_its_out_dir_only_transformed_misses_in_another_worktree ... ok +test a_crate_that_bakes_in_its_out_dir_misses_in_another_worktree ... ok +test a_crate_that_bakes_in_its_own_path_misses_in_another_worktree ... ok +test a_second_worktree_hits_and_an_env_dep_change_misses ... ok +test an_included_file_that_names_itself_misses_when_paths_are_not_remapped ... ok +test a_crate_that_includes_a_generated_file_hits_in_another_worktree ... ok +test work_used_since_the_cutoff_still_hits_after_gc_and_expired_work_misses ... ok + +test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.24s + + Running unittests src/lib.rs (target/debug/deps/tinymold_cas-b1f31594eb27f19a) From d4aaaa516821dbab6f88a2a185300b2a7f93f0e6 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:17 +0530 Subject: [PATCH 07/26] test(ci): update baseline log with new test results This updates the target-baseline.log file to include the results from the latest test runs. This ensures the baseline accurately reflects the current state of the test suite. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 132 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index ba94cdf..ecc0762 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -337,3 +337,135 @@ test work_used_since_the_cutoff_still_hits_after_gc_and_expired_work_misses ... test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.24s Running unittests src/lib.rs (target/debug/deps/tinymold_cas-b1f31594eb27f19a) + +running 44 tests +test materialize::test::methods_render_lowercase ... ok +test error::test::stream_errors_keep_the_failure_as_their_source ... ok +test error::test::unsupported_names_the_method ... ok +test error::test::io_errors_say_what_failed_and_where ... ok +test error::test::not_found_and_existing_destinations_render ... ok +test error::test::corruption_names_both_digests ... ok +test materialize::test::making_a_missing_file_writable_fails ... ok +test materialize::test::falls_through_every_method_and_reports_the_last_failure ... ok +test materialize::test::an_empty_method_list_is_rejected ... ok +test materialize::test::restores_owner_write_access_to_a_read_only_file ... ok +test materialize::test::copy_produces_an_independent_writable_file ... ok +test materialize::test::a_private_copy_never_shares_the_source_inode ... ok +test store::test::insert_bytes_reports_an_unwritable_staging_area ... ok +test materialize::test::auto_always_places_the_object ... ok +test materialize::test::hardlink_shares_the_store_object_and_stays_read_only ... ok +test store::test::a_failing_stream_is_a_stream_error_and_leaves_no_staging_file ... ok +test materialize::test::a_reflink_result_is_writable_when_the_filesystem_clones ... ok +test store::test::a_staging_write_failure_is_reported_as_a_write_error ... ok +test store::test::dropping_a_staged_stream_leaves_nothing_behind ... ok +test store::test::an_interrupted_read_is_retried ... ok +test store::test::insert_file_reports_staging_failures_and_cleans_up ... ok +test store::test::inserting_a_missing_file_fails_cleanly ... ok +test store::test::opening_fails_when_the_root_is_a_file ... ok +test store::test::a_staged_stream_commits_under_its_digest ... ok +test store::test::objects_are_sharded_by_their_first_byte ... ok +test store::test::listing_a_store_whose_objects_directory_is_a_file_fails ... ok +test store::test::a_racing_commit_of_existing_bytes_discards_its_staging_file ... ok +test store::test::a_rename_that_fails_is_an_io_error_naming_the_object ... ok +test store::test::inserted_bytes_read_back_and_are_sealed ... ok +test store::test::missing_objects_are_reported_by_digest ... ok +test store::test::objects_of_an_empty_store_is_empty ... ok +test store::test::materialize_reports_a_missing_object ... ok +test store::test::inserting_the_same_bytes_twice_keeps_one_object_and_no_staging_files ... ok +test store::test::keeping_an_object_refreshes_its_time_and_reports_whether_it_exists ... ok +test store::test::remove_deletes_a_sealed_object_and_reports_whether_it_was_there ... ok +test store::test::inserted_files_are_independent_of_their_source ... ok +test store::test::remove_reports_an_object_it_cannot_delete ... ok +test store::test::staging_files_lists_leftovers_and_remove_staging_deletes_them ... ok +test store::test::objects_skips_files_that_are_not_objects ... ok +test store::test::verify_detects_a_tampered_object ... ok +test store::test::objects_lists_every_object_with_its_size ... ok +test store::test::staging_bytes_the_store_already_holds_commits_to_the_same_object ... ok +test store::test::materialize_creates_parents_and_refuses_to_overwrite ... ok +test store::test::storing_bytes_already_present_refreshes_the_objects_time ... ok + +test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s + + Running tests/public_api.rs (target/debug/deps/public_api-8c70a7866b6d02f4) + +running 3 tests +test a_streamed_upload_is_checked_before_it_is_stored ... ok +test a_second_handle_on_the_same_root_sees_the_same_objects ... ok +test one_object_serves_many_worktrees ... ok + +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running unittests src/lib.rs (target/debug/deps/tinymold_hash-525833656d70da19) + +running 15 tests +test digest::test::parses_uppercase_hex ... ok +test digest::test::hex_round_trips ... ok +test digest::test::field_boundaries_change_the_digest ... ok +test digest::test::equal_fields_give_equal_digests ... ok +test digest::test::matches_the_reference_digest_of_the_empty_input ... ok +test digest::test::debug_shows_the_hex_form ... ok +test digest::test::rejects_hex_of_the_wrong_length ... ok +test digest::test::raw_bytes_round_trip ... ok +test digest::test::rejects_non_hex_characters ... ok +test error::test::a_read_failure_names_the_path_and_keeps_its_cause ... ok +test digest::test::a_file_and_a_slice_agree ... ok +test error::test::invalid_hex_quotes_the_rejected_text ... ok +test digest::test::retries_interrupted_reads_and_reports_real_failures ... ok +test digest::test::a_missing_file_reports_its_path ... ok +test digest::test::a_reader_and_a_slice_agree ... ok + +test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/public_api.rs (target/debug/deps/public_api-7e96cf4956cffc01) + +running 2 tests +test hasher_and_parse_errors_are_public ... ok +test digests_are_usable_as_map_keys_and_sort_stably ... ok + +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running unittests src/lib.rs (target/debug/deps/tinymold_key-760b414a5bd61dac) + +running 38 tests +test archive::test::a_changed_member_changes_the_digest ... ok +test depinfo::test::a_trailing_backslash_in_a_value_is_kept ... ok +test depinfo::test::an_env_dep_without_a_name_is_malformed ... ok +test archive::test::archives_differing_only_in_build_stamps_share_a_digest ... ok +test args::test::unknown_and_non_ascii_flags_are_kept_as_text ... ok +test archive::test::anything_else_is_hashed_as_it_is ... ok +test env_use::test::including_the_value_itself_only_picks_a_file ... ok +test args::test::a_command_line_with_its_own_path_remapping_says_so ... ok +test env_use::test::any_other_use_is_not_only_picking_files ... ok +test args::test::spellings_of_the_same_flag_parse_the_same ... ok +test env_use::test::a_name_the_text_cannot_see_is_opaque ... ok +test env_use::test::mentions_on_comment_lines_are_not_uses ... ok +test env_use::test::text_that_is_not_an_env_invocation_is_not_opaque ... ok +test depinfo::test::reads_inputs_and_env_deps_as_rustc_writes_them ... ok +test args::test::parses_a_real_cargo_library_compile ... ok +test args::test::coverage_instrumentation_is_recognized_in_every_spelling ... ok +test args::test::passes_through_what_it_cannot_key ... ok +test env_use::test::the_include_idiom_only_picks_files ... ok +test env_use::test::uses_add_up_across_the_files_of_one_compile ... ok +test args::test::linking_units_are_recognized ... ok +test args::test::dynamic_linking_of_std_is_recognized_in_every_spelling ... ok +test error::test::malformed_dep_info_names_the_line ... ok +test key::test::every_input_moves_the_full_key ... ok +test key::test::the_pre_key_encoding_is_pinned ... ok +test roots::test::replaces_the_longest_root_first ... ok +test roots::test::the_profile_directory_is_found_for_deps_examples_and_build_scripts ... ok +test key::test::two_worktrees_of_one_compile_share_a_pre_key ... ok +test roots::test::a_root_without_a_usable_path_is_skipped ... ok +test roots::test::the_profile_directory_is_remapped_to_its_placeholder ... ok +test roots::test::two_worktrees_normalize_to_the_same_text_and_expand_to_their_own ... ok +test key::test::an_instrumented_compile_is_keyed_by_its_workspace_path ... ok +test test_key::test::a_tree_digest_does_not_depend_on_listing_order ... ok +test test_key::test::a_second_worktree_shares_the_key ... ok +test test_key::test::ignored_env_names_are_exact_or_prefixed ... ok +test test_key::test::the_test_key_encoding_is_pinned ... ok +test key::test::every_input_moves_the_pre_key ... ok +test test_key::test::ignored_env_vars_leave_the_key_alone ... ok +test test_key::test::every_keyed_field_moves_the_key ... ok + +test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running unittests src/lib.rs (target/debug/deps/tinymold_remote-bc6eb29b4496e341) From 7a9ad0e47a076e41b6076f192c8a703006f83fc3 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:30 +0530 Subject: [PATCH 08/26] chore: update target baseline log Record the full test run output in the baseline log, covering the remote, server, store, and wrap crates plus the live integration suites. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 853 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 853 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index ecc0762..fa943b0 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -469,3 +469,856 @@ test test_key::test::every_keyed_field_moves_the_key ... ok test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (target/debug/deps/tinymold_remote-bc6eb29b4496e341) + +running 93 tests +test config::test::base64_matches_rfc_4648_vectors ... ok +test config::test::grpc_urls_become_channel_uris ... ok +test config::test::every_variable_is_read ... ok +test config::test::malformed_credentials_and_timeouts_are_rejected ... ok +test config::test::malformed_urls_are_rejected ... ok +test config::test::malformed_keys_are_rejected ... ok +test config::test::no_url_means_no_remote ... ok +test config::test::the_credential_is_never_printed ... ok +test client::test::the_credential_is_kept_out_of_debug_output ... ok +test error::test::configuration_errors_say_what_is_accepted ... ok +test client::test::transfers_get_time_in_proportion_to_their_size ... ok +test client::test::a_transfer_sharing_the_link_gets_time_for_everything_in_flight ... ok +test error::test::setup_and_local_errors_render ... ok +test error::test::call_errors_name_the_call ... ok +test naming::test::action_keys_are_the_full_key_and_pre_keys_are_salted ... ok +test naming::test::blobs_are_named_by_sha256_and_size ... ok +test naming::test::resources_follow_the_reapi_grammar ... ok +test client::test::a_blob_declared_too_large_or_negative_is_refused_before_reading ... ok +test proto::test::a_digest_is_hash_one_and_size_two ... ok +test proto::test::action_cache_requests_put_the_digest_function_where_reapi_does ... ok +test proto::test::an_action_result_lists_files_at_two_and_the_exit_code_at_four ... ok +test proto::test::byte_stream_messages_carry_data_at_ten ... ok +test proto::test::capabilities_decode_digest_functions_and_whether_updates_are_enabled ... ok +test proto::test::find_missing_blobs_sends_digests_at_two_and_reads_them_back_at_two ... ok +test remote::test::a_connection_the_server_closed_is_retried ... ok +test client::test::tls_endpoints_and_credentials_are_set_up ... ok +test client::test::an_unreachable_server_fails_the_call ... ok +test config::test::signing_and_trusted_keys_are_read ... ok +test remote::test::a_proxy_whose_server_is_restarting_is_retried ... ok +test client::test::reading_a_missing_blob_is_a_not_found_status ... ok +test client::test::capabilities_report_sha256_and_whether_updates_are_allowed ... ok +test client::test::a_stream_longer_than_its_declared_size_is_cut_off ... ok +test client::test::a_read_only_server_refuses_writes ... ok +test client::test::a_blob_whose_content_does_not_match_is_rejected ... ok +test client::test::a_key_sent_without_a_size_is_refused_as_bazel_remote_refuses_it ... ok +test remote::test::a_pre_key_record_that_is_not_text_is_refused ... ok +test client::test::the_credential_is_sent_on_every_call ... ok +test client::test::an_action_result_round_trips_and_a_missing_one_is_none ... ok +test remote::test::a_corrupt_action_record_is_skipped ... ok +test remote::test::an_action_whose_object_is_gone_is_skipped ... ok +test remote::test::a_read_only_server_fails_the_push ... ok +test remote::test::an_output_without_a_digest_is_refused ... ok +test remote::test::a_signed_entry_whose_record_is_swapped_is_refused ... ok +test remote::test::a_pushed_action_is_fetched_into_an_empty_store ... ok +test remote::test::an_entry_signed_by_an_untrusted_key_is_refused ... ok +test remote::test::check_accepts_an_open_server_when_entries_must_be_signed ... ok +test remote::test::a_reader_without_trusted_keys_still_uses_signed_entries ... ok +test remote::test::check_reports_capabilities ... ok +test remote::test::check_refuses_a_server_open_to_anonymous_writes ... ok +test remote::test::a_signed_entry_is_fetched_by_a_reader_that_trusts_its_key ... ok +test remote::test::check_tells_a_refused_credential_from_an_anonymous_read_only_client ... ok +test remote::test::an_evicted_signature_during_refresh_does_not_abort_the_push ... ok +test remote::test::an_unsigned_entry_is_refused_before_any_object_is_fetched ... ok +test remote::test::an_unsigned_pre_key_is_refused_without_waiting_for_its_record ... ok +test remote::test::entries_tinymold_did_not_write_are_refused ... ok +test remote::test::in_flight_stops_at_the_first_failure ... ok +test remote::test::a_blob_over_the_budget_still_goes_up_alone ... ok +test remote::test::objects_the_store_already_holds_are_not_fetched_again ... ok +test remote::test::push_since_skips_records_not_used_since ... ok +test remote::test::a_transient_refresh_failure_falls_back_to_uploading ... ok +test remote::test::pushing_again_uploads_no_blob_twice ... ok +test client::test::large_and_empty_blobs_survive_chunked_transfers ... ok +test remote::test::saving_a_remote_hit_refreshes_it_without_reading_local_outputs ... ok +test remote::test::in_flight_runs_a_job_over_the_budget_alone ... ok +test remote::test::saving_repairs_a_remote_action_with_the_wrong_record ... ok +test remote::test::saving_repairs_an_existing_action_whose_remote_blob_was_evicted ... ok +test remote::test::unknown_keys_are_none ... ok +test signing::test::a_fixed_seed_gives_a_pinned_key_and_signature ... ok +test remote::test::signed_pushes_are_idempotent ... ok +test signing::test::a_malformed_signature_is_untrusted ... ok +test signing::test::a_list_of_trusted_keys_accepts_any_of_them ... ok +test signing::test::a_signature_by_a_trusted_key_verifies ... ok +test signing::test::a_signature_by_another_key_is_untrusted ... ok +test signing::test::bad_keys_are_refused ... ok +test signing::test::keys_round_trip_through_hex ... ok +test signing::test::the_signed_message_is_pinned ... ok +test signing::test::a_signature_is_bound_to_its_kind_key_and_record ... ok +test remote::test::saving_republishes_an_action_after_the_signing_key_changes ... ok +test remote::test::every_action_goes_up_before_any_pre_key ... ok +test remote::test::the_push_budget_overlaps_artifacts_larger_than_the_fetch_budget ... ok +test remote::test::in_flight_keeps_small_jobs_together_up_to_the_call_limit ... ok +test remote::test::in_flight_keeps_the_bytes_in_flight_within_the_budget ... ok +test remote::test::a_fetch_reads_an_actions_objects_together ... ok +test remote::test::a_signed_pre_key_reads_its_signature_and_record_together ... ok +test remote::test::a_cache_outage_stops_queued_refreshes_instead_of_retrying_every_action ... ok +test client::test::a_server_that_stalls_times_out ... ok +test remote::test::a_fetch_keeps_its_record_within_the_call_limit ... ok +test remote::test::each_object_is_stored_as_soon_as_it_arrives ... ok +test remote::test::an_upload_that_times_out_once_is_retried ... ok +test remote::test::push_overlaps_its_calls_over_a_slow_link ... ok +test remote::test::a_push_whose_every_upload_fails_is_an_error ... ok +test remote::test::a_push_that_left_no_pre_key_is_an_error ... ok +test remote::test::an_upload_that_keeps_failing_skips_only_the_entries_that_need_it ... ok + +test result: ok. 93 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.28s + + Running unittests src/lib.rs (target/debug/deps/tinymold_server-4e882193c24478f3) + +running 79 tests +test error::test::token_file_errors_name_the_line ... ok +test error::test::runtime_errors_keep_their_cause ... ok +test error::test::an_open_non_loopback_listener_names_the_address ... ok +test auth::test::an_open_policy_allows_everything ... ok +test auth::test::a_missing_token_file_is_a_read_error ... ok +test auth::test::malformed_lines_are_reported_by_number ... ok +test auth::test::a_debug_dump_never_shows_a_token ... ok +test front::bazel_http::test::paths_parse_with_and_without_a_tenant ... ok +test auth::test::a_missing_or_unknown_credential_is_unauthenticated ... ok +test auth::test::anonymous_reads_allow_reading_but_never_writing ... ok +test auth::test::a_read_token_is_limited_to_its_scopes ... ok +test auth::test::a_write_token_may_read_and_write_anywhere ... ok +test auth::test::basic_auth_presents_the_password_as_the_token ... ok +test front::gradle::test::paths_parse_with_an_optional_tenant ... ok +test front::bazel_http::test::a_cas_body_that_does_not_match_its_name_is_refused_and_not_stored ... ok +test front::bazel_http::test::a_miss_is_not_found_and_counted ... ok +test front::nx::test::paths_parse_with_an_optional_tenant ... ok +test front::bazel_http::test::other_methods_are_not_allowed ... ok +test front::nx::test::a_miss_is_not_found ... ok +test front::reapi::test::a_raw_message_is_never_decoded_and_clears_to_nothing ... ok +test front::nx::test::an_overlong_tenant_and_a_declared_oversized_output_are_refused ... ok +test front::bazel_http::test::bodies_over_the_limit_are_refused ... ok +test front::gradle::test::an_entry_declared_too_large_is_refused_before_it_is_read ... ok +test front::bazel_http::test::a_blob_round_trips_through_cas ... ok +test front::bazel_http::test::head_reports_the_length_without_a_body ... ok +test front::bazel_http::test::credentials_are_checked ... ok +test front::nx::test::oversized_outputs_and_other_methods_are_refused ... ok +test front::gradle::test::a_cache_entry_round_trips ... ok +test front::nx::test::a_task_output_round_trips ... ok +test front::gradle::test::misses_and_tenants ... ok +test front::bazel_http::test::an_action_result_round_trips_and_is_scoped_to_its_tenant ... ok +test front::nx::test::a_read_only_token_cannot_write ... ok +test front::reapi::test::a_write_whose_data_does_not_match_is_refused_and_not_stored ... ok +test front::bazel_http::test::an_action_value_is_also_a_cas_blob ... ok +test front::gradle::test::basic_auth_carries_the_token_and_401_challenges ... ok +test front::reapi::test::resource_names_split_into_instance_and_digest ... ok +test front::reapi::test::the_message_encodings_are_pinned ... ok +test front::reapi::test::bytestream_reads_of_absent_blobs_are_not_found ... ok +test front::gradle::test::a_later_upload_replaces_an_entry ... ok +test front::nx::test::records_are_immutable ... ok +test front::reapi::test::an_action_result_needs_its_blobs_and_comes_back_byte_for_byte ... ok +test front::turbo::test::batch_queries_parse_only_hex_hash_lists ... ok +test front::nx::test::tenants_are_separate ... ok +test front::reapi::test::batch_updates_report_each_blob ... ok +test front::reapi::test::unserved_methods_are_unimplemented ... ok +test front::reapi::test::action_results_are_scoped_to_their_instance ... ok +test front::turbo::test::json_strings_are_escaped ... ok +test front::reapi::test::invalid_digests_and_functions_are_refused ... ok +test front::reapi::test::a_result_whose_blobs_were_collected_is_not_found ... ok +test front::reapi::test::capabilities_advertise_sha256_and_api_versions ... ok +test front::turbo::test::teams_come_from_team_id_then_slug ... ok +test metrics::test::a_collection_sets_the_store_gauges ... ok +test front::reapi::test::batch_reads_return_present_blobs_and_not_found_for_the_rest ... ok +test front::reapi::test::non_contiguous_writes_are_refused ... ok +test metrics::test::latency_lands_in_every_bucket_at_or_above_it ... ok +test metrics::test::requests_are_counted_per_front_end_and_outcome ... ok +test transfer::test::a_failing_body_is_reported_as_a_body_error ... ok +test front::turbo::test::an_artifact_over_the_limit_is_refused ... ok +test transfer::test::an_operation_error_is_passed_back ... ok +test transfer::test::an_upload_feeds_the_whole_body_to_the_operation ... ok +test transfer::test::a_missing_file_downloads_as_none ... ok +test transfer::test::an_upload_over_the_limit_is_refused_and_the_operation_sees_an_error ... ok +test front::reapi::test::an_output_directory_needs_every_file_of_its_tree ... ok +test front::reapi::test::find_missing_blobs_sees_every_protocol_and_the_empty_blob ... ok +test front::turbo::test::events_are_accepted ... ok +test front::turbo::test::malformed_requests_are_refused ... ok +test front::turbo::test::a_batch_query_reports_size_duration_and_tag_or_null ... ok +test front::turbo::test::status_reports_enabled ... ok +test route::test::unknown_paths_are_not_found ... ok +test route::test::metrics_render_and_count_latency ... ok +test route::test::health_answers_ok ... ok +test front::turbo::test::an_artifact_round_trips_with_its_headers ... ok +test front::reapi::test::credentials_are_checked_on_every_call ... ok +test front::turbo::test::a_turbo_artifact_dedupes_with_other_protocols ... ok +test front::turbo::test::bearer_tokens_are_checked_per_team ... ok +test front::turbo::test::teams_do_not_see_each_others_artifacts ... ok +test front::turbo::test::head_reports_existence_without_a_body ... ok +test transfer::test::small_and_large_files_download_whole ... ok +test front::reapi::test::bytestream_round_trips_a_large_blob_and_honours_ranges ... ok + +test result: ok. 79 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s + + Running tests/live_ccache.rs (target/debug/deps/live_ccache-0658d440b7ff546e) + +running 1 test +test live_ccache_hits_the_server_from_an_empty_local_cache ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/live_gradle.rs (target/debug/deps/live_gradle-fb167cdf30a1f3be) + +running 1 test +test live_gradle_loads_compiled_classes_from_the_server ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/live_nx.rs (target/debug/deps/live_nx-efa57551633acf14) + +running 1 test +test live_nx_restores_a_task_from_the_server ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/live_turbo.rs (target/debug/deps/live_turbo-85a30173504e60fa) + +running 1 test +test live_turbo_replays_every_task_from_the_server ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/server.rs (target/debug/deps/server-72fa20a43eae2fe2) + +running 11 tests +test an_open_server_refuses_a_non_loopback_address ... ok +test bad_configuration_files_are_reported ... ok +test an_address_in_use_is_a_bind_error ... ok +test a_non_loopback_address_is_allowed_with_a_token_file ... ok +test a_tls_key_file_without_a_key_is_refused ... ok +test run_blocking_starts_its_own_runtime_and_returns_on_shutdown ... ok +test serves_http1 ... ok +test serves_plaintext_http2 ... ok +test serves_https_with_the_configured_certificate ... ok +test stopping_the_server_trims_the_store_to_its_budget ... ok +test a_large_blob_streams_both_ways ... ok + +test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s + + Running unittests src/lib.rs (target/debug/deps/tinymold_store-202f5eb02ca5d5e9) + +running 54 tests +test entry::test::a_record_without_the_magic_is_malformed ... ok +test entry::test::metadata_must_be_utf8 ... ok +test entry::test::an_empty_entry_round_trips ... ok +test entry::test::the_entry_encoding_is_pinned ... ok +test entry::test::metadata_over_the_limit_is_refused ... ok +test entry::test::trailing_bytes_are_malformed ... ok +test entry::test::an_entry_round_trips ... ok +test entry::test::metadata_keys_must_be_in_order ... ok +test error::test::a_digest_mismatch_names_both_digests ... ok +test error::test::a_missing_object_names_it ... ok +test entry::test::a_truncated_record_is_malformed ... ok +test error::test::io_errors_say_what_failed_and_where ... ok +test namespace::test::a_namespace_reports_what_it_was_built_from ... ok +test namespace::test::an_overlong_client_key_is_refused ... ok +test namespace::test::an_overlong_tenant_is_refused ... ok +test namespace::test::front_end_names_are_stable ... ok +test namespace::test::tenant_and_key_boundaries_cannot_bleed_into_each_other ... ok +test namespace::test::the_same_client_key_for_two_tenants_is_two_store_keys ... ok +test namespace::test::the_same_client_key_in_two_front_ends_is_two_store_keys ... ok +test namespace::test::the_store_key_encoding_is_pinned ... ok +test sha256::test::hex_round_trips_in_either_case ... ok +test sha256::test::malformed_hex_is_refused ... ok +test sha256::test::raw_bytes_round_trip_and_debug_shows_the_hex ... ok +test sha256::test::the_empty_input_matches_the_standard_vector ... ok +test gc::test::an_unreadable_entry_directory_is_an_error ... ok +test store::test::a_body_that_does_not_match_its_blake3_claim_is_refused ... ok +test store::test::a_body_that_does_not_match_its_sha256_claim_is_refused_and_not_stored ... ok +test gc::test::a_malformed_entry_is_removed ... ok +test gc::test::stale_pending_and_staging_files_are_swept_and_fresh_ones_kept ... ok +test store::test::a_corrupt_entry_file_is_reported_as_malformed ... ok +test store::test::claims_display_their_function_and_digest ... ok +test gc::test::a_damaged_index_file_is_swept_after_the_grace_period ... ok +test gc::test::the_sha256_index_forgets_objects_that_were_removed ... ok +test store::test::a_damaged_index_file_is_a_miss ... ok +test gc::test::an_entry_that_cannot_be_removed_is_an_error ... ok +test store::test::an_entry_naming_a_missing_object_is_refused ... ok +test store::test::a_matching_claim_is_accepted ... ok +test gc::test::a_dry_run_reports_without_removing ... ok +test gc::test::a_read_refreshes_the_last_use_of_an_entry_and_its_objects ... ok +test store::test::entries_and_index_files_are_sharded_by_their_first_byte ... ok +test gc::test::garbage_only_keeps_every_entry_and_what_it_references ... ok +test store::test::an_unreadable_entry_is_an_io_error ... ok +test gc::test::an_object_shared_by_two_entries_survives_evicting_one ... ok +test gc::test::an_object_uploaded_within_the_grace_period_survives_without_an_entry ... ok +test store::test::an_entry_reads_back_after_it_is_put ... ok +test store::test::ingest_names_a_body_by_both_digests ... ok +test store::test::an_entry_that_cannot_be_written_is_an_io_error_and_leaves_no_pending_file ... ok +test store::test::the_sha256_index_misses_once_the_object_is_gone ... ok +test gc::test::entries_unused_for_longer_than_max_age_are_removed_with_their_objects ... ok +test store::test::the_sha256_index_finds_an_ingested_body ... ok +test store::test::a_put_replaces_the_previous_entry ... ok +test store::test::writes_leave_no_pending_files ... ok +test gc::test::the_least_recently_used_entries_go_first_to_fit_the_budget ... ok +test store::test::the_same_client_key_in_two_namespaces_holds_two_entries ... ok + +test result: ok. 54 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s + + Running tests/public_api.rs (target/debug/deps/public_api-8a983a550a974ccf) + +running 4 tests +test a_wrong_claim_is_an_error_the_caller_can_match ... ok +test a_reopened_store_serves_what_it_held ... ok +test a_key_written_through_one_front_end_misses_through_another ... ok +test a_blob_uploaded_through_one_protocol_is_found_by_another_and_stored_once ... ok + +test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running unittests src/lib.rs (target/debug/deps/tinymold_wrap-ca8535581cbb5726) + +running 161 tests +test clock::test::a_fine_timestamp_is_written_before_any_later_instant ... ok +test clock::test::a_timestamp_at_the_end_of_time_is_never_written_before ... ok +test clock::test::a_timestamps_tick_is_inferred_from_its_trailing_zeros ... ok +test clock::test::a_whole_second_is_written_before_only_once_two_seconds_have_passed ... ok +test clock::test::nanos_saturate_before_the_epoch ... ok +test compile::test::a_byte_string_is_found_anywhere_in_a_file_and_nowhere_else ... ok +test catalog::test::records_of_an_empty_store_is_empty ... ok +test catalog::test::records_fails_when_a_directory_cannot_be_read ... ok +test catalog::test::action_references_names_outputs_and_replayed_text ... ok +test catalog::test::action_references_rejects_a_corrupt_or_missing_record ... ok +test clock::test::the_filesystem_clock_fails_where_no_file_can_be_written ... ok +test catalog::test::records_reports_size_and_last_use ... ok +test catalog::test::action_info_names_the_unit_by_its_dep_info_output ... ok +test catalog::test::test_run_references_name_both_streams ... ok +test clock::test::the_filesystem_clock_is_read_from_a_file_it_leaves_no_trace_of ... ok +test catalog::test::records_lists_test_runs_and_test_binaries ... ok +test catalog::test::records_lists_actions_pre_keys_caches_locks_and_temporaries ... ok +test compile::test::a_hit_with_many_outputs_fails_when_one_object_is_missing ... ok +{"$message_type":"diagnostic","message":"this file contains an unclosed delimiter","code":null,"level":"error","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpQswNWa/src/lib.rs","byte_start":13,"byte_end":14,"line_start":1,"line_end":1,"column_start":14,"column_end":15,"is_primary":false,"text":[{"text":"pub fn broken( {","highlight_start":14,"highlight_end":15}],"label":"unclosed delimiter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpQswNWa/src/lib.rs","byte_start":15,"byte_end":16,"line_start":1,"line_end":1,"column_start":16,"column_end":17,"is_primary":false,"text":[{"text":"pub fn broken( {","highlight_start":16,"highlight_end":17}],"label":"unclosed delimiter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpQswNWa/src/lib.rs","byte_start":17,"byte_end":17,"line_start":1,"line_end":1,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"pub fn broken( {","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: this file contains an unclosed delimiter\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpQswNWa/src/lib.rs:1:18\n |\n1 | pub fn broken( {\n | - -^\n | | |\n | | unclosed delimiter\n | unclosed delimiter\n\n"} +{"$message_type":"diagnostic","message":"aborting due to 1 previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 1 previous error\n\n"} +test compile::test::a_hit_with_many_outputs_restores_every_one_fresh_with_its_content_and_mode ... ok +test compile::test::a_failed_compile_is_not_stored ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNISzbC/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNISzbC/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_compile_without_dep_info_is_not_stored ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_command_line_ending_its_options_with_a_terminator_still_compiles_and_hits ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_hit_replaces_an_output_changed_since_it_was_placed ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/demo-1.d","emit":"dep-info"} +test compile::test::a_hit_removes_stale_outputs_of_the_same_unit ... ok +test compile::test::a_hit_records_its_last_use_on_the_action_and_pre_key ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/demo-1.d","emit":"dep-info"} +test compile::test::a_needle_split_across_two_reads_of_an_output_is_still_found ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/demo-1.d","emit":"dep-info"} +test compile::test::a_hit_keeps_outputs_already_in_place ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_hit_leaves_an_existing_incremental_session_alone ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_hit_without_a_placement_record_replaces_every_output ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +test compile::test::a_miss_is_stored_and_the_same_compile_then_hits_with_identical_outputs ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_missing_extern_is_an_error_before_rustc_runs ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_compile_with_other_sources_does_not_wait ... ok +test compile::test::a_changed_source_misses_and_both_versions_then_hit ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_hit_whose_objects_are_gone_runs_rustc_again ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/demo-1.d","emit":"dep-info"} +test compile::test::a_local_miss_is_served_from_the_remote_and_then_hits_locally ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +test compile::test::a_failing_remote_only_makes_the_unit_compile ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpxNAZgq/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpxNAZgq/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpyfSDxS/target/debug/deps/demo-1.d","emit":"dep-info"} +test compile::test::a_held_lock_is_waited_for_only_until_the_limit ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpxNAZgq/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::an_output_whose_identity_changed_or_object_is_gone_is_stored_again ... ok +test compile::test::an_output_written_during_the_compile_is_hashed_again ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +test compile::test::an_untouched_placed_output_is_carried_over_without_hashing ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +test compile::test::a_remote_without_the_unit_is_a_plain_miss ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpM0AK9v/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNMPFkI/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpoDRrlh/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpoDRrlh/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpoDRrlh/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp7Qz8sr/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp7Qz8sr/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::an_input_modified_during_the_compile_is_not_stored ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp7Qz8sr/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_miss_leaves_the_last_use_of_other_actions_alone ... ok +test compile::test::an_input_rewritten_within_a_coarse_tick_of_the_compile_is_not_stored ... ok +test declared::test::a_comment_after_the_header_is_still_the_header ... ok +test declared::test::a_dependency_named_tinymold_is_not_metadata ... ok +test declared::test::a_manifest_without_the_table_declares_nothing ... ok +test declared::test::anything_it_cannot_read_for_certain_is_uncached ... ok +test declared::test::cache_false_opts_the_package_out ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDhiObe/target/debug/deps/demo-1.d","emit":"dep-info"} +test declared::test::reads_inputs_on_one_line_or_several ... ok +test driver::test::a_directory_named_like_a_configuration_is_skipped ... ok +test driver::test::clippy_driver_wrapping_rustc_is_recognized ... ok +test driver::test::other_programs_and_clippy_without_rustc_are_not ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDhiObe/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDhiObe/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_restored_output_is_never_newer_than_a_file_written_after_it ... ok +test compile::test::an_output_that_is_a_directory_is_not_stored ... ok +test driver::test::the_nearest_configuration_wins_and_the_dotted_name_first ... ok +test error::test::errors_say_what_failed_and_keep_their_cause ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpyfSDxS/target/debug/deps/demo-1","emit":"link"} +1{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/demo-1.d","emit":"dep-info"} +out +err +test exec::test::a_captured_run_keeps_both_streams_and_the_exit_code ... ok +test exec::test::a_missing_program_is_a_spawn_error ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/libdemo-1.rlib","emit":"link"} +test exec::test::a_pass_through_returns_the_exit_code ... ok +test flight::test::a_free_key_is_claimed_at_once ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpyfSDxS/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpyfSDxS/target/debug/deps/demo-1","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_remote_action_missing_an_object_is_a_miss_with_the_reason ... ok +test flight::test::a_lock_is_held_only_while_a_claim_lives ... ok +test flight::test::a_store_that_cannot_hold_locks_leaves_the_compile_unlocked ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNMPFkI/target/debug/deps/demo-1","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpM0AK9v/target/debug/deps/demo-1","emit":"link"} +test compile::test::a_remote_input_set_whose_files_differ_here_is_not_used ... ok +test flight::test::an_unreadable_lock_counts_as_held ... ok +test compile::test::a_remote_action_naming_a_file_outside_the_output_directory_is_not_restored ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rlib","emit":"link"} +test package_tree::test::a_symlink_is_named_by_its_target_and_not_followed ... ok +test package_tree::test::a_changed_or_added_file_changes_the_listing ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +test package_tree::test::a_target_dir_nested_in_a_test_dir_hides_only_itself ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpcNZzuG/target/debug/deps/demo-1.d","emit":"dep-info"} +test package_tree::test::declared_inputs_cover_files_directories_and_missing_paths ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpcNZzuG/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rlib","emit":"link"} +test package_tree::test::making_a_file_executable_changes_the_listing ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNMPFkI/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNMPFkI/target/debug/deps/demo-1","emit":"link"} +test parallel::test::a_panic_after_another_worker_failed_is_still_an_error ... ok +test package_tree::test::lists_every_file_but_git_and_target_dirs ... ok +test parallel::test::a_panicking_worker_is_an_error_naming_the_task ... ok +test parallel::test::every_item_is_mapped_and_results_keep_the_item_order ... ok +test parallel::test::items_are_spread_over_more_than_one_thread ... ok +test parallel::test::no_items_need_no_work ... ok +test placed::test::a_file_is_held_only_with_its_identity_and_digest_unchanged ... ok +test parallel::test::the_first_failing_item_fails_the_whole_map ... ok +test placed::test::the_record_format_is_pinned ... ok +test record::test::a_session_section_out_of_place_or_naming_a_path_is_corrupt ... ok +test record::test::an_output_name_that_leaves_the_output_directory_is_corrupt ... ok +test record::test::corrupt_records_name_the_bad_line ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpcNZzuG/target/debug/deps/libdemo-1.rlib","emit":"link"} +test record::test::records_are_written_whole_and_read_back ... ok +test record::test::the_action_encoding_is_pinned ... ok +test record::test::the_pre_key_record_encoding_is_pinned ... ok +test record::test::the_session_section_encoding_is_pinned ... ok +test placed::test::a_saved_record_loads_back_and_a_bad_one_is_empty ... ok +test flight::test::a_wait_gives_up_at_the_limit ... ok +test compile::test::an_executable_within_the_limit_is_stored_and_hits ... ok +test runner::test::a_binary_that_cannot_be_hashed_still_runs_and_fails ... ok +test compile::test::the_executable_limit_leaves_libraries_alone ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"diagnostic","message":"writing `&Vec` instead of `&[_]` involves a new object where a slice will do","code":{"code":"clippy::ptr_arg","explanation":null},"level":"warning","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::ptr_arg)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change this to","code":null,"level":"help","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":"&[u8]","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs:1:13\n |\n1 | pub fn f(x: &Vec) -> usize { x.len() }\n | ^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg\n = note: `#[warn(clippy::ptr_arg)]` on by default\nhelp: change this to\n |\n1 - pub fn f(x: &Vec) -> usize { x.len() }\n1 + pub fn f(x: &[u8]) -> usize { x.len() }\n |\n\n"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"diagnostic","message":"writing `&Vec` instead of `&[_]` involves a new object where a slice will do","code":{"code":"clippy::ptr_arg","explanation":null},"level":"warning","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::ptr_arg)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change this to","code":null,"level":"help","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":"&[u8]","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs:1:13\n |\n1 | pub fn f(x: &Vec) -> usize { x.len() }\n | ^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg\n = note: `#[warn(clippy::ptr_arg)]` on by default\nhelp: change this to\n |\n1 - pub fn f(x: &Vec) -> usize { x.len() }\n1 + pub fn f(x: &[u8]) -> usize { x.len() }\n |\n\n"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +test driver::test::the_identity_names_the_version_and_follows_the_configuration ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"warning: 1 warning emitted\n\n"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"warning: 1 warning emitted\n\n"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_compile_another_build_is_running_is_waited_for_then_restored ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/demo-1.d","emit":"dep-info"} +test flight::test::a_held_key_is_waited_for_until_it_is_released ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::native_libraries_are_part_of_the_key ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_compile_whose_twin_stored_nothing_runs_after_the_wait ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"diagnostic","message":"writing `&Vec` instead of `&[_]` involves a new object where a slice will do","code":{"code":"clippy::ptr_arg","explanation":null},"level":"warning","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::ptr_arg)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change this to","code":null,"level":"help","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":"&[u8]","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs:1:13\n |\n1 | pub fn f(x: &Vec) -> usize { x.len() }\n | ^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg\n = note: `#[warn(clippy::ptr_arg)]` on by default\nhelp: change this to\n |\n1 - pub fn f(x: &Vec) -> usize { x.len() }\n1 + pub fn f(x: &[u8]) -> usize { x.len() }\n |\n\n"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"warning: 1 warning emitted\n\n"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"diagnostic","message":"writing `&Vec` instead of `&[_]` involves a new object where a slice will do","code":{"code":"clippy::ptr_arg","explanation":null},"level":"warning","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::ptr_arg)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change this to","code":null,"level":"help","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":"&[u8]","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs:1:13\n |\n1 | pub fn f(x: &Vec) -> usize { x.len() }\n | ^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg\n = note: `#[warn(clippy::ptr_arg)]` on by default\nhelp: change this to\n |\n1 - pub fn f(x: &Vec) -> usize { x.len() }\n1 + pub fn f(x: &[u8]) -> usize { x.len() }\n |\n\n"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"warning: 1 warning emitted\n\n"} +test compile::test::clippy_driver_compiles_are_cached_with_their_lints ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_rustc_entry_never_serves_clippy_driver_or_back ... ok +22test compile::test::a_restored_binary_is_executable_and_fresh ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpM0AK9v/target/debug/deps/demo-1.d","emit":"dep-info"} +333errtest exec::test::a_captured_run_keeps_the_order_its_streams_were_written_in ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpM0AK9v/target/debug/deps/demo-1","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_hit_restores_the_incremental_session_and_the_next_edit_reuses_it ... ok +test runner::test::a_replay_interleaves_the_streams_as_they_were_written ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::a_miss_after_an_incremental_edit_stores_carried_over_objects_by_their_bytes ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_binary_tinymold_did_not_build_passes_through ... ok +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rlib","emit":"link"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/demo-1.d","emit":"dep-info"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} +{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rlib","emit":"link"} +test compile::test::outputs_rustc_reuses_from_its_incremental_cache_are_stored_too ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_cached_run_reads_an_empty_stdin ... ok +test runner::test::a_via_program_that_cannot_start_fails_the_run ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_changed_build_script_output_or_package_binary_runs_again ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_changed_dynamic_library_beside_the_binary_runs_again ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_changed_env_var_runs_again_but_an_ignored_one_does_not ... ok +test session::test::a_session_whose_object_is_gone_leaves_nothing_behind ... ok +test session::test::a_stored_session_is_restored_only_where_none_exists_at_its_own_path ... ok +test session::test::only_finished_session_directories_count ... ok +test session::test::the_units_session_is_the_one_sharing_an_inode_with_its_objects ... ok +test session::test::without_objects_the_only_session_written_since_the_start_is_the_units ... ok +test stat::test::a_corrupt_stat_entry_is_ignored ... ok +test stat::test::a_digest_is_reused_until_the_file_changes ... ok +test stat::test::a_whole_second_mtime_is_not_trusted_within_its_tick ... ok +test stat::test::archives_are_digested_without_their_build_stamps ... ok +test stat::test::linker_identity_names_the_file_or_says_it_is_missing ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_changed_file_in_the_package_runs_again ... ok +test stat::test::validity_needs_an_inode_an_equal_identity_and_an_older_mtime ... ok +test test::a_cache_error_falls_back_to_running_rustc ... ok +test test::a_compile_misses_then_hits_and_says_so ... ok +error: this file contains an unclosed delimiter + --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpaarKiB/lib.rs:1:13 + | +1 | pub fn f( { + | - -^ + | | | + | | unclosed delimiter + | unclosed delimiter + +error: aborting due to 1 previous error + +test test::a_failed_compile_reports_rustc_exit_code ... ok +test test::a_failing_remote_is_noted_on_the_miss ... ok +rustc 1.99.1 (58cf8f9c3 2026-10-13) +test test::a_trace_records_a_pass_through ... ok +test test::a_trace_records_each_step_of_a_miss_and_a_hit ... ok +test test::a_unit_served_by_the_remote_is_logged_as_remote ... ok +test test::only_programs_named_rustc_are_cached ... ok +rustc 1.99.1 (58cf8f9c3 2026-10-13) +binary: rustc +commit-hash: 58cf8f9c35b355199727627d07ae34a4e2846d67 +commit-date: 2026-10-13 +host: aarch64-apple-darwin +release: 1.99.1 +LLVM version: 23.1.1 +rustc 1.99.1 (58cf8f9c3 2026-10-13) +binary: rustc +commit-hash: 58cf8f9c35b355199727627d07ae34a4e2846d67 +commit-date: 2026-10-13 +host: aarch64-apple-darwin +release: 1.99.1 +LLVM version: 23.1.1 +test test::queries_other_programs_and_odd_arguments_pass_through ... ok +test test_record::test::a_dylib_outside_the_binary_directory_is_corrupt ... ok +test test_record::test::an_exe_or_out_dir_outside_the_build_is_corrupt ... ok +test test_record::test::corrupt_test_records_name_the_bad_line ... ok +test test_record::test::only_paths_inside_the_build_can_be_recorded ... ok +test test_record::test::records_live_under_tests ... ok +test test_record::test::the_test_binary_encoding_is_pinned ... ok +test test_record::test::the_test_run_encoding_is_pinned ... ok +test trace::test::a_span_returns_its_value_and_records_in_order ... ok +test trace::test::each_step_is_one_chrome_trace_complete_event ... ok +test trace::test::labels_are_escaped_as_json_strings ... ok +test trace::test::writing_appends_and_skips_an_unwritable_path ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_corrupt_run_record_runs_the_test_again ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_declared_input_outside_the_package_runs_again_when_changed ... ok From 3f3efbf4bd10f143611765a11173fbb629e8957e Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:31 +0530 Subject: [PATCH 09/26] test(ci): update baseline log with failing test runs This updates the target baseline log to include records of test runs that fail, which helps in tracking intermittent failures during CI. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 69 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index fa943b0..f64d30b 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -1322,3 +1322,72 @@ test it_works ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test runner::test::a_declared_input_outside_the_package_runs_again_when_changed ... ok + +running 1 test +it_works --- FAILED + +failures: + +---- it_works stdout ---- + +thread 'it_works' (90239262) panicked at /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDTZyIZ/pkg/src/lib.rs:3:1: +assertion `left == right` failed + left: 1 + right: 2 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + + +failures: + it_works + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +it_works --- FAILED + +failures: + +---- it_works stdout ---- + +thread 'it_works' (90239270) panicked at /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDTZyIZ/pkg/src/lib.rs:3:1: +assertion `left == right` failed + left: 1 + right: 2 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + + +failures: + it_works + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_failing_run_is_never_recorded ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_miss_marks_the_test_binary_record_as_used ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_missing_object_runs_the_test_again ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_package_without_a_manifest_passes_through ... ok +test compile::test::an_executable_over_the_limit_is_compiled_but_never_stored ... ok From 6ca0530af7cc79d9f16fa40c29c45a350f0f83a1 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:18:45 +0530 Subject: [PATCH 10/26] test(baseline): add comprehensive test results to baseline log This update adds a large block of detailed test execution results to the target baseline log. This ensures that the baseline accurately reflects the full suite of tests and doctests being run. Auto-committed-on: macbook Co-authored-by: Medulla --- target-baseline.log | 197 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) diff --git a/target-baseline.log b/target-baseline.log index f64d30b..1986750 100644 --- a/target-baseline.log +++ b/target-baseline.log @@ -1391,3 +1391,200 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini test runner::test::a_package_without_a_manifest_passes_through ... ok test compile::test::an_executable_over_the_limit_is_compiled_but_never_stored ... ok + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_passing_run_is_replayed_without_running_the_binary ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_run_that_writes_into_its_package_is_not_recorded ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_run_whose_stdin_may_carry_input_is_never_cached ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +thread 'main' (90243671) panicked at /rustc/58cf8f9c35b355199727627d07ae34a4e2846d67/library/std/src/env.rs:878:51: +called `Result::unwrap()` on an `Err` value: "--\xFF" +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +test runner::test::arguments_and_env_vars_that_are_not_utf8_pass_through ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_changed_binary_runs_again ... ok + +running 1 test +test it_works ... ignored + +test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::bench_coverage_and_opted_out_runs_pass_through ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::run_test_uncached_runs_the_binary_as_asked ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_shared_library_in_a_native_search_path_of_the_build_turns_caching_off ... ok + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +test it_works ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +test runner::test::a_via_program_runs_the_binary_and_joins_the_key ... ok +test stat::test::rustc_version_runs_once_per_compiler_identity ... ok + +test result: ok. 161 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.45s + + Doc-tests tinymold + +running 4 tests +test crates/tinymold/src/location/mod.rs - location::default_server_dir (line 52) ... ok +test crates/tinymold/src/location/mod.rs - location::default_store (line 23) ... ok +test crates/tinymold/src/doctor/mod.rs - doctor::find_on_path (line 141) ... ok +test crates/tinymold/src/lib.rs - (line 33) ... ok + +test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +all doctests ran in 2.17s; merged doctests compilation took 1.02s + Doc-tests tinymold_cas + +running 1 test +test crates/tinymold-cas/src/lib.rs - (line 25) ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +all doctests ran in 0.56s; merged doctests compilation took 0.12s + Doc-tests tinymold_hash + +running 3 tests +test crates/tinymold-hash/src/digest/mod.rs - digest::Digest::of_bytes (line 45) ... ok +test crates/tinymold-hash/src/digest/mod.rs - digest::Hasher (line 128) ... ok +test crates/tinymold-hash/src/lib.rs - (line 15) ... ok + +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +all doctests ran in 0.52s; merged doctests compilation took 0.11s + Doc-tests tinymold_key + +running 1 test +test crates/tinymold-key/src/lib.rs - (line 26) ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +all doctests ran in 0.55s; merged doctests compilation took 0.13s + Doc-tests tinymold_remote + +running 1 test +test crates/tinymold-remote/src/lib.rs - (line 17) - compile ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +all doctests ran in 0.56s; merged doctests compilation took 0.15s + Doc-tests tinymold_server + +running 1 test +test crates/tinymold-server/src/lib.rs - (line 17) - compile ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +all doctests ran in 1.30s; merged doctests compilation took 0.89s + Doc-tests tinymold_store + +running 1 test +test crates/tinymold-store/src/lib.rs - (line 26) ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +all doctests ran in 0.57s; merged doctests compilation took 0.13s + Doc-tests tinymold_wrap + +running 1 test +test crates/tinymold-wrap/src/lib.rs - (line 20) - compile ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + +all doctests ran in 0.54s; merged doctests compilation took 0.10s From ca51b09d0eb2d8049ea8e0579559570332f47b66 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:19:37 +0530 Subject: [PATCH 11/26] test(remote, wrap): add tests for oversized blobs and symlink handling Adds new tests to verify that both remote fetching and local compilation refuse to process actions containing excessively large blobs or when attempting to restore files that conflict with existing unrelated symlinks or files. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-remote/src/remote/test.rs | 42 +++++++++++++++++++++ crates/tinymold-wrap/src/compile/test.rs | 34 +++++++++++++++++ target-red-remote.log | 10 +++++ target-red-wrap.log | 45 +++++++++++++++++++++++ 4 files changed, 131 insertions(+) create mode 100644 target-red-remote.log create mode 100644 target-red-wrap.log diff --git a/crates/tinymold-remote/src/remote/test.rs b/crates/tinymold-remote/src/remote/test.rs index ff7578f..ee38185 100644 --- a/crates/tinymold-remote/src/remote/test.rs +++ b/crates/tinymold-remote/src/remote/test.rs @@ -1082,3 +1082,45 @@ fn a_cache_outage_stops_queued_refreshes_instead_of_retrying_every_action() { "queued actions repeated a cache-wide outage: {attempts} calls" ); } + +#[test] +fn an_oversized_signature_is_refused_before_downloading_it() { + let server = Server::start(); + let local = Local::new(); + let signer = SigningKey::generate(); + configured(&server, signing(&signer)).push(&local.root, None).unwrap(); + server.with(|state| { + let result = state.actions.get_mut(&naming::action_key(&local.key).hash).unwrap(); + let signature = result.output_files.iter_mut().find(|file| file.path == SIGNATURE_FILE).unwrap(); + signature.digest.as_mut().unwrap().size_bytes = 1025; + }); + let reads = server.with(|state| state.reads); + let empty = tempfile::tempdir().unwrap(); + let store = Store::open(empty.path()).unwrap(); + let result = configured(&server, trusting(&signer)).fetch_action_into(&local.key, &store); + assert!(matches!(result, Err(Error::BlobSize { size: 1025, .. })), "{result:?}"); + assert_eq!(server.with(|state| state.reads), reads); +} + +#[test] +fn oversized_remote_records_are_refused_before_downloading_them() { + let server = Server::start(); + let local = Local::new(); + remote(&server).push(&local.root, None).unwrap(); + server.with(|state| { + for result in state.actions.values_mut() { + for file in &mut result.output_files { + if file.path == ACTION_FILE || file.path == PREKEY_FILE { + file.digest.as_mut().unwrap().size_bytes = (16 << 20) + 1; + } + } + } + }); + let reads = server.with(|state| state.reads); + let empty = tempfile::tempdir().unwrap(); + let store = Store::open(empty.path()).unwrap(); + let reader = remote(&server); + assert!(matches!(reader.fetch_action_into(&local.key, &store), Err(Error::BlobSize { .. }))); + assert!(matches!(reader.input_sets_of(&local.pre), Err(Error::BlobSize { .. }))); + assert_eq!(server.with(|state| state.reads), reads); +} diff --git a/crates/tinymold-wrap/src/compile/test.rs b/crates/tinymold-wrap/src/compile/test.rs index 9e2893c..5308ee0 100644 --- a/crates/tinymold-wrap/src/compile/test.rs +++ b/crates/tinymold-wrap/src/compile/test.rs @@ -1304,3 +1304,37 @@ fn a_needle_split_across_two_reads_of_an_output_is_still_found() { } assert!(file_contains(&dir.path().join("missing"), &needles, 5).is_err()); } + +#[cfg(unix)] +#[test] +fn restoring_text_refuses_a_symlink_outside_the_units_outputs() { + let unit = Crate::new("pub fn f() {}\n"); + let invocation = invocation_of(&unit); + let restoring = unit_for(&unit, &invocation); + let mut action = many_output_action(&restoring.store, 0); + // A remote record may name any plain filename, including one that the + // unit_files cleanup does not recognize as belonging to this compile. + action.outputs[0].name = "unrelated.d".to_owned(); + let victim = unit.root.join("outside.txt"); + fs::write(&victim, b"keep me").unwrap(); + std::os::unix::fs::symlink(&victim, unit.out().join("unrelated.d")).unwrap(); + + let result = restoring.restore(&action); + assert_eq!(fs::read(&victim).unwrap(), b"keep me"); + assert!(result.is_err(), "an existing symlink must refuse the restore"); +} + +#[test] +fn restoring_text_refuses_an_unrelated_existing_file() { + let unit = Crate::new("pub fn f() {}\n"); + let invocation = invocation_of(&unit); + let restoring = unit_for(&unit, &invocation); + let mut action = many_output_action(&restoring.store, 0); + action.outputs[0].name = "unrelated.d".to_owned(); + let victim = unit.out().join("unrelated.d"); + fs::write(&victim, b"keep me").unwrap(); + + let result = restoring.restore(&action); + assert_eq!(fs::read(&victim).unwrap(), b"keep me"); + assert!(result.is_err(), "an unrelated file must not be overwritten"); +} diff --git a/target-red-remote.log b/target-red-remote.log new file mode 100644 index 0000000..413e665 --- /dev/null +++ b/target-red-remote.log @@ -0,0 +1,10 @@ + Compiling tokio v1.53.3 + Compiling errno v0.3.14 + Compiling rustix v1.1.4 + Compiling tempfile v3.27.0 + Compiling tokio-util v0.7.20 + Compiling tokio-stream v0.1.19 + Compiling tokio-rustls v0.26.6 + Compiling h2 v0.4.20 + Compiling tower v0.5.3 + Compiling hyper v1.12.0 diff --git a/target-red-wrap.log b/target-red-wrap.log new file mode 100644 index 0000000..9a0c09b --- /dev/null +++ b/target-red-wrap.log @@ -0,0 +1,45 @@ + Compiling libc v0.2.189 + Compiling getrandom v0.4.3 + Compiling once_cell v1.21.4 + Compiling syn v3.0.3 + Compiling thiserror-impl v2.0.20 + Compiling thiserror v2.0.20 + Compiling errno v0.3.14 + Compiling rustix v1.1.4 + Compiling tempfile v3.27.0 + Compiling tinymold-hash v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-hash) + Compiling tinymold-key v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-key) + Compiling tinymold-cas v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-cas) + Compiling tinymold-wrap v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-wrap) + Finished `test` profile [unoptimized + debuginfo] target(s) in 2.77s + Running unittests src/lib.rs (target/debug/deps/tinymold_wrap-71fdc4ade3a9cf7e) + +running 2 tests +test compile::test::restoring_text_refuses_a_symlink_outside_the_units_outputs ... FAILED +test compile::test::restoring_text_refuses_an_unrelated_existing_file ... FAILED + +failures: + +---- compile::test::restoring_text_refuses_a_symlink_outside_the_units_outputs stdout ---- + +thread 'compile::test::restoring_text_refuses_a_symlink_outside_the_units_outputs' (90282440) panicked at crates/tinymold-wrap/src/compile/test.rs:1323:5: +assertion `left == right` failed + left: [100, 101, 109, 111, 45, 49, 46, 100, 58, 32, 115, 114, 99, 47, 108, 105, 98, 46, 114, 115, 10] + right: [107, 101, 101, 112, 32, 109, 101] +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +---- compile::test::restoring_text_refuses_an_unrelated_existing_file stdout ---- + +thread 'compile::test::restoring_text_refuses_an_unrelated_existing_file' (90282441) panicked at crates/tinymold-wrap/src/compile/test.rs:1338:5: +assertion `left == right` failed + left: [100, 101, 109, 111, 45, 49, 46, 100, 58, 32, 115, 114, 99, 47, 108, 105, 98, 46, 114, 115, 10] + right: [107, 101, 101, 112, 32, 109, 101] + + +failures: + compile::test::restoring_text_refuses_a_symlink_outside_the_units_outputs + compile::test::restoring_text_refuses_an_unrelated_existing_file + +test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 161 filtered out; finished in 0.00s + +error: test failed, to rerun pass `-p tinymold-wrap --lib` From b6decd12857d6ede5270f7c5cac50dfdc48b53f7 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:19:51 +0530 Subject: [PATCH 12/26] test(remote): update peak_in_flight assertion in tests The tests in remote module were updated to assert against the peak_in_flight metric instead of the general reads counter when checking for oversized blob refusals. This change aligns the test assertions with the actual metric being tracked for in-flight operations. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-remote/src/remote/test.rs | 8 ++--- target-red-remote.log | 40 +++++++++++++++++------ 2 files changed, 34 insertions(+), 14 deletions(-) diff --git a/crates/tinymold-remote/src/remote/test.rs b/crates/tinymold-remote/src/remote/test.rs index ee38185..4f92f3c 100644 --- a/crates/tinymold-remote/src/remote/test.rs +++ b/crates/tinymold-remote/src/remote/test.rs @@ -1094,12 +1094,12 @@ fn an_oversized_signature_is_refused_before_downloading_it() { let signature = result.output_files.iter_mut().find(|file| file.path == SIGNATURE_FILE).unwrap(); signature.digest.as_mut().unwrap().size_bytes = 1025; }); - let reads = server.with(|state| state.reads); + let reads = server.with(|state| state.peak_in_flight.get("Read").copied()); let empty = tempfile::tempdir().unwrap(); let store = Store::open(empty.path()).unwrap(); let result = configured(&server, trusting(&signer)).fetch_action_into(&local.key, &store); assert!(matches!(result, Err(Error::BlobSize { size: 1025, .. })), "{result:?}"); - assert_eq!(server.with(|state| state.reads), reads); + assert_eq!(server.with(|state| state.peak_in_flight.get("Read").copied()), reads); } #[test] @@ -1116,11 +1116,11 @@ fn oversized_remote_records_are_refused_before_downloading_them() { } } }); - let reads = server.with(|state| state.reads); + let reads = server.with(|state| state.peak_in_flight.get("Read").copied()); let empty = tempfile::tempdir().unwrap(); let store = Store::open(empty.path()).unwrap(); let reader = remote(&server); assert!(matches!(reader.fetch_action_into(&local.key, &store), Err(Error::BlobSize { .. }))); assert!(matches!(reader.input_sets_of(&local.pre), Err(Error::BlobSize { .. }))); - assert_eq!(server.with(|state| state.reads), reads); + assert_eq!(server.with(|state| state.peak_in_flight.get("Read").copied()), reads); } diff --git a/target-red-remote.log b/target-red-remote.log index 413e665..a1dc8ea 100644 --- a/target-red-remote.log +++ b/target-red-remote.log @@ -1,10 +1,30 @@ - Compiling tokio v1.53.3 - Compiling errno v0.3.14 - Compiling rustix v1.1.4 - Compiling tempfile v3.27.0 - Compiling tokio-util v0.7.20 - Compiling tokio-stream v0.1.19 - Compiling tokio-rustls v0.26.6 - Compiling h2 v0.4.20 - Compiling tower v0.5.3 - Compiling hyper v1.12.0 + Compiling tinymold-remote v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-remote) + Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s + Running unittests src/lib.rs (target/debug/deps/tinymold_remote-712fa2ee9b8e685c) + +running 2 tests +test remote::test::oversized_remote_records_are_refused_before_downloading_them ... FAILED +test remote::test::an_oversized_signature_is_refused_before_downloading_it ... FAILED + +failures: + +---- remote::test::oversized_remote_records_are_refused_before_downloading_them stdout ---- + +thread 'remote::test::oversized_remote_records_are_refused_before_downloading_them' (90290908) panicked at crates/tinymold-remote/src/remote/test.rs:1123:5: +assertion failed: matches!(reader.fetch_action_into(&local.key, &store), + Err(Error::BlobSize { .. })) +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +---- remote::test::an_oversized_signature_is_refused_before_downloading_it stdout ---- + +thread 'remote::test::an_oversized_signature_is_refused_before_downloading_it' (90290907) panicked at crates/tinymold-remote/src/remote/test.rs:1101:5: +Err(BlobMismatch { expected: "814a3d3b028d50485b5ab401998a4af3b2549ec39e491feb6cc2a1f65606f6ca" }) + + +failures: + remote::test::an_oversized_signature_is_refused_before_downloading_it + remote::test::oversized_remote_records_are_refused_before_downloading_them + +test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 93 filtered out; finished in 0.01s + +error: test failed, to rerun pass `-p tinymold-remote --lib` From aa8872c714febb22c96e9f352fdd0960e0decb60 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:20:27 +0530 Subject: [PATCH 13/26] fix(remote): bound metadata sizes before reading them Reject server-supplied digests whose declared size is negative or exceeds a per-kind limit, so oversized records and signatures are refused before any stream is opened or signature verified. Text outputs restored from a remote are now created with create_new so existing files and symlinks are refused rather than followed. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-remote/src/remote/mod.rs | 18 + crates/tinymold-remote/src/remote/test.rs | 40 +- crates/tinymold-wrap/src/compile/mod.rs | 10 +- crates/tinymold-wrap/src/compile/test.rs | 5 +- target-baseline.log | 1590 --------------------- target-red-remote.log | 30 - target-red-wrap.log | 45 - 7 files changed, 63 insertions(+), 1675 deletions(-) delete mode 100644 target-baseline.log delete mode 100644 target-red-remote.log delete mode 100644 target-red-wrap.log diff --git a/crates/tinymold-remote/src/remote/mod.rs b/crates/tinymold-remote/src/remote/mod.rs index c89e357..3560904 100644 --- a/crates/tinymold-remote/src/remote/mod.rs +++ b/crates/tinymold-remote/src/remote/mod.rs @@ -49,6 +49,21 @@ pub use types::{Capabilities, PushReport}; /// How many digests one `FindMissingBlobs` call asks about. const FIND_BATCH: usize = 1000; +/// Metadata is much smaller than artifacts. Check server-supplied sizes +/// before opening a stream, including before signature verification. +const MAX_RECORD: i64 = 16 << 20; +const MAX_SIGNATURE: i64 = 1024; + +fn metadata_size(digest: &proto::Digest, limit: i64) -> Result<()> { + if digest.size_bytes < 0 || digest.size_bytes > limit { + return Err(Error::BlobSize { + hash: digest.hash.clone(), + size: digest.size_bytes, + }); + } + Ok(()) +} + /// How many calls `push` and a fetch keep in flight at once. Each is a round /// trip; a CI runner an ocean away from its cache spends most of a call /// waiting, and one at a time leaves the link nearly idle. @@ -433,6 +448,7 @@ impl RemoteCache { key: key.hash.clone(), reason: "it is not signed", })?; + metadata_size(&signature, MAX_SIGNATURE)?; let blob = self.client.read(&signature).await?; trusted.verify(kind, key, record, &blob) } @@ -444,6 +460,7 @@ impl RemoteCache { return Ok(None); }; let digest = find_file(&result, PREKEY_FILE, &key)?; + metadata_size(&digest, MAX_RECORD)?; // The record is only used once the signature checks out, but // reading both at once saves a round trip. A refused signature // drops the read at once, whatever the server is sending. @@ -468,6 +485,7 @@ impl RemoteCache { return Ok(None); }; let record = find_file(&result, ACTION_FILE, &key)?; + metadata_size(&record, MAX_RECORD)?; // Before any object: an untrusted entry fetches nothing. self.verify(Kind::Action, &key, &record, &result).await?; let malformed = |reason| Error::Malformed { diff --git a/crates/tinymold-remote/src/remote/test.rs b/crates/tinymold-remote/src/remote/test.rs index 4f92f3c..6a539a2 100644 --- a/crates/tinymold-remote/src/remote/test.rs +++ b/crates/tinymold-remote/src/remote/test.rs @@ -1088,18 +1088,33 @@ fn an_oversized_signature_is_refused_before_downloading_it() { let server = Server::start(); let local = Local::new(); let signer = SigningKey::generate(); - configured(&server, signing(&signer)).push(&local.root, None).unwrap(); + configured(&server, signing(&signer)) + .push(&local.root, None) + .unwrap(); server.with(|state| { - let result = state.actions.get_mut(&naming::action_key(&local.key).hash).unwrap(); - let signature = result.output_files.iter_mut().find(|file| file.path == SIGNATURE_FILE).unwrap(); + let result = state + .actions + .get_mut(&naming::action_key(&local.key).hash) + .unwrap(); + let signature = result + .output_files + .iter_mut() + .find(|file| file.path == SIGNATURE_FILE) + .unwrap(); signature.digest.as_mut().unwrap().size_bytes = 1025; }); let reads = server.with(|state| state.peak_in_flight.get("Read").copied()); let empty = tempfile::tempdir().unwrap(); let store = Store::open(empty.path()).unwrap(); let result = configured(&server, trusting(&signer)).fetch_action_into(&local.key, &store); - assert!(matches!(result, Err(Error::BlobSize { size: 1025, .. })), "{result:?}"); - assert_eq!(server.with(|state| state.peak_in_flight.get("Read").copied()), reads); + assert!( + matches!(result, Err(Error::BlobSize { size: 1025, .. })), + "{result:?}" + ); + assert_eq!( + server.with(|state| state.peak_in_flight.get("Read").copied()), + reads + ); } #[test] @@ -1120,7 +1135,16 @@ fn oversized_remote_records_are_refused_before_downloading_them() { let empty = tempfile::tempdir().unwrap(); let store = Store::open(empty.path()).unwrap(); let reader = remote(&server); - assert!(matches!(reader.fetch_action_into(&local.key, &store), Err(Error::BlobSize { .. }))); - assert!(matches!(reader.input_sets_of(&local.pre), Err(Error::BlobSize { .. }))); - assert_eq!(server.with(|state| state.peak_in_flight.get("Read").copied()), reads); + assert!(matches!( + reader.fetch_action_into(&local.key, &store), + Err(Error::BlobSize { .. }) + )); + assert!(matches!( + reader.input_sets_of(&local.pre), + Err(Error::BlobSize { .. }) + )); + assert_eq!( + server.with(|state| state.peak_in_flight.get("Read").copied()), + reads + ); } diff --git a/crates/tinymold-wrap/src/compile/mod.rs b/crates/tinymold-wrap/src/compile/mod.rs index e582e78..0b34233 100644 --- a/crates/tinymold-wrap/src/compile/mod.rs +++ b/crates/tinymold-wrap/src/compile/mod.rs @@ -604,7 +604,15 @@ impl Unit<'_> { let destination = self.out_dir.join(&output.name); if output.text { let text = self.expand_object(&output.digest)?; - fs::write(&destination, text).map_err(io("write", &destination))?; + // Records may come from a remote. Like binary materialization, + // refuse existing files and symlinks rather than following them. + let mut file = fs::OpenOptions::new() + .write(true) + .create_new(true) + .open(&destination) + .map_err(io("create", &destination))?; + file.write_all(text.as_bytes()) + .map_err(io("write", &destination))?; } else if !in_place { // A reflink or a copy, never a hardlink: a linker may rewrite // its output in place, and that must not be the store's inode. diff --git a/crates/tinymold-wrap/src/compile/test.rs b/crates/tinymold-wrap/src/compile/test.rs index 5308ee0..ce886be 100644 --- a/crates/tinymold-wrap/src/compile/test.rs +++ b/crates/tinymold-wrap/src/compile/test.rs @@ -1321,7 +1321,10 @@ fn restoring_text_refuses_a_symlink_outside_the_units_outputs() { let result = restoring.restore(&action); assert_eq!(fs::read(&victim).unwrap(), b"keep me"); - assert!(result.is_err(), "an existing symlink must refuse the restore"); + assert!( + result.is_err(), + "an existing symlink must refuse the restore" + ); } #[test] diff --git a/target-baseline.log b/target-baseline.log deleted file mode 100644 index 1986750..0000000 --- a/target-baseline.log +++ /dev/null @@ -1,1590 +0,0 @@ - Compiling proc-macro2 v1.0.107 - Compiling quote v1.0.47 - Compiling unicode-ident v1.0.24 - Compiling libc v0.2.189 - Compiling cfg-if v1.0.4 - Compiling shlex v2.0.1 - Compiling find-msvc-tools v0.1.10 - Compiling once_cell v1.21.4 - Compiling thiserror v2.0.20 - Compiling constant_time_eq v0.4.2 - Compiling arrayvec v0.7.8 - Compiling bytes v1.12.1 - Compiling pin-project-lite v0.2.17 - Compiling getrandom v0.4.3 - Compiling futures-core v0.3.34 - Compiling reflink-copy v0.1.30 - Compiling rustix v1.1.4 - Compiling typenum v1.20.1 - Compiling cc v1.4.2 - Compiling bitflags v2.13.1 - Compiling itoa v1.0.18 - Compiling tracing-core v0.1.36 - Compiling http v1.5.0 - Compiling hybrid-array v0.4.15 - Compiling equivalent v1.0.3 - Compiling slab v0.4.12 - Compiling fastrand v2.5.0 - Compiling hashbrown v0.17.1 - Compiling futures-sink v0.3.34 - Compiling zeroize v1.9.1 - Compiling httparse v1.10.1 - Compiling untrusted v0.9.0 - Compiling indexmap v2.14.2 - Compiling http-body v1.1.0 - Compiling rustls-pki-types v1.15.1 - Compiling block-buffer v0.12.1 - Compiling crypto-common v0.2.2 - Compiling try-lock v0.2.5 - Compiling blake3 v1.8.7 - Compiling ring v0.17.14 - Compiling fnv v1.0.7 - Compiling futures-task v0.3.34 - Compiling atomic-waker v1.1.2 - Compiling want v0.3.2 - Compiling futures-util v0.3.34 - Compiling digest v0.11.3 - Compiling futures-channel v0.3.34 - Compiling httpdate v1.0.3 - Compiling tower-service v0.3.3 - Compiling smallvec v1.16.3 - Compiling anyhow v1.0.104 - Compiling rustls v0.23.46 - Compiling syn v3.0.3 - Compiling syn v2.0.119 - Compiling log v0.4.34 - Compiling either v1.19.0 - Compiling errno v0.3.14 - Compiling signal-hook-registry v1.4.8 - Compiling socket2 v0.6.5 - Compiling mio v1.2.4 - Compiling getrandom v0.2.17 - Compiling cpufeatures v0.3.1 - Compiling sha2 v0.11.1 - Compiling subtle v2.6.1 - Compiling itertools v0.14.0 - Compiling sync_wrapper v1.0.2 - Compiling tower-layer v0.3.3 - Compiling webpki-roots v1.0.9 - Compiling thiserror-impl v2.0.20 - Compiling tokio-macros v2.7.2 - Compiling http-body-util v0.1.5 - Compiling percent-encoding v2.3.2 - Compiling base64 v0.22.1 - Compiling tokio v1.53.3 - Compiling utf8parse v0.2.2 - Compiling anstyle-parse v1.0.0 - Compiling ed25519-compact v2.6.0 - Compiling tracing-attributes v0.1.31 - Compiling pin-project-internal v1.1.13 - Compiling colorchoice v1.0.5 - Compiling anstyle v1.0.14 - Compiling is_terminal_polyfill v1.70.2 - Compiling anstyle-query v1.1.5 - Compiling anstream v1.0.0 - Compiling pin-project v1.1.13 - Compiling heck v0.5.0 - Compiling tracing v0.1.44 - Compiling strsim v0.11.1 - Compiling tempfile v3.27.0 - Compiling clap_lex v1.1.1 - Compiling clap_derive v4.6.7 - Compiling clap_builder v4.6.7 - Compiling powerfmt v0.2.1 - Compiling deranged v0.5.9 - Compiling time-core v0.1.9 - Compiling num-conv v0.2.2 - Compiling base64 v0.23.1 - Compiling pem v4.0.0 - Compiling clap v4.6.7 - Compiling time v0.3.55 - Compiling yasna v0.6.0 - Compiling prost-derive v0.14.4 - Compiling rustls-webpki v0.103.15 - Compiling rcgen v0.14.10 - Compiling prost v0.14.4 - Compiling tinymold-hash v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-hash) - Compiling tinymold-cas v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-cas) - Compiling tinymold-key v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-key) - Compiling tinymold-store v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-store) - Compiling tinymold-wrap v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-wrap) - Compiling tokio-util v0.7.20 - Compiling tokio-stream v0.1.19 - Compiling h2 v0.4.20 - Compiling tower v0.5.3 - Compiling hyper v1.12.0 - Compiling hyper-util v0.1.21 - Compiling tokio-rustls v0.26.6 - Compiling hyper-timeout v0.5.2 - Compiling tonic v0.14.6 - Compiling tonic-prost v0.14.6 - Compiling tinymold-server v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-server) - Compiling tinymold-remote v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-remote) - Compiling tinymold v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold) - Finished `test` profile [unoptimized + debuginfo] target(s) in 14.49s - Running unittests src/lib.rs (target/debug/deps/tinymold-a71b0e817824a050) - -running 160 tests -test cli::test::every_strategy_maps_to_the_store_strategy ... ok -test autogc::test::a_store_that_does_not_exist_is_never_collected ... ok -test cli::test::outcomes_map_to_exit_codes ... ok -test autogc::test::a_stamp_from_the_future_does_not_claim_a_collection ... ok -test autogc::test::automatic_collection_is_on_unless_switched_off ... ok -test cli::test::locations_default_to_the_cwd_and_cargo_target_dir ... ok -test autogc::test::a_collection_is_due_once_per_interval ... ok -test cli::test::rejects_a_malformed_digest_at_parse_time ... ok -test cli::test::hash_fails_on_a_missing_file ... ok -test cli::test::doctor_describes_the_remote_without_its_credential ... ok -test cli::test::snapshot_commands_need_a_store ... ok -test autogc::test::the_collection_keeps_recent_generations_of_the_given_store ... ok -test autogc::test::the_collection_drops_entries_unused_for_48_hours ... ok -test cli::test::gc_rejects_an_unparsable_age_or_size ... ok -test cli::test::remote_commands_need_a_remote ... ok -test cli::test::stats_fails_on_a_log_it_cannot_read ... ok -test cli::test::a_store_path_that_is_a_file_is_an_error ... ok -test doctor::test::extracts_fields_from_verbose_version_output ... ok -test doctor::test::a_missing_rustc_is_reported_not_fatal ... ok -test cli::test::stats_of_a_log_not_written_yet_has_no_hit_rate ... ok -test cli::test::has_reports_absence_through_the_outcome ... ok -test cli::test::hash_prints_digest_and_path_like_b3sum ... ok -test doctor::test::reports_a_configured_remote ... ok -test error::test::a_missing_log_location_says_how_to_give_one ... ok -test error::test::a_missing_remote_says_how_to_configure_one ... ok -test error::test::freshness_and_snapshot_errors_say_what_went_wrong ... ok -test error::test::invalid_limits_say_what_is_accepted ... ok -test error::test::library_errors_convert_and_render_transparently ... ok -test error::test::output_errors_keep_their_cause ... ok -test cli::test::remote_keygen_prints_a_matching_key_pair_without_a_remote ... ok -test error::test::remote_errors_convert_transparently ... ok -test error::test::store_location_error_tells_the_user_how_to_fix_it ... ok -test error::test::wrapper_errors_convert_transparently ... ok -test fresh::test::a_corrupt_manifest_names_the_bad_line ... ok -test cli::test::stats_summarizes_a_log_and_checks_the_hit_rate ... ok -test doctor::test::finds_only_tools_that_exist ... ok -test cli::test::store_errors_propagate ... ok -test cli::test::gc_reports_what_it_removed_from_the_store ... ok -test cli::test::remote_push_of_an_empty_store_sends_nothing_and_check_needs_a_server ... ok -test fresh::test::a_missing_or_non_directory_target_has_no_fingerprints ... ok -test cli::test::put_get_has_and_verify_round_trip_through_a_store ... ok -test fresh::test::paths_that_cannot_be_one_manifest_line_are_skipped ... ok -test cli::test::fresh_record_then_restore_reports_counts ... ok -test fresh::test::record_fails_on_an_unreadable_workspace ... ok -test fresh::test::a_corrupt_manifest_on_disk_is_reported ... ok -test fresh::test::an_unreadable_profile_directory_is_an_error ... ok -test cli::test::snapshot_save_without_a_name_needs_a_git_checkout ... ok -test fresh::test::a_changed_file_older_than_the_outputs_is_made_newer ... ok -test fresh::test::a_second_record_reuses_digests_of_unchanged_files ... ok -test fresh::test::only_cargo_fingerprints_move_the_stamp ... ok -test fresh::test::the_manifest_encoding_is_pinned ... ok -test fresh::test::times_convert_to_nanoseconds_and_back ... ok -test fresh::test::a_file_rewritten_within_a_coarse_tick_of_the_record_is_hashed_again ... ok -test fresh::test::record_counts_files_with_unencodable_names_as_skipped ... ok -test cli::test::snapshot_save_list_and_restore_round_trip ... ok -test fresh::test::write_atomically_reports_an_unwritable_location ... ok -test fresh::test::record_ignores_an_unreadable_previous_manifest ... ok -test gc::test::a_shorter_grace_sweeps_young_unreferenced_objects ... ok -test fresh::test::records_workspace_files_but_not_git_targets_or_nested_checkouts ... ok -test fresh::test::restore_without_a_manifest_does_nothing ... ok -test gc::test::a_record_that_cannot_be_removed_is_an_error ... ok -test gc::test::a_dry_run_reports_the_same_numbers_and_removes_nothing ... ok -test gc::test::ages_parse_with_every_unit_and_reject_anything_else ... ok -test doctor::test::a_failing_rustc_yields_no_output ... ok -test fresh::test::restore_leaves_changed_and_missing_files_alone ... ok -test fresh::test::restore_undoes_a_touch_that_did_not_change_content ... ok -test fresh::test::restore_refuses_after_a_build_changed_the_target ... ok -test gc::test::an_unreadable_snapshots_path_is_an_error ... ok -test gc::test::a_test_run_that_cannot_be_read_is_an_error_not_garbage ... ok -test fresh::test::every_fingerprint_location_cargo_uses_is_read ... ok -test gc::test::a_young_unreferenced_object_is_left_for_an_ingest_in_progress ... ok -test gc::test::sizes_parse_plain_or_with_a_binary_suffix_and_reject_anything_else ... ok -test gc::test::sizes_display_in_the_largest_fitting_unit ... ok -test fresh::test::verified_restore_hashes_even_when_mtimes_match_and_memoizes ... ok -test gc::test::a_test_run_keeps_its_output_until_it_expires ... ok -test gc::test::snapshot_expiry_without_a_snapshots_directory_removes_nothing ... ok -test gc::test::usage_of_a_missing_store_is_zero_and_creates_nothing ... ok -test gc::test::old_lock_files_go_unless_a_wrapper_holds_them ... ok -test gc::test::an_object_shared_by_two_actions_survives_until_neither_is_kept ... ok -test gc::test::an_action_unused_past_the_cutoff_goes_and_a_recent_one_stays ... ok -test gc::test::a_size_budget_keeps_the_most_recently_used_actions_that_fit ... ok -test gc::test::snapshots_older_than_their_cutoff_go ... ok -test gocacheprog::test::a_body_line_cut_off_mid_string_is_an_input_error ... ok -test gc::test::evicting_for_size_frees_only_objects_no_kept_action_shares ... ok -test gc::test::usage_counts_objects_and_bytes ... ok -test gocacheprog::test::a_body_that_is_not_a_json_string_is_an_input_error ... ok -test gocacheprog::test::a_closed_output_is_an_output_error ... ok -test gocacheprog::test::a_session_starts_by_announcing_its_commands ... ok -test gocacheprog::test::a_body_of_the_wrong_size_is_refused_and_the_session_stays_in_step ... ok -test gc::test::old_pre_keys_caches_and_temporaries_go_and_corrupt_actions_are_dropped ... ok -test gc::test::without_limits_only_garbage_goes ... ok -test gocacheprog::test::hex_round_trips_and_rejects_odd_or_bad_text ... ok -test gocacheprog::test::json_strings_escape_quotes_backslashes_and_controls ... ok -test gocacheprog::test::malformed_requests_are_refused ... ok -test gocacheprog::test::requests_parse_with_escapes_and_the_old_object_id_name ... ok -test location::test::an_explicit_store_wins ... ok -test gocacheprog::test::blank_lines_between_requests_are_skipped ... ok -test gocacheprog::test::an_unknown_action_is_a_miss ... ok -test location::test::local_app_data_is_used_on_windows_style_environments ... ok -test location::test::the_server_dir_prefers_its_own_variable_and_never_the_wrapper_store ... ok -test location::test::empty_variables_are_ignored ... ok -test location::test::nothing_set_means_no_location ... ok -test location::test::xdg_cache_home_beats_home ... ok -test serve::test::arguments_become_a_server_configuration ... ok -test gc::test::test_binary_records_expire_like_pre_keys ... ok -test serve::test::a_tls_certificate_needs_a_key ... ok -test serve::test::a_bind_failure_is_a_server_error ... ok -test serve::test::defaults_are_loopback_and_open ... ok -test gocacheprog::test::close_answers_and_ends_the_session ... ok -test serve::test::the_command_line_reaches_the_server ... ok -test gocacheprog::test::input_that_is_not_the_protocol_ends_the_session_with_an_error ... ok -test serve::test::serving_the_wrapper_store_is_refused ... ok -test serve::test::the_scheme_follows_tls ... ok -test gocacheprog::test::unknown_commands_are_answered_with_an_error ... ok -test gocacheprog::test::the_command_serves_the_named_store_and_refuses_the_wrapper_store ... ok -test gocacheprog::test::a_put_output_is_served_back_from_its_disk_path ... ok -test serve::test::a_closed_output_is_an_output_error ... ok -test doctor::test::reads_the_toolchain_through_rustc ... ok -test cli::test::output_failures_are_reported ... ok -test cli::test::doctor_prints_a_report ... ok -test doctor::test::reports_every_searched_tool_with_its_location ... ok -test gocacheprog::test::an_empty_output_has_no_body_line ... ok -test gc::test::each_unit_keeps_only_its_most_recent_generations ... ok -test stats::test::an_empty_log_says_so ... ok -test stats::test::counts_every_outcome_and_skips_lines_it_cannot_read ... ok -test stats::test::keeps_the_slowest_misses_slowest_first ... ok -test serve::test::starting_binds_and_says_where_it_listens ... ok -test doctor::test::reports_the_size_of_an_existing_store ... ok -test stats::test::test_runs_are_counted_apart_from_compiles ... ok -test stats::test::renders_text_and_markdown ... ok -test stats::test::the_hit_rate_counts_cacheable_invocations_only ... ok -test serve::test::running_serves_until_shutdown_and_succeeds ... ok -test tree::test::a_walk_into_a_missing_parent_reports_the_path ... ok -test tree::test::a_whole_tree_clone_that_cannot_happen_falls_back_cleanly ... ok -test tree::test::a_walk_of_a_missing_source_reports_the_source ... ok -test tree::test::describes_how_the_tree_was_placed ... ok -test tree::test::refuses_a_source_that_is_not_a_directory ... ok -test tree::test::set_modified_works_on_a_read_only_file ... ok -test wrapper::test::a_remote_is_configured_only_by_a_well_formed_url ... ok -test wrapper::test::compilers_and_paths_are_wrapper_calls ... ok -test wrapper::test::subcommands_and_flags_are_not ... ok -test tree::test::refuses_an_existing_destination ... ok -test wrapper::test::the_executable_limit_comes_from_the_environment_and_ignores_malformed_sizes ... ok -test wrapper::test::the_wrapper_uses_the_default_store_and_an_optional_log ... ok -test snapshot::test::restore_reports_missing_snapshots ... ok -test snapshot::test::a_snapshot_without_a_manifest_scores_zero ... ok -test snapshot::test::snapshot_names_are_single_plain_path_components ... ok -test snapshot::test::store_failures_carry_the_path ... ok -test tree::test::clones_a_tree_with_contents_mtimes_and_symlinks ... ok -test snapshot::test::a_snapshot_whose_outputs_moved_is_refused_and_removed ... ok -test tree::test::the_file_walk_alone_preserves_contents_and_mtimes ... ok -test snapshot::test::a_second_worktree_restores_a_snapshot_and_gets_the_built_mtimes ... ok -test snapshot::test::replacing_deletes_a_target_without_a_valid_manifest ... ok -test snapshot::test::a_file_that_differs_from_the_snapshot_is_made_newer_than_its_outputs ... ok -test snapshot::test::saving_again_replaces_the_snapshot_and_list_shows_it ... ok -test snapshot::test::restore_by_name_replaces_an_existing_target_only_when_asked ... ok -test snapshot::test::equal_mtimes_from_another_workspace_are_not_trusted ... ok -test snapshot::test::replacing_keeps_a_valid_target_as_an_automatic_snapshot ... ok -test snapshot::test::the_best_match_is_the_snapshot_sharing_the_most_content ... ok -test cli::test::git_head_names_the_checked_out_commit ... ok - -test result: ok. 160 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s - - Running unittests src/main.rs (target/debug/deps/tinymold-22a916be828c6d03) - -running 0 tests - -test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running tests/cli.rs (target/debug/deps/cli-7744ac15fe05febc) - -running 3 tests -test failures_print_the_cause_chain_and_exit_nonzero ... ok -test hash_succeeds_and_prints_one_line_per_file ... ok -test has_exits_one_for_an_absent_object ... ok - -test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s - - Running tests/live_go.rs (target/debug/deps/live_go-7a48ed616d72a956) - -running 1 test -test live_go_builds_from_the_store_with_an_empty_gocache ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running tests/run_test.rs (target/debug/deps/run_test-01fc4cea250a9397) - -running 5 tests -test run_test_passes_arguments_and_exit_status_through ... ok -test a_failing_test_fails_again_instead_of_being_replayed ... ok -test a_package_binary_outside_the_build_turns_caching_off ... ok -test an_integration_test_reruns_when_the_binary_it_runs_changes ... ok -test cargo_test_reruns_exactly_the_binaries_an_edit_reaches ... ok - -test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.75s - - Running tests/wrapper.rs (target/debug/deps/wrapper-4c60d8557d7af861) - -running 9 tests -test queries_and_other_programs_pass_through ... ok -test a_wrapper_call_starts_a_background_collection_unless_switched_off ... ok -test a_crate_that_uses_its_out_dir_only_transformed_misses_in_another_worktree ... ok -test a_crate_that_bakes_in_its_out_dir_misses_in_another_worktree ... ok -test a_crate_that_bakes_in_its_own_path_misses_in_another_worktree ... ok -test a_second_worktree_hits_and_an_env_dep_change_misses ... ok -test an_included_file_that_names_itself_misses_when_paths_are_not_remapped ... ok -test a_crate_that_includes_a_generated_file_hits_in_another_worktree ... ok -test work_used_since_the_cutoff_still_hits_after_gc_and_expired_work_misses ... ok - -test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.24s - - Running unittests src/lib.rs (target/debug/deps/tinymold_cas-b1f31594eb27f19a) - -running 44 tests -test materialize::test::methods_render_lowercase ... ok -test error::test::stream_errors_keep_the_failure_as_their_source ... ok -test error::test::unsupported_names_the_method ... ok -test error::test::io_errors_say_what_failed_and_where ... ok -test error::test::not_found_and_existing_destinations_render ... ok -test error::test::corruption_names_both_digests ... ok -test materialize::test::making_a_missing_file_writable_fails ... ok -test materialize::test::falls_through_every_method_and_reports_the_last_failure ... ok -test materialize::test::an_empty_method_list_is_rejected ... ok -test materialize::test::restores_owner_write_access_to_a_read_only_file ... ok -test materialize::test::copy_produces_an_independent_writable_file ... ok -test materialize::test::a_private_copy_never_shares_the_source_inode ... ok -test store::test::insert_bytes_reports_an_unwritable_staging_area ... ok -test materialize::test::auto_always_places_the_object ... ok -test materialize::test::hardlink_shares_the_store_object_and_stays_read_only ... ok -test store::test::a_failing_stream_is_a_stream_error_and_leaves_no_staging_file ... ok -test materialize::test::a_reflink_result_is_writable_when_the_filesystem_clones ... ok -test store::test::a_staging_write_failure_is_reported_as_a_write_error ... ok -test store::test::dropping_a_staged_stream_leaves_nothing_behind ... ok -test store::test::an_interrupted_read_is_retried ... ok -test store::test::insert_file_reports_staging_failures_and_cleans_up ... ok -test store::test::inserting_a_missing_file_fails_cleanly ... ok -test store::test::opening_fails_when_the_root_is_a_file ... ok -test store::test::a_staged_stream_commits_under_its_digest ... ok -test store::test::objects_are_sharded_by_their_first_byte ... ok -test store::test::listing_a_store_whose_objects_directory_is_a_file_fails ... ok -test store::test::a_racing_commit_of_existing_bytes_discards_its_staging_file ... ok -test store::test::a_rename_that_fails_is_an_io_error_naming_the_object ... ok -test store::test::inserted_bytes_read_back_and_are_sealed ... ok -test store::test::missing_objects_are_reported_by_digest ... ok -test store::test::objects_of_an_empty_store_is_empty ... ok -test store::test::materialize_reports_a_missing_object ... ok -test store::test::inserting_the_same_bytes_twice_keeps_one_object_and_no_staging_files ... ok -test store::test::keeping_an_object_refreshes_its_time_and_reports_whether_it_exists ... ok -test store::test::remove_deletes_a_sealed_object_and_reports_whether_it_was_there ... ok -test store::test::inserted_files_are_independent_of_their_source ... ok -test store::test::remove_reports_an_object_it_cannot_delete ... ok -test store::test::staging_files_lists_leftovers_and_remove_staging_deletes_them ... ok -test store::test::objects_skips_files_that_are_not_objects ... ok -test store::test::verify_detects_a_tampered_object ... ok -test store::test::objects_lists_every_object_with_its_size ... ok -test store::test::staging_bytes_the_store_already_holds_commits_to_the_same_object ... ok -test store::test::materialize_creates_parents_and_refuses_to_overwrite ... ok -test store::test::storing_bytes_already_present_refreshes_the_objects_time ... ok - -test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s - - Running tests/public_api.rs (target/debug/deps/public_api-8c70a7866b6d02f4) - -running 3 tests -test a_streamed_upload_is_checked_before_it_is_stored ... ok -test a_second_handle_on_the_same_root_sees_the_same_objects ... ok -test one_object_serves_many_worktrees ... ok - -test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running unittests src/lib.rs (target/debug/deps/tinymold_hash-525833656d70da19) - -running 15 tests -test digest::test::parses_uppercase_hex ... ok -test digest::test::hex_round_trips ... ok -test digest::test::field_boundaries_change_the_digest ... ok -test digest::test::equal_fields_give_equal_digests ... ok -test digest::test::matches_the_reference_digest_of_the_empty_input ... ok -test digest::test::debug_shows_the_hex_form ... ok -test digest::test::rejects_hex_of_the_wrong_length ... ok -test digest::test::raw_bytes_round_trip ... ok -test digest::test::rejects_non_hex_characters ... ok -test error::test::a_read_failure_names_the_path_and_keeps_its_cause ... ok -test digest::test::a_file_and_a_slice_agree ... ok -test error::test::invalid_hex_quotes_the_rejected_text ... ok -test digest::test::retries_interrupted_reads_and_reports_real_failures ... ok -test digest::test::a_missing_file_reports_its_path ... ok -test digest::test::a_reader_and_a_slice_agree ... ok - -test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running tests/public_api.rs (target/debug/deps/public_api-7e96cf4956cffc01) - -running 2 tests -test hasher_and_parse_errors_are_public ... ok -test digests_are_usable_as_map_keys_and_sort_stably ... ok - -test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running unittests src/lib.rs (target/debug/deps/tinymold_key-760b414a5bd61dac) - -running 38 tests -test archive::test::a_changed_member_changes_the_digest ... ok -test depinfo::test::a_trailing_backslash_in_a_value_is_kept ... ok -test depinfo::test::an_env_dep_without_a_name_is_malformed ... ok -test archive::test::archives_differing_only_in_build_stamps_share_a_digest ... ok -test args::test::unknown_and_non_ascii_flags_are_kept_as_text ... ok -test archive::test::anything_else_is_hashed_as_it_is ... ok -test env_use::test::including_the_value_itself_only_picks_a_file ... ok -test args::test::a_command_line_with_its_own_path_remapping_says_so ... ok -test env_use::test::any_other_use_is_not_only_picking_files ... ok -test args::test::spellings_of_the_same_flag_parse_the_same ... ok -test env_use::test::a_name_the_text_cannot_see_is_opaque ... ok -test env_use::test::mentions_on_comment_lines_are_not_uses ... ok -test env_use::test::text_that_is_not_an_env_invocation_is_not_opaque ... ok -test depinfo::test::reads_inputs_and_env_deps_as_rustc_writes_them ... ok -test args::test::parses_a_real_cargo_library_compile ... ok -test args::test::coverage_instrumentation_is_recognized_in_every_spelling ... ok -test args::test::passes_through_what_it_cannot_key ... ok -test env_use::test::the_include_idiom_only_picks_files ... ok -test env_use::test::uses_add_up_across_the_files_of_one_compile ... ok -test args::test::linking_units_are_recognized ... ok -test args::test::dynamic_linking_of_std_is_recognized_in_every_spelling ... ok -test error::test::malformed_dep_info_names_the_line ... ok -test key::test::every_input_moves_the_full_key ... ok -test key::test::the_pre_key_encoding_is_pinned ... ok -test roots::test::replaces_the_longest_root_first ... ok -test roots::test::the_profile_directory_is_found_for_deps_examples_and_build_scripts ... ok -test key::test::two_worktrees_of_one_compile_share_a_pre_key ... ok -test roots::test::a_root_without_a_usable_path_is_skipped ... ok -test roots::test::the_profile_directory_is_remapped_to_its_placeholder ... ok -test roots::test::two_worktrees_normalize_to_the_same_text_and_expand_to_their_own ... ok -test key::test::an_instrumented_compile_is_keyed_by_its_workspace_path ... ok -test test_key::test::a_tree_digest_does_not_depend_on_listing_order ... ok -test test_key::test::a_second_worktree_shares_the_key ... ok -test test_key::test::ignored_env_names_are_exact_or_prefixed ... ok -test test_key::test::the_test_key_encoding_is_pinned ... ok -test key::test::every_input_moves_the_pre_key ... ok -test test_key::test::ignored_env_vars_leave_the_key_alone ... ok -test test_key::test::every_keyed_field_moves_the_key ... ok - -test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running unittests src/lib.rs (target/debug/deps/tinymold_remote-bc6eb29b4496e341) - -running 93 tests -test config::test::base64_matches_rfc_4648_vectors ... ok -test config::test::grpc_urls_become_channel_uris ... ok -test config::test::every_variable_is_read ... ok -test config::test::malformed_credentials_and_timeouts_are_rejected ... ok -test config::test::malformed_urls_are_rejected ... ok -test config::test::malformed_keys_are_rejected ... ok -test config::test::no_url_means_no_remote ... ok -test config::test::the_credential_is_never_printed ... ok -test client::test::the_credential_is_kept_out_of_debug_output ... ok -test error::test::configuration_errors_say_what_is_accepted ... ok -test client::test::transfers_get_time_in_proportion_to_their_size ... ok -test client::test::a_transfer_sharing_the_link_gets_time_for_everything_in_flight ... ok -test error::test::setup_and_local_errors_render ... ok -test error::test::call_errors_name_the_call ... ok -test naming::test::action_keys_are_the_full_key_and_pre_keys_are_salted ... ok -test naming::test::blobs_are_named_by_sha256_and_size ... ok -test naming::test::resources_follow_the_reapi_grammar ... ok -test client::test::a_blob_declared_too_large_or_negative_is_refused_before_reading ... ok -test proto::test::a_digest_is_hash_one_and_size_two ... ok -test proto::test::action_cache_requests_put_the_digest_function_where_reapi_does ... ok -test proto::test::an_action_result_lists_files_at_two_and_the_exit_code_at_four ... ok -test proto::test::byte_stream_messages_carry_data_at_ten ... ok -test proto::test::capabilities_decode_digest_functions_and_whether_updates_are_enabled ... ok -test proto::test::find_missing_blobs_sends_digests_at_two_and_reads_them_back_at_two ... ok -test remote::test::a_connection_the_server_closed_is_retried ... ok -test client::test::tls_endpoints_and_credentials_are_set_up ... ok -test client::test::an_unreachable_server_fails_the_call ... ok -test config::test::signing_and_trusted_keys_are_read ... ok -test remote::test::a_proxy_whose_server_is_restarting_is_retried ... ok -test client::test::reading_a_missing_blob_is_a_not_found_status ... ok -test client::test::capabilities_report_sha256_and_whether_updates_are_allowed ... ok -test client::test::a_stream_longer_than_its_declared_size_is_cut_off ... ok -test client::test::a_read_only_server_refuses_writes ... ok -test client::test::a_blob_whose_content_does_not_match_is_rejected ... ok -test client::test::a_key_sent_without_a_size_is_refused_as_bazel_remote_refuses_it ... ok -test remote::test::a_pre_key_record_that_is_not_text_is_refused ... ok -test client::test::the_credential_is_sent_on_every_call ... ok -test client::test::an_action_result_round_trips_and_a_missing_one_is_none ... ok -test remote::test::a_corrupt_action_record_is_skipped ... ok -test remote::test::an_action_whose_object_is_gone_is_skipped ... ok -test remote::test::a_read_only_server_fails_the_push ... ok -test remote::test::an_output_without_a_digest_is_refused ... ok -test remote::test::a_signed_entry_whose_record_is_swapped_is_refused ... ok -test remote::test::a_pushed_action_is_fetched_into_an_empty_store ... ok -test remote::test::an_entry_signed_by_an_untrusted_key_is_refused ... ok -test remote::test::check_accepts_an_open_server_when_entries_must_be_signed ... ok -test remote::test::a_reader_without_trusted_keys_still_uses_signed_entries ... ok -test remote::test::check_reports_capabilities ... ok -test remote::test::check_refuses_a_server_open_to_anonymous_writes ... ok -test remote::test::a_signed_entry_is_fetched_by_a_reader_that_trusts_its_key ... ok -test remote::test::check_tells_a_refused_credential_from_an_anonymous_read_only_client ... ok -test remote::test::an_evicted_signature_during_refresh_does_not_abort_the_push ... ok -test remote::test::an_unsigned_entry_is_refused_before_any_object_is_fetched ... ok -test remote::test::an_unsigned_pre_key_is_refused_without_waiting_for_its_record ... ok -test remote::test::entries_tinymold_did_not_write_are_refused ... ok -test remote::test::in_flight_stops_at_the_first_failure ... ok -test remote::test::a_blob_over_the_budget_still_goes_up_alone ... ok -test remote::test::objects_the_store_already_holds_are_not_fetched_again ... ok -test remote::test::push_since_skips_records_not_used_since ... ok -test remote::test::a_transient_refresh_failure_falls_back_to_uploading ... ok -test remote::test::pushing_again_uploads_no_blob_twice ... ok -test client::test::large_and_empty_blobs_survive_chunked_transfers ... ok -test remote::test::saving_a_remote_hit_refreshes_it_without_reading_local_outputs ... ok -test remote::test::in_flight_runs_a_job_over_the_budget_alone ... ok -test remote::test::saving_repairs_a_remote_action_with_the_wrong_record ... ok -test remote::test::saving_repairs_an_existing_action_whose_remote_blob_was_evicted ... ok -test remote::test::unknown_keys_are_none ... ok -test signing::test::a_fixed_seed_gives_a_pinned_key_and_signature ... ok -test remote::test::signed_pushes_are_idempotent ... ok -test signing::test::a_malformed_signature_is_untrusted ... ok -test signing::test::a_list_of_trusted_keys_accepts_any_of_them ... ok -test signing::test::a_signature_by_a_trusted_key_verifies ... ok -test signing::test::a_signature_by_another_key_is_untrusted ... ok -test signing::test::bad_keys_are_refused ... ok -test signing::test::keys_round_trip_through_hex ... ok -test signing::test::the_signed_message_is_pinned ... ok -test signing::test::a_signature_is_bound_to_its_kind_key_and_record ... ok -test remote::test::saving_republishes_an_action_after_the_signing_key_changes ... ok -test remote::test::every_action_goes_up_before_any_pre_key ... ok -test remote::test::the_push_budget_overlaps_artifacts_larger_than_the_fetch_budget ... ok -test remote::test::in_flight_keeps_small_jobs_together_up_to_the_call_limit ... ok -test remote::test::in_flight_keeps_the_bytes_in_flight_within_the_budget ... ok -test remote::test::a_fetch_reads_an_actions_objects_together ... ok -test remote::test::a_signed_pre_key_reads_its_signature_and_record_together ... ok -test remote::test::a_cache_outage_stops_queued_refreshes_instead_of_retrying_every_action ... ok -test client::test::a_server_that_stalls_times_out ... ok -test remote::test::a_fetch_keeps_its_record_within_the_call_limit ... ok -test remote::test::each_object_is_stored_as_soon_as_it_arrives ... ok -test remote::test::an_upload_that_times_out_once_is_retried ... ok -test remote::test::push_overlaps_its_calls_over_a_slow_link ... ok -test remote::test::a_push_whose_every_upload_fails_is_an_error ... ok -test remote::test::a_push_that_left_no_pre_key_is_an_error ... ok -test remote::test::an_upload_that_keeps_failing_skips_only_the_entries_that_need_it ... ok - -test result: ok. 93 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.28s - - Running unittests src/lib.rs (target/debug/deps/tinymold_server-4e882193c24478f3) - -running 79 tests -test error::test::token_file_errors_name_the_line ... ok -test error::test::runtime_errors_keep_their_cause ... ok -test error::test::an_open_non_loopback_listener_names_the_address ... ok -test auth::test::an_open_policy_allows_everything ... ok -test auth::test::a_missing_token_file_is_a_read_error ... ok -test auth::test::malformed_lines_are_reported_by_number ... ok -test auth::test::a_debug_dump_never_shows_a_token ... ok -test front::bazel_http::test::paths_parse_with_and_without_a_tenant ... ok -test auth::test::a_missing_or_unknown_credential_is_unauthenticated ... ok -test auth::test::anonymous_reads_allow_reading_but_never_writing ... ok -test auth::test::a_read_token_is_limited_to_its_scopes ... ok -test auth::test::a_write_token_may_read_and_write_anywhere ... ok -test auth::test::basic_auth_presents_the_password_as_the_token ... ok -test front::gradle::test::paths_parse_with_an_optional_tenant ... ok -test front::bazel_http::test::a_cas_body_that_does_not_match_its_name_is_refused_and_not_stored ... ok -test front::bazel_http::test::a_miss_is_not_found_and_counted ... ok -test front::nx::test::paths_parse_with_an_optional_tenant ... ok -test front::bazel_http::test::other_methods_are_not_allowed ... ok -test front::nx::test::a_miss_is_not_found ... ok -test front::reapi::test::a_raw_message_is_never_decoded_and_clears_to_nothing ... ok -test front::nx::test::an_overlong_tenant_and_a_declared_oversized_output_are_refused ... ok -test front::bazel_http::test::bodies_over_the_limit_are_refused ... ok -test front::gradle::test::an_entry_declared_too_large_is_refused_before_it_is_read ... ok -test front::bazel_http::test::a_blob_round_trips_through_cas ... ok -test front::bazel_http::test::head_reports_the_length_without_a_body ... ok -test front::bazel_http::test::credentials_are_checked ... ok -test front::nx::test::oversized_outputs_and_other_methods_are_refused ... ok -test front::gradle::test::a_cache_entry_round_trips ... ok -test front::nx::test::a_task_output_round_trips ... ok -test front::gradle::test::misses_and_tenants ... ok -test front::bazel_http::test::an_action_result_round_trips_and_is_scoped_to_its_tenant ... ok -test front::nx::test::a_read_only_token_cannot_write ... ok -test front::reapi::test::a_write_whose_data_does_not_match_is_refused_and_not_stored ... ok -test front::bazel_http::test::an_action_value_is_also_a_cas_blob ... ok -test front::gradle::test::basic_auth_carries_the_token_and_401_challenges ... ok -test front::reapi::test::resource_names_split_into_instance_and_digest ... ok -test front::reapi::test::the_message_encodings_are_pinned ... ok -test front::reapi::test::bytestream_reads_of_absent_blobs_are_not_found ... ok -test front::gradle::test::a_later_upload_replaces_an_entry ... ok -test front::nx::test::records_are_immutable ... ok -test front::reapi::test::an_action_result_needs_its_blobs_and_comes_back_byte_for_byte ... ok -test front::turbo::test::batch_queries_parse_only_hex_hash_lists ... ok -test front::nx::test::tenants_are_separate ... ok -test front::reapi::test::batch_updates_report_each_blob ... ok -test front::reapi::test::unserved_methods_are_unimplemented ... ok -test front::reapi::test::action_results_are_scoped_to_their_instance ... ok -test front::turbo::test::json_strings_are_escaped ... ok -test front::reapi::test::invalid_digests_and_functions_are_refused ... ok -test front::reapi::test::a_result_whose_blobs_were_collected_is_not_found ... ok -test front::reapi::test::capabilities_advertise_sha256_and_api_versions ... ok -test front::turbo::test::teams_come_from_team_id_then_slug ... ok -test metrics::test::a_collection_sets_the_store_gauges ... ok -test front::reapi::test::batch_reads_return_present_blobs_and_not_found_for_the_rest ... ok -test front::reapi::test::non_contiguous_writes_are_refused ... ok -test metrics::test::latency_lands_in_every_bucket_at_or_above_it ... ok -test metrics::test::requests_are_counted_per_front_end_and_outcome ... ok -test transfer::test::a_failing_body_is_reported_as_a_body_error ... ok -test front::turbo::test::an_artifact_over_the_limit_is_refused ... ok -test transfer::test::an_operation_error_is_passed_back ... ok -test transfer::test::an_upload_feeds_the_whole_body_to_the_operation ... ok -test transfer::test::a_missing_file_downloads_as_none ... ok -test transfer::test::an_upload_over_the_limit_is_refused_and_the_operation_sees_an_error ... ok -test front::reapi::test::an_output_directory_needs_every_file_of_its_tree ... ok -test front::reapi::test::find_missing_blobs_sees_every_protocol_and_the_empty_blob ... ok -test front::turbo::test::events_are_accepted ... ok -test front::turbo::test::malformed_requests_are_refused ... ok -test front::turbo::test::a_batch_query_reports_size_duration_and_tag_or_null ... ok -test front::turbo::test::status_reports_enabled ... ok -test route::test::unknown_paths_are_not_found ... ok -test route::test::metrics_render_and_count_latency ... ok -test route::test::health_answers_ok ... ok -test front::turbo::test::an_artifact_round_trips_with_its_headers ... ok -test front::reapi::test::credentials_are_checked_on_every_call ... ok -test front::turbo::test::a_turbo_artifact_dedupes_with_other_protocols ... ok -test front::turbo::test::bearer_tokens_are_checked_per_team ... ok -test front::turbo::test::teams_do_not_see_each_others_artifacts ... ok -test front::turbo::test::head_reports_existence_without_a_body ... ok -test transfer::test::small_and_large_files_download_whole ... ok -test front::reapi::test::bytestream_round_trips_a_large_blob_and_honours_ranges ... ok - -test result: ok. 79 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s - - Running tests/live_ccache.rs (target/debug/deps/live_ccache-0658d440b7ff546e) - -running 1 test -test live_ccache_hits_the_server_from_an_empty_local_cache ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running tests/live_gradle.rs (target/debug/deps/live_gradle-fb167cdf30a1f3be) - -running 1 test -test live_gradle_loads_compiled_classes_from_the_server ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running tests/live_nx.rs (target/debug/deps/live_nx-efa57551633acf14) - -running 1 test -test live_nx_restores_a_task_from_the_server ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running tests/live_turbo.rs (target/debug/deps/live_turbo-85a30173504e60fa) - -running 1 test -test live_turbo_replays_every_task_from_the_server ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running tests/server.rs (target/debug/deps/server-72fa20a43eae2fe2) - -running 11 tests -test an_open_server_refuses_a_non_loopback_address ... ok -test bad_configuration_files_are_reported ... ok -test an_address_in_use_is_a_bind_error ... ok -test a_non_loopback_address_is_allowed_with_a_token_file ... ok -test a_tls_key_file_without_a_key_is_refused ... ok -test run_blocking_starts_its_own_runtime_and_returns_on_shutdown ... ok -test serves_http1 ... ok -test serves_plaintext_http2 ... ok -test serves_https_with_the_configured_certificate ... ok -test stopping_the_server_trims_the_store_to_its_budget ... ok -test a_large_blob_streams_both_ways ... ok - -test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s - - Running unittests src/lib.rs (target/debug/deps/tinymold_store-202f5eb02ca5d5e9) - -running 54 tests -test entry::test::a_record_without_the_magic_is_malformed ... ok -test entry::test::metadata_must_be_utf8 ... ok -test entry::test::an_empty_entry_round_trips ... ok -test entry::test::the_entry_encoding_is_pinned ... ok -test entry::test::metadata_over_the_limit_is_refused ... ok -test entry::test::trailing_bytes_are_malformed ... ok -test entry::test::an_entry_round_trips ... ok -test entry::test::metadata_keys_must_be_in_order ... ok -test error::test::a_digest_mismatch_names_both_digests ... ok -test error::test::a_missing_object_names_it ... ok -test entry::test::a_truncated_record_is_malformed ... ok -test error::test::io_errors_say_what_failed_and_where ... ok -test namespace::test::a_namespace_reports_what_it_was_built_from ... ok -test namespace::test::an_overlong_client_key_is_refused ... ok -test namespace::test::an_overlong_tenant_is_refused ... ok -test namespace::test::front_end_names_are_stable ... ok -test namespace::test::tenant_and_key_boundaries_cannot_bleed_into_each_other ... ok -test namespace::test::the_same_client_key_for_two_tenants_is_two_store_keys ... ok -test namespace::test::the_same_client_key_in_two_front_ends_is_two_store_keys ... ok -test namespace::test::the_store_key_encoding_is_pinned ... ok -test sha256::test::hex_round_trips_in_either_case ... ok -test sha256::test::malformed_hex_is_refused ... ok -test sha256::test::raw_bytes_round_trip_and_debug_shows_the_hex ... ok -test sha256::test::the_empty_input_matches_the_standard_vector ... ok -test gc::test::an_unreadable_entry_directory_is_an_error ... ok -test store::test::a_body_that_does_not_match_its_blake3_claim_is_refused ... ok -test store::test::a_body_that_does_not_match_its_sha256_claim_is_refused_and_not_stored ... ok -test gc::test::a_malformed_entry_is_removed ... ok -test gc::test::stale_pending_and_staging_files_are_swept_and_fresh_ones_kept ... ok -test store::test::a_corrupt_entry_file_is_reported_as_malformed ... ok -test store::test::claims_display_their_function_and_digest ... ok -test gc::test::a_damaged_index_file_is_swept_after_the_grace_period ... ok -test gc::test::the_sha256_index_forgets_objects_that_were_removed ... ok -test store::test::a_damaged_index_file_is_a_miss ... ok -test gc::test::an_entry_that_cannot_be_removed_is_an_error ... ok -test store::test::an_entry_naming_a_missing_object_is_refused ... ok -test store::test::a_matching_claim_is_accepted ... ok -test gc::test::a_dry_run_reports_without_removing ... ok -test gc::test::a_read_refreshes_the_last_use_of_an_entry_and_its_objects ... ok -test store::test::entries_and_index_files_are_sharded_by_their_first_byte ... ok -test gc::test::garbage_only_keeps_every_entry_and_what_it_references ... ok -test store::test::an_unreadable_entry_is_an_io_error ... ok -test gc::test::an_object_shared_by_two_entries_survives_evicting_one ... ok -test gc::test::an_object_uploaded_within_the_grace_period_survives_without_an_entry ... ok -test store::test::an_entry_reads_back_after_it_is_put ... ok -test store::test::ingest_names_a_body_by_both_digests ... ok -test store::test::an_entry_that_cannot_be_written_is_an_io_error_and_leaves_no_pending_file ... ok -test store::test::the_sha256_index_misses_once_the_object_is_gone ... ok -test gc::test::entries_unused_for_longer_than_max_age_are_removed_with_their_objects ... ok -test store::test::the_sha256_index_finds_an_ingested_body ... ok -test store::test::a_put_replaces_the_previous_entry ... ok -test store::test::writes_leave_no_pending_files ... ok -test gc::test::the_least_recently_used_entries_go_first_to_fit_the_budget ... ok -test store::test::the_same_client_key_in_two_namespaces_holds_two_entries ... ok - -test result: ok. 54 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s - - Running tests/public_api.rs (target/debug/deps/public_api-8a983a550a974ccf) - -running 4 tests -test a_wrong_claim_is_an_error_the_caller_can_match ... ok -test a_reopened_store_serves_what_it_held ... ok -test a_key_written_through_one_front_end_misses_through_another ... ok -test a_blob_uploaded_through_one_protocol_is_found_by_another_and_stored_once ... ok - -test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Running unittests src/lib.rs (target/debug/deps/tinymold_wrap-ca8535581cbb5726) - -running 161 tests -test clock::test::a_fine_timestamp_is_written_before_any_later_instant ... ok -test clock::test::a_timestamp_at_the_end_of_time_is_never_written_before ... ok -test clock::test::a_timestamps_tick_is_inferred_from_its_trailing_zeros ... ok -test clock::test::a_whole_second_is_written_before_only_once_two_seconds_have_passed ... ok -test clock::test::nanos_saturate_before_the_epoch ... ok -test compile::test::a_byte_string_is_found_anywhere_in_a_file_and_nowhere_else ... ok -test catalog::test::records_of_an_empty_store_is_empty ... ok -test catalog::test::records_fails_when_a_directory_cannot_be_read ... ok -test catalog::test::action_references_names_outputs_and_replayed_text ... ok -test catalog::test::action_references_rejects_a_corrupt_or_missing_record ... ok -test clock::test::the_filesystem_clock_fails_where_no_file_can_be_written ... ok -test catalog::test::records_reports_size_and_last_use ... ok -test catalog::test::action_info_names_the_unit_by_its_dep_info_output ... ok -test catalog::test::test_run_references_name_both_streams ... ok -test clock::test::the_filesystem_clock_is_read_from_a_file_it_leaves_no_trace_of ... ok -test catalog::test::records_lists_test_runs_and_test_binaries ... ok -test catalog::test::records_lists_actions_pre_keys_caches_locks_and_temporaries ... ok -test compile::test::a_hit_with_many_outputs_fails_when_one_object_is_missing ... ok -{"$message_type":"diagnostic","message":"this file contains an unclosed delimiter","code":null,"level":"error","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpQswNWa/src/lib.rs","byte_start":13,"byte_end":14,"line_start":1,"line_end":1,"column_start":14,"column_end":15,"is_primary":false,"text":[{"text":"pub fn broken( {","highlight_start":14,"highlight_end":15}],"label":"unclosed delimiter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpQswNWa/src/lib.rs","byte_start":15,"byte_end":16,"line_start":1,"line_end":1,"column_start":16,"column_end":17,"is_primary":false,"text":[{"text":"pub fn broken( {","highlight_start":16,"highlight_end":17}],"label":"unclosed delimiter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpQswNWa/src/lib.rs","byte_start":17,"byte_end":17,"line_start":1,"line_end":1,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"pub fn broken( {","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: this file contains an unclosed delimiter\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpQswNWa/src/lib.rs:1:18\n |\n1 | pub fn broken( {\n | - -^\n | | |\n | | unclosed delimiter\n | unclosed delimiter\n\n"} -{"$message_type":"diagnostic","message":"aborting due to 1 previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 1 previous error\n\n"} -test compile::test::a_hit_with_many_outputs_restores_every_one_fresh_with_its_content_and_mode ... ok -test compile::test::a_failed_compile_is_not_stored ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNISzbC/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNISzbC/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_compile_without_dep_info_is_not_stored ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpHJsbQ2/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpd3EtAp/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpU6Wjgu/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6OIFyq/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_command_line_ending_its_options_with_a_terminator_still_compiles_and_hits ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNLoKoy/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_hit_replaces_an_output_changed_since_it_was_placed ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp348fNt/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/demo-1.d","emit":"dep-info"} -test compile::test::a_hit_removes_stale_outputs_of_the_same_unit ... ok -test compile::test::a_hit_records_its_last_use_on_the_action_and_pre_key ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/demo-1.d","emit":"dep-info"} -test compile::test::a_needle_split_across_two_reads_of_an_output_is_still_found ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/demo-1.d","emit":"dep-info"} -test compile::test::a_hit_keeps_outputs_already_in_place ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbiHked/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_hit_leaves_an_existing_incremental_session_alone ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_hit_without_a_placement_record_replaces_every_output ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpPx2w7v/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpkJwIMD/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -test compile::test::a_miss_is_stored_and_the_same_compile_then_hits_with_identical_outputs ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp6emOv2/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4rrOLL/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_missing_extern_is_an_error_before_rustc_runs ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_compile_with_other_sources_does_not_wait ... ok -test compile::test::a_changed_source_misses_and_both_versions_then_hit ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp5b8pNt/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_hit_whose_objects_are_gone_runs_rustc_again ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/demo-1.d","emit":"dep-info"} -test compile::test::a_local_miss_is_served_from_the_remote_and_then_hits_locally ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp4M9Xfa/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -test compile::test::a_failing_remote_only_makes_the_unit_compile ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpR2oh2T/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpxNAZgq/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpxNAZgq/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpyfSDxS/target/debug/deps/demo-1.d","emit":"dep-info"} -test compile::test::a_held_lock_is_waited_for_only_until_the_limit ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpxNAZgq/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::an_output_whose_identity_changed_or_object_is_gone_is_stored_again ... ok -test compile::test::an_output_written_during_the_compile_is_hashed_again ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -test compile::test::an_untouched_placed_output_is_carried_over_without_hashing ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -test compile::test::a_remote_without_the_unit_is_a_plain_miss ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpM0AK9v/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNMPFkI/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpoDRrlh/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpoDRrlh/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpoDRrlh/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpfyDzTd/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp7Qz8sr/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp7Qz8sr/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::an_input_modified_during_the_compile_is_not_stored ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp7Qz8sr/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_miss_leaves_the_last_use_of_other_actions_alone ... ok -test compile::test::an_input_rewritten_within_a_coarse_tick_of_the_compile_is_not_stored ... ok -test declared::test::a_comment_after_the_header_is_still_the_header ... ok -test declared::test::a_dependency_named_tinymold_is_not_metadata ... ok -test declared::test::a_manifest_without_the_table_declares_nothing ... ok -test declared::test::anything_it_cannot_read_for_certain_is_uncached ... ok -test declared::test::cache_false_opts_the_package_out ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDhiObe/target/debug/deps/demo-1.d","emit":"dep-info"} -test declared::test::reads_inputs_on_one_line_or_several ... ok -test driver::test::a_directory_named_like_a_configuration_is_skipped ... ok -test driver::test::clippy_driver_wrapping_rustc_is_recognized ... ok -test driver::test::other_programs_and_clippy_without_rustc_are_not ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDhiObe/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDhiObe/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpAV6HFA/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_restored_output_is_never_newer_than_a_file_written_after_it ... ok -test compile::test::an_output_that_is_a_directory_is_not_stored ... ok -test driver::test::the_nearest_configuration_wins_and_the_dotted_name_first ... ok -test error::test::errors_say_what_failed_and_keep_their_cause ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpyfSDxS/target/debug/deps/demo-1","emit":"link"} -1{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/demo-1.d","emit":"dep-info"} -out -err -test exec::test::a_captured_run_keeps_both_streams_and_the_exit_code ... ok -test exec::test::a_missing_program_is_a_spawn_error ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpvgzrqK/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpmUqbvp/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmp8BMdb6/target/debug/deps/libdemo-1.rlib","emit":"link"} -test exec::test::a_pass_through_returns_the_exit_code ... ok -test flight::test::a_free_key_is_claimed_at_once ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpyfSDxS/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpyfSDxS/target/debug/deps/demo-1","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_remote_action_missing_an_object_is_a_miss_with_the_reason ... ok -test flight::test::a_lock_is_held_only_while_a_claim_lives ... ok -test flight::test::a_store_that_cannot_hold_locks_leaves_the_compile_unlocked ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNMPFkI/target/debug/deps/demo-1","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpM0AK9v/target/debug/deps/demo-1","emit":"link"} -test compile::test::a_remote_input_set_whose_files_differ_here_is_not_used ... ok -test flight::test::an_unreadable_lock_counts_as_held ... ok -test compile::test::a_remote_action_naming_a_file_outside_the_output_directory_is_not_restored ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rlib","emit":"link"} -test package_tree::test::a_symlink_is_named_by_its_target_and_not_followed ... ok -test package_tree::test::a_changed_or_added_file_changes_the_listing ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -test package_tree::test::a_target_dir_nested_in_a_test_dir_hides_only_itself ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpcNZzuG/target/debug/deps/demo-1.d","emit":"dep-info"} -test package_tree::test::declared_inputs_cover_files_directories_and_missing_paths ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpcNZzuG/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rlib","emit":"link"} -test package_tree::test::making_a_file_executable_changes_the_listing ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNMPFkI/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpNMPFkI/target/debug/deps/demo-1","emit":"link"} -test parallel::test::a_panic_after_another_worker_failed_is_still_an_error ... ok -test package_tree::test::lists_every_file_but_git_and_target_dirs ... ok -test parallel::test::a_panicking_worker_is_an_error_naming_the_task ... ok -test parallel::test::every_item_is_mapped_and_results_keep_the_item_order ... ok -test parallel::test::items_are_spread_over_more_than_one_thread ... ok -test parallel::test::no_items_need_no_work ... ok -test placed::test::a_file_is_held_only_with_its_identity_and_digest_unchanged ... ok -test parallel::test::the_first_failing_item_fails_the_whole_map ... ok -test placed::test::the_record_format_is_pinned ... ok -test record::test::a_session_section_out_of_place_or_naming_a_path_is_corrupt ... ok -test record::test::an_output_name_that_leaves_the_output_directory_is_corrupt ... ok -test record::test::corrupt_records_name_the_bad_line ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpcNZzuG/target/debug/deps/libdemo-1.rlib","emit":"link"} -test record::test::records_are_written_whole_and_read_back ... ok -test record::test::the_action_encoding_is_pinned ... ok -test record::test::the_pre_key_record_encoding_is_pinned ... ok -test record::test::the_session_section_encoding_is_pinned ... ok -test placed::test::a_saved_record_loads_back_and_a_bad_one_is_empty ... ok -test flight::test::a_wait_gives_up_at_the_limit ... ok -test compile::test::an_executable_within_the_limit_is_stored_and_hits ... ok -test runner::test::a_binary_that_cannot_be_hashed_still_runs_and_fails ... ok -test compile::test::the_executable_limit_leaves_libraries_alone ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"diagnostic","message":"writing `&Vec` instead of `&[_]` involves a new object where a slice will do","code":{"code":"clippy::ptr_arg","explanation":null},"level":"warning","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::ptr_arg)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change this to","code":null,"level":"help","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":"&[u8]","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs:1:13\n |\n1 | pub fn f(x: &Vec) -> usize { x.len() }\n | ^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg\n = note: `#[warn(clippy::ptr_arg)]` on by default\nhelp: change this to\n |\n1 - pub fn f(x: &Vec) -> usize { x.len() }\n1 + pub fn f(x: &[u8]) -> usize { x.len() }\n |\n\n"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"diagnostic","message":"writing `&Vec` instead of `&[_]` involves a new object where a slice will do","code":{"code":"clippy::ptr_arg","explanation":null},"level":"warning","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::ptr_arg)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change this to","code":null,"level":"help","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":"&[u8]","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs:1:13\n |\n1 | pub fn f(x: &Vec) -> usize { x.len() }\n | ^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg\n = note: `#[warn(clippy::ptr_arg)]` on by default\nhelp: change this to\n |\n1 - pub fn f(x: &Vec) -> usize { x.len() }\n1 + pub fn f(x: &[u8]) -> usize { x.len() }\n |\n\n"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -test driver::test::the_identity_names_the_version_and_follows_the_configuration ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"warning: 1 warning emitted\n\n"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"warning: 1 warning emitted\n\n"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmphQgpkB/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_compile_another_build_is_running_is_waited_for_then_restored ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/demo-1.d","emit":"dep-info"} -test flight::test::a_held_key_is_waited_for_until_it_is_released ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpT9Msbx/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::native_libraries_are_part_of_the_key ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpGIOlK5/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_compile_whose_twin_stored_nothing_runs_after_the_wait ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"diagnostic","message":"writing `&Vec` instead of `&[_]` involves a new object where a slice will do","code":{"code":"clippy::ptr_arg","explanation":null},"level":"warning","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::ptr_arg)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change this to","code":null,"level":"help","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":"&[u8]","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/src/lib.rs:1:13\n |\n1 | pub fn f(x: &Vec) -> usize { x.len() }\n | ^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg\n = note: `#[warn(clippy::ptr_arg)]` on by default\nhelp: change this to\n |\n1 - pub fn f(x: &Vec) -> usize { x.len() }\n1 + pub fn f(x: &[u8]) -> usize { x.len() }\n |\n\n"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpgQbfYu/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"warning: 1 warning emitted\n\n"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"diagnostic","message":"writing `&Vec` instead of `&[_]` involves a new object where a slice will do","code":{"code":"clippy::ptr_arg","explanation":null},"level":"warning","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::ptr_arg)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"change this to","code":null,"level":"help","spans":[{"file_name":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs","byte_start":12,"byte_end":20,"line_start":1,"line_end":1,"column_start":13,"column_end":21,"is_primary":true,"text":[{"text":"pub fn f(x: &Vec) -> usize { x.len() }","highlight_start":13,"highlight_end":21}],"label":null,"suggested_replacement":"&[u8]","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do\n --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/src/lib.rs:1:13\n |\n1 | pub fn f(x: &Vec) -> usize { x.len() }\n | ^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg\n = note: `#[warn(clippy::ptr_arg)]` on by default\nhelp: change this to\n |\n1 - pub fn f(x: &Vec) -> usize { x.len() }\n1 + pub fn f(x: &[u8]) -> usize { x.len() }\n |\n\n"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"diagnostic","message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"warning: 1 warning emitted\n\n"} -test compile::test::clippy_driver_compiles_are_cached_with_their_lints ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpJE47D1/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_rustc_entry_never_serves_clippy_driver_or_back ... ok -22test compile::test::a_restored_binary_is_executable_and_fresh ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpM0AK9v/target/debug/deps/demo-1.d","emit":"dep-info"} -333errtest exec::test::a_captured_run_keeps_the_order_its_streams_were_written_in ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpM0AK9v/target/debug/deps/demo-1","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpMdT33T/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_hit_restores_the_incremental_session_and_the_next_edit_reuses_it ... ok -test runner::test::a_replay_interleaves_the_streams_as_they_were_written ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpbayLIL/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::a_miss_after_an_incremental_edit_stores_carried_over_objects_by_their_bytes ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_binary_tinymold_did_not_build_passes_through ... ok -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rlib","emit":"link"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/demo-1.d","emit":"dep-info"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rmeta","emit":"metadata"} -{"$message_type":"artifact","artifact":"/var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpXM207Q/target/debug/deps/libdemo-1.rlib","emit":"link"} -test compile::test::outputs_rustc_reuses_from_its_incremental_cache_are_stored_too ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_cached_run_reads_an_empty_stdin ... ok -test runner::test::a_via_program_that_cannot_start_fails_the_run ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_changed_build_script_output_or_package_binary_runs_again ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_changed_dynamic_library_beside_the_binary_runs_again ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_changed_env_var_runs_again_but_an_ignored_one_does_not ... ok -test session::test::a_session_whose_object_is_gone_leaves_nothing_behind ... ok -test session::test::a_stored_session_is_restored_only_where_none_exists_at_its_own_path ... ok -test session::test::only_finished_session_directories_count ... ok -test session::test::the_units_session_is_the_one_sharing_an_inode_with_its_objects ... ok -test session::test::without_objects_the_only_session_written_since_the_start_is_the_units ... ok -test stat::test::a_corrupt_stat_entry_is_ignored ... ok -test stat::test::a_digest_is_reused_until_the_file_changes ... ok -test stat::test::a_whole_second_mtime_is_not_trusted_within_its_tick ... ok -test stat::test::archives_are_digested_without_their_build_stamps ... ok -test stat::test::linker_identity_names_the_file_or_says_it_is_missing ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_changed_file_in_the_package_runs_again ... ok -test stat::test::validity_needs_an_inode_an_equal_identity_and_an_older_mtime ... ok -test test::a_cache_error_falls_back_to_running_rustc ... ok -test test::a_compile_misses_then_hits_and_says_so ... ok -error: this file contains an unclosed delimiter - --> /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpaarKiB/lib.rs:1:13 - | -1 | pub fn f( { - | - -^ - | | | - | | unclosed delimiter - | unclosed delimiter - -error: aborting due to 1 previous error - -test test::a_failed_compile_reports_rustc_exit_code ... ok -test test::a_failing_remote_is_noted_on_the_miss ... ok -rustc 1.99.1 (58cf8f9c3 2026-10-13) -test test::a_trace_records_a_pass_through ... ok -test test::a_trace_records_each_step_of_a_miss_and_a_hit ... ok -test test::a_unit_served_by_the_remote_is_logged_as_remote ... ok -test test::only_programs_named_rustc_are_cached ... ok -rustc 1.99.1 (58cf8f9c3 2026-10-13) -binary: rustc -commit-hash: 58cf8f9c35b355199727627d07ae34a4e2846d67 -commit-date: 2026-10-13 -host: aarch64-apple-darwin -release: 1.99.1 -LLVM version: 23.1.1 -rustc 1.99.1 (58cf8f9c3 2026-10-13) -binary: rustc -commit-hash: 58cf8f9c35b355199727627d07ae34a4e2846d67 -commit-date: 2026-10-13 -host: aarch64-apple-darwin -release: 1.99.1 -LLVM version: 23.1.1 -test test::queries_other_programs_and_odd_arguments_pass_through ... ok -test test_record::test::a_dylib_outside_the_binary_directory_is_corrupt ... ok -test test_record::test::an_exe_or_out_dir_outside_the_build_is_corrupt ... ok -test test_record::test::corrupt_test_records_name_the_bad_line ... ok -test test_record::test::only_paths_inside_the_build_can_be_recorded ... ok -test test_record::test::records_live_under_tests ... ok -test test_record::test::the_test_binary_encoding_is_pinned ... ok -test test_record::test::the_test_run_encoding_is_pinned ... ok -test trace::test::a_span_returns_its_value_and_records_in_order ... ok -test trace::test::each_step_is_one_chrome_trace_complete_event ... ok -test trace::test::labels_are_escaped_as_json_strings ... ok -test trace::test::writing_appends_and_skips_an_unwritable_path ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_corrupt_run_record_runs_the_test_again ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_declared_input_outside_the_package_runs_again_when_changed ... ok - -running 1 test -it_works --- FAILED - -failures: - ----- it_works stdout ---- - -thread 'it_works' (90239262) panicked at /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDTZyIZ/pkg/src/lib.rs:3:1: -assertion `left == right` failed - left: 1 - right: 2 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace - - -failures: - it_works - -test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -it_works --- FAILED - -failures: - ----- it_works stdout ---- - -thread 'it_works' (90239270) panicked at /var/folders/2s/3wlgyy817nl3czlpqr8hjj9c0000gn/T/.tmpDTZyIZ/pkg/src/lib.rs:3:1: -assertion `left == right` failed - left: 1 - right: 2 -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace - - -failures: - it_works - -test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_failing_run_is_never_recorded ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_miss_marks_the_test_binary_record_as_used ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_missing_object_runs_the_test_again ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_package_without_a_manifest_passes_through ... ok -test compile::test::an_executable_over_the_limit_is_compiled_but_never_stored ... ok - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_passing_run_is_replayed_without_running_the_binary ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_run_that_writes_into_its_package_is_not_recorded ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_run_whose_stdin_may_carry_input_is_never_cached ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -thread 'main' (90243671) panicked at /rustc/58cf8f9c35b355199727627d07ae34a4e2846d67/library/std/src/env.rs:878:51: -called `Result::unwrap()` on an `Err` value: "--\xFF" -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace -test runner::test::arguments_and_env_vars_that_are_not_utf8_pass_through ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_changed_binary_runs_again ... ok - -running 1 test -test it_works ... ignored - -test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::bench_coverage_and_opted_out_runs_pass_through ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::run_test_uncached_runs_the_binary_as_asked ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_shared_library_in_a_native_search_path_of_the_build_turns_caching_off ... ok - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -test it_works ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -test runner::test::a_via_program_runs_the_binary_and_joins_the_key ... ok -test stat::test::rustc_version_runs_once_per_compiler_identity ... ok - -test result: ok. 161 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.45s - - Doc-tests tinymold - -running 4 tests -test crates/tinymold/src/location/mod.rs - location::default_server_dir (line 52) ... ok -test crates/tinymold/src/location/mod.rs - location::default_store (line 23) ... ok -test crates/tinymold/src/doctor/mod.rs - doctor::find_on_path (line 141) ... ok -test crates/tinymold/src/lib.rs - (line 33) ... ok - -test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -all doctests ran in 2.17s; merged doctests compilation took 1.02s - Doc-tests tinymold_cas - -running 1 test -test crates/tinymold-cas/src/lib.rs - (line 25) ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -all doctests ran in 0.56s; merged doctests compilation took 0.12s - Doc-tests tinymold_hash - -running 3 tests -test crates/tinymold-hash/src/digest/mod.rs - digest::Digest::of_bytes (line 45) ... ok -test crates/tinymold-hash/src/digest/mod.rs - digest::Hasher (line 128) ... ok -test crates/tinymold-hash/src/lib.rs - (line 15) ... ok - -test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -all doctests ran in 0.52s; merged doctests compilation took 0.11s - Doc-tests tinymold_key - -running 1 test -test crates/tinymold-key/src/lib.rs - (line 26) ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -all doctests ran in 0.55s; merged doctests compilation took 0.13s - Doc-tests tinymold_remote - -running 1 test -test crates/tinymold-remote/src/lib.rs - (line 17) - compile ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -all doctests ran in 0.56s; merged doctests compilation took 0.15s - Doc-tests tinymold_server - -running 1 test -test crates/tinymold-server/src/lib.rs - (line 17) - compile ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -all doctests ran in 1.30s; merged doctests compilation took 0.89s - Doc-tests tinymold_store - -running 1 test -test crates/tinymold-store/src/lib.rs - (line 26) ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -all doctests ran in 0.57s; merged doctests compilation took 0.13s - Doc-tests tinymold_wrap - -running 1 test -test crates/tinymold-wrap/src/lib.rs - (line 20) - compile ... ok - -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - -all doctests ran in 0.54s; merged doctests compilation took 0.10s diff --git a/target-red-remote.log b/target-red-remote.log deleted file mode 100644 index a1dc8ea..0000000 --- a/target-red-remote.log +++ /dev/null @@ -1,30 +0,0 @@ - Compiling tinymold-remote v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-remote) - Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s - Running unittests src/lib.rs (target/debug/deps/tinymold_remote-712fa2ee9b8e685c) - -running 2 tests -test remote::test::oversized_remote_records_are_refused_before_downloading_them ... FAILED -test remote::test::an_oversized_signature_is_refused_before_downloading_it ... FAILED - -failures: - ----- remote::test::oversized_remote_records_are_refused_before_downloading_them stdout ---- - -thread 'remote::test::oversized_remote_records_are_refused_before_downloading_them' (90290908) panicked at crates/tinymold-remote/src/remote/test.rs:1123:5: -assertion failed: matches!(reader.fetch_action_into(&local.key, &store), - Err(Error::BlobSize { .. })) -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace - ----- remote::test::an_oversized_signature_is_refused_before_downloading_it stdout ---- - -thread 'remote::test::an_oversized_signature_is_refused_before_downloading_it' (90290907) panicked at crates/tinymold-remote/src/remote/test.rs:1101:5: -Err(BlobMismatch { expected: "814a3d3b028d50485b5ab401998a4af3b2549ec39e491feb6cc2a1f65606f6ca" }) - - -failures: - remote::test::an_oversized_signature_is_refused_before_downloading_it - remote::test::oversized_remote_records_are_refused_before_downloading_them - -test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 93 filtered out; finished in 0.01s - -error: test failed, to rerun pass `-p tinymold-remote --lib` diff --git a/target-red-wrap.log b/target-red-wrap.log deleted file mode 100644 index 9a0c09b..0000000 --- a/target-red-wrap.log +++ /dev/null @@ -1,45 +0,0 @@ - Compiling libc v0.2.189 - Compiling getrandom v0.4.3 - Compiling once_cell v1.21.4 - Compiling syn v3.0.3 - Compiling thiserror-impl v2.0.20 - Compiling thiserror v2.0.20 - Compiling errno v0.3.14 - Compiling rustix v1.1.4 - Compiling tempfile v3.27.0 - Compiling tinymold-hash v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-hash) - Compiling tinymold-key v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-key) - Compiling tinymold-cas v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-cas) - Compiling tinymold-wrap v0.3.1 (/Users/enamakel/work/tinymold/worktrees/harden-untrusted-cache/crates/tinymold-wrap) - Finished `test` profile [unoptimized + debuginfo] target(s) in 2.77s - Running unittests src/lib.rs (target/debug/deps/tinymold_wrap-71fdc4ade3a9cf7e) - -running 2 tests -test compile::test::restoring_text_refuses_a_symlink_outside_the_units_outputs ... FAILED -test compile::test::restoring_text_refuses_an_unrelated_existing_file ... FAILED - -failures: - ----- compile::test::restoring_text_refuses_a_symlink_outside_the_units_outputs stdout ---- - -thread 'compile::test::restoring_text_refuses_a_symlink_outside_the_units_outputs' (90282440) panicked at crates/tinymold-wrap/src/compile/test.rs:1323:5: -assertion `left == right` failed - left: [100, 101, 109, 111, 45, 49, 46, 100, 58, 32, 115, 114, 99, 47, 108, 105, 98, 46, 114, 115, 10] - right: [107, 101, 101, 112, 32, 109, 101] -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace - ----- compile::test::restoring_text_refuses_an_unrelated_existing_file stdout ---- - -thread 'compile::test::restoring_text_refuses_an_unrelated_existing_file' (90282441) panicked at crates/tinymold-wrap/src/compile/test.rs:1338:5: -assertion `left == right` failed - left: [100, 101, 109, 111, 45, 49, 46, 100, 58, 32, 115, 114, 99, 47, 108, 105, 98, 46, 114, 115, 10] - right: [107, 101, 101, 112, 32, 109, 101] - - -failures: - compile::test::restoring_text_refuses_a_symlink_outside_the_units_outputs - compile::test::restoring_text_refuses_an_unrelated_existing_file - -test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 161 filtered out; finished in 0.00s - -error: test failed, to rerun pass `-p tinymold-wrap --lib` From 7a49db735c989606f2e5262956c2be2438636983 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:21:24 +0530 Subject: [PATCH 14/26] test(remote): add test for signed record authorization Adds a new test case to verify that a signed record does not authorize the download of unrelated extra blobs. This ensures that the remote fetching mechanism strictly adheres to the authorized artifacts. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-remote/src/remote/test.rs | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/crates/tinymold-remote/src/remote/test.rs b/crates/tinymold-remote/src/remote/test.rs index 6a539a2..d42a283 100644 --- a/crates/tinymold-remote/src/remote/test.rs +++ b/crates/tinymold-remote/src/remote/test.rs @@ -1148,3 +1148,27 @@ fn oversized_remote_records_are_refused_before_downloading_them() { reads ); } + +#[test] +fn a_signed_record_does_not_authorize_an_unrelated_extra_blob() { + let server = Server::start(); + let local = Local::new(); + let signer = SigningKey::generate(); + configured(&server, signing(&signer)).push(&local.root, None).unwrap(); + let bytes = b"attacker controlled extra object"; + let extra = Digest::of_bytes(bytes); + server.with(|state| { + let digest = naming::blob(bytes); + state.blobs.insert(digest.hash.clone(), bytes.to_vec()); + state.actions.get_mut(&naming::action_key(&local.key).hash).unwrap() + .output_files.push(output(&extra.to_hex(), digest)); + }); + let empty = tempfile::tempdir().unwrap(); + let store = Store::open(empty.path()).unwrap(); + let result = configured(&server, trusting(&signer)).fetch_action_into(&local.key, &store); + assert!(matches!(result, Err(Error::Malformed { .. })), "{result:?}"); + assert!(!store.contains(&extra)); + for object in &local.objects { + assert!(!store.contains(object), "refuse the entry before fetching artifacts"); + } +} From 9ecb939ad587f2a9a6014ec6cab3148060a8f327 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:21:31 +0530 Subject: [PATCH 15/26] feat(remote): enforce action record validation before fetching artifacts This change introduces validation of the action record's references before fetching any artifacts from the remote cache. This prevents a malicious server from grafting arbitrary downloads onto a valid signed entry by ensuring all fetched objects match what the action record authorizes. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-remote/src/remote/mod.rs | 67 ++++++++++------------- crates/tinymold-remote/src/remote/test.rs | 17 ++++-- crates/tinymold-wrap/src/catalog/mod.rs | 12 ++++ crates/tinymold-wrap/src/lib.rs | 4 +- 4 files changed, 57 insertions(+), 43 deletions(-) diff --git a/crates/tinymold-remote/src/remote/mod.rs b/crates/tinymold-remote/src/remote/mod.rs index 3560904..fc3e845 100644 --- a/crates/tinymold-remote/src/remote/mod.rs +++ b/crates/tinymold-remote/src/remote/mod.rs @@ -492,6 +492,17 @@ impl RemoteCache { key: key.hash.clone(), reason, }; + // The signature authenticates the record, not the server's + // output list. Parse it before fetching any artifact so a server + // cannot graft arbitrary downloads onto a valid signed entry. + let bytes = self.client.read(&record).await?; + let text = + String::from_utf8(bytes).map_err(|_| malformed("its action record is not text"))?; + let references: HashSet<_> = + tinymold_wrap::action_references_from_text(&text, Path::new(ACTION_FILE))? + .into_iter() + .collect(); + let mut listed = HashSet::new(); let mut wanted = Vec::new(); for file in &result.output_files { if file.path == ACTION_FILE || file.path == SIGNATURE_FILE { @@ -499,56 +510,38 @@ impl RemoteCache { } let name = Digest::from_str(&file.path) .map_err(|_| malformed("an output is not named by its digest"))?; - if store.contains(&name) { - continue; + if !references.contains(&name) || !listed.insert(name) { + return Err(malformed("outputs do not match the action record")); } let digest = file .digest .clone() .ok_or_else(|| malformed("an output has no digest"))?; - wanted.push((name, digest)); + if !store.contains(&name) { + wanted.push((blob_size(&digest), (name, digest))); + } } - // Every object, and the record, in flight together under one - // limit: each read is a round trip. Each object goes into the - // store as it arrives, so memory holds only what is in flight. - let reads = std::iter::once((blob_size(&record), None)) - .chain( - wanted - .into_iter() - .map(|(name, digest)| (blob_size(&digest), Some((name, digest)))), - ) - .collect(); - let mut text = None; + if listed != references { + return Err(malformed("outputs do not match the action record")); + } + // Fetch only the objects the parsed record authorizes, keeping + // the ordinary byte budget and parallel artifact downloads. in_flight( - reads, - |object| { - let record = &record; - async move { - let (name, digest) = match object { - Some((name, digest)) => (Some(name), digest), - None => (None, record.clone()), - }; - let bytes = self.client.read_sharing(&digest, IN_FLIGHT_BYTES).await; - (name, bytes) - } + wanted, + |(name, digest)| async move { + let bytes = self.client.read_sharing(&digest, IN_FLIGHT_BYTES).await; + (name, bytes) }, - |(name, bytes)| match name { - None => { - text = Some(bytes?); + |(name, bytes)| { + if store.insert_bytes(&bytes?)? == name { Ok(()) + } else { + Err(malformed("an output does not match its name")) } - Some(name) if store.insert_bytes(&bytes?)? == name => Ok(()), - Some(_) => Err(malformed("an output does not match its name")), }, ) .await?; - let text = text.ok_or_else(|| malformed("its action record was never read"))?; - String::from_utf8(text) - .map(Some) - .map_err(|_| Error::Malformed { - key: key.hash, - reason: "its action record is not text", - }) + Ok(Some(text)) }) } } diff --git a/crates/tinymold-remote/src/remote/test.rs b/crates/tinymold-remote/src/remote/test.rs index d42a283..d543051 100644 --- a/crates/tinymold-remote/src/remote/test.rs +++ b/crates/tinymold-remote/src/remote/test.rs @@ -1154,14 +1154,20 @@ fn a_signed_record_does_not_authorize_an_unrelated_extra_blob() { let server = Server::start(); let local = Local::new(); let signer = SigningKey::generate(); - configured(&server, signing(&signer)).push(&local.root, None).unwrap(); + configured(&server, signing(&signer)) + .push(&local.root, None) + .unwrap(); let bytes = b"attacker controlled extra object"; let extra = Digest::of_bytes(bytes); server.with(|state| { let digest = naming::blob(bytes); state.blobs.insert(digest.hash.clone(), bytes.to_vec()); - state.actions.get_mut(&naming::action_key(&local.key).hash).unwrap() - .output_files.push(output(&extra.to_hex(), digest)); + state + .actions + .get_mut(&naming::action_key(&local.key).hash) + .unwrap() + .output_files + .push(output(&extra.to_hex(), digest)); }); let empty = tempfile::tempdir().unwrap(); let store = Store::open(empty.path()).unwrap(); @@ -1169,6 +1175,9 @@ fn a_signed_record_does_not_authorize_an_unrelated_extra_blob() { assert!(matches!(result, Err(Error::Malformed { .. })), "{result:?}"); assert!(!store.contains(&extra)); for object in &local.objects { - assert!(!store.contains(object), "refuse the entry before fetching artifacts"); + assert!( + !store.contains(object), + "refuse the entry before fetching artifacts" + ); } } diff --git a/crates/tinymold-wrap/src/catalog/mod.rs b/crates/tinymold-wrap/src/catalog/mod.rs index 21a01e4..68e88fe 100644 --- a/crates/tinymold-wrap/src/catalog/mod.rs +++ b/crates/tinymold-wrap/src/catalog/mod.rs @@ -132,6 +132,18 @@ pub fn action_references(path: &Path) -> Result> { Ok(action_info(path)?.references) } +/// Parses an action record in memory and returns every object it references, +/// including diagnostics and incremental session files. `path` is used only +/// to identify the record in errors; this function performs no I/O. +/// +/// # Errors +/// +/// Returns [`Error::CorruptRecord`](crate::Error::CorruptRecord) when the +/// record does not parse. +pub fn action_references_from_text(text: &str, path: &Path) -> Result> { + Ok(Action::decode(text, path)?.references()) +} + /// Every object the test run recorded at `path` needs to be replayed: its /// stdout and stderr. /// diff --git a/crates/tinymold-wrap/src/lib.rs b/crates/tinymold-wrap/src/lib.rs index 87caa64..1c0cde7 100644 --- a/crates/tinymold-wrap/src/lib.rs +++ b/crates/tinymold-wrap/src/lib.rs @@ -61,8 +61,8 @@ use std::time::{Duration, Instant}; use tinymold_key::{Classified, Invocation}; pub use catalog::{ - ActionInfo, RecordFile, RecordKind, action_info, action_references, records, - test_run_references, + ActionInfo, RecordFile, RecordKind, action_info, action_references, + action_references_from_text, records, test_run_references, }; pub use clock::{filesystem_now, written_before}; use compile::Served; From 1adfdba03df156fd63ccbb5d4764d6c93a3cd6bd Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:22:06 +0530 Subject: [PATCH 16/26] test(remote,wrap): update tests with new record handling and metadata checks This commit updates tests in both remote and wrap crates to use a helper function for creating records, which standardizes how actions are tested. Additionally, it adds a test case to verify metadata size limits and introduces a new test in the wrap crate to ensure action references are parsed correctly even when the diagnostic path is absent. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-remote/src/remote/test.rs | 28 ++++++++++++++++++++--- crates/tinymold-wrap/src/catalog/test.rs | 15 ++++++++++++ 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/crates/tinymold-remote/src/remote/test.rs b/crates/tinymold-remote/src/remote/test.rs index d543051..6238096 100644 --- a/crates/tinymold-remote/src/remote/test.rs +++ b/crates/tinymold-remote/src/remote/test.rs @@ -865,7 +865,7 @@ fn entries_tinymold_did_not_write_are_refused() { )); let unnamed = fetch_error(vec![ - (ACTION_FILE.to_owned(), b"record".to_vec()), + (ACTION_FILE.to_owned(), record_for(b"x")), ("libdemo.rlib".to_owned(), b"x".to_vec()), ]); assert!(matches!( @@ -877,7 +877,7 @@ fn entries_tinymold_did_not_write_are_refused() { )); let misnamed = fetch_error(vec![ - (ACTION_FILE.to_owned(), b"record".to_vec()), + (ACTION_FILE.to_owned(), record_for(b"other")), (Digest::of_bytes(b"other").to_hex(), b"x".to_vec()), ]); assert!(matches!( @@ -905,7 +905,7 @@ fn an_output_without_a_digest_is_refused() { plant( &server, &key, - vec![(ACTION_FILE.to_owned(), b"record".to_vec())], + vec![(ACTION_FILE.to_owned(), record_for(b"x"))], ); server.with(|state| { let result = state @@ -1181,3 +1181,25 @@ fn a_signed_record_does_not_authorize_an_unrelated_extra_blob() { ); } } + +/// A valid action that references just the supplied diagnostic bytes. +fn record_for(bytes: &[u8]) -> Vec { + let digest = Digest::of_bytes(bytes); + format!("tinymold-action 1\nstdout {digest}\nstderr {digest}\n").into_bytes() +} + +#[test] +fn metadata_size_limits_include_the_boundary_and_reject_negative_sizes() { + for limit in [MAX_RECORD, MAX_SIGNATURE] { + let mut digest = naming::blob(b""); + digest.size_bytes = limit; + assert!(metadata_size(&digest, limit).is_ok()); + for size in [-1, limit + 1] { + digest.size_bytes = size; + assert!(matches!( + metadata_size(&digest, limit), + Err(Error::BlobSize { .. }) + )); + } + } +} diff --git a/crates/tinymold-wrap/src/catalog/test.rs b/crates/tinymold-wrap/src/catalog/test.rs index 21419b4..fd09cec 100644 --- a/crates/tinymold-wrap/src/catalog/test.rs +++ b/crates/tinymold-wrap/src/catalog/test.rs @@ -210,3 +210,18 @@ fn test_run_references_name_both_streams() { write(&path, "garbage"); assert!(test_run_references(&path).is_err()); } + +#[test] +fn in_memory_action_references_parse_without_reading_the_diagnostic_path() { + let dir = tempfile::tempdir().unwrap(); + let path = dir.path().join("absent"); + let digest = Digest::of_bytes(b"diagnostics"); + let text = format!("tinymold-action 1\nstdout {digest}\nstderr {digest}\n"); + assert_eq!( + action_references_from_text(&text, &path).unwrap(), + vec![digest, digest] + ); + assert!(matches!(action_references_from_text("bad", &path), + Err(crate::Error::CorruptRecord { path: error_path, line: 1 }) if error_path == path)); + assert!(!path.exists()); +} From 7ec60754f5ee18743ef42012843fe73e2d788bf3 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:23:03 +0530 Subject: [PATCH 17/26] docs(remote): clarify remote integrity and metadata handling Updates the documentation to clarify that hashes establish integrity rather than authorship, and adds details about how the client validates metadata before downloading artifacts. This also introduces new tests to enforce strict validation of action records against local state. Auto-committed-on: macbook Co-authored-by: Medulla --- README.md | 8 ++++-- crates/tinymold-remote/src/remote/test.rs | 35 +++++++++++++++++++++++ docs/specs/remote.md | 22 ++++++++++++-- 3 files changed, 60 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 61babbc..962bbe5 100644 --- a/README.md +++ b/README.md @@ -214,9 +214,11 @@ skips binaries and proc-macros. tinymold caches every rustc call cargo makes, `cargo llvm-cov`, and passing test runs. **It never trades correctness for speed.** Anything that is an input is in the -key; anything that is not stays out. Objects are immutable once stored, and a -remote server can only make a build miss, never restore different bytes. When -in doubt, tinymold misses. +key; anything that is not stays out. Objects are immutable once stored, and remote blobs are checked against their +digests. Use trusted signing keys to authenticate remote records: a writer +without that protection can poison build outputs despite valid hashes. See +[cache security](docs/specs/cache-security.md) before sharing a cache with +public pull-request jobs. When in doubt, tinymold misses. The cache never links for you: a binary that depends on the crate you edited is still relinked in full, while unchanged crates, binaries and test diff --git a/crates/tinymold-remote/src/remote/test.rs b/crates/tinymold-remote/src/remote/test.rs index 6238096..b599396 100644 --- a/crates/tinymold-remote/src/remote/test.rs +++ b/crates/tinymold-remote/src/remote/test.rs @@ -1203,3 +1203,38 @@ fn metadata_size_limits_include_the_boundary_and_reject_negative_sizes() { } } } + +#[test] +fn missing_and_duplicate_action_objects_are_refused_even_when_cached_locally() { + for duplicate in [false, true] { + let server = Server::start(); + let local = Local::new(); + remote(&server).push(&local.root, None).unwrap(); + server.with(|state| { + let result = state.actions.get_mut(&naming::action_key(&local.key).hash).unwrap(); + if duplicate { + let file = result.output_files.iter().find(|file| file.path != ACTION_FILE).unwrap().clone(); + result.output_files.push(file); + } else { + result.output_files.retain(|file| file.path != local.objects[1].to_hex()); + } + }); + let result = remote(&server).fetch_action_into(&local.key, &local.store); + assert!(matches!(result, Err(Error::Malformed { reason: "outputs do not match the action record", .. })), "{result:?}"); + } +} + +#[test] +fn a_malformed_record_is_refused_before_any_artifact_is_stored() { + let server = Server::start(); + let key = Digest::of_bytes(b"malformed"); + let object = Digest::of_bytes(b"artifact"); + plant(&server, &key, vec![ + (ACTION_FILE.to_owned(), b"not an action".to_vec()), + (object.to_hex(), b"artifact".to_vec()), + ]); + let empty = tempfile::tempdir().unwrap(); + let store = Store::open(empty.path()).unwrap(); + assert!(matches!(remote(&server).fetch_action_into(&key, &store), Err(Error::Wrap(_)))); + assert!(!store.contains(&object)); +} diff --git a/docs/specs/remote.md b/docs/specs/remote.md index a2cb563..b1314bc 100644 --- a/docs/specs/remote.md +++ b/docs/specs/remote.md @@ -168,7 +168,7 @@ reads answers `GetCapabilities` whatever the credential. - Only trusted CI holds a write credential. Pull requests from forks get no secrets, and read anonymously when the server allows unauthenticated reads, or run without a remote. -- **A remote can only make a build miss.** Everything it returns is +- **Hashes establish integrity, not authorship.** Everything it returns is re-hashed and checked against digests in records the client parsed itself. A server that returns a wrong record for a key is trusted as much as the CI that wrote it, which is why writes are restricted, and why readers @@ -182,7 +182,8 @@ right. One bad bind address or a missing credential file lets anyone who can reach the server plant an entry that decides what a later build links. Signed entries make the client independent of that: a reader that names its trusted keys uses only entries those keys signed, so a server open to -the world can at worst make a build miss. +the world cannot forge a trusted record. It can still withhold entries or +consume resources up to the client limits. - **Keys.** `tinymold remote keygen` prints a fresh ed25519 key pair as the two variables above. The secret goes only to trusted writers, such as CI @@ -222,6 +223,23 @@ anonymous write while this client trusts no keys is refused with poison the cache. Either require a credential for writes or configure trusted keys. +## Untrusted metadata + +The client refuses negative sizes and record blobs larger than 16 MiB before +opening their download stream. Signature blobs are limited to 1 KiB before +verification. Artifacts retain the separate 4 GiB blob limit. + +An action record is downloaded and parsed before its objects. The response's +object names must match exactly the distinct BLAKE3 references in that record; +missing, extra, or duplicate object names refuse the entry, even when the +objects are already cached locally. A valid signature therefore cannot be +reused to authorize unrelated artifact downloads. Objects still download in +parallel, with each SHA-256 checked on receipt and BLAKE3 checked on insertion. +This adds a record-read dependency before artifact downloads. + +See [cache security](cache-security.md) for public-repository trust boundaries, +the local-store limitation, and deployment guidance. + ## Acceptance criteria - With a populated remote and an empty local store, a clean build of this From 43cfbf278ae258deb6dd76f0d058bfadaa3a0d69 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:24:27 +0530 Subject: [PATCH 18/26] test(remote): improve action object handling in tests Refactors several unit tests in `remote/test.rs` to use more idiomatic Rust syntax and improves assertion clarity. Additionally, documentation for remote specs is updated to reflect new features and clarify existing workflows. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-remote/src/remote/test.rs | 44 ++++++-- docs/specs/cache-security.md | 128 ++++++++++++++++++++++ docs/specs/github-actions.md | 3 +- docs/specs/remote.md | 16 ++- 4 files changed, 172 insertions(+), 19 deletions(-) create mode 100644 docs/specs/cache-security.md diff --git a/crates/tinymold-remote/src/remote/test.rs b/crates/tinymold-remote/src/remote/test.rs index b599396..4bf7205 100644 --- a/crates/tinymold-remote/src/remote/test.rs +++ b/crates/tinymold-remote/src/remote/test.rs @@ -1211,16 +1211,35 @@ fn missing_and_duplicate_action_objects_are_refused_even_when_cached_locally() { let local = Local::new(); remote(&server).push(&local.root, None).unwrap(); server.with(|state| { - let result = state.actions.get_mut(&naming::action_key(&local.key).hash).unwrap(); + let result = state + .actions + .get_mut(&naming::action_key(&local.key).hash) + .unwrap(); if duplicate { - let file = result.output_files.iter().find(|file| file.path != ACTION_FILE).unwrap().clone(); + let file = result + .output_files + .iter() + .find(|file| file.path != ACTION_FILE) + .unwrap() + .clone(); result.output_files.push(file); } else { - result.output_files.retain(|file| file.path != local.objects[1].to_hex()); + result + .output_files + .retain(|file| file.path != local.objects[1].to_hex()); } }); let result = remote(&server).fetch_action_into(&local.key, &local.store); - assert!(matches!(result, Err(Error::Malformed { reason: "outputs do not match the action record", .. })), "{result:?}"); + assert!( + matches!( + result, + Err(Error::Malformed { + reason: "outputs do not match the action record", + .. + }) + ), + "{result:?}" + ); } } @@ -1229,12 +1248,19 @@ fn a_malformed_record_is_refused_before_any_artifact_is_stored() { let server = Server::start(); let key = Digest::of_bytes(b"malformed"); let object = Digest::of_bytes(b"artifact"); - plant(&server, &key, vec![ - (ACTION_FILE.to_owned(), b"not an action".to_vec()), - (object.to_hex(), b"artifact".to_vec()), - ]); + plant( + &server, + &key, + vec![ + (ACTION_FILE.to_owned(), b"not an action".to_vec()), + (object.to_hex(), b"artifact".to_vec()), + ], + ); let empty = tempfile::tempdir().unwrap(); let store = Store::open(empty.path()).unwrap(); - assert!(matches!(remote(&server).fetch_action_into(&key, &store), Err(Error::Wrap(_)))); + assert!(matches!( + remote(&server).fetch_action_into(&key, &store), + Err(Error::Wrap(_)) + )); assert!(!store.contains(&object)); } diff --git a/docs/specs/cache-security.md b/docs/specs/cache-security.md new file mode 100644 index 0000000..08e216e --- /dev/null +++ b/docs/specs/cache-security.md @@ -0,0 +1,128 @@ +# Cache security for public repositories + +## Trust boundary + +A cache writer can influence code that a later build executes. A malicious +artifact can have valid SHA-256 and BLAKE3 digests: hashes prove which bytes +arrived, not that those bytes came from the expected compiler or source. +Cached executables, build scripts, proc macros and libraries can introduce +code into a build or its resulting release. A poisoned test-result record +can also suppress a test run. + +Uploading bytes through the cache protocols does not ask tinymold's server +to execute them. Turbo, Nx and Gradle artifacts remain opaque blobs; the +server does not extract their archives. Their consumers remain responsible +for safe extraction and for trusting the producer. REAPI execution is not +implemented. These properties do not make arbitrary uploads harmless: +storage, bandwidth, parsing and concurrent requests still use resources. + +## Required deployment policy + +- Give write access only to CI that builds trusted code. Fork PRs, ordinary + PR jobs and other untrusted workloads get read-only credentials or no + credential. A repository being public does not make its contributors + trusted cache writers. +- For the Rust REAPI adapter, configure `TINYMOLD_REMOTE_TRUSTED_KEYS` on + every reader. Keep `TINYMOLD_REMOTE_SIGNING_KEY` only in the trusted + producer job. Both pre-key and action records must be authenticated. + Signed entries are currently opt-in; an unsigned configuration does not + provide this guarantee. A signature authenticates the producer, not the + correctness of its build. +- Scope credentials by protocol and repository tenant. Use distinct signing + keys for repositories or groups that must not trust each other's builds. + The current signature binds the action key and record, but not the REAPI + instance name: a shared key is a shared signing trust domain. +- Turbo, Nx, Gradle and ordinary Bazel clients do not gain the Rust + adapter's signature verification. Restrict their write credentials and + isolate their trusted and untrusted namespaces server-side. +- Use TLS across untrusted networks. Do not put credentials or sensitive + artifacts in a cache readable by public PRs. The server's CAS digest + index is shared across protocols and tenants; namespaces isolate action + mappings, not confidential blob storage. Use separate server stores for + confidentiality boundaries. +- Run untrusted jobs on disposable runners. The local wrapper store trusts + local records and objects; remote signature verification does not protect + a store an attacker can modify directly. Never mount a trusted persistent + store writable into an untrusted job. An untrusted process on the same + runner can also tamper with restored outputs and other build state. +- A job holding a signing key must not consume unsigned or untrusted local + cache state and then publish it. Start with a clean store when changing + signing policy or rotating away from a contaminated trust domain. Signed + remote verification is performed on fetch, not on every subsequent local + hit. Existing local entries are not retroactively authenticated. + +Workflow conditions are useful defaults, but malicious code given a write +credential can bypass a save step and call the API itself. Enforce read-only +access on the server and withhold signing secrets at the workflow boundary. +Do not execute PR code in a privileged `pull_request_target` job. + +## GitHub Actions + +GitHub scopes its own cache separately from a shared remote server. A normal +`pull_request` cache is scoped to its merge ref; a trusted main build must +not import that archive through another mechanism. GitHub documents its +[cache access restrictions and low-trust trigger policy](https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching). +Those restrictions do not apply to a persistent self-hosted runner directory +or an independent REAPI cache. Do not override low-trust cache restrictions +to let untrusted jobs populate trusted caches. + +For public PRs consuming a shared Rust remote, use a fresh runner/store, +the public verification keys, and read-only server access. For example: + +```yaml +- uses: tinyhumansai/tinymold@v0 + with: + backend: remote + remote-url: grpcs://cache.example.com + remote-instance: my-repository + remote-trusted-keys: ${{ vars.TINYMOLD_REMOTE_TRUSTED_KEYS }} + # Anonymous reads, or a server-enforced read-only credential. +- run: cargo test --all-features +- uses: tinyhumansai/tinymold/save@v0 + if: always() + with: + push: 'false' +``` + +Configure trusted producers in a separate workflow building trusted refs, +with both the signing secret and the same public verification keys. Do not +pass a writer credential or signing key to the public PR workflow. This +example requires a release containing the protections described below; +`v0` alone does not identify a particular audited commit. + +## Upload and restore protections + +| Boundary | Protection | +| --- | --- | +| Server upload | Streamed into private staging; content-derived names; claimed digests checked before committing | +| Server network access | Token scopes distinguish read and write; an unauthenticated listener is restricted to loopback | +| Remote artifact reads | SHA-256 verified on receipt, BLAKE3 verified on insertion | +| Remote authorship | Ed25519 verification of records when trusted keys are configured | +| Remote metadata | Action/pre-key records limited to 16 MiB; signatures to 1 KiB, checked before downloading | +| Remote object list | Parsed action record must authorize exactly the distinct listed objects; extra, duplicate or missing objects refuse the entry before artifact downloads | +| Output filenames | Action parser rejects absolute paths, directory separators, drive separators, `.` and `..` | +| Text restore | Creates a new destination, refusing an existing file or symlink instead of truncating or following it | +| Binary restore | Reflink or exclusive-create copy, rather than a writable hardlink to the CAS | +| Incremental restore | Session destination must be a direct child of the invocation's incremental directory | + +The text-destination protection assumes the surrounding output directory is +trusted. It does not claim to defeat a malicious local process concurrently +replacing parent directories or modifying files after restoration. + +## Remaining availability and assurance limits + +`--max-body` bounds an individual upload (4 GiB by default), not the total +number of simultaneous uploads. `--max-size` triggers periodic eviction; +it is not a hard admission quota. The Rust client can still buffer one +artifact up to its 4 GiB limit even though ordinary concurrent transfers use +a smaller byte budget. A malicious authorized writer or server can cause +disk, memory, CPU or network pressure within and across these limits. +Use service isolation, filesystem quotas and ingress rate/concurrency limits +when exposing the service to untrusted traffic. There is no claim of zero +availability impact from public uploads. + +This is a source review of upload, remote-fetch and Rust restore boundaries, +with regression tests for the identified gaps. It is not a complete security +audit of every parser, third-party consumer, operating-system race or CI +deployment. No production credentials or repository workflows were changed +as part of this hardening. diff --git a/docs/specs/github-actions.md b/docs/specs/github-actions.md index 2e1721f..41c1da7 100644 --- a/docs/specs/github-actions.md +++ b/docs/specs/github-actions.md @@ -70,7 +70,7 @@ steps: if: always() ``` -With a remote server: +With a remote server (see [cache security](cache-security.md) for public PRs): ```yaml - uses: tinyhumansai/tinymold@v0 @@ -78,6 +78,7 @@ With a remote server: backend: both remote-url: grpcs://cache.example.com remote-auth: ${{ secrets.TINYMOLD_REMOTE_AUTH }} + remote-trusted-keys: ${{ vars.TINYMOLD_REMOTE_TRUSTED_KEYS }} ``` ## Inputs diff --git a/docs/specs/remote.md b/docs/specs/remote.md index b1314bc..15243d7 100644 --- a/docs/specs/remote.md +++ b/docs/specs/remote.md @@ -83,13 +83,11 @@ sharing a key. zeroed, which forces a rehash. Then try each set as the local lookup would. 3. For the first full key the local store lacks, get the remote action: - 1. fetch every listed object the local store does not hold, refusing a - blob whose SHA-256 is wrong; - 2. insert each into the local CAS, which re-derives its BLAKE3 digest, - and refuse the entry when that digest is not the name it was listed - under; - 3. fetch and decode `.tinymold/action`, and check that every digest it - names is now in the store; if any is missing, it is a miss. + 1. verify the record's signature when trusted keys are configured; + 2. fetch and parse the bounded action record, then check that its distinct + references match the response's object names exactly; + 3. fetch the authorized objects missing locally, checking SHA-256 on + receipt and BLAKE3 on insertion into the local CAS. 4. Write the local action and restore it, as a local hit would. The log outcome is `remote`. @@ -97,8 +95,8 @@ Calls go through ByteStream `Read` for blobs, so blob size is not limited by the gRPC message size. The connection uses HTTP/2 adaptive flow-control windows, so reads from a distant cache are not held to a fixed window per round trip. Once an entry's signature checks out, its -objects and its record are read together, within 32 concurrent calls and -a 32 MiB byte budget, and a pre-key +record is read first; its authorized objects are then read within 32 +concurrent calls and a 32 MiB byte budget. A pre-key lookup reads its signature and record together: each read is a round trip, and a runner far from its cache would otherwise pay one per object on every hit. Each call has the configured timeout, and blob From 502d238a3ef095c7d864c34b561a743b082e6efd Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:25:35 +0530 Subject: [PATCH 19/26] test(reapi): add batch read validation tests Adds two new integration tests to verify that batch read operations correctly reject requests that violate advertised limits or contain misleading size information. This ensures the server enforces batch size constraints robustly. Auto-committed-on: macbook Co-authored-by: Medulla --- .../tinymold-server/src/front/reapi/test.rs | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/crates/tinymold-server/src/front/reapi/test.rs b/crates/tinymold-server/src/front/reapi/test.rs index 65de83b..cb44856 100644 --- a/crates/tinymold-server/src/front/reapi/test.rs +++ b/crates/tinymold-server/src/front/reapi/test.rs @@ -730,3 +730,38 @@ fn a_raw_message_is_never_decoded_and_clears_to_nothing() { raw.clear(); assert_eq!(raw, Raw::default()); } + +#[tokio::test(flavor = "multi_thread")] +async fn batch_reads_refuse_a_declared_total_above_the_advertised_limit() { + let server = start().await; + let mut claimed = digest(b"small"); + claimed.size_bytes = MAX_BATCH; + let result: Result = unary( + &server, BATCH_READ, + BatchReadBlobsRequest { + instance_name: String::new(), + digests: vec![claimed, digest(b"small")], + digest_function: DIGEST_SHA256, + }, None, + ).await; + assert_eq!(result.unwrap_err().code(), tonic::Code::InvalidArgument); +} + +#[tokio::test(flavor = "multi_thread")] +async fn batch_reads_refuse_a_large_stored_blob_with_an_understated_size() { + let server = start().await; + let bytes = vec![42; usize::try_from(MAX_BATCH).unwrap() + 1]; + server.store.ingest(bytes.as_slice(), None).unwrap(); + let mut claimed = digest(&bytes); + claimed.size_bytes = 1; + let response: BatchReadBlobsResponse = unary( + &server, BATCH_READ, + BatchReadBlobsRequest { + instance_name: String::new(), + digests: vec![claimed], + digest_function: DIGEST_SHA256, + }, None, + ).await.unwrap(); + assert!(response.responses[0].data.is_empty()); + assert_eq!(response.responses[0].status.as_ref().unwrap().code, tonic::Code::InvalidArgument as i32); +} From 7cca2d77ddcbb78d7635ded26638caebceef8520 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:26:04 +0530 Subject: [PATCH 20/26] feat(reapi): implement blob size validation in batch read This introduces a new function to read individual blobs within a batch, which now validates that the stored file size matches the size declared in the digest. It also adds a check in `batch_read_blobs` to ensure the total declared size does not exceed `MAX_BATCH`. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-server/src/front/reapi/mod.rs | 52 ++++++++++++++++--- .../tinymold-server/src/front/reapi/test.rs | 24 ++++++--- 2 files changed, 61 insertions(+), 15 deletions(-) diff --git a/crates/tinymold-server/src/front/reapi/mod.rs b/crates/tinymold-server/src/front/reapi/mod.rs index fd49305..b274e8e 100644 --- a/crates/tinymold-server/src/front/reapi/mod.rs +++ b/crates/tinymold-server/src/front/reapi/mod.rs @@ -343,18 +343,22 @@ async fn batch_read_blobs( let (metadata, _, request) = call.into_parts(); check_function(request.digest_function)?; authorize(&state, &metadata, &request.instance_name, Permission::Read)?; + // Bound the whole response, including repeated requests for one blob. + // Ignore negative sizes here so ordinary per-blob validation reports them. + let declared = request.digests.iter().try_fold(0_i64, |total, digest| { + total.checked_add(digest.size_bytes.max(0)) + }); + if declared.is_none_or(|total| total > MAX_BATCH) { + return Err(Status::invalid_argument( + "batch exceeds the maximum total size", + )); + } let store = state.store.clone(); let responses = blocking(move || { let mut responses = Vec::new(); for digest in request.digests { - let (data, status) = match resolve(&store, &digest) { - Ok(Some(blob)) => match store.cas().read(&blob) { - Ok(data) => (data, rpc_status(tonic::Code::Ok, "")), - Err(_) => ( - Vec::new(), - rpc_status(tonic::Code::NotFound, "blob is gone"), - ), - }, + let (data, status) = match read_batch_blob(&store, &digest) { + Ok(Some(data)) => (data, rpc_status(tonic::Code::Ok, "")), Ok(None) => ( Vec::new(), rpc_status(tonic::Code::NotFound, "blob is not stored"), @@ -383,6 +387,38 @@ async fn batch_read_blobs( Ok(tonic::Response::new(BatchReadBlobsResponse { responses })) } +/// Reads one batch member only when the stored size matches its declaration. +/// The caller has already bounded the sum of all declarations by MAX_BATCH. +fn read_batch_blob(store: &Store, digest: &Digest) -> Result>, Status> { + let Some(blob) = resolve(store, digest)? else { + return Ok(None); + }; + let file = match std::fs::File::open(store.cas().object_path(&blob)) { + Ok(file) => file, + Err(error) if error.kind() == io::ErrorKind::NotFound => return Ok(None), + Err(error) => return Err(internal(error)), + }; + let declared = u64::try_from(digest.size_bytes) + .map_err(|_| Status::invalid_argument("negative digest size"))?; + if file.metadata().map_err(internal)?.len() != declared { + return Err(Status::invalid_argument( + "stored blob size does not match digest", + )); + } + // Even a file changed after metadata inspection cannot grow this buffer + // without bound. The store directory itself must remain trusted. + let mut data = Vec::new(); + file.take(declared + 1) + .read_to_end(&mut data) + .map_err(internal)?; + if data.len() as u64 != declared { + return Err(Status::invalid_argument( + "stored blob size does not match digest", + )); + } + Ok(Some(data)) +} + type ReadStream = tokio_stream::wrappers::ReceiverStream>; async fn read( diff --git a/crates/tinymold-server/src/front/reapi/test.rs b/crates/tinymold-server/src/front/reapi/test.rs index cb44856..0ef5dac 100644 --- a/crates/tinymold-server/src/front/reapi/test.rs +++ b/crates/tinymold-server/src/front/reapi/test.rs @@ -737,13 +737,16 @@ async fn batch_reads_refuse_a_declared_total_above_the_advertised_limit() { let mut claimed = digest(b"small"); claimed.size_bytes = MAX_BATCH; let result: Result = unary( - &server, BATCH_READ, + &server, + BATCH_READ, BatchReadBlobsRequest { instance_name: String::new(), digests: vec![claimed, digest(b"small")], digest_function: DIGEST_SHA256, - }, None, - ).await; + }, + None, + ) + .await; assert_eq!(result.unwrap_err().code(), tonic::Code::InvalidArgument); } @@ -755,13 +758,20 @@ async fn batch_reads_refuse_a_large_stored_blob_with_an_understated_size() { let mut claimed = digest(&bytes); claimed.size_bytes = 1; let response: BatchReadBlobsResponse = unary( - &server, BATCH_READ, + &server, + BATCH_READ, BatchReadBlobsRequest { instance_name: String::new(), digests: vec![claimed], digest_function: DIGEST_SHA256, - }, None, - ).await.unwrap(); + }, + None, + ) + .await + .unwrap(); assert!(response.responses[0].data.is_empty()); - assert_eq!(response.responses[0].status.as_ref().unwrap().code, tonic::Code::InvalidArgument as i32); + assert_eq!( + response.responses[0].status.as_ref().unwrap().code, + tonic::Code::InvalidArgument as i32 + ); } From c3e586b4a2a917cb2a175017668a0c0633998a7e Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:26:23 +0530 Subject: [PATCH 21/26] test(reapi): add batch read overflow and size limit tests Adds tests to validate that batch reads refuse requests with excessively large declared sizes or integer overflows. Documentation is also updated to specify the 4 MiB limit and overflow checks for untrusted batch reads. Auto-committed-on: macbook Co-authored-by: Medulla --- .../tinymold-server/src/front/reapi/test.rs | 31 +++++++++++++++++++ docs/specs/cache-security.md | 1 + docs/specs/cache-server.md | 11 +++++++ 3 files changed, 43 insertions(+) diff --git a/crates/tinymold-server/src/front/reapi/test.rs b/crates/tinymold-server/src/front/reapi/test.rs index 0ef5dac..10805c2 100644 --- a/crates/tinymold-server/src/front/reapi/test.rs +++ b/crates/tinymold-server/src/front/reapi/test.rs @@ -775,3 +775,34 @@ async fn batch_reads_refuse_a_large_stored_blob_with_an_understated_size() { tonic::Code::InvalidArgument as i32 ); } + +#[tokio::test(flavor = "multi_thread")] +async fn batch_reads_refuse_an_overflowing_declared_total() { + let server = start().await; + let mut claimed = digest(b"x"); + claimed.size_bytes = i64::MAX; + let result: Result = unary( + &server, + BATCH_READ, + BatchReadBlobsRequest { + instance_name: String::new(), + digests: vec![claimed.clone(), claimed], + digest_function: DIGEST_SHA256, + }, + None, + ) + .await; + assert_eq!(result.unwrap_err().code(), tonic::Code::InvalidArgument); +} + +#[test] +fn a_batch_member_at_the_size_limit_can_be_read() { + let dir = tempfile::tempdir().unwrap(); + let store = Store::open(dir.path()).unwrap(); + let bytes = vec![23; usize::try_from(MAX_BATCH).unwrap()]; + store.ingest(bytes.as_slice(), None).unwrap(); + assert_eq!( + read_batch_blob(&store, &digest(&bytes)).unwrap().unwrap(), + bytes + ); +} diff --git a/docs/specs/cache-security.md b/docs/specs/cache-security.md index 08e216e..2de005e 100644 --- a/docs/specs/cache-security.md +++ b/docs/specs/cache-security.md @@ -95,6 +95,7 @@ example requires a release containing the protections described below; | Boundary | Protection | | --- | --- | | Server upload | Streamed into private staging; content-derived names; claimed digests checked before committing | +| REAPI batch reads | Declared total limited to 4 MiB with overflow checks; actual stored sizes checked before bounded reads | | Server network access | Token scopes distinguish read and write; an unauthenticated listener is restricted to loopback | | Remote artifact reads | SHA-256 verified on receipt, BLAKE3 verified on insertion | | Remote authorship | Ed25519 verification of records when trusted keys are configured | diff --git a/docs/specs/cache-server.md b/docs/specs/cache-server.md index d617b60..a05eff0 100644 --- a/docs/specs/cache-server.md +++ b/docs/specs/cache-server.md @@ -336,3 +336,14 @@ count. `FindMissingBlobs` and peak memory are not measured yet. - **Wire compression.** REAPI's compressed-blobs (zstd) and HTTP `Content-Encoding`: worth negotiating on localhost, where it only costs? - **Windows.** The native socket needs a named-pipe equivalent. + + +### Untrusted batch reads + +REAPI `BatchReadBlobs` refuses a request whose total declared blob size exceeds +the advertised 4 MiB batch limit, including duplicate digests and integer +overflow. Each stored blob's actual size must match its requested digest +before its bytes are read into memory. Reads are also bounded against file +growth between the size check and reading. Clients use ByteStream for larger +objects. See [cache security](cache-security.md) for the public-repository +trust boundary and remaining availability limits. From 6c1bd53a8572fd8df4f3ed437afb9e341421ce6c Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:26:46 +0530 Subject: [PATCH 22/26] refactor(reapi): update batch read documentation and tests This change updates the documentation for `read_batch_blob` to use backticks for `MAX_BATCH` for consistency. Additionally, a test case was updated to use `assert_eq!` with an empty array literal instead of checking for emptiness. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-server/src/front/reapi/mod.rs | 2 +- crates/tinymold-server/src/front/reapi/test.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/tinymold-server/src/front/reapi/mod.rs b/crates/tinymold-server/src/front/reapi/mod.rs index b274e8e..56b639a 100644 --- a/crates/tinymold-server/src/front/reapi/mod.rs +++ b/crates/tinymold-server/src/front/reapi/mod.rs @@ -388,7 +388,7 @@ async fn batch_read_blobs( } /// Reads one batch member only when the stored size matches its declaration. -/// The caller has already bounded the sum of all declarations by MAX_BATCH. +/// The caller has already bounded the sum of all declarations by `MAX_BATCH`. fn read_batch_blob(store: &Store, digest: &Digest) -> Result>, Status> { let Some(blob) = resolve(store, digest)? else { return Ok(None); diff --git a/crates/tinymold-server/src/front/reapi/test.rs b/crates/tinymold-server/src/front/reapi/test.rs index 10805c2..36750d6 100644 --- a/crates/tinymold-server/src/front/reapi/test.rs +++ b/crates/tinymold-server/src/front/reapi/test.rs @@ -769,7 +769,7 @@ async fn batch_reads_refuse_a_large_stored_blob_with_an_understated_size() { ) .await .unwrap(); - assert!(response.responses[0].data.is_empty()); + assert_eq!(response.responses[0].data, [] as [u8; 0]); assert_eq!( response.responses[0].status.as_ref().unwrap().code, tonic::Code::InvalidArgument as i32 From 8b57b3bd571bf27cd60a32323ffc98ab9ee3b7e3 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 22:27:57 +0530 Subject: [PATCH 23/26] docs(signing): clarify open server security implications The documentation for the signing module has been updated to more accurately describe the security guarantees when using `TrustedKeys`. It clarifies that an open server cannot forge a trusted record, only withhold entries or consume resources. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-remote/src/signing/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/tinymold-remote/src/signing/mod.rs b/crates/tinymold-remote/src/signing/mod.rs index 7a5301a..d257783 100644 --- a/crates/tinymold-remote/src/signing/mod.rs +++ b/crates/tinymold-remote/src/signing/mod.rs @@ -4,7 +4,8 @@ //! A cache server decides who may write, and a server set up wrong lets //! anyone write. With [`TrustedKeys`] configured, the client stops depending //! on that: an entry that a trusted [`SigningKey`] did not sign is refused, -//! so the worst an open server can do is make a build miss. +//! so an open server cannot forge a trusted record. It can still withhold +//! entries or consume resources up to the client's limits. //! //! The signature is a blob of its own, listed in the entry's `ActionResult` //! as [`SIGNATURE_FILE`]. It signs [`message`]: the entry's kind, its From b688f367e85f4811c7cfe2ac3497e123c46635a4 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 23:05:45 +0530 Subject: [PATCH 24/26] test(compile): add tests for file restoration logic Adds new unit tests to verify how the restoration process handles overlapping file prefixes and existing content. These tests ensure that restoring a record does not incorrectly overwrite unrelated files or interfere with other units. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-wrap/src/compile/test.rs | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/crates/tinymold-wrap/src/compile/test.rs b/crates/tinymold-wrap/src/compile/test.rs index ce886be..c06f76c 100644 --- a/crates/tinymold-wrap/src/compile/test.rs +++ b/crates/tinymold-wrap/src/compile/test.rs @@ -1341,3 +1341,31 @@ fn restoring_text_refuses_an_unrelated_existing_file() { assert_eq!(fs::read(&victim).unwrap(), b"keep me"); assert!(result.is_err(), "an unrelated file must not be overwritten"); } + +#[test] +fn restoring_a_record_cannot_replace_another_units_text_with_an_overlapping_prefix() { + let unit = Crate::new("pub fn f() {}\n"); + let invocation = invocation_of(&unit); + let restoring = unit_for(&unit, &invocation); + let mut action = many_output_action(&restoring.store, 0); + action.outputs[0].name = "demo-10.d".to_owned(); + let victim = unit.out().join("demo-10.d"); + fs::write(&victim, b"another unit").unwrap(); + let result = restoring.restore(&action); + assert_eq!(fs::read(&victim).unwrap(), b"another unit"); + assert!(result.is_err()); +} + +#[test] +fn restoring_a_valid_action_preserves_other_units_with_overlapping_prefixes() { + let unit = Crate::new("pub fn f() {}\n"); + let invocation = invocation_of(&unit); + let restoring = unit_for(&unit, &invocation); + let action = many_output_action(&restoring.store, 0); + let victim = unit.out().join("demo-10.d"); + fs::write(&victim, b"another unit").unwrap(); + restoring.restore(&action).unwrap(); + assert_eq!(fs::read(&victim).unwrap(), b"another unit"); + // Replacing this invocation's own dep-info remains a valid warm hit. + restoring.restore(&action).unwrap(); +} From c162620feff34b8a2991554e2655b587dd74ec40 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 23:06:20 +0530 Subject: [PATCH 25/26] refactor(compile): improve output stem matching and add validation This change introduces stricter validation when restoring cached outputs to prevent one unit's output from incorrectly claiming files belonging to another unit due to overlapping stem prefixes. It also adds a helper function to correctly determine output stems and updates documentation to reflect these security improvements. Auto-committed-on: macbook Co-authored-by: Medulla --- crates/tinymold-wrap/src/compile/mod.rs | 24 +++++++++++++++++++++--- crates/tinymold-wrap/src/compile/test.rs | 2 +- crates/tinymold-wrap/src/error/mod.rs | 4 ++++ crates/tinymold-wrap/src/error/test.rs | 6 ++++++ docs/specs/cache-security.md | 10 ++++++++++ docs/specs/github-actions.md | 9 +++++++++ docs/specs/remote.md | 2 +- 7 files changed, 52 insertions(+), 5 deletions(-) diff --git a/crates/tinymold-wrap/src/compile/mod.rs b/crates/tinymold-wrap/src/compile/mod.rs index 0b34233..2168092 100644 --- a/crates/tinymold-wrap/src/compile/mod.rs +++ b/crates/tinymold-wrap/src/compile/mod.rs @@ -530,6 +530,17 @@ impl Unit<'_> { /// Places every output of `action` and replays rustc's output. fn restore(&self, action: &Action) -> Result<()> { + // Validate names before cleanup. A remote record must not turn a + // shared stem prefix into permission to replace another unit's files. + let prefixes = self.invocation.output_prefixes(); + let dep_info = format!("{}.d", prefixes[1]); + for output in &action.outputs { + if !matches_output_stem(&output.name, &prefixes) + || (output.text && output.name != dep_info) + { + return Err(Error::UnexpectedOutput(output.name.clone())); + } + } // Read the replayed text first, so a missing object fails the hit // before any output is touched. let stdout = self.expand_object(&action.stdout)?; @@ -975,9 +986,7 @@ impl Unit<'_> { for entry in entries { let entry = entry.map_err(io("read", &self.out_dir))?; if let Some(name) = entry.file_name().to_str() - && prefixes - .iter() - .any(|prefix| name.starts_with(prefix.as_str())) + && matches_output_stem(name, &prefixes) { files.push((name.to_owned(), entry.path())); } @@ -1043,6 +1052,15 @@ impl Unit<'_> { /// How many bytes of an output [`file_contains`] holds in memory at once. const SCAN_CHUNK: usize = 1 << 20; +/// A unit stem ends before an extension (or at the filename's end), so +/// demo-1 does not claim demo-10's files in a shared output directory. +fn matches_output_stem(name: &str, prefixes: &[String; 2]) -> bool { + prefixes.iter().any(|prefix| { + name.strip_prefix(prefix.as_str()) + .is_some_and(|rest| rest.is_empty() || rest.starts_with('.')) + }) +} + /// Whether each of `needles` occurs anywhere in the file at `path`, read /// `chunk` bytes at a time, so a large output never has to fit in memory. /// Each read keeps the last `longest - 1` bytes of the one before, so a diff --git a/crates/tinymold-wrap/src/compile/test.rs b/crates/tinymold-wrap/src/compile/test.rs index c06f76c..f8a810e 100644 --- a/crates/tinymold-wrap/src/compile/test.rs +++ b/crates/tinymold-wrap/src/compile/test.rs @@ -1353,7 +1353,7 @@ fn restoring_a_record_cannot_replace_another_units_text_with_an_overlapping_pref fs::write(&victim, b"another unit").unwrap(); let result = restoring.restore(&action); assert_eq!(fs::read(&victim).unwrap(), b"another unit"); - assert!(result.is_err()); + assert!(matches!(result, Err(Error::UnexpectedOutput(_)))); } #[test] diff --git a/crates/tinymold-wrap/src/error/mod.rs b/crates/tinymold-wrap/src/error/mod.rs index 799e5e4..bfc1f5b 100644 --- a/crates/tinymold-wrap/src/error/mod.rs +++ b/crates/tinymold-wrap/src/error/mod.rs @@ -43,6 +43,10 @@ pub enum Error { line: usize, }, + /// An action names an output that does not belong to this invocation. + #[error("cached output {0} does not belong to this invocation")] + UnexpectedOutput(String), + /// A program could not be started. #[error("failed to run {program}")] Spawn { diff --git a/crates/tinymold-wrap/src/error/test.rs b/crates/tinymold-wrap/src/error/test.rs index d88ec9a..9f712e9 100644 --- a/crates/tinymold-wrap/src/error/test.rs +++ b/crates/tinymold-wrap/src/error/test.rs @@ -16,6 +16,12 @@ fn errors_say_what_failed_and_keep_their_cause() { }; assert_eq!(corrupt.to_string(), "cache record r is corrupt at line 2"); + let output = Error::UnexpectedOutput("demo-10.d".into()); + assert_eq!( + output.to_string(), + "cached output demo-10.d does not belong to this invocation" + ); + let spawn = Error::Spawn { program: "rustc".into(), source: std::io::Error::other("x"), diff --git a/docs/specs/cache-security.md b/docs/specs/cache-security.md index 2de005e..026f962 100644 --- a/docs/specs/cache-security.md +++ b/docs/specs/cache-security.md @@ -70,6 +70,15 @@ For public PRs consuming a shared Rust remote, use a fresh runner/store, the public verification keys, and read-only server access. For example: ```yaml +- name: Require trusted remote verification keys + shell: bash + env: + TRUSTED_KEYS: ${{ vars.TINYMOLD_REMOTE_TRUSTED_KEYS }} + run: | + if [[ -z "${TRUSTED_KEYS}" ]]; then + echo "::error::TINYMOLD_REMOTE_TRUSTED_KEYS must be configured" + exit 1 + fi - uses: tinyhumansai/tinymold@v0 with: backend: remote @@ -102,6 +111,7 @@ example requires a release containing the protections described below; | Remote metadata | Action/pre-key records limited to 16 MiB; signatures to 1 KiB, checked before downloading | | Remote object list | Parsed action record must authorize exactly the distinct listed objects; extra, duplicate or missing objects refuse the entry before artifact downloads | | Output filenames | Action parser rejects absolute paths, directory separators, drive separators, `.` and `..` | +| Output ownership | Validate invocation stems and the exact dep-info name before cleanup; overlapping stems cannot claim another unit | | Text restore | Creates a new destination, refusing an existing file or symlink instead of truncating or following it | | Binary restore | Reflink or exclusive-create copy, rather than a writable hardlink to the CAS | | Incremental restore | Session destination must be a direct child of the invocation's incremental directory | diff --git a/docs/specs/github-actions.md b/docs/specs/github-actions.md index 41c1da7..610d4f9 100644 --- a/docs/specs/github-actions.md +++ b/docs/specs/github-actions.md @@ -73,6 +73,15 @@ steps: With a remote server (see [cache security](cache-security.md) for public PRs): ```yaml + - name: Require trusted remote verification keys + shell: bash + env: + TRUSTED_KEYS: ${{ vars.TINYMOLD_REMOTE_TRUSTED_KEYS }} + run: | + if [[ -z "${TRUSTED_KEYS}" ]]; then + echo "::error::TINYMOLD_REMOTE_TRUSTED_KEYS must be configured" + exit 1 + fi - uses: tinyhumansai/tinymold@v0 with: backend: both diff --git a/docs/specs/remote.md b/docs/specs/remote.md index 15243d7..dee2782 100644 --- a/docs/specs/remote.md +++ b/docs/specs/remote.md @@ -166,7 +166,7 @@ reads answers `GetCapabilities` whatever the credential. - Only trusted CI holds a write credential. Pull requests from forks get no secrets, and read anonymously when the server allows unauthenticated reads, or run without a remote. -- **Hashes establish integrity, not authorship.** Everything it returns is +- **Hashes establish integrity, not authorship.** Everything the remote returns is re-hashed and checked against digests in records the client parsed itself. A server that returns a wrong record for a key is trusted as much as the CI that wrote it, which is why writes are restricted, and why readers From 342ad2bf56f0251267bd8d8e3659cd72ac6e8b37 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 20 Oct 2026 23:10:01 +0530 Subject: [PATCH 26/26] docs: update cache key validation checks This updates the documentation for cache security and github actions to correctly check for the presence of trusted keys, ensuring that keys containing only whitespace are also caught as missing. Auto-committed-on: macbook Co-authored-by: Medulla --- docs/specs/cache-security.md | 2 +- docs/specs/github-actions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/specs/cache-security.md b/docs/specs/cache-security.md index 026f962..172a202 100644 --- a/docs/specs/cache-security.md +++ b/docs/specs/cache-security.md @@ -75,7 +75,7 @@ the public verification keys, and read-only server access. For example: env: TRUSTED_KEYS: ${{ vars.TINYMOLD_REMOTE_TRUSTED_KEYS }} run: | - if [[ -z "${TRUSTED_KEYS}" ]]; then + if [[ -z "${TRUSTED_KEYS//[[:space:]]/}" ]]; then echo "::error::TINYMOLD_REMOTE_TRUSTED_KEYS must be configured" exit 1 fi diff --git a/docs/specs/github-actions.md b/docs/specs/github-actions.md index 610d4f9..3718917 100644 --- a/docs/specs/github-actions.md +++ b/docs/specs/github-actions.md @@ -78,7 +78,7 @@ With a remote server (see [cache security](cache-security.md) for public PRs): env: TRUSTED_KEYS: ${{ vars.TINYMOLD_REMOTE_TRUSTED_KEYS }} run: | - if [[ -z "${TRUSTED_KEYS}" ]]; then + if [[ -z "${TRUSTED_KEYS//[[:space:]]/}" ]]; then echo "::error::TINYMOLD_REMOTE_TRUSTED_KEYS must be configured" exit 1 fi