Commit 304b664e authored by gabi-250's avatar gabi-250 🤸
Browse files

Downgrade filetime to 0.2.27

Without this, the shadow integration tests fail because
`touch_instance_dir()` isn't able to set the mtime on the state dir:

```
Err(Error { source: IoError(Os { code: 14, kind: Uncategorized, message: "Bad address" }), action: Initializing, resource: Directory { dir: "./hss/tgen_hs" } })
```

I suspect switching to the stblib implementation of these functions in
https://github.com/alexcrichton/filetime/pull/121 is what broke things
for us.

The new implementation calls into rust's `set_times()` impl, which calls
the `utimensat64` libc function under the hood. I suspect the underlying
syscall used by this function is not supported by shadow.
parent ec4f9b9b
Loading
Loading
Loading
Loading
+22 −3
Original line number Diff line number Diff line
@@ -2473,12 +2473,13 @@ dependencies = [

[[package]]
name = "filetime"
version = "0.2.29"
version = "0.2.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c287a33c7f0a620c38e641e7f60827713987b3c0f26e8ddc9462cc69cf75759"
checksum = "f98844151eee8917efc50bd9e8318cb963ae8b297431495d3f758616ea5c57db"
dependencies = [
 "cfg-if",
 "libc",
 "libredox",
]

[[package]]
@@ -3733,7 +3734,10 @@ version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f02ab6bace2054fb888a3c16f990117b579d14a3088e472d63c6011fa185c9d3"
dependencies = [
 "bitflags",
 "libc",
 "plain",
 "redox_syscall 0.8.1",
]

[[package]]
@@ -4500,7 +4504,7 @@ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
dependencies = [
 "cfg-if",
 "libc",
 "redox_syscall",
 "redox_syscall 0.5.18",
 "smallvec",
 "windows-link",
]
@@ -4670,6 +4674,12 @@ version = "0.3.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"

[[package]]
name = "plain"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"

[[package]]
name = "plotters"
version = "0.3.7"
@@ -5219,6 +5229,15 @@ dependencies = [
 "bitflags",
]

[[package]]
name = "redox_syscall"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b44b894f2a6e36457d665d1e08c3866add6ed5e70050c1b4ba8a8ddedb02ce7"
dependencies = [
 "bitflags",
]

[[package]]
name = "redox_users"
version = "0.5.2"