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=aaf981ac7ca706421d8f991108664f9113d5c3d9da8ba0043ff5ecc7a3510a27
  Stored in directory: /tmp/pip-ephem-wheel-cache-ird26z7i/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:29: in <module>
    from lightning.pytorch.callbacks.pruning import ModelPruning
src/lightning/pytorch/callbacks/pruning.py:33: in <module>
    from lightning.pytorch.core.module import LightningModule
src/lightning/pytorch/core/__init__.py:16: in <module>
    from lightning.pytorch.core.module import LightningModule
src/lightning/pytorch/core/module.py:60: in <module>
    from lightning.pytorch.trainer import call
src/lightning/pytorch/trainer/__init__.py:16: in <module>
    from lightning.pytorch.trainer.trainer import Trainer
src/lightning/pytorch/trainer/trainer.py:64: in <module>
    from lightning.pytorch.trainer.connectors.checkpoint_connector import _CheckpointConnector
src/lightning/pytorch/trainer/connectors/checkpoint_connector.py:35: in <module>
    from lightning.pytorch.utilities.migration import pl_legacy_patch
src/lightning/pytorch/utilities/migration/__init__.py:15: in <module>
    from lightning.pytorch.utilities.migration.utils import migrate_checkpoint, pl_legacy_patch
E   ImportError: cannot import name 'migrate_checkpoint' from 'lightning.pytorch.utilities.migration.utils' (/testbed/src/lightning/pytorch/utilities/migration/utils.py)
Reward: 0
