code: def kwargs_matching():
      return dict(
          scheduler=get_versions(),
          workers={f"worker-{i}": get_versions() for i in range(3)},
          source=get_versions(),
      )
  
imports: from __future__ import annotations
  import re
  import sys
  import pytest
  import tornado
  from distributed import Client, Worker
  from distributed.utils_test import gen_cluster
  from distributed.versions import error_message, get_versions
label_desc: Use image node_id 1 for calling a global function with example usage: kwargs_matching() and returns: dict