Cargo cache doesn't seem to work as expected

See for example this build: https://travis-ci.org/upsuper/telegram-rustevalbot/jobs/463234472

All dependencies are downloaded again (but not built, since they are all fresh).

From the log, it seems that /c/Users/travis/.cargo is added to the cache, not sure why it still doesn’t work.

I know this is a reeeeeeeeally late reply but it seems cargo cache simply doesn’t work for Windows.

So what one can do is something like:

cache:
  cargo: true
  directories:
    - $HOME/AppData/Local/Temp/chocolatey
    - /C/tools/msys64
    - /C/Users/travis/.cargo/registry
    - /C/Users/travis/.cache/sccache
    - target