| ... | ... | @@ -2056,11 +2056,11 @@ pub fn update(comp: *Compilation, main_progress_node: *std.Progress.Node) !void |
| 2056 | 2056 | const is_hit = man.hit() catch |err| { |
| 2057 | 2057 | const i = man.failed_file_index orelse return err; |
| 2058 | 2058 | const pp = man.files.items[i].prefixed_path orelse return err; |
| 2059 | | const prefix = man.cache.prefixes()[pp.prefix].path orelse ""; |
| 2059 | const prefix = man.cache.prefixes()[pp.prefix]; |
| 2060 | 2060 | return comp.setMiscFailure( |
| 2061 | 2061 | .check_whole_cache, |
| 2062 | | "unable to check cache: stat file '{}{s}{s}' failed: {s}", |
| 2063 | | .{ comp.local_cache_directory, prefix, pp.sub_path, @errorName(err) }, |
| 2062 | "unable to check cache: stat file '{}{s}' failed: {s}", |
| 2063 | .{ prefix, pp.sub_path, @errorName(err) }, |
| 2064 | 2064 | ); |
| 2065 | 2065 | }; |
| 2066 | 2066 | if (is_hit) { |