From 14aae27a8d201aebb764acdde7f4d8215827016a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 04:21:53 +0000 Subject: [PATCH] Bump wasi-common from 18.0.2 to 20.0.0 in /native/wasmex Bumps [wasi-common](https://github.com/bytecodealliance/wasmtime) from 18.0.2 to 20.0.0. - [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.2...v20.0.0) --- updated-dependencies: - dependency-name: wasi-common dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- native/wasmex/Cargo.lock | 447 +++++++++++++++++++++++++++++++++------ native/wasmex/Cargo.toml | 2 +- 2 files changed, 382 insertions(+), 67 deletions(-) diff --git a/native/wasmex/Cargo.lock b/native/wasmex/Cargo.lock index d2bebc72..b8f1af36 100644 --- a/native/wasmex/Cargo.lock +++ b/native/wasmex/Cargo.lock @@ -93,7 +93,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object", + "object 0.32.2", "rustc-demangle", ] @@ -157,8 +157,20 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88e341d15ac1029aadce600be764a1a1edafe40e03cde23285bc1d261b3a4866" dependencies = [ - "cap-primitives", - "cap-std", + "cap-primitives 2.0.1", + "cap-std 2.0.1", + "io-lifetimes", + "windows-sys 0.52.0", +] + +[[package]] +name = "cap-fs-ext" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "769f8cd02eb04d57f14e2e371ebb533f96817f9b2525d73a5c72b61ca7973747" +dependencies = [ + "cap-primitives 3.0.0", + "cap-std 3.0.0", "io-lifetimes", "windows-sys 0.52.0", ] @@ -169,8 +181,8 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "434168fe6533055f0f4204039abe3ff6d7db338ef46872a5fa39e9d5ad5ab7a9" dependencies = [ - "cap-primitives", - "cap-std", + "cap-primitives 2.0.1", + "cap-std 2.0.1", "rustix", "smallvec", ] @@ -192,6 +204,23 @@ dependencies = [ "winx", ] +[[package]] +name = "cap-primitives" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90a0b44fc796b1a84535a63753d50ba3972c4db55c7255c186f79140e63d56d0" +dependencies = [ + "ambient-authority", + "fs-set-times", + "io-extras", + "io-lifetimes", + "ipnet", + "maybe-owned", + "rustix", + "windows-sys 0.52.0", + "winx", +] + [[package]] name = "cap-rand" version = "2.0.1" @@ -202,13 +231,35 @@ dependencies = [ "rand", ] +[[package]] +name = "cap-rand" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4327f08daac33a99bb03c54ae18c8f32c3ba31c728a33ddf683c6c6a5043de68" +dependencies = [ + "ambient-authority", + "rand", +] + [[package]] name = "cap-std" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "593db20e4c51f62d3284bae7ee718849c3214f93a3b94ea1899ad85ba119d330" dependencies = [ - "cap-primitives", + "cap-primitives 2.0.1", + "io-extras", + "io-lifetimes", + "rustix", +] + +[[package]] +name = "cap-std" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "266626ce180cf9709f317d0bf9754e3a5006359d87f4bf792f06c9c5f1b63c0f" +dependencies = [ + "cap-primitives 3.0.0", "io-extras", "io-lifetimes", "rustix", @@ -221,7 +272,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03261630f291f425430a36f38c847828265bc928f517cdd2004c56f4b02f002b" dependencies = [ "ambient-authority", - "cap-primitives", + "cap-primitives 2.0.1", + "iana-time-zone", + "once_cell", + "rustix", + "winx", +] + +[[package]] +name = "cap-time-ext" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1353421ba83c19da60726e35db0a89abef984b3be183ff6f58c5b8084fcd0c5" +dependencies = [ + "ambient-authority", + "cap-primitives 3.0.0", "iana-time-zone", "once_cell", "rustix", @@ -274,7 +339,7 @@ version = "0.105.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9515fcc42b6cb5137f76b84c1a6f819782d0cf12473d145d3bc5cd67eedc8bc2" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.105.2", ] [[package]] @@ -288,7 +353,7 @@ dependencies = [ "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.105.2", "cranelift-isle", "gimli", "hashbrown 0.14.3", @@ -332,6 +397,16 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "cranelift-entity" +version = "0.107.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29be04f931b73cdb9694874a295027471817f26f26d2f0ebe5454153176b6e3a" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-frontend" version = "0.105.2" @@ -368,13 +443,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8cd747ed7f9a461dda9c388415392f6bb95d1a6ef3b7694d17e0817eb74b7798" dependencies = [ "cranelift-codegen", - "cranelift-entity", + "cranelift-entity 0.105.2", "cranelift-frontend", "itertools", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.121.2", + "wasmtime-types 18.0.2", ] [[package]] @@ -869,6 +944,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 = "maybe-owned" version = "0.3.4" @@ -941,6 +1025,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8dd6c0cdf9429bce006e1362bfce61fa1bfd8c898a643ed8d2b471934701d3d" +dependencies = [ + "memchr", +] + [[package]] name = "once_cell" version = "1.19.0" @@ -1297,8 +1390,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0682e006dd35771e392a6623ac180999a9a854b1d4a6c12fb2e804941c2b1f58" dependencies = [ "bitflags 2.4.2", - "cap-fs-ext", - "cap-std", + "cap-fs-ext 2.0.1", + "cap-std 2.0.1", + "fd-lock", + "io-lifetimes", + "rustix", + "windows-sys 0.52.0", + "winx", +] + +[[package]] +name = "system-interface" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b858526d22750088a9b3cf2e3c2aacebd5377f13adeec02860c30d09113010a6" +dependencies = [ + "bitflags 2.4.2", + "cap-fs-ext 3.0.0", + "cap-std 3.0.0", "fd-lock", "io-lifetimes", "rustix", @@ -1495,21 +1604,47 @@ checksum = "880c1461417b2bf90262591bf8a5f04358fb86dac8a585a49b87024971296763" dependencies = [ "anyhow", "bitflags 2.4.2", - "cap-fs-ext", - "cap-rand", - "cap-std", - "cap-time-ext", + "cap-fs-ext 2.0.1", + "cap-rand 2.0.1", + "cap-std 2.0.1", + "cap-time-ext 2.0.1", "fs-set-times", "io-extras", "io-lifetimes", "log", "once_cell", "rustix", - "system-interface", + "system-interface 0.26.1", "thiserror", "tracing", - "wasmtime", - "wiggle", + "wasmtime 18.0.2", + "wiggle 18.0.2", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasi-common" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63255d85e10627b07325d7cf4e5fe5a40fa4ff183569a0a67931be26d50ede07" +dependencies = [ + "anyhow", + "bitflags 2.4.2", + "cap-fs-ext 3.0.0", + "cap-rand 3.0.0", + "cap-std 3.0.0", + "cap-time-ext 3.0.0", + "fs-set-times", + "io-extras", + "io-lifetimes", + "log", + "once_cell", + "rustix", + "system-interface 0.27.2", + "thiserror", + "tracing", + "wasmtime 20.0.0", + "wiggle 20.0.0", "windows-sys 0.52.0", ] @@ -1592,11 +1727,11 @@ dependencies = [ "once_cell", "rand", "rustler", - "wasi-common", - "wasmtime", + "wasi-common 20.0.0", + "wasmtime 18.0.2", "wasmtime-wasi", "wat", - "wiggle", + "wiggle 18.0.2", ] [[package]] @@ -1610,6 +1745,17 @@ dependencies = [ "semver", ] +[[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", + "semver", +] + [[package]] name = "wasmprinter" version = "0.2.80" @@ -1617,7 +1763,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60e73986a6b7fdfedb7c5bf9e7eb71135486507c8fbc4c0c42cffcb6532988b7" dependencies = [ "anyhow", - "wasmparser", + "wasmparser 0.121.2", ] [[package]] @@ -1639,7 +1785,7 @@ dependencies = [ "ittapi", "libc", "log", - "object", + "object 0.32.2", "once_cell", "paste", "rayon", @@ -1649,21 +1795,51 @@ dependencies = [ "serde_json", "target-lexicon", "wasm-encoder 0.41.2", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cache", "wasmtime-component-macro", "wasmtime-component-util", "wasmtime-cranelift", - "wasmtime-environ", + "wasmtime-environ 18.0.2", "wasmtime-fiber", "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-jit-icache-coherence 18.0.2", + "wasmtime-runtime 18.0.2", "wasmtime-winch", "wat", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5990663c28d81015ddbb02a068ac1bf396a4ea296eba7125b2dfc7c00cb52e" +dependencies = [ + "anyhow", + "bincode", + "bumpalo", + "cfg-if", + "gimli", + "indexmap", + "libc", + "log", + "object 0.33.0", + "once_cell", + "paste", + "rustix", + "serde", + "serde_derive", + "serde_json", + "target-lexicon", + "wasmparser 0.202.0", + "wasmtime-environ 20.0.0", + "wasmtime-jit-icache-coherence 20.0.0", + "wasmtime-runtime 20.0.0", + "wasmtime-slab", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-asm-macros" version = "18.0.2" @@ -1673,6 +1849,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625ee94c72004f3ea0228989c9506596e469517d7d0ed66f7300d1067bdf1ca9" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "18.0.2" @@ -1724,19 +1909,19 @@ dependencies = [ "cfg-if", "cranelift-codegen", "cranelift-control", - "cranelift-entity", + "cranelift-entity 0.105.2", "cranelift-frontend", "cranelift-native", "cranelift-wasm", "gimli", "log", - "object", + "object 0.32.2", "target-lexicon", "thiserror", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-environ 18.0.2", + "wasmtime-versioned-export-macros 18.0.2", ] [[package]] @@ -1750,9 +1935,9 @@ dependencies = [ "cranelift-control", "cranelift-native", "gimli", - "object", + "object 0.32.2", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 18.0.2", ] [[package]] @@ -1764,21 +1949,42 @@ dependencies = [ "anyhow", "bincode", "cpp_demangle", - "cranelift-entity", + "cranelift-entity 0.105.2", "gimli", "indexmap", "log", - "object", + "object 0.32.2", "rustc-demangle", "serde", "serde_derive", "target-lexicon", "thiserror", "wasm-encoder 0.41.2", - "wasmparser", + "wasmparser 0.121.2", "wasmprinter", "wasmtime-component-util", - "wasmtime-types", + "wasmtime-types 18.0.2", +] + +[[package]] +name = "wasmtime-environ" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64ffc1613db69ee47c96738861534f9a405e422a5aa00224fbf5d410b03fb445" +dependencies = [ + "anyhow", + "bincode", + "cranelift-entity 0.107.0", + "gimli", + "indexmap", + "log", + "object 0.33.0", + "serde", + "serde_derive", + "target-lexicon", + "thiserror", + "wasmparser 0.202.0", + "wasmtime-types 20.0.0", ] [[package]] @@ -1791,8 +1997,8 @@ dependencies = [ "cc", "cfg-if", "rustix", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", + "wasmtime-asm-macros 18.0.2", + "wasmtime-versioned-export-macros 18.0.2", "windows-sys 0.52.0", ] @@ -1802,10 +2008,10 @@ version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "833dae95bc7a4f9177bf93f9497419763535b74e37eb8c37be53937d3281e287" dependencies = [ - "object", + "object 0.32.2", "once_cell", "rustix", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 18.0.2", ] [[package]] @@ -1819,6 +2025,17 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9f93a3289057b26dc75eb84d6e60d7694f7d169c7c09597495de6e016a13ff" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "wasmtime-runtime" version = "18.0.2" @@ -1840,26 +2057,71 @@ dependencies = [ "rustix", "sptr", "wasm-encoder 0.41.2", - "wasmtime-asm-macros", - "wasmtime-environ", + "wasmtime-asm-macros 18.0.2", + "wasmtime-environ 18.0.2", "wasmtime-fiber", "wasmtime-jit-debug", - "wasmtime-versioned-export-macros", + "wasmtime-versioned-export-macros 18.0.2", "wasmtime-wmemcheck", "windows-sys 0.52.0", ] +[[package]] +name = "wasmtime-runtime" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6332a2b0af4224c3ea57c857ad39acd2780ccc2b0c99ba1baa01864d90d7c94" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap", + "libc", + "log", + "mach2", + "memfd", + "memoffset", + "paste", + "psm", + "rustix", + "sptr", + "wasmtime-asm-macros 20.0.0", + "wasmtime-environ 20.0.0", + "wasmtime-slab", + "wasmtime-versioned-export-macros 20.0.0", + "windows-sys 0.52.0", +] + +[[package]] +name = "wasmtime-slab" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b3655075824a374c536a2b2cc9283bb765fcdf3d58b58587862c48571ad81ef" + [[package]] name = "wasmtime-types" version = "18.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54a327d7a0ef57bd52a507d28b4561a74126c7a8535a2fc6f2025716bc6a52e8" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.105.2", + "serde", + "serde_derive", + "thiserror", + "wasmparser 0.121.2", +] + +[[package]] +name = "wasmtime-types" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98cf64a242b0b9257604181ca28b28a5fcaa4c9ea1d396f76d1d2d1c5b40eef" +dependencies = [ + "cranelift-entity 0.107.0", "serde", "serde_derive", "thiserror", - "wasmparser", + "wasmparser 0.202.0", ] [[package]] @@ -1873,6 +2135,17 @@ dependencies = [ "syn", ] +[[package]] +name = "wasmtime-versioned-export-macros" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8561d9e2920db2a175213d557d71c2ac7695831ab472bbfafb9060cd1034684f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wasmtime-wasi" version = "18.0.2" @@ -1883,11 +2156,11 @@ dependencies = [ "async-trait", "bitflags 2.4.2", "bytes", - "cap-fs-ext", + "cap-fs-ext 2.0.1", "cap-net-ext", - "cap-rand", - "cap-std", - "cap-time-ext", + "cap-rand 2.0.1", + "cap-std 2.0.1", + "cap-time-ext 2.0.1", "fs-set-times", "futures", "io-extras", @@ -1895,14 +2168,14 @@ dependencies = [ "log", "once_cell", "rustix", - "system-interface", + "system-interface 0.26.1", "thiserror", "tokio", "tracing", "url", - "wasi-common", - "wasmtime", - "wiggle", + "wasi-common 18.0.2", + "wasmtime 18.0.2", + "wiggle 18.0.2", "windows-sys 0.52.0", ] @@ -1915,11 +2188,11 @@ dependencies = [ "anyhow", "cranelift-codegen", "gimli", - "object", + "object 0.32.2", "target-lexicon", - "wasmparser", + "wasmparser 0.121.2", "wasmtime-cranelift-shared", - "wasmtime-environ", + "wasmtime-environ 18.0.2", "winch-codegen", ] @@ -1983,11 +2256,26 @@ dependencies = [ "bitflags 2.4.2", "thiserror", "tracing", - "wasmtime", - "wiggle-macro", + "wasmtime 18.0.2", + "wiggle-macro 18.0.2", "witx", ] +[[package]] +name = "wiggle" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b6552dda951239e219c329e5a768393664e8d120c5e0818487ac2633f173b1f" +dependencies = [ + "anyhow", + "async-trait", + "bitflags 2.4.2", + "thiserror", + "tracing", + "wasmtime 20.0.0", + "wiggle-macro 20.0.0", +] + [[package]] name = "wiggle-generate" version = "18.0.2" @@ -2003,6 +2291,21 @@ dependencies = [ "witx", ] +[[package]] +name = "wiggle-generate" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da64cb31e0bfe8b1d2d13956ef9fd5c77545756a1a6ef0e6cfd44e8f1f207aed" +dependencies = [ + "anyhow", + "heck", + "proc-macro2", + "quote", + "shellexpand", + "syn", + "witx", +] + [[package]] name = "wiggle-macro" version = "18.0.2" @@ -2012,7 +2315,19 @@ dependencies = [ "proc-macro2", "quote", "syn", - "wiggle-generate", + "wiggle-generate 18.0.2", +] + +[[package]] +name = "wiggle-macro" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900b2416ef2ff2903ded6cf55d4a941fed601bf56a8c4874856d7a77c1891994" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wiggle-generate 20.0.0", ] [[package]] @@ -2049,8 +2364,8 @@ dependencies = [ "regalloc2", "smallvec", "target-lexicon", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.121.2", + "wasmtime-environ 18.0.2", ] [[package]] diff --git a/native/wasmex/Cargo.toml b/native/wasmex/Cargo.toml index 6f720ff3..53920924 100644 --- a/native/wasmex/Cargo.toml +++ b/native/wasmex/Cargo.toml @@ -23,6 +23,6 @@ once_cell = "1.19.0" rand = "0.8.5" wasmtime = "18.0.2" wasmtime-wasi = "18.0.2" -wasi-common = "18.0.2" +wasi-common = "20.0.0" wiggle = "18.0.2" wat = "1.202.0"