From faa6888d19bec0e6d2d63b4c7e283b0df3e5b0d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 06:09:14 +0000 Subject: [PATCH] Bump wasmtime-wasi from 18.0.1 to 20.0.1 Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 18.0.1 to 20.0.1. - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v18.0.1...v20.0.1) --- updated-dependencies: - dependency-name: wasmtime-wasi dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 599 +++++++++++++++++++++++++++++++++------- crates/youki/Cargo.toml | 2 +- 2 files changed, 503 insertions(+), 98 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c3a52dfa9..42fc92d4e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -185,7 +185,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object", + "object 0.32.2", "rustc-demangle", ] @@ -219,7 +219,7 @@ dependencies = [ "bitflags 2.4.2", "cexpr", "clang-sys", - "itertools", + "itertools 0.10.5", "lazy_static", "lazycell", "proc-macro2", @@ -308,9 +308,9 @@ dependencies = [ [[package]] name = "cap-fs-ext" -version = "2.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88e341d15ac1029aadce600be764a1a1edafe40e03cde23285bc1d261b3a4866" +checksum = "769f8cd02eb04d57f14e2e371ebb533f96817f9b2525d73a5c72b61ca7973747" dependencies = [ "cap-primitives", "cap-std", @@ -320,9 +320,9 @@ dependencies = [ [[package]] name = "cap-net-ext" -version = "2.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "434168fe6533055f0f4204039abe3ff6d7db338ef46872a5fa39e9d5ad5ab7a9" +checksum = "59ff6d3fb274292a9af283417e383afe6ded1fe66f6472d2c781216d3d80c218" dependencies = [ "cap-primitives", "cap-std", @@ -332,9 +332,9 @@ dependencies = [ [[package]] name = "cap-primitives" -version = "2.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe16767ed8eee6d3f1f00d6a7576b81c226ab917eb54b96e5f77a5216ef67abb" +checksum = "90a0b44fc796b1a84535a63753d50ba3972c4db55c7255c186f79140e63d56d0" dependencies = [ "ambient-authority", "fs-set-times", @@ -349,9 +349,9 @@ dependencies = [ [[package]] name = "cap-rand" -version = "2.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e5695565f0cd7106bc3c7170323597540e772bb73e0be2cd2c662a0f8fa4ca" +checksum = "4327f08daac33a99bb03c54ae18c8f32c3ba31c728a33ddf683c6c6a5043de68" dependencies = [ "ambient-authority", "rand", @@ -359,9 +359,9 @@ dependencies = [ [[package]] name = "cap-std" -version = "2.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "593db20e4c51f62d3284bae7ee718849c3214f93a3b94ea1899ad85ba119d330" +checksum = "266626ce180cf9709f317d0bf9754e3a5006359d87f4bf792f06c9c5f1b63c0f" dependencies = [ "cap-primitives", "io-extras", @@ -371,9 +371,9 @@ dependencies = [ [[package]] name = "cap-time-ext" -version = "2.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03261630f291f425430a36f38c847828265bc928f517cdd2004c56f4b02f002b" +checksum = "e1353421ba83c19da60726e35db0a89abef984b3be183ff6f58c5b8084fcd0c5" dependencies = [ "ambient-authority", "cap-primitives", @@ -622,6 +622,15 @@ dependencies = [ "cranelift-entity 0.105.1", ] +[[package]] +name = "cranelift-bforest" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c7a700bc3e2e834c81c7e9e57c6b27049172fc6156a6a406dd2265d64c30409" +dependencies = [ + "cranelift-entity 0.107.1", +] + [[package]] name = "cranelift-codegen" version = "0.91.1" @@ -653,7 +662,7 @@ dependencies = [ "cranelift-bforest 0.105.1", "cranelift-codegen-meta 0.105.1", "cranelift-codegen-shared 0.105.1", - "cranelift-control", + "cranelift-control 0.105.1", "cranelift-entity 0.105.1", "cranelift-isle 0.105.1", "gimli 0.28.1", @@ -664,6 +673,27 @@ dependencies = [ "target-lexicon", ] +[[package]] +name = "cranelift-codegen" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35bb55da792dc46a35e6e283b02b9d6aa7f21349691f41176d8ecf4a1494b6ad" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.107.1", + "cranelift-codegen-meta 0.107.1", + "cranelift-codegen-shared 0.107.1", + "cranelift-control 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-isle 0.107.1", + "gimli 0.28.1", + "hashbrown 0.14.3", + "log", + "regalloc2 0.9.3", + "smallvec", + "target-lexicon", +] + [[package]] name = "cranelift-codegen-meta" version = "0.91.1" @@ -682,6 +712,15 @@ dependencies = [ "cranelift-codegen-shared 0.105.1", ] +[[package]] +name = "cranelift-codegen-meta" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf590672e1a7580158968898ade9c82801d6ebeaa4649d6f99f9cbb411512a8b" +dependencies = [ + "cranelift-codegen-shared 0.107.1", +] + [[package]] name = "cranelift-codegen-shared" version = "0.91.1" @@ -694,6 +733,12 @@ version = "0.105.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1446e2eb395fc7b3019a36dccb7eccea923f6caf581b903c8e7e751b6d214a7" +[[package]] +name = "cranelift-codegen-shared" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab16a95d8b10b72eaa8bb9f0ce0fdd013e5f225bea92f69d2dbd2424aae5381" + [[package]] name = "cranelift-control" version = "0.105.1" @@ -703,6 +748,15 @@ dependencies = [ "arbitrary", ] +[[package]] +name = "cranelift-control" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60448a5af01f5716877e616ec1613424fb65f427320c6e6447315966507f12da" +dependencies = [ + "arbitrary", +] + [[package]] name = "cranelift-egraph" version = "0.91.1" @@ -733,6 +787,16 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-entity" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78689d6588f53981bf005b82d94125cc40cf9856b667bc276d1acdede400b633" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" version = "0.91.1" @@ -757,6 +821,18 @@ dependencies = [ "target-lexicon", ] +[[package]] +name = "cranelift-frontend" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86da6e45adc39e8d66a73d6fb782b0d7961df9e44b724246e01e515f86b1f0d" +dependencies = [ + "cranelift-codegen 0.107.1", + "log", + "smallvec", + "target-lexicon", +] + [[package]] name = "cranelift-isle" version = "0.91.1" @@ -769,6 +845,12 @@ version = "0.105.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99543f92b9c361f3c54a29e945adb5b9ef1318feaa5944453cabbfcb3c495919" +[[package]] +name = "cranelift-isle" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcb6f70d94826074699bc350c33dab82eb6f06022a3518bb466f501569d7379e" + [[package]] name = "cranelift-native" version = "0.105.1" @@ -780,6 +862,17 @@ dependencies = [ "target-lexicon", ] +[[package]] +name = "cranelift-native" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e27ec0ef4115eb9cc15be9c841085db17233403f8ed325e02bd6a9d78d6c939c" +dependencies = [ + "cranelift-codegen 0.107.1", + "libc", + "target-lexicon", +] + [[package]] name = "cranelift-wasm" version = "0.105.1" @@ -789,11 +882,27 @@ dependencies = [ "cranelift-codegen 0.105.1", "cranelift-entity 0.105.1", "cranelift-frontend 0.105.1", - "itertools", + "itertools 0.10.5", "log", "smallvec", "wasmparser 0.121.2", - "wasmtime-types", + "wasmtime-types 18.0.1", +] + +[[package]] +name = "cranelift-wasm" +version = "0.107.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce009efc27c598ac0c019c7f3dc582403835547128aeb497edf76cb77d75250" +dependencies = [ + "cranelift-codegen 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-frontend 0.107.1", + "itertools 0.12.1", + "log", + "smallvec", + "wasmparser 0.202.0", + "wasmtime-types 20.0.1", ] [[package]] @@ -1786,6 +1895,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.10" @@ -2016,6 +2134,15 @@ dependencies = [ "libc", ] +[[package]] +name = "mach2" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" +dependencies = [ + "libc", +] + [[package]] name = "matchers" version = "0.1.0" @@ -2284,6 +2411,18 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8dd6c0cdf9429bce006e1362bfce61fa1bfd8c898a643ed8d2b471934701d3d" +dependencies = [ + "crc32fast", + "hashbrown 0.14.3", + "indexmap 2.1.0", + "memchr", +] + [[package]] name = "oci-spec" version = "0.6.4" @@ -3640,9 +3779,9 @@ dependencies = [ [[package]] name = "system-interface" -version = "0.26.1" +version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0682e006dd35771e392a6623ac180999a9a854b1d4a6c12fb2e804941c2b1f58" +checksum = "b858526d22750088a9b3cf2e3c2aacebd5377f13adeec02860c30d09113010a6" dependencies = [ "bitflags 2.4.2", "cap-fs-ext", @@ -4375,32 +4514,6 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" -[[package]] -name = "wasi-common" -version = "18.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "082a661fe31df4dbb34409f4835ad3d8ba65036bf74aaec9b21fde779978aba7" -dependencies = [ - "anyhow", - "bitflags 2.4.2", - "cap-fs-ext", - "cap-rand", - "cap-std", - "cap-time-ext", - "fs-set-times", - "io-extras", - "io-lifetimes", - "log", - "once_cell", - "rustix", - "system-interface", - "thiserror", - "tracing", - "wasmtime", - "wiggle", - "windows-sys 0.52.0", -] - [[package]] name = "wasm-bindgen" version = "0.2.84" @@ -4508,6 +4621,15 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-encoder" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfd106365a7f5f7aa3c1916a98cbb3ad477f5ff96ddb130285a91c6e7429e67a" +dependencies = [ + "leb128", +] + [[package]] name = "wasm-sample" version = "0.1.0" @@ -4820,6 +4942,17 @@ dependencies = [ "semver 1.0.21", ] +[[package]] +name = "wasmparser" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6998515d3cf3f8b980ef7c11b29a9b1017d4cf86b99ae93b546992df9931413" +dependencies = [ + "bitflags 2.4.2", + "indexmap 2.1.0", + "semver 1.0.21", +] + [[package]] name = "wasmprinter" version = "0.2.80" @@ -4830,6 +4963,16 @@ dependencies = [ "wasmparser 0.121.2", ] +[[package]] +name = "wasmprinter" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab1cc9508685eef9502e787f4d4123745f5651a1e29aec047645d3cac1e2da7a" +dependencies = [ + "anyhow", + "wasmparser 0.202.0", +] + [[package]] name = "wasmtime" version = "18.0.1" @@ -4849,7 +4992,7 @@ dependencies = [ "ittapi", "libc", "log", - "object", + "object 0.32.2", "once_cell", "paste", "rayon", @@ -4861,19 +5004,57 @@ dependencies = [ "wasm-encoder 0.41.2", "wasmparser 0.121.2", "wasmtime-cache", - "wasmtime-component-macro", - "wasmtime-component-util", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-fiber", + "wasmtime-component-macro 18.0.1", + "wasmtime-component-util 18.0.1", + "wasmtime-cranelift 18.0.1", + "wasmtime-environ 18.0.1", + "wasmtime-fiber 18.0.1", "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "wasmtime-winch", + "wasmtime-jit-icache-coherence 18.0.1", + "wasmtime-runtime 18.0.1", + "wasmtime-winch 18.0.1", "wat", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2364a810370f08ece49d013255058c3c88ca6c0a080de66549233b7d2ca078b8" +dependencies = [ + "anyhow", + "async-trait", + "bincode", + "bumpalo", + "cfg-if", + "encoding_rs", + "gimli 0.28.1", + "indexmap 2.1.0", + "libc", + "log", + "object 0.33.0", + "once_cell", + "paste", + "rustix", + "semver 1.0.21", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-component-macro 20.0.1", + "wasmtime-component-util 20.0.1", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", + "wasmtime-fiber 20.0.1", + "wasmtime-jit-icache-coherence 20.0.1", + "wasmtime-runtime 20.0.1", + "wasmtime-slab", + "wasmtime-winch 20.0.1", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-asm-macros" version = "18.0.1" @@ -4883,6 +5064,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c52cceae147514e279460ac3c43c1ea440c51c39202842611623b3f9734f73a8" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "18.0.1" @@ -4913,9 +5103,24 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.48", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", + "wasmtime-component-util 18.0.1", + "wasmtime-wit-bindgen 18.0.1", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-component-macro" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8fd43a734bf424e3983363f1b7532a997edb206f52104568058e412e18db9ba" +dependencies = [ + "anyhow", + "proc-macro2", + "quote", + "syn 2.0.48", + "wasmtime-component-util 20.0.1", + "wasmtime-wit-bindgen 20.0.1", + "wit-parser 0.202.0", ] [[package]] @@ -4924,6 +5129,12 @@ version = "18.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c9f72619f484df95fc03162cdef9cb98778abc4103811849501bb34e79a3aac" +[[package]] +name = "wasmtime-component-util" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d65e6a21c3e3482240ff03cc26f5c7ae7ee5df524c2283f39cf492ab711a15" + [[package]] name = "wasmtime-cranelift" version = "18.0.1" @@ -4933,20 +5144,44 @@ dependencies = [ "anyhow", "cfg-if", "cranelift-codegen 0.105.1", - "cranelift-control", + "cranelift-control 0.105.1", "cranelift-entity 0.105.1", "cranelift-frontend 0.105.1", - "cranelift-native", - "cranelift-wasm", + "cranelift-native 0.105.1", + "cranelift-wasm 0.105.1", "gimli 0.28.1", "log", - "object", + "object 0.32.2", "target-lexicon", "thiserror", "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-environ 18.0.1", + "wasmtime-versioned-export-macros 18.0.1", +] + +[[package]] +name = "wasmtime-cranelift" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2a6ed70499769b4d51f6f656204b0806b3d783f6ec5a8517c68e8b75ecaad19" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen 0.107.1", + "cranelift-control 0.107.1", + "cranelift-entity 0.107.1", + "cranelift-frontend 0.107.1", + "cranelift-native 0.107.1", + "cranelift-wasm 0.107.1", + "gimli 0.28.1", + "log", + "object 0.33.0", + "target-lexicon", + "thiserror", + "wasmparser 0.202.0", + "wasmtime-environ 20.0.1", + "wasmtime-versioned-export-macros 20.0.1", ] [[package]] @@ -4957,12 +5192,12 @@ checksum = "40667ba458634db703aea3bd960e80bc9352c21d5e765b69f43e3b0c964eb611" dependencies = [ "anyhow", "cranelift-codegen 0.105.1", - "cranelift-control", - "cranelift-native", + "cranelift-control 0.105.1", + "cranelift-native 0.105.1", "gimli 0.28.1", - "object", + "object 0.32.2", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 18.0.1", ] [[package]] @@ -4978,7 +5213,7 @@ dependencies = [ "gimli 0.28.1", "indexmap 2.1.0", "log", - "object", + "object 0.32.2", "rustc-demangle", "serde", "serde_derive", @@ -4986,9 +5221,33 @@ dependencies = [ "thiserror", "wasm-encoder 0.41.2", "wasmparser 0.121.2", - "wasmprinter", - "wasmtime-component-util", - "wasmtime-types", + "wasmprinter 0.2.80", + "wasmtime-component-util 18.0.1", + "wasmtime-types 18.0.1", +] + +[[package]] +name = "wasmtime-environ" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90f7b5dbae8c3c6586e22f063ddb9e5cbf02c09629df75e5d8710f7bf880b117" +dependencies = [ + "anyhow", + "bincode", + "cranelift-entity 0.107.1", + "gimli 0.28.1", + "indexmap 2.1.0", + "log", + "object 0.33.0", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasm-encoder 0.202.0", + "wasmparser 0.202.0", + "wasmprinter 0.202.0", + "wasmtime-component-util 20.0.1", + "wasmtime-types 20.0.1", ] [[package]] @@ -5001,8 +5260,23 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 18.0.1", + "wasmtime-versioned-export-macros 18.0.1", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-fiber" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "582e7ef625be814c57b1f8c3924c8899560d315f2285436c9184a09985dc3756" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "rustix", + "wasmtime-asm-macros 20.0.1", + "wasmtime-versioned-export-macros 20.0.1", "windows-sys 0.52.0", ] @@ -5012,10 +5286,10 @@ version = "18.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87be9ed561dbe2aca3bde30d442c292fda53748343d0220873d1df65270c8fcf" dependencies = [ - "object", + "object 0.32.2", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 18.0.1", ] [[package]] @@ -5029,6 +5303,17 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b55b43e693c0beeca494d522f4850afca53cb46acf309483aef32a125276ee78" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "18.0.1" @@ -5050,15 +5335,49 @@ dependencies = [ "rustix", "sptr", "wasm-encoder 0.41.2", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-fiber", + "wasmtime-asm-macros 18.0.1", + "wasmtime-environ 18.0.1", + "wasmtime-fiber 18.0.1", "wasmtime-jit-debug", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 18.0.1", "wasmtime-wmemcheck", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-runtime" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2b876c09b7863d8a01bf87eb45f3b121fab245f8afbff7c38c38c1c9059aee" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "encoding_rs", + "indexmap 2.1.0", + "libc", + "log", + "mach2", + "memfd", + "memoffset 0.9.0", + "paste", + "psm", + "rustix", + "sptr", + "wasmtime-asm-macros 20.0.1", + "wasmtime-environ 20.0.1", + "wasmtime-fiber 20.0.1", + "wasmtime-slab", + "wasmtime-versioned-export-macros 20.0.1", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-slab" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8ddfb8ebbab6ac186bc1f8c02ed988bc9ea455fea10f72bc3a07503309b4b" + [[package]] name = "wasmtime-types" version = "18.0.1" @@ -5072,6 +5391,19 @@ dependencies = [ "wasmparser 0.121.2", ] +[[package]] +name = "wasmtime-types" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fa3a1f3c0deb3034d76e7dcf340c5df670a6603019ee5b58adb70870649c769" +dependencies = [ + "cranelift-entity 0.107.1", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.202.0", +] + [[package]] name = "wasmtime-versioned-export-macros" version = "18.0.1" @@ -5083,11 +5415,22 @@ dependencies = [ "syn 2.0.48", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85321f0a1cd3c859b94e728533ba00074d3eca62362acf6998be0eab6f4001c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + [[package]] name = "wasmtime-wasi" -version = "18.0.1" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f7d9cfaf9f70e83a164f5d772e376fafa2d7b7b0ca2ef88f9bcaf8b2363a38b" +checksum = "0c5966b1aa330f07ef58f83b074908ea210ee864948ae3697f8892c91104e6e3" dependencies = [ "anyhow", "async-trait", @@ -5102,7 +5445,6 @@ dependencies = [ "futures", "io-extras", "io-lifetimes", - "log", "once_cell", "rustix", "system-interface", @@ -5110,8 +5452,7 @@ dependencies = [ "tokio", "tracing", "url", - "wasi-common", - "wasmtime", + "wasmtime 20.0.1", "wiggle", "windows-sys 0.52.0", ] @@ -5125,12 +5466,29 @@ dependencies = [ "anyhow", "cranelift-codegen 0.105.1", "gimli 0.28.1", - "object", + "object 0.32.2", "target-lexicon", "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", - "winch-codegen", + "wasmtime-environ 18.0.1", + "winch-codegen 0.16.1", +] + +[[package]] +name = "wasmtime-winch" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0d446696aa83f680d85e188670631cb7958957f63d027d6c36b945c2baa3e1e" +dependencies = [ + "anyhow", + "cranelift-codegen 0.107.1", + "gimli 0.28.1", + "object 0.33.0", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", + "winch-codegen 0.18.1", ] [[package]] @@ -5142,7 +5500,19 @@ dependencies = [ "anyhow", "heck 0.4.1", "indexmap 2.1.0", - "wit-parser", + "wit-parser 0.13.2", +] + +[[package]] +name = "wasmtime-wit-bindgen" +version = "20.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d1d0c83af38eb6918af9c7cbc07d39f741a7baa9ddd152e19d9f93ff627dc05" +dependencies = [ + "anyhow", + "heck 0.4.1", + "indexmap 2.1.0", + "wit-parser 0.202.0", ] [[package]] @@ -5263,24 +5633,24 @@ dependencies = [ [[package]] name = "wiggle" -version = "18.0.1" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "454570f4fecadb881f0ba157e98b575a2850607a9eac79d8868f3ab70633f632" +checksum = "909dcda9e41ab1f8280cf7d774fa16d240792d6fe086a88ef69a9dd97827d289" dependencies = [ "anyhow", "async-trait", "bitflags 2.4.2", "thiserror", "tracing", - "wasmtime", + "wasmtime 20.0.1", "wiggle-macro", ] [[package]] name = "wiggle-generate" -version = "18.0.1" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443ac1ebb753ca22bca98d01742762de1243ff722839907c35ea683a8264c74e" +checksum = "ce431612cd480dbf925fb7c3c513dec176a57ea977bf3685726e4b0ab41a6408" dependencies = [ "anyhow", "heck 0.4.1", @@ -5293,9 +5663,9 @@ dependencies = [ [[package]] name = "wiggle-macro" -version = "18.0.1" +version = "20.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e9e2f1f06ae07bac15273774782c04ab14e9adfbf414762fc84dbbfcf7fb1ac" +checksum = "9815f5f4b6c6e01449569469416783992ac703c8fbf83d3724dfb16a02fe2e5c" dependencies = [ "proc-macro2", "quote", @@ -5347,7 +5717,24 @@ dependencies = [ "smallvec", "target-lexicon", "wasmparser 0.121.2", - "wasmtime-environ", + "wasmtime-environ 18.0.1", +] + +[[package]] +name = "winch-codegen" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "720aabcf6838b31b42c7adc04d847696b066ddc5877efd6071ed5f08ae75bf20" +dependencies = [ + "anyhow", + "cranelift-codegen 0.107.1", + "gimli 0.28.1", + "regalloc2 0.9.3", + "smallvec", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-cranelift 20.0.1", + "wasmtime-environ 20.0.1", ] [[package]] @@ -5580,6 +5967,24 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "wit-parser" +version = "0.202.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "744237b488352f4f27bca05a10acb79474415951c450e52ebd0da784c1df2bcc" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.1.0", + "log", + "semver 1.0.21", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.202.0", +] + [[package]] name = "witx" version = "0.9.1" @@ -5650,7 +6055,7 @@ dependencies = [ "wasmedge-sdk", "wasmer", "wasmer-wasix", - "wasmtime", + "wasmtime 18.0.1", "wasmtime-wasi", ] diff --git a/crates/youki/Cargo.toml b/crates/youki/Cargo.toml index 5190765ac..52cbe3e2e 100644 --- a/crates/youki/Cargo.toml +++ b/crates/youki/Cargo.toml @@ -45,7 +45,7 @@ wasmer = { version = "4.0.0", optional = true } wasmer-wasix = { version = "0.9.0", optional = true } wasmedge-sdk = { version = "0.13.2", optional = true } wasmtime = { version = "18.0.1", optional = true } -wasmtime-wasi = { version = "18.0.1", optional = true } +wasmtime-wasi = { version = "20.0.1", optional = true } tracing = { version = "0.1.40", features = ["attributes"] } tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] } tracing-journald = "0.3.0"