From 06f2c2f0b7e4a0f16743311b24c399b4b0c3a90e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 09:35:44 +0000 Subject: [PATCH] build(deps): bump thiserror from 1.0.64 to 2.0.8 Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.64 to 2.0.8. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...2.0.8) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 288 ++++++++++-------- associated-token-account/program/Cargo.toml | 2 +- binary-option/program/Cargo.toml | 2 +- binary-oracle-pair/program/Cargo.toml | 2 +- governance/addin-mock/program/Cargo.toml | 2 +- governance/chat/program/Cargo.toml | 2 +- governance/program/Cargo.toml | 2 +- governance/test-sdk/Cargo.toml | 2 +- governance/tools/Cargo.toml | 2 +- libraries/concurrent-merkle-tree/Cargo.toml | 2 +- libraries/math/Cargo.toml | 2 +- libraries/merkle-tree-reference/Cargo.toml | 2 +- libraries/program-error/Cargo.toml | 2 +- managed-token/program/Cargo.toml | 2 +- name-service/program/Cargo.toml | 2 +- record/program/Cargo.toml | 2 +- single-pool/program/Cargo.toml | 2 +- stake-pool/program/Cargo.toml | 2 +- stateless-asks/program/Cargo.toml | 2 +- token-lending/program/Cargo.toml | 2 +- token-swap/program/Cargo.toml | 2 +- token-upgrade/program/Cargo.toml | 2 +- token-wrap/program/Cargo.toml | 2 +- token/client/Cargo.toml | 2 +- .../proof-extraction/Cargo.toml | 2 +- .../proof-generation/Cargo.toml | 2 +- .../proof-tests/Cargo.toml | 2 +- token/program-2022/Cargo.toml | 2 +- token/program/Cargo.toml | 2 +- 29 files changed, 182 insertions(+), 162 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 19571906ee..7e185988e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -72,7 +72,7 @@ dependencies = [ "log", "solana-sdk", "solana-transaction-status", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -402,7 +402,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -514,7 +514,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -649,7 +649,7 @@ dependencies = [ "borsh 1.5.1", "solana-program", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", "uint", ] @@ -679,7 +679,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -824,7 +824,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", "syn_derive", ] @@ -939,7 +939,7 @@ checksum = "bcfcc3cd946cb52f0bbfdbbcfa2f4e24f75ebb6c0e1002f7c25904fada18b9ec" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -982,7 +982,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "190baaad529bcfbde9e1a19022c42781bdb6ff9de25721abdb8fd98c0807730b" dependencies = [ "libc", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1175,7 +1175,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -1476,7 +1476,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -1487,7 +1487,7 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -1559,7 +1559,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -1683,7 +1683,7 @@ checksum = "a6cbae11b3de8fce2a456e8ea3dada226b35fe791f0dc1d360c0941f0bb681f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -1789,7 +1789,7 @@ checksum = "03cdc46ec28bd728e67540c528013c6a10eb69a02eb31078a1bda695438cbfb8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -1814,7 +1814,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -2055,7 +2055,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -2981,7 +2981,7 @@ dependencies = [ "ark-bn254", "ark-ff", "num-bigint 0.4.5", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3336,7 +3336,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -3409,7 +3409,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -3524,7 +3524,7 @@ dependencies = [ "percent-encoding 2.3.1", "pin-project", "rand 0.8.5", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3705,7 +3705,7 @@ checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -3870,9 +3870,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -3977,7 +3977,7 @@ checksum = "9e2e25ee72f5b24d773cae88422baddefff7714f97aab68d96fe2b6fc4a28fb2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -3998,7 +3998,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", ] @@ -4016,7 +4016,7 @@ dependencies = [ "rustls", "rustls-native-certs", "slab", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tracing", ] @@ -4299,7 +4299,7 @@ dependencies = [ "reqwest", "serde", "task-local-extensions", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -4636,7 +4636,7 @@ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -4700,7 +4700,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -4712,7 +4712,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -4750,7 +4750,7 @@ checksum = "82fe9db325bcef1fbcde82e078a5cc4efdf787e96b3b9cf45b50b529f2083d67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -5027,7 +5027,7 @@ dependencies = [ "spl-token-2022 4.0.0", "spl-token-group-interface 0.3.0", "spl-token-metadata-interface 0.4.0", - "thiserror", + "thiserror 1.0.69", "zstd", ] @@ -5073,7 +5073,7 @@ dependencies = [ "static_assertions", "tar", "tempfile", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5091,7 +5091,7 @@ dependencies = [ "solana-program", "solana-program-runtime", "solana-sdk", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5106,7 +5106,7 @@ dependencies = [ "solana-program", "solana-sdk", "tarpc", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-serde", ] @@ -5179,7 +5179,7 @@ dependencies = [ "solana-sdk", "solana-type-overrides", "solana_rbpf", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5212,7 +5212,7 @@ dependencies = [ "rpassword", "solana-remote-wallet", "solana-sdk", - "thiserror", + "thiserror 1.0.69", "tiny-bip39", "uriparse", "url 2.5.2", @@ -5230,7 +5230,7 @@ dependencies = [ "solana-remote-wallet", "solana-sdk", "solana-zk-token-sdk", - "thiserror", + "thiserror 1.0.69", "tiny-bip39", "uriparse", "url 2.5.2", @@ -5308,7 +5308,7 @@ dependencies = [ "solana-thin-client", "solana-tpu-client", "solana-udp-client", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -5363,7 +5363,7 @@ dependencies = [ "solana-measure", "solana-metrics", "solana-sdk", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -5440,7 +5440,7 @@ dependencies = [ "sys-info", "sysctl", "tempfile", - "thiserror", + "thiserror 1.0.69", "tokio", "trees", ] @@ -5478,7 +5478,7 @@ dependencies = [ "bytemuck_derive", "curve25519-dalek", "solana-program", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5523,7 +5523,7 @@ dependencies = [ "solana-sdk", "solana-version", "spl-memo 5.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -5550,7 +5550,7 @@ dependencies = [ "solana-runtime", "solana-sdk", "solana-transaction-status", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -5599,7 +5599,7 @@ dependencies = [ "solana-vote", "solana-vote-program", "static_assertions", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5676,7 +5676,7 @@ dependencies = [ "strum 0.24.1", "strum_macros 0.24.3", "tempfile", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "trees", @@ -5740,7 +5740,7 @@ dependencies = [ "log", "reqwest", "solana-sdk", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5814,7 +5814,7 @@ dependencies = [ "solana-metrics", "solana-runtime", "solana-sdk", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5825,7 +5825,7 @@ checksum = "a317bd81fea0544982496b77f00548fd05d7fd6e0225336ece1b5baa166cc849" dependencies = [ "ark-bn254", "light-poseidon", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5870,7 +5870,7 @@ dependencies = [ "sha2 0.10.8", "sha3 0.10.8", "solana-sdk-macro", - "thiserror", + "thiserror 1.0.69", "wasm-bindgen", ] @@ -5900,7 +5900,7 @@ dependencies = [ "solana-type-overrides", "solana-vote", "solana_rbpf", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5931,7 +5931,7 @@ dependencies = [ "solana-svm", "solana-vote-program", "solana_rbpf", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -5952,7 +5952,7 @@ dependencies = [ "solana-account-decoder", "solana-rpc-client-api", "solana-sdk", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tokio-tungstenite", @@ -5982,7 +5982,7 @@ dependencies = [ "solana-rpc-client-api", "solana-sdk", "solana-streamer", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -6012,7 +6012,7 @@ dependencies = [ "qstring", "semver", "solana-sdk", - "thiserror", + "thiserror 1.0.69", "uriparse", ] @@ -6070,7 +6070,7 @@ dependencies = [ "spl-token 6.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "spl-token-2022 4.0.0", "stream-cancel", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-util 0.7.1", ] @@ -6123,7 +6123,7 @@ dependencies = [ "solana-sdk", "solana-transaction-status", "solana-version", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6136,7 +6136,7 @@ dependencies = [ "solana-clap-utils", "solana-rpc-client", "solana-sdk", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6215,7 +6215,7 @@ dependencies = [ "symlink", "tar", "tempfile", - "thiserror", + "thiserror 1.0.69", "zstd", ] @@ -6263,7 +6263,7 @@ dependencies = [ "siphasher", "solana-program", "solana-sdk-macro", - "thiserror", + "thiserror 1.0.69", "uriparse", "wasm-bindgen", ] @@ -6278,7 +6278,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -6348,7 +6348,7 @@ dependencies = [ "solana-sdk", "solana-storage-proto", "solana-transaction-status", - "thiserror", + "thiserror 1.0.69", "tokio", "tonic", "zstd", @@ -6400,7 +6400,7 @@ dependencies = [ "solana-perf", "solana-sdk", "solana-transaction-metrics-tracker", - "thiserror", + "thiserror 1.0.69", "tokio", "x509-parser", ] @@ -6513,7 +6513,7 @@ dependencies = [ "solana-rpc-client", "solana-rpc-client-api", "solana-sdk", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -6557,7 +6557,7 @@ dependencies = [ "spl-token-2022 4.0.0", "spl-token-group-interface 0.3.0", "spl-token-metadata-interface 0.4.0", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6592,7 +6592,7 @@ dependencies = [ "solana-runtime", "solana-sdk", "solana-streamer", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -6617,7 +6617,7 @@ dependencies = [ "solana-net-utils", "solana-sdk", "solana-streamer", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -6679,7 +6679,7 @@ dependencies = [ "serde", "serde_derive", "solana-sdk", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6699,7 +6699,7 @@ dependencies = [ "solana-program", "solana-program-runtime", "solana-sdk", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6766,7 +6766,7 @@ dependencies = [ "solana-program", "solana-sdk", "subtle", - "thiserror", + "thiserror 1.0.69", "zeroize", ] @@ -6811,7 +6811,7 @@ dependencies = [ "solana-program", "solana-sdk", "subtle", - "thiserror", + "thiserror 1.0.69", "zeroize", ] @@ -6830,7 +6830,7 @@ dependencies = [ "rand 0.8.5", "rustc-demangle", "scroll", - "thiserror", + "thiserror 1.0.69", "winapi 0.3.9", ] @@ -6859,7 +6859,7 @@ dependencies = [ "solana-program", "spl-token 6.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "spl-token-2022 4.0.0", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -6873,7 +6873,7 @@ dependencies = [ "spl-associated-token-account-client", "spl-token 6.0.0", "spl-token-2022 5.0.2", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -6907,7 +6907,7 @@ dependencies = [ "solana-program-test", "solana-sdk", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", "uint", ] @@ -6920,7 +6920,7 @@ dependencies = [ "rand_distr", "solana-program", "spl-merkle-tree-reference", - "thiserror", + "thiserror 2.0.8", "tokio", ] @@ -6951,7 +6951,7 @@ version = "0.2.0" dependencies = [ "quote", "spl-discriminator-syn 0.2.0", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -6962,7 +6962,7 @@ checksum = "d9e8418ea6269dcfb01c712f0444d2c75542c04448b480e87de59d2865edc750" dependencies = [ "quote", "spl-discriminator-syn 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -6972,8 +6972,8 @@ dependencies = [ "proc-macro2", "quote", "sha2 0.10.8", - "syn 2.0.79", - "thiserror", + "syn 2.0.90", + "thiserror 1.0.69", ] [[package]] @@ -6985,8 +6985,8 @@ dependencies = [ "proc-macro2", "quote", "sha2 0.10.8", - "syn 2.0.79", - "thiserror", + "syn 2.0.90", + "thiserror 1.0.69", ] [[package]] @@ -7091,7 +7091,7 @@ dependencies = [ "spl-governance-test-sdk", "spl-governance-tools", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7123,7 +7123,7 @@ dependencies = [ "spl-governance-test-sdk", "spl-governance-tools", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7148,7 +7148,7 @@ dependencies = [ "spl-governance-test-sdk", "spl-governance-tools", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7167,7 +7167,7 @@ dependencies = [ "solana-program-test", "solana-sdk", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7183,7 +7183,7 @@ dependencies = [ "serde_derive", "solana-program", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7208,7 +7208,7 @@ dependencies = [ "spl-associated-token-account 5.0.1", "spl-associated-token-account-client", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7223,7 +7223,7 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "thiserror", + "thiserror 2.0.8", "uint", ] @@ -7250,7 +7250,7 @@ name = "spl-merkle-tree-reference" version = "0.1.0" dependencies = [ "solana-program", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7263,7 +7263,7 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7306,7 +7306,7 @@ dependencies = [ "solana-program", "solana-sdk", "spl-program-error-derive 0.4.1", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7319,7 +7319,7 @@ dependencies = [ "num-traits", "solana-program", "spl-program-error-derive 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -7329,7 +7329,7 @@ dependencies = [ "proc-macro2", "quote", "sha2 0.10.8", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -7341,7 +7341,7 @@ dependencies = [ "proc-macro2", "quote", "sha2 0.10.8", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -7355,7 +7355,7 @@ dependencies = [ "solana-program-test", "solana-sdk", "spl-pod 0.4.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7389,7 +7389,7 @@ dependencies = [ "spl-associated-token-account-client", "spl-token 6.0.0", "test-case", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7449,7 +7449,7 @@ dependencies = [ "spl-token 6.0.0", "spl-token-2022 5.0.2", "test-case", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7525,7 +7525,7 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7540,7 +7540,7 @@ dependencies = [ "num-traits", "num_enum", "solana-program", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -7564,7 +7564,7 @@ dependencies = [ "spl-token-metadata-interface 0.4.0", "spl-transfer-hook-interface 0.7.0", "spl-type-length-value 0.5.0", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -7599,7 +7599,7 @@ dependencies = [ "spl-token-metadata-interface 0.5.1", "spl-transfer-hook-interface 0.8.2", "spl-type-length-value 0.6.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7693,7 +7693,7 @@ dependencies = [ "spl-token-group-interface 0.4.2", "spl-token-metadata-interface 0.5.1", "spl-transfer-hook-interface 0.8.2", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7733,7 +7733,7 @@ dependencies = [ "bytemuck", "solana-curve25519", "solana-zk-sdk", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7742,7 +7742,7 @@ version = "0.1.0" dependencies = [ "curve25519-dalek", "solana-zk-sdk", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7753,7 +7753,7 @@ dependencies = [ "solana-zk-sdk", "spl-token-confidential-transfer-proof-extraction", "spl-token-confidential-transfer-proof-generation", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7811,7 +7811,7 @@ dependencies = [ "solana-program-test", "solana-sdk", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", "uint", ] @@ -7890,7 +7890,7 @@ dependencies = [ "spl-token 6.0.0", "spl-token-2022 5.0.2", "test-case", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7919,7 +7919,7 @@ dependencies = [ "spl-token-2022 5.0.2", "spl-token-client", "test-case", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -7954,7 +7954,7 @@ dependencies = [ "spl-associated-token-account 5.0.1", "spl-token 6.0.0", "spl-token-2022 5.0.2", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -8059,7 +8059,7 @@ version = "0.1.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -8082,7 +8082,7 @@ dependencies = [ "solana-sdk", "spl-associated-token-account-client", "spl-token 6.0.0", - "thiserror", + "thiserror 2.0.8", ] [[package]] @@ -8152,7 +8152,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -8180,9 +8180,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.79" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -8198,7 +8198,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -8238,7 +8238,7 @@ dependencies = [ "bitflags 1.3.2", "byteorder", "libc", - "thiserror", + "thiserror 1.0.69", "walkdir", ] @@ -8290,7 +8290,7 @@ dependencies = [ "serde", "static_assertions", "tarpc-plugins", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-serde", "tokio-util 0.6.9", @@ -8365,7 +8365,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -8377,7 +8377,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", "test-case-core", ] @@ -8408,22 +8408,42 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.64" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" +checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" dependencies = [ - "thiserror-impl", + "thiserror-impl 2.0.8", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", ] [[package]] name = "thiserror-impl" -version = "1.0.64" +version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" +checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -8479,7 +8499,7 @@ dependencies = [ "rand 0.7.3", "rustc-hash", "sha2 0.9.9", - "thiserror", + "thiserror 1.0.69", "unicode-normalization", "wasm-bindgen", "zeroize", @@ -8536,7 +8556,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -8753,7 +8773,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] @@ -8817,7 +8837,7 @@ dependencies = [ "rand 0.8.5", "rustls", "sha1", - "thiserror", + "thiserror 1.0.69", "url 2.5.2", "utf-8", "webpki-roots 0.24.0", @@ -9080,7 +9100,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", "wasm-bindgen-shared", ] @@ -9114,7 +9134,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -9385,7 +9405,7 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -9417,7 +9437,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.90", ] [[package]] diff --git a/associated-token-account/program/Cargo.toml b/associated-token-account/program/Cargo.toml index 9ce2e41fe7..8a4176dae3 100644 --- a/associated-token-account/program/Cargo.toml +++ b/associated-token-account/program/Cargo.toml @@ -23,7 +23,7 @@ spl-token = { version = "6.0", path = "../../token/program", features = [ spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = [ "no-entrypoint", ] } -thiserror = "1.0" +thiserror = "2.0" [lib] crate-type = ["cdylib", "lib"] diff --git a/binary-option/program/Cargo.toml b/binary-option/program/Cargo.toml index 79a53110db..6eff3501ac 100644 --- a/binary-option/program/Cargo.toml +++ b/binary-option/program/Cargo.toml @@ -10,7 +10,7 @@ test-sbf = [] [dependencies] solana-program = "2.0.3" -thiserror = "1.0" +thiserror = "2.0" spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint", ] } diff --git a/binary-oracle-pair/program/Cargo.toml b/binary-oracle-pair/program/Cargo.toml index 92579f8356..fb87343fed 100644 --- a/binary-oracle-pair/program/Cargo.toml +++ b/binary-oracle-pair/program/Cargo.toml @@ -17,7 +17,7 @@ solana-program = "2.0.3" spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint", ] } -thiserror = "1.0" +thiserror = "2.0" uint = "0.10" borsh = "1.5.1" diff --git a/governance/addin-mock/program/Cargo.toml b/governance/addin-mock/program/Cargo.toml index 5b81f8411d..fb24c4d9fe 100644 --- a/governance/addin-mock/program/Cargo.toml +++ b/governance/addin-mock/program/Cargo.toml @@ -25,7 +25,7 @@ spl-token = { version = "6.0", path = "../../../token/program", features = [ ] } spl-governance-addin-api = { version = "0.1.4", path = "../../addin-api" } spl-governance-tools = { version = "0.1.4", path = "../../tools" } -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] diff --git a/governance/chat/program/Cargo.toml b/governance/chat/program/Cargo.toml index 06b68b0dba..26eceadf4f 100644 --- a/governance/chat/program/Cargo.toml +++ b/governance/chat/program/Cargo.toml @@ -28,7 +28,7 @@ spl-governance = { version = "4.0.0", path = "../../program", features = [ ] } spl-governance-tools = { version = "0.1.4", path = "../../tools" } spl-governance-addin-api = { version = "0.1.4", path = "../../addin-api" } -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] diff --git a/governance/program/Cargo.toml b/governance/program/Cargo.toml index a319964696..0c26daf91e 100644 --- a/governance/program/Cargo.toml +++ b/governance/program/Cargo.toml @@ -25,7 +25,7 @@ spl-token = { version = "6.0", path = "../../token/program", features = [ ] } spl-governance-tools = { version = "0.1.4", path = "../tools" } spl-governance-addin-api = { version = "0.1.4", path = "../addin-api" } -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] assert_matches = "1.5.0" diff --git a/governance/test-sdk/Cargo.toml b/governance/test-sdk/Cargo.toml index 52916f92ef..b93feb6b8b 100644 --- a/governance/test-sdk/Cargo.toml +++ b/governance/test-sdk/Cargo.toml @@ -22,4 +22,4 @@ solana-sdk = "2.0.3" spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint", ] } -thiserror = "1.0" +thiserror = "2.0" diff --git a/governance/tools/Cargo.toml b/governance/tools/Cargo.toml index cbaf2ae9d6..a95ca6a599 100644 --- a/governance/tools/Cargo.toml +++ b/governance/tools/Cargo.toml @@ -19,4 +19,4 @@ solana-program = "2.0.3" spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint", ] } -thiserror = "1.0" +thiserror = "2.0" diff --git a/libraries/concurrent-merkle-tree/Cargo.toml b/libraries/concurrent-merkle-tree/Cargo.toml index b2ed4fbf2d..1fa2dfddde 100644 --- a/libraries/concurrent-merkle-tree/Cargo.toml +++ b/libraries/concurrent-merkle-tree/Cargo.toml @@ -14,7 +14,7 @@ sol-log = ["log"] [dependencies] solana-program = ">=1.18.11,<=2" bytemuck = "1.19" -thiserror = "1.0.64" +thiserror = "2.0.8" [dev-dependencies] rand_distr = "0.4.3" diff --git a/libraries/math/Cargo.toml b/libraries/math/Cargo.toml index c9a2b72e9d..5acea2c7c1 100644 --- a/libraries/math/Cargo.toml +++ b/libraries/math/Cargo.toml @@ -16,7 +16,7 @@ borsh = "1.5.1" num-derive = "0.4" num-traits = "0.2" solana-program = "2.0.3" -thiserror = "1.0" +thiserror = "2.0" uint = "0.10" [dev-dependencies] diff --git a/libraries/merkle-tree-reference/Cargo.toml b/libraries/merkle-tree-reference/Cargo.toml index 46c3bca63f..f9039d8fbf 100644 --- a/libraries/merkle-tree-reference/Cargo.toml +++ b/libraries/merkle-tree-reference/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] solana-program = ">=1.18.11,<=2" -thiserror = "1.0.64" +thiserror = "2.0.8" [lib] crate-type = ["cdylib", "lib"] diff --git a/libraries/program-error/Cargo.toml b/libraries/program-error/Cargo.toml index bc273043ad..a4f87b6ab6 100644 --- a/libraries/program-error/Cargo.toml +++ b/libraries/program-error/Cargo.toml @@ -12,7 +12,7 @@ num-derive = "0.4" num-traits = "0.2" solana-program = "2.0.3" spl-program-error-derive = { version = "0.4.1", path = "./derive" } -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] lazy_static = "1.5" diff --git a/managed-token/program/Cargo.toml b/managed-token/program/Cargo.toml index 276e44232c..11b0cced38 100644 --- a/managed-token/program/Cargo.toml +++ b/managed-token/program/Cargo.toml @@ -32,7 +32,7 @@ spl-associated-token-account-client = { version = "1.0.0", path = "../../associa spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint", ] } -thiserror = "^1.0.64" +thiserror = "^2.0.8" [dev-dependencies] solana-program-test = "2.0.3" diff --git a/name-service/program/Cargo.toml b/name-service/program/Cargo.toml index d6b2fb5059..851f4dd6a3 100644 --- a/name-service/program/Cargo.toml +++ b/name-service/program/Cargo.toml @@ -21,7 +21,7 @@ solana-program = "2.0.3" num-traits = "0.2" borsh = "1.5.1" num-derive = "0.4.2" -thiserror = "1.0.64" +thiserror = "2.0.8" [dev-dependencies] solana-program-test = "2.0.3" diff --git a/record/program/Cargo.toml b/record/program/Cargo.toml index d065605d4e..2d92cc94fe 100644 --- a/record/program/Cargo.toml +++ b/record/program/Cargo.toml @@ -16,7 +16,7 @@ bytemuck = { version = "1.19.0", features = ["derive"] } num-derive = "0.4" num-traits = "0.2" solana-program = "2.0.3" -thiserror = "1.0" +thiserror = "2.0" spl-pod = { version = "0.4.0", path = "../../libraries/pod" } [dev-dependencies] diff --git a/single-pool/program/Cargo.toml b/single-pool/program/Cargo.toml index 81bbc00371..154e7c9d0e 100644 --- a/single-pool/program/Cargo.toml +++ b/single-pool/program/Cargo.toml @@ -22,7 +22,7 @@ solana-security-txt = "1.1.1" spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint", ] } -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] solana-program-test = "2.0.3" diff --git a/stake-pool/program/Cargo.toml b/stake-pool/program/Cargo.toml index c3ebe2c8be..f8c5eac6bd 100644 --- a/stake-pool/program/Cargo.toml +++ b/stake-pool/program/Cargo.toml @@ -31,7 +31,7 @@ spl-pod = { version = "0.4.0", path = "../../libraries/pod", features = [ spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = [ "no-entrypoint", ] } -thiserror = "1.0" +thiserror = "2.0" bincode = "1.3.1" [dev-dependencies] diff --git a/stateless-asks/program/Cargo.toml b/stateless-asks/program/Cargo.toml index 2529e378e0..4fa3789132 100644 --- a/stateless-asks/program/Cargo.toml +++ b/stateless-asks/program/Cargo.toml @@ -17,7 +17,7 @@ spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint", ] } spl-associated-token-account-client = { version = "1.0.0", path = "../../associated-token-account/client" } -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] solana-program-test = "2.0.3" diff --git a/token-lending/program/Cargo.toml b/token-lending/program/Cargo.toml index 20211454e2..fa922efb07 100644 --- a/token-lending/program/Cargo.toml +++ b/token-lending/program/Cargo.toml @@ -18,7 +18,7 @@ num-derive = "0.4" num-traits = "0.2" solana-program = "2.0.3" spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint" ] } -thiserror = "1.0" +thiserror = "2.0" uint = "0.10" [dev-dependencies] diff --git a/token-swap/program/Cargo.toml b/token-swap/program/Cargo.toml index 56867a31f5..b1bcddaae0 100644 --- a/token-swap/program/Cargo.toml +++ b/token-swap/program/Cargo.toml @@ -21,7 +21,7 @@ solana-program = "2.0.3" spl-math = { version = "0.3", path = "../../libraries/math", features = [ "no-entrypoint" ] } spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint" ] } spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = [ "no-entrypoint" ] } -thiserror = "1.0" +thiserror = "2.0" arbitrary = { version = "1.3", features = ["derive"], optional = true } roots = { version = "0.0.8", optional = true } diff --git a/token-upgrade/program/Cargo.toml b/token-upgrade/program/Cargo.toml index 287dccdf47..ebe528eaf1 100644 --- a/token-upgrade/program/Cargo.toml +++ b/token-upgrade/program/Cargo.toml @@ -17,7 +17,7 @@ num-traits = "0.2" num_enum = "0.7.3" solana-program = "2.0.3" spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] solana-program-test = "2.0.3" diff --git a/token-wrap/program/Cargo.toml b/token-wrap/program/Cargo.toml index 645a9eca75..6c5c7ad5d3 100644 --- a/token-wrap/program/Cargo.toml +++ b/token-wrap/program/Cargo.toml @@ -18,7 +18,7 @@ solana-program = "2.0.3" spl-associated-token-account = { version = "5.0.1", path = "../../associated-token-account/program", features = ["no-entrypoint"] } spl-token = { version = "6.0", path = "../../token/program", features = ["no-entrypoint"] } spl-token-2022 = { version = "5.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] } -thiserror = "1.0" +thiserror = "2.0" [lib] crate-type = ["cdylib", "lib"] diff --git a/token/client/Cargo.toml b/token/client/Cargo.toml index 2ecf6710e0..80fc1731a5 100644 --- a/token/client/Cargo.toml +++ b/token/client/Cargo.toml @@ -32,7 +32,7 @@ spl-token-2022 = { version = "5.0.2", path = "../program-2022" } spl-token-group-interface = { version = "0.4.2", path = "../../token-group/interface" } spl-token-metadata-interface = { version = "0.5.1", path = "../../token-metadata/interface" } spl-transfer-hook-interface = { version = "0.8.2", path = "../transfer-hook/interface" } -thiserror = "1.0" +thiserror = "2.0" [features] default = ["display"] diff --git a/token/confidential-transfer/proof-extraction/Cargo.toml b/token/confidential-transfer/proof-extraction/Cargo.toml index 019b73c098..82df5f1cef 100644 --- a/token/confidential-transfer/proof-extraction/Cargo.toml +++ b/token/confidential-transfer/proof-extraction/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" bytemuck = "1.19.0" solana-curve25519 = "2.0.3" solana-zk-sdk = "2.0.3" -thiserror = "1.0.64" +thiserror = "2.0.8" [lib] crate-type = ["cdylib", "lib"] diff --git a/token/confidential-transfer/proof-generation/Cargo.toml b/token/confidential-transfer/proof-generation/Cargo.toml index 0730edeefd..bcba3a5bdc 100644 --- a/token/confidential-transfer/proof-generation/Cargo.toml +++ b/token/confidential-transfer/proof-generation/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" [dependencies] curve25519-dalek = "3.2.1" solana-zk-sdk = "2.0.3" -thiserror = "1.0.64" +thiserror = "2.0.8" [dev-dependencies] diff --git a/token/confidential-transfer/proof-tests/Cargo.toml b/token/confidential-transfer/proof-tests/Cargo.toml index c3fa2d55f1..67f5ba52f3 100644 --- a/token/confidential-transfer/proof-tests/Cargo.toml +++ b/token/confidential-transfer/proof-tests/Cargo.toml @@ -10,6 +10,6 @@ edition = "2021" [dev-dependencies] curve25519-dalek = "3.2.1" solana-zk-sdk = "2.0.3" -thiserror = "1.0.64" +thiserror = "2.0.8" spl-token-confidential-transfer-proof-extraction = { version = "0.1.0", path = "../proof-extraction" } spl-token-confidential-transfer-proof-generation = { version = "0.1.0", path = "../proof-generation" } diff --git a/token/program-2022/Cargo.toml b/token/program-2022/Cargo.toml index fa0c5319b7..858e9d6e80 100644 --- a/token/program-2022/Cargo.toml +++ b/token/program-2022/Cargo.toml @@ -34,7 +34,7 @@ spl-token-metadata-interface = { version = "0.5.1", path = "../../token-metadata spl-transfer-hook-interface = { version = "0.8.2", path = "../transfer-hook/interface" } spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.4.0", path = "../../libraries/pod" } -thiserror = "1.0" +thiserror = "2.0" serde = { version = "1.0.210", optional = true } serde_with = { version = "3.11.0", optional = true } base64 = { version = "0.22.1", optional = true } diff --git a/token/program/Cargo.toml b/token/program/Cargo.toml index 67b92f3d93..5314933f64 100644 --- a/token/program/Cargo.toml +++ b/token/program/Cargo.toml @@ -19,7 +19,7 @@ num-derive = "0.4" num-traits = "0.2" num_enum = "0.7.3" solana-program = "2.0.3" -thiserror = "1.0" +thiserror = "2.0" [dev-dependencies] lazy_static = "1.5.0"