diff --git a/crates/maelstrom-worker/src/lib.rs b/crates/maelstrom-worker/src/lib.rs index 4a5cc118..72fb5a3f 100644 --- a/crates/maelstrom-worker/src/lib.rs +++ b/crates/maelstrom-worker/src/lib.rs @@ -221,11 +221,9 @@ fn start_dispatcher_task_common< log_initial_cache_message_at_info: bool, slots: Slots, ) -> Result> { - let cache_root = cache_root.join::("artifacts"); - let (cache, temp_file_factory) = Cache::new( StdFs, - cache_root.clone(), + cache_root.join::("artifacts"), cache_size, log.clone(), log_initial_cache_message_at_info,