From 09eb70a32ad694c387295ec002f5d04c062c250c Mon Sep 17 00:00:00 2001 From: Dimitris Iliopoulos Date: Tue, 20 Feb 2024 10:31:00 -0800 Subject: [PATCH] Update platform010 & platform010-aarch64 symlinks Summary: `1.76.0` release with fixes addressing the following: * Release notes ([link](https://releases.rs/docs/1.76.0/)) * Most notable is [#118054](https://github.com/rust-lang/rust/pull/118054/) manifesting as: ``` error: unused implementer of `futures::Future` that must be used --> fbcode/mlx/metalearner/housekeeper/housekeeper.rs:213:13 | 213 | self.ping_oncall(&oncall, usecases); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: futures do nothing unless you `.await` or poll them = note: requested on the command line with `-D unused-must-use` ``` * Changes in `search_index.js` spec for `rustdoc` ([link](https://github.com/rust-lang/rust/pull/118910/files#diff-3ac57789ddcd2856a3b4f0c444f2813315179bdbe55bb945fe64fcb27b53fee5L491)) * Split of `#![feature(exposed_provenance)]` ([link](https://github.com/rust-lang/rust/pull/118487)) from [#95228](https://github.com/rust-lang/rust/issues/95228) * `buck2` OSS toolchain bump to `nightly-2023-12-11` just before [#11878](https://github.com/rust-lang/rust-clippy/pull/11878) and a bunch of other clippy lint renames. Reviewed By: dtolnay Differential Revision: D53776867 fbshipit-source-id: 78db83d8cdd6b0abae2b94ed1075e67b501fcd73 --- eden/fs/cli_rs/edenfs-commands/src/minitop.rs | 6 +++--- eden/mononoke/mononoke_configs/src/lib.rs | 2 -- eden/scm/lib/copytrace/src/tests.rs | 8 ++++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/eden/fs/cli_rs/edenfs-commands/src/minitop.rs b/eden/fs/cli_rs/edenfs-commands/src/minitop.rs index 43aaaaf12b1c7..fdf3387a52457 100644 --- a/eden/fs/cli_rs/edenfs-commands/src/minitop.rs +++ b/eden/fs/cli_rs/edenfs-commands/src/minitop.rs @@ -435,7 +435,7 @@ impl crate::Subcommand for MinitopCmd { if self.interactive { queue!(stdout, terminal::Clear(terminal::ClearType::All))?; } - client.flushStatsNow(); + client.flushStatsNow().await?; system.refresh_processes(); cursor.refresh_terminal_size()?; @@ -577,7 +577,7 @@ mod unix { use anyhow::anyhow; use anyhow::Result; - use shlex::quote; + use shlex::try_quote; pub fn trim_cmd_binary_path(cmd: &str) -> Result { let mut parts: Vec<&str> = cmd.split(char::from(0)).collect(); @@ -598,7 +598,7 @@ mod unix { // the first item is the cmd String::from(part) } else { - quote(part).into_owned() + try_quote(part).unwrap().into_owned() } }) .collect::>() diff --git a/eden/mononoke/mononoke_configs/src/lib.rs b/eden/mononoke/mononoke_configs/src/lib.rs index 1c4cae3f1f4ed..a2c7f01e44254 100644 --- a/eden/mononoke/mononoke_configs/src/lib.rs +++ b/eden/mononoke/mononoke_configs/src/lib.rs @@ -5,8 +5,6 @@ * GNU General Public License version 2. */ -#![feature(arc_unwrap_or_clone)] - use std::path::Path; use std::sync::Arc; diff --git a/eden/scm/lib/copytrace/src/tests.rs b/eden/scm/lib/copytrace/src/tests.rs index 11c17bb13f689..d6669bbd977cf 100644 --- a/eden/scm/lib/copytrace/src/tests.rs +++ b/eden/scm/lib/copytrace/src/tests.rs @@ -377,10 +377,10 @@ async fn test_linear_multiple_renames_with_deletes() { let c = t.copy_trace().await; assert_trace_rename!(c A X, a -> d); - assert_trace_rename!(c A Z, a -> !-Z d); + assert_trace_rename!(c A Z, a -> ! - Z d); assert_trace_rename!(c Z B, b2 -> b2); - assert_trace_rename!(c Z A, b2 -> !+B b2); + assert_trace_rename!(c Z A, b2 -> ! + B b2); } #[tokio::test(flavor = "multi_thread", worker_threads = 2)] @@ -440,8 +440,8 @@ async fn test_non_linear_multiple_renames_with_deletes() { let c = t.copy_trace().await; assert_trace_rename!(c Z 1000, a2 -> d); - assert_trace_rename!(c Z 1001, a2 -> !-1001 d); - assert_trace_rename!(c Z 1023, a2 -> !-1001 d); + assert_trace_rename!(c Z 1001, a2 -> ! - 1001 d); + assert_trace_rename!(c Z 1023, a2 -> ! - 1001 d); } #[tokio::test(flavor = "multi_thread", worker_threads = 2)]