<#18587 Remove `StoreError::from(std::io::Error)`>...
# github-notifications
c
#18587 Remove `StoreError::from(std::io::Error)` Issue created by thejcannon I spent several hours tracking an issue which was reported as:
Copy code
native_engine.IntrinsicError: No such file or directory (os error 2)
Turns out this was the result of hardlinking failing and the
io::Error
being converted to
StoreError
with no additional information. Forcing ourselves to give context might result in:
Copy code
native_engine.IntrinsicError: Failed to hardlink from "/home/josh/.cache/pants/lmdb_store/immutable/files/2d/2d17feb0f9938c3123669d83ace79abe2d1cba2d800f276b23893c634758f4a5" to "/home/josh/.cache/pants/exec_root/pants-sandbox-9sIRvR/requirements.pex/.deps/torch-1.13.1+cpu-cp38-cp38-linux_x86_64.whl": No such file or directory (os error 2)
which would've saved HOURS. pantsbuild/pants