diff --git a/.github/workflows/dep_rust.yml b/.github/workflows/dep_rust.yml index 4930aa90b..09f56cf37 100644 --- a/.github/workflows/dep_rust.yml +++ b/.github/workflows/dep_rust.yml @@ -50,6 +50,12 @@ jobs: - name: clippy run: just clippy ${{ matrix.config }} + - name: Ensure up-to-date Cargo.lock + run: | + cargo fetch --locked + cargo fetch --manifest-path src/tests/rust_guests/simpleguest/Cargo.toml --locked + cargo fetch --manifest-path src/tests/rust_guests/callbackguest/Cargo.toml --locked + - name: Get gh action service name if: ${{ (runner.os == 'Windows' )}} run: (Get-Service actions.runner.*) | Foreach { $_.Name, $_.UserName, $_.ServiceType } diff --git a/Cargo.lock b/Cargo.lock index 7d5cf7cb8..446d8a806 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2580,12 +2580,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.14.0" +version = "3.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" dependencies = [ "cfg-if", "fastrand", + "getrandom", "once_cell", "rustix", "windows-sys 0.59.0", diff --git a/src/hyperlight_host/Cargo.toml b/src/hyperlight_host/Cargo.toml index 4a68df86d..5b7d1fb69 100644 --- a/src/hyperlight_host/Cargo.toml +++ b/src/hyperlight_host/Cargo.toml @@ -45,7 +45,7 @@ crossbeam-channel = "0.5.14" thiserror = "2.0.7" prometheus = "0.13.3" strum = { version = "0.26", features = ["derive"] } -tempfile = { version = "3.10", optional = true } +tempfile = { version = "3.15", optional = true } serde_yaml = "0.9" anyhow = "1.0" @@ -84,7 +84,7 @@ signal-hook-registry = "1.4.1" envy = { version = "0.4.2" } serde = "1.0" proptest = "1.2.0" -tempfile = "3.8.0" +tempfile = "3.15.0" crossbeam-queue = "0.3.12" tracing-serde = "0.2.0" serial_test = "3.1.1" diff --git a/src/tests/rust_guests/callbackguest/Cargo.lock b/src/tests/rust_guests/callbackguest/Cargo.lock index ff2522cce..b2d029e52 100644 --- a/src/tests/rust_guests/callbackguest/Cargo.lock +++ b/src/tests/rust_guests/callbackguest/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "anyhow" -version = "1.0.91" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c042108f3ed77fd83760a5fd79b53be043192bb3b9dba91d8c574c0ada7850c8" +checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" [[package]] name = "autocfg" @@ -39,9 +39,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.31" +version = "1.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f" +checksum = "c31a0499c1dc64f458ad13872de75c0eb7e3fdb0e67964610c914b034fc5956e" dependencies = [ "shlex", ] @@ -62,6 +62,12 @@ dependencies = [ "rustc_version", ] +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + [[package]] name = "heck" version = "0.5.0" @@ -86,6 +92,7 @@ dependencies = [ "buddy_system_allocator", "cc", "cfg-if", + "glob", "hyperlight-common", "log", "serde_json", diff --git a/src/tests/rust_guests/simpleguest/Cargo.lock b/src/tests/rust_guests/simpleguest/Cargo.lock index f8df7b2ae..0930b6acb 100644 --- a/src/tests/rust_guests/simpleguest/Cargo.lock +++ b/src/tests/rust_guests/simpleguest/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "anyhow" -version = "1.0.91" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c042108f3ed77fd83760a5fd79b53be043192bb3b9dba91d8c574c0ada7850c8" +checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" [[package]] name = "autocfg" @@ -31,9 +31,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.31" +version = "1.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f" +checksum = "c31a0499c1dc64f458ad13872de75c0eb7e3fdb0e67964610c914b034fc5956e" dependencies = [ "shlex", ] @@ -54,6 +54,12 @@ dependencies = [ "rustc_version", ] +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + [[package]] name = "heck" version = "0.5.0" @@ -78,6 +84,7 @@ dependencies = [ "buddy_system_allocator", "cc", "cfg-if", + "glob", "hyperlight-common", "log", "serde_json",