code: def _unsafe_next_runs(state):
      """Returns the next runs for the queue.
  
      Note that this call is NOT safe across multiple queue
      instances. Use `safe_next_run` to ensure that multiple queues use
      proper locking.
      """
      blocking = _blocking_runs(state)
      staged = _staged_runs()
      _sync_state_for_blocking(blocking, state)
      _sync_state_for_staged(staged, state)
      if state.sync_state_cb:
          state.sync_state_cb(state, blocking=blocking, staged=staged)
      startable_runs = [
          run for run in staged if _can_start(run, blocking, state)
      ]
      next_runs = _limit_startable_runs(startable_runs, state)
      for run in next_runs:
          # Setting run to PENDING takes it out of the running for
          # other queues to start.
          op_util.set_run_pending(run)
      return next_runs
  
imports: import logging
  import os
  import signal
  import time
  from guild import lock
  from guild import op_util
  from guild import util
  from guild import var
label_desc: Use image node_id 9 for calling a global function with example usage: _unsafe_next_runs(state) and returns: next_runs