Skip to content

Commit

Permalink
Update and pin anyhow to 1.0.72
Browse files Browse the repository at this point in the history
Summary:
anyhow-1.0.73 [uses][1] the new `Error::provide` API. This API is
available starting in Rust 1.73. This means that if you want backtraces,
you need one:

- anyhow-1.0.72 & Rust 1.72
- anyhow-1.0.73 & Rust 1.73

Since we're still on 1.72, pin the version to avoid accidentally losing
backtraces.

There are no real changes between anyhow-1.0.71 and anyhow-1.0.72. But
update to anyhow-1.0.72 so that we're right up until the point where we
get backtrace support.

[1]: dtolnay/anyhow#319

Reviewed By: shayne-fletcher

Differential Revision: D49970958

fbshipit-source-id: 1193611e6d16bc840e63b689e932ea3d33562152
  • Loading branch information
zertosh authored and facebook-github-bot committed Oct 5, 2023
1 parent 65bfc00 commit f24cbe7
Show file tree
Hide file tree
Showing 389 changed files with 389 additions and 389 deletions.
2 changes: 1 addition & 1 deletion configerator/structs/scm/hg/hgclientconf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
config__types = { package = "config_types", version = "0.1.0", path = "types" }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/hg/hgclientconf/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/lfs_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/megarepo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/observability/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/pushredirect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/qps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/qps/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/ratelimiting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/redaction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
commitsync__types = { package = "commitsync_types", version = "0.1.0", path = "types" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/repos/repos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/tunables/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/xdb_gc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion configerator/structs/scm/mononoke/xdb_gc/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/cli_rs/edenfs-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
license = "GPLv2+"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-recursion = "1.0.2"
atomicfile = { version = "0.1.0", path = "../../../scm/lib/atomicfile" }
byteorder = "1.3"
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/cli_rs/edenfs-commands/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
license = "GPLv2+"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
clap = { version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
colored = "1.9"
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/cli_rs/edenfs-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
license = "GPLv2+"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
edenfs-error = { version = "0.1.0", path = "../edenfs-error" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
stack-config = { version = "0.1.0", path = "../stack-config" }
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/cli_rs/edenfs-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ edition = "2021"
license = "GPLv2+"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
thiserror = "1.0.43"
tokio = { version = "1.29.1", features = ["full", "test-util", "tracing"] }
2 changes: 1 addition & 1 deletion eden/fs/cli_rs/edenfs-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
license = "GPLv2+"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
edenfs-error = { version = "0.1.0", path = "../edenfs-error" }
glob = "0.3"
sysinfo = "0.26.8"
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/cli_rs/edenfsctl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
license = "GPLv2+"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
clap = { version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
edenfs-commands = { version = "0.1.0", path = "../edenfs-commands" }
fbinit = { version = "0.1.2", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
config_thrift__types = { package = "config_thrift_types", version = "0.1.0", path = "types" }
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/config/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/inodes/overlay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/inodes/overlay/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
config_thrift = { version = "0.1.0", path = "../config" }
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/service/thrift_streaming/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
const-cstr = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/service/thrift_streaming/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion eden/fs/service/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test = false
doctest = false

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
codegen_includer_proc_macro = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
config_thrift = { version = "0.1.0", path = "../../config" }
fb303_core = { version = "0.0.0", git = "https://github.com/facebook/fb303.git", branch = "main" }
Expand Down
2 changes: 1 addition & 1 deletion eden/mononoke/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ name = "streaming_clone_warmup"
path = "cmds/streaming_clone_warmup/main.rs"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
ascii = "1.0"
blobrepo = { version = "0.1.0", path = "blobrepo" }
blobrepo_utils = { version = "0.1.0", path = "blobrepo_utils" }
Expand Down
2 changes: 1 addition & 1 deletion eden/mononoke/acl_regions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "acl_regions_test"
path = "test/main.rs"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
commit_graph = { version = "0.1.0", path = "../repo_attributes/commit_graph/commit_graph" }
context = { version = "0.1.0", path = "../server/context" }
Expand Down

0 comments on commit f24cbe7

Please sign in to comment.