Skip to content

Commit

Permalink
update platform010 & platform010-aarch64 symlinks
Browse files Browse the repository at this point in the history
Summary:
Release notes: https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html

This release is coupled with an update of the `anyhow` and `thiserror` crates because the unstable standard library API for backtraces has changed.

Fbcode changes:

- `feature(default_free_fn)` deleted (D50300881)
- `noop_method_call` lint becomes warn-by-default (D50486032, D50516201)
- stronger `invalid_reference_casting` detection (D50488164)
- `feature(unix_chown)` has been stabilized
- `feature(provide_any)` and `std::provider` deleted
- `clippy::unwrap_or_else_default` renamed to `clippy::unwrap_or_default`
- type inference ambiguities (D51780425)
- `nu-command` build error (D51779062)

Reviewed By: AndreasBackx, shayne-fletcher

Differential Revision: D50294321

fbshipit-source-id: 0fac87f6ba072ad029f9ce41ce94ed813e855b20
  • Loading branch information
David Tolnay authored and facebook-github-bot committed Dec 2, 2023
1 parent 76fcfd4 commit 8581b27
Show file tree
Hide file tree
Showing 28 changed files with 40 additions and 41 deletions.
2 changes: 1 addition & 1 deletion shed/cached_config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
fbinit = { version = "0.1.2", path = "../fbinit" }
Expand Down
2 changes: 1 addition & 1 deletion shed/cachelib_stub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ license = "MIT OR Apache-2.0"

[dependencies]
abomonation = { version = "0.7", features = ["smallvec"] }
anyhow = "=1.0.72"
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
futures_ext = { package = "futures_01_ext", version = "0.1.0", path = "../futures_01_ext" }
2 changes: 1 addition & 1 deletion shed/chrome_trace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
flate2 = { version = "1.0.26", features = ["rust_backend"], default-features = false }
libc = "0.2.139"
Expand Down
4 changes: 2 additions & 2 deletions shed/facet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ name = "facet_tuple_struct_test"
path = "test/tuple_struct_test.rs"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
async-trait = "0.1.71"
facet_proc_macros = { version = "0.1.0", path = "proc_macros" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
thiserror = "1.0.43"
thiserror = "1.0.49"
trait-set = "0.3.0"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions shed/failure_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
futures = "0.1.31"
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }

[dev-dependencies]
thiserror = "1.0.43"
thiserror = "1.0.49"
5 changes: 2 additions & 3 deletions shed/failure_ext/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/

#![cfg_attr(fbcode_build, feature(error_generic_member_access))]
#![cfg_attr(fbcode_build, feature(provide_any))]
#![deny(warnings, missing_docs, clippy::all, rustdoc::broken_intra_doc_links)]

//! Crate extending functionality of the [`anyhow`] crate
Expand Down Expand Up @@ -79,8 +78,8 @@ impl StdError for Compat<Error> {
}

#[cfg(fbcode_build)]
fn provide<'a>(&'a self, demand: &mut std::any::Demand<'a>) {
demand.provide_ref::<std::backtrace::Backtrace>(self.0.backtrace());
fn provide<'a>(&'a self, request: &mut std::error::Request<'a>) {
request.provide_ref::<std::backtrace::Backtrace>(self.0.backtrace());
}
}

Expand Down
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/adapters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ chrono = { version = "0.4", features = ["clock", "serde", "std"], default-featur
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
ordered-float = { version = "3.7", features = ["serde"] }
paste = "1.0.14"
thiserror = "1.0.43"
thiserror = "1.0.49"
uuid = { version = "1.2", features = ["serde", "v4", "v5", "v6", "v7", "v8"] }
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/socket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0"
path = "lib.rs"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
fbthrift_framed = { version = "0.1.0", path = "../framed" }
Expand Down
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/tcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0"
path = "lib.rs"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
fbthrift_framed = { version = "0.1.0", path = "../framed" }
Expand Down
2 changes: 1 addition & 1 deletion shed/futures_01_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ futures = "0.1.31"
tokio-io = "0.1"

[dev-dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
assert_matches = "1.5"
cloned = { version = "0.1.0", path = "../cloned" }
futures03 = { package = "futures", version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
4 changes: 2 additions & 2 deletions shed/futures_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
futures = { version = "0.3.28", features = ["async-await", "compat"] }
pin-project = "0.4.30"
shared_error = { version = "0.1.0", path = "../shared_error" }
thiserror = "1.0.43"
thiserror = "1.0.49"
tokio_shim = { version = "0.1.0", path = "../tokio_shim" }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/hostname/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
hostname_orig = { package = "hostname", version = "0.3" }
2 changes: 1 addition & 1 deletion shed/justknobs_stub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name = "justknobs_in_unnitest"
path = "tests/justknobs_in_unittest.rs"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
arc-swap = "1.5"
cached_config = { version = "0.1.0", path = "../cached_config" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
4 changes: 2 additions & 2 deletions shed/justknobs_stub/cached_config_thrift_struct/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ test = false
doctest = false

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
async-trait = "0.1.71"
codegen_includer_proc_macro = { version = "0.1.0", path = "../../codegen_includer_proc_macro" }
const-cstr = "0.3.0"
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
just_knobs_struct__types = { package = "just_knobs_struct_types", version = "0.1.0", path = "types" }
ref-cast = "1.0.18"
thiserror = "1.0.43"
thiserror = "1.0.49"
tracing = "0.1.40"
tracing-futures = { version = "0.2.5", features = ["futures-03"] }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ test = false
doctest = false

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
codegen_includer_proc_macro = { version = "0.1.0", path = "../../../codegen_includer_proc_macro" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
once_cell = "1.12"
ref-cast = "1.0.18"
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_derive = "1.0.185"
thiserror = "1.0.43"
thiserror = "1.0.49"

[build-dependencies]
thrift_compiler = { version = "0.1.0", path = "../../../thrift_compiler" }
Expand Down
2 changes: 1 addition & 1 deletion shed/memcache_stub/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ license = "MIT OR Apache-2.0"
path = "lib.rs"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
fbinit = { version = "0.1.2", path = "../../fbinit" }
4 changes: 2 additions & 2 deletions shed/netstring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
thiserror = "1.0.43"
thiserror = "1.0.49"
tokio-util = { version = "0.7.8", features = ["full"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/ods/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
fbinit = { version = "0.1.2", path = "../fbinit" }
2 changes: 1 addition & 1 deletion shed/panichandler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ path = "test/testrunner.rs"
backtrace = "0.3"

[dev-dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
assert_cmd = "2.0"
predicates = "1"

Expand Down
2 changes: 1 addition & 1 deletion shed/secure_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
hex = "0.4.3"
libc = "0.2.139"
openssl = "0.10.58"
Expand Down
2 changes: 1 addition & 1 deletion shed/services/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ path = "lib.rs"

[dependencies]
cxx = "1.0.100"
thiserror = "1.0.43"
thiserror = "1.0.49"
4 changes: 2 additions & 2 deletions shed/shared_error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
thiserror = "1.0.43"
thiserror = "1.0.49"
4 changes: 2 additions & 2 deletions shed/slog_glog_fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name = "slog_glog_fmt_example"
path = "example/main.rs"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
failure_ext = { version = "0.1.0", path = "../failure_ext" }
hostname = "0.3"
Expand All @@ -27,7 +27,7 @@ slog-term = "2.8"
once_cell = "1.12"
rand = { version = "0.8", features = ["small_rng"] }
regex = "1.9.2"
thiserror = "1.0.43"
thiserror = "1.0.49"

[target.'cfg(target_os = "linux")'.dependencies]
nix = "0.25"
Expand Down
2 changes: 1 addition & 1 deletion shed/sql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
cloned = { version = "0.1.0", path = "../cloned" }
frunk = "0.4.2"
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand Down
4 changes: 2 additions & 2 deletions shed/sql/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0"
path = "lib.rs"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
async-trait = "0.1.71"
cloned = { version = "0.1.0", path = "../../cloned" }
futures = { version = "0.3.28", features = ["async-await", "compat"] }
Expand All @@ -24,7 +24,7 @@ mysql_async = "0.31.2"
mysql_derive = { version = "0.1.0", path = "../derive" }
rusqlite = { version = "0.29.0", features = ["backup", "blob", "column_decltype", "limits"] }
stats = { version = "0.1.0", path = "../../stats" }
thiserror = "1.0.43"
thiserror = "1.0.49"
time_ext = { version = "0.1.0", path = "../../time_ext" }
tokio_shim = { version = "0.1.0", path = "../../tokio_shim" }
vec1 = { version = "1", features = ["serde"] }
Expand Down
2 changes: 1 addition & 1 deletion shed/thrift_compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name = "compiler"
path = "src/main.rs"

[dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"
clap = { version = "4.4.7", features = ["derive", "env", "string", "unicode", "wrap_help"] }
serde = { version = "1.0.185", features = ["derive", "rc"] }
which = "4.2.4"
4 changes: 2 additions & 2 deletions shed/time_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "=1.0.72"
thiserror = "1.0.43"
anyhow = "1.0.75"
thiserror = "1.0.49"

[dev-dependencies]
quickcheck = "1.0"
4 changes: 2 additions & 2 deletions shed/tokio_shim/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ license = "MIT OR Apache-2.0"
[dependencies]
futures = { version = "0.3.28", features = ["async-await", "compat"] }
pin-project = "0.4.30"
thiserror = "1.0.43"
thiserror = "1.0.49"
tokio_1x = { package = "tokio", version = "1.29.1", features = ["full", "test-util", "tracing"] }
tokio_1x_stream = { package = "tokio-stream", version = "0.1.14", features = ["fs", "io-util", "net", "signal", "sync", "time"] }

[dev-dependencies]
anyhow = "=1.0.72"
anyhow = "1.0.75"

0 comments on commit 8581b27

Please sign in to comment.