From f325456cba24c037415ac36502bfb900b19fbee5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 5 Nov 2023 21:18:01 +0300 Subject: chore(tvix): bump proptest dependency This *might* contain a fix for a clippy lint thrown by that crate. Relates to b/321. Change-Id: Ia7ebd3e26e0feb8bcc7a6c811b1e583f9016fd9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/9966 Tested-by: BuildkiteCI Reviewed-by: flokli Autosubmit: tazjin --- tvix/Cargo.lock | 61 ++++++++++++--------------- tvix/Cargo.nix | 114 ++++++++++++++++++++++----------------------------- tvix/eval/Cargo.toml | 2 +- 3 files changed, 78 insertions(+), 99 deletions(-) diff --git a/tvix/Cargo.lock b/tvix/Cargo.lock index 9dd66f83fe35..7130781aeacf 100644 --- a/tvix/Cargo.lock +++ b/tvix/Cargo.lock @@ -174,7 +174,7 @@ checksum = "f8175979259124331c1d7bf6586ee7e0da434155e4b2d48ec2c8386281d8df39" dependencies = [ "async-trait", "axum-core", - "bitflags", + "bitflags 1.3.2", "bytes", "futures-util", "http", @@ -253,6 +253,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" + [[package]] name = "bitmaps" version = "3.2.0" @@ -376,7 +382,7 @@ version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ - "bitflags", + "bitflags 1.3.2", "clap_lex 0.2.4", "indexmap", "textwrap", @@ -401,7 +407,7 @@ checksum = "914c8c79fb560f238ef6429439a30023c862f7a28e688c58f7203f12b29970bd" dependencies = [ "anstream", "anstyle", - "bitflags", + "bitflags 1.3.2", "clap_lex 0.4.1", "strsim", ] @@ -781,7 +787,7 @@ version = "0.10.5" source = "git+https://github.com/griff/fuse-backend-rs?branch=macfuse-fix#70b835cada7e1f18e5cbb13f6c4b698ba203c820" dependencies = [ "arc-swap", - "bitflags", + "bitflags 1.3.2", "caps", "core-foundation-sys", "lazy_static", @@ -1384,7 +1390,7 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "libc", "memoffset 0.6.5", @@ -1397,7 +1403,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f346ff70e7dbfd675fe90590b92d59ef2de15a8779ae305ebcbfd3f0caf59be4" dependencies = [ "autocfg", - "bitflags", + "bitflags 1.3.2", "cfg-if", "libc", ] @@ -1408,7 +1414,7 @@ version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "libc", ] @@ -1732,20 +1738,19 @@ dependencies = [ [[package]] name = "proptest" -version = "1.1.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f1b898011ce9595050a68e60f90bad083ff2987a695a42357134c8381fba70" +checksum = "7c003ac8c77cb07bb74f5f198bce836a689bcd5a42574612bf14d17bfd08c20e" dependencies = [ "bit-set", - "bitflags", - "byteorder", + "bit-vec", + "bitflags 2.4.1", "lazy_static", "num-traits", - "quick-error 2.0.1", "rand", "rand_chacha", "rand_xorshift", - "regex-syntax 0.6.29", + "regex-syntax", "rusty-fork", "tempfile", "unarray", @@ -1811,12 +1816,6 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" -[[package]] -name = "quick-error" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" - [[package]] name = "quote" version = "0.6.13" @@ -1921,7 +1920,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -1930,7 +1929,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -1952,7 +1951,7 @@ checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.1", + "regex-syntax", ] [[package]] @@ -1961,12 +1960,6 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7b6d6190b7594385f61bd3911cd1be99dfddcfc365a4160cc2ab5bff4aed294" -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - [[package]] name = "regex-syntax" version = "0.7.1" @@ -2028,7 +2021,7 @@ version = "0.37.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" dependencies = [ - "bitflags", + "bitflags 1.3.2", "errno", "io-lifetimes", "libc", @@ -2092,7 +2085,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" dependencies = [ "fnv", - "quick-error 1.2.3", + "quick-error", "tempfile", "wait-timeout", ] @@ -2103,7 +2096,7 @@ version = "10.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1e83c32c3f3c33b08496e0d1df9ea8c64d39adb8eb36a1ebb1440c690697aef" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if", "clipboard-win", "dirs-next", @@ -2166,7 +2159,7 @@ version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -3110,7 +3103,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6769e8dbf5276b4376439fbf36bb880d203bf614bf7ef444198edc24b5a9f35" dependencies = [ - "bitflags", + "bitflags 1.3.2", "libc", "vm-memory", "vmm-sys-util", @@ -3172,7 +3165,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd64fe09d8e880e600c324e7d664760a17f56e9672b7495a86381b49e4f72f46" dependencies = [ - "bitflags", + "bitflags 1.3.2", "libc", ] diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index ad3eac33b665..0707ad58bb22 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -551,7 +551,7 @@ rec { } { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "bytes"; @@ -833,9 +833,9 @@ rec { "serde_no_std" = [ "serde/alloc" ]; "serde_std" = [ "std" "serde/std" ]; }; - resolvedDefaultFeatures = [ "std" ]; + resolvedDefaultFeatures = [ "default" "std" ]; }; - "bitflags" = rec { + "bitflags 1.3.2" = rec { crateName = "bitflags"; version = "1.3.2"; edition = "2018"; @@ -850,6 +850,23 @@ rec { }; resolvedDefaultFeatures = [ "default" ]; }; + "bitflags 2.4.1" = rec { + crateName = "bitflags"; + version = "2.4.1"; + edition = "2021"; + sha256 = "01ryy3kd671b0ll4bhdvhsz67vwz1lz53fz504injrd7wpv64xrj"; + authors = [ + "The Rust Project Developers" + ]; + features = { + "arbitrary" = [ "dep:arbitrary" ]; + "bytemuck" = [ "dep:bytemuck" ]; + "compiler_builtins" = [ "dep:compiler_builtins" ]; + "core" = [ "dep:core" ]; + "rustc-dep-of-std" = [ "core" "compiler_builtins" ]; + "serde" = [ "dep:serde" ]; + }; + }; "bitmaps" = rec { crateName = "bitmaps"; version = "3.2.0"; @@ -1153,7 +1170,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "clap_lex"; @@ -1258,7 +1275,7 @@ rec { } { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "clap_lex"; @@ -2239,7 +2256,7 @@ rec { } { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "caps"; @@ -4014,7 +4031,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "cfg-if"; @@ -4060,7 +4077,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "cfg-if"; @@ -4108,7 +4125,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "cfg-if"; @@ -5014,9 +5031,9 @@ rec { }; "proptest" = rec { crateName = "proptest"; - version = "1.1.0"; + version = "1.3.1"; edition = "2018"; - sha256 = "0w5s3wwchd3i6m15lsbsk3r3y25d1gwn13m6a185ks8w06cbiw99"; + sha256 = "03n213yppl8lpw94cms2bb6rns3ahg78n6az9yvppc3wqz43l03w"; authors = [ "Jason Lingle" ]; @@ -5027,13 +5044,13 @@ rec { optional = true; } { - name = "bitflags"; - packageId = "bitflags"; + name = "bit-vec"; + packageId = "bit-vec"; + optional = true; } { - name = "byteorder"; - packageId = "byteorder"; - usesDefaultFeatures = false; + name = "bitflags"; + packageId = "bitflags 2.4.1"; } { name = "lazy_static"; @@ -5046,11 +5063,6 @@ rec { usesDefaultFeatures = false; features = [ "libm" ]; } - { - name = "quick-error"; - packageId = "quick-error 2.0.1"; - optional = true; - } { name = "rand"; packageId = "rand"; @@ -5068,7 +5080,7 @@ rec { } { name = "regex-syntax"; - packageId = "regex-syntax 0.6.29"; + packageId = "regex-syntax"; optional = true; } { @@ -5088,21 +5100,20 @@ rec { } ]; features = { - "bit-set" = [ "dep:bit-set" ]; - "default" = [ "std" "fork" "timeout" "bit-set" "break-dead-code" ]; + "bit-set" = [ "dep:bit-set" "dep:bit-vec" ]; + "default" = [ "std" "fork" "timeout" "bit-set" ]; "default-code-coverage" = [ "std" "fork" "timeout" "bit-set" ]; "fork" = [ "std" "rusty-fork" "tempfile" ]; "hardware-rng" = [ "x86" ]; "lazy_static" = [ "dep:lazy_static" ]; - "quick-error" = [ "dep:quick-error" ]; "regex-syntax" = [ "dep:regex-syntax" ]; "rusty-fork" = [ "dep:rusty-fork" ]; - "std" = [ "rand/std" "byteorder/std" "lazy_static" "quick-error" "regex-syntax" "num-traits/std" ]; + "std" = [ "rand/std" "lazy_static" "regex-syntax" "num-traits/std" ]; "tempfile" = [ "dep:tempfile" ]; "timeout" = [ "fork" "rusty-fork/timeout" ]; "x86" = [ "dep:x86" ]; }; - resolvedDefaultFeatures = [ "alloc" "bit-set" "break-dead-code" "default" "fork" "lazy_static" "quick-error" "regex-syntax" "rusty-fork" "std" "tempfile" "timeout" ]; + resolvedDefaultFeatures = [ "alloc" "bit-set" "default" "fork" "lazy_static" "regex-syntax" "rusty-fork" "std" "tempfile" "timeout" ]; }; "prost" = rec { crateName = "prost"; @@ -5285,7 +5296,7 @@ rec { }; resolvedDefaultFeatures = [ "default" "std" ]; }; - "quick-error 1.2.3" = rec { + "quick-error" = rec { crateName = "quick-error"; version = "1.2.3"; edition = "2015"; @@ -5295,17 +5306,6 @@ rec { "Colin Kiegel " ]; - }; - "quick-error 2.0.1" = rec { - crateName = "quick-error"; - version = "2.0.1"; - edition = "2018"; - sha256 = "18z6r2rcjvvf8cn92xjhm2qc3jpd1ljvcbf12zv0k9p565gmb4x9"; - authors = [ - "Paul Colomiets " - "Colin Kiegel " - ]; - }; "quote 0.6.13" = rec { crateName = "quote"; @@ -5571,7 +5571,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } ]; @@ -5588,7 +5588,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } ]; features = { @@ -5648,7 +5648,7 @@ rec { } { name = "regex-syntax"; - packageId = "regex-syntax 0.7.1"; + packageId = "regex-syntax"; usesDefaultFeatures = false; } ]; @@ -5711,21 +5711,7 @@ rec { }; resolvedDefaultFeatures = [ "dfa-search" ]; }; - "regex-syntax 0.6.29" = rec { - crateName = "regex-syntax"; - version = "0.6.29"; - edition = "2018"; - sha256 = "1qgj49vm6y3zn1hi09x91jvgkl2b1fiaq402skj83280ggfwcqpi"; - authors = [ - "The Rust Project Developers" - ]; - features = { - "default" = [ "unicode" ]; - "unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; - }; - resolvedDefaultFeatures = [ "default" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; - }; - "regex-syntax 0.7.1" = rec { + "regex-syntax" = rec { crateName = "regex-syntax"; version = "0.7.1"; edition = "2021"; @@ -5909,7 +5895,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "errno"; @@ -6151,7 +6137,7 @@ rec { } { name = "quick-error"; - packageId = "quick-error 1.2.3"; + packageId = "quick-error"; } { name = "tempfile"; @@ -6181,7 +6167,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "cfg-if"; @@ -6363,7 +6349,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "core-foundation"; @@ -8818,7 +8804,7 @@ rec { packageId = "proptest"; optional = true; usesDefaultFeatures = false; - features = [ "std" "alloc" "break-dead-code" "tempfile" ]; + features = [ "std" "alloc" "tempfile" ]; } { name = "regex"; @@ -9430,7 +9416,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; } { name = "libc"; @@ -9611,7 +9597,7 @@ rec { dependencies = [ { name = "bitflags"; - packageId = "bitflags"; + packageId = "bitflags 1.3.2"; target = { target, features }: (("linux" == target."os") || ("android" == target."os")); } { diff --git a/tvix/eval/Cargo.toml b/tvix/eval/Cargo.toml index 2098d470619a..466d05d691ec 100644 --- a/tvix/eval/Cargo.toml +++ b/tvix/eval/Cargo.toml @@ -19,7 +19,7 @@ imbl = { version = "2.0", features = [ "serde" ] } lazy_static = "1.4.0" lexical-core = { version = "0.8.5", features = ["format", "parse-floats"] } path-clean = "0.1" -proptest = { version = "1.0.0", default_features = false, features = ["std", "alloc", "break-dead-code", "tempfile"], optional = true } +proptest = { version = "1.3.0", default_features = false, features = ["std", "alloc", "tempfile"], optional = true } regex = "1.6.0" rnix = "0.11.0" rowan = "*" # pinned by rnix -- cgit 1.4.1