precondition
test (and others) fail, cause appears to be the crates.io tarball resetting timestamps to 1970.
#996
Labels
bug
Something isn't working
Version
Only a single version of the
warp
crate: 0.3.2.Platform
Linux [hostname] [version] #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
, doesn't seem relevant though.Description
The
precondition
test in tests/fs.rs failed, on line 173 (and in some :this corresponds with the following code:
It appears that the code assumes that
README.md
was modified after 1994. However, this is not actually the case (from the file system's point of view) -- when I extract the tarball that was downloaded fromcrates.io
, all files have timetap 1970-01-01I've worked-around the problem by doing the equivalent of
touch README.md
before building the package.Proposed solution: in the future, when uploading new versions of
warp
tocrates.io
, don't strip out the time stamps.The text was updated successfully, but these errors were encountered: