I've been attempting to package crates (this has happened to two of them now), but I'm consistently getting the depicted error. I've validated the crate files by hand, and they do work properly by using the --no-verify flag, so.... I have no idea how to troubleshoot this.
Happens on Windows 10 on latest Nightly and Stable, as well as from the Debian WSL.
Yeah, my next step is to create my own binary using that package, then compressing and decompressing the same set of files, see if that creates the same issue.
I think that's windows subsystem for linux, and if so, perhaps tar is assuming it can use some linux commands that aren't there, but then you're getting exit code 22, which may be windows error code ERROR_BAD_COMMAND (maybe not though, it says "Invalid argument" on the error itself).
Well, I think I have the problem...... Windows is being dumb with FAT drives. When this filetime crate attempts to set the times on a file on a FAT32 or exFAT drive, it gets an Invalid Arguments error. Not on NTFS, though.