anchor.diff:  
   init(Settings) ->
       error_logger:info_msg("starting caterpillar_builder~n", []),
  -    global:sync(),
       {ok, Deps} = dets:open_file(deps,
           [{file, ?GV(deps, Settings, ?DEFAULT_DEPENDENCIES_DETS)}]),
       PollTime = ?GV(poll_time, Settings, 10000),
  
positive.code: -define(UNPACK_RETRY_LIMIT, 15).
  
  -record(state, {
          deps,
          main_queue,
          wait_queue,
  
negative.code:     end,
      ets:delete(State#state.unpack_state, Reference),
      {noreply, State#state{queued=Preparing}};
  handle_info(schedule, State#state{master_state=false}) ->
      case catch caterpillar_event:register_worker(caterpillar_builder, State#state.work_id) of
          {ok, _} ->
              {noreply, State#state{master_state=true}};
          Other ->
              error_logger:error_msg("couldn't register self: ~p~n", [Other])
              {noreply, State};
      end;
  handle_info(schedule, State#state{master_state=true}) ->
      {ok, ScheduledState} = schedule_build(State),
      case State#state.prebuild of
          [{Archive, WorkId}|Rest] ->
  