Obtaining file:///testbed
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: lightning
  Building editable for lightning (pyproject.toml): started
  Building editable for lightning (pyproject.toml): finished with status 'done'
  Created wheel for lightning: filename=lightning-2.6.0.dev0-0.editable-py3-none-any.whl size=14313 sha256=69c89152bfcdbed181a86972f2cb005fc55a9aef4d6a1552f749dbb1f3c3b14c
  Stored in directory: /tmp/pip-ephem-wheel-cache-zg0hfd77/wheels/5d/7e/d4/0611b5e1f6b19283dfc03cca62ebc6a41021c5c464d28aab8f
Successfully built lightning
Installing collected packages: lightning
  Attempting uninstall: lightning
    Found existing installation: lightning 2.6.0.dev0
    Uninstalling lightning-2.6.0.dev0:
      Successfully uninstalled lightning-2.6.0.dev0
Successfully installed lightning-2.6.0.dev0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
=== Running FAIL_TO_PASS tests ===
ImportError while loading conftest '/testbed/tests/tests_pytorch/conftest.py'.
tests/tests_pytorch/conftest.py:28: in <module>
    import lightning.fabric
src/lightning/__init__.py:20: in <module>
    from lightning.pytorch.callbacks import Callback  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/lightning/pytorch/__init__.py:27: in <module>
    from lightning.pytorch.callbacks import Callback  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/lightning/pytorch/callbacks/__init__.py:14: in <module>
    from lightning.pytorch.callbacks.batch_size_finder import BatchSizeFinder
src/lightning/pytorch/callbacks/batch_size_finder.py:26: in <module>
    from lightning.pytorch.callbacks.callback import Callback
src/lightning/pytorch/callbacks/callback.py:25: in <module>
    class Callback:
src/lightning/pytorch/callbacks/callback.py:111: in Callback
    outputs: Optional[STEP_OUTPUT],
             ^^^^^^^^
E   NameError: name 'Optional' is not defined
Reward: 0
