From c6743ec1da5f21554c7e776f1cc89e1d44de5647 Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Sun, 3 Mar 2019 11:36:19 -0800 Subject: [PATCH] Update to rust 1.33.0 (#7305) --- build-support/rust-target-prefix.txt | 6 +----- rust-toolchain | 2 +- src/rust/engine/async_semaphore/src/lib.rs | 6 +----- src/rust/engine/boxfuture/src/lib.rs | 6 +----- src/rust/engine/build_utils/src/lib.rs | 6 +----- src/rust/engine/fs/brfs/src/main.rs | 6 +----- src/rust/engine/fs/fs_util/src/main.rs | 6 +----- src/rust/engine/fs/src/lib.rs | 6 +----- src/rust/engine/graph/src/lib.rs | 6 +----- src/rust/engine/hashing/src/lib.rs | 6 +----- src/rust/engine/process_execution/src/lib.rs | 6 +----- src/rust/engine/process_executor/src/main.rs | 6 +----- src/rust/engine/resettable/src/lib.rs | 6 +----- src/rust/engine/serverset/src/lib.rs | 6 +----- src/rust/engine/src/cffi_build.rs | 6 +----- src/rust/engine/src/lib.rs | 6 +----- src/rust/engine/tar_api/src/tar_api.rs | 6 +----- src/rust/engine/testutil/local_cas/src/main.rs | 6 +----- src/rust/engine/testutil/mock/src/lib.rs | 6 +----- src/rust/engine/testutil/src/lib.rs | 6 +----- src/rust/engine/ui/src/display.rs | 6 +----- src/rust/engine/ui/src/main.rs | 6 +----- 22 files changed, 22 insertions(+), 106 deletions(-) diff --git a/build-support/rust-target-prefix.txt b/build-support/rust-target-prefix.txt index da0691dc9d0..d0e89757454 100644 --- a/build-support/rust-target-prefix.txt +++ b/build-support/rust-target-prefix.txt @@ -22,10 +22,6 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/rust-toolchain b/rust-toolchain index 860251185a2..f0fed9186c9 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.32.0 \ No newline at end of file +1.33.0 \ No newline at end of file diff --git a/src/rust/engine/async_semaphore/src/lib.rs b/src/rust/engine/async_semaphore/src/lib.rs index a4c8ca2c3d7..a9becedc8b7 100644 --- a/src/rust/engine/async_semaphore/src/lib.rs +++ b/src/rust/engine/async_semaphore/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/boxfuture/src/lib.rs b/src/rust/engine/boxfuture/src/lib.rs index b64f5168c1e..12c72cd95d0 100644 --- a/src/rust/engine/boxfuture/src/lib.rs +++ b/src/rust/engine/boxfuture/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/build_utils/src/lib.rs b/src/rust/engine/build_utils/src/lib.rs index 63c8ee43c33..5862c3df688 100644 --- a/src/rust/engine/build_utils/src/lib.rs +++ b/src/rust/engine/build_utils/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/fs/brfs/src/main.rs b/src/rust/engine/fs/brfs/src/main.rs index c01c372c217..76f48d87159 100644 --- a/src/rust/engine/fs/brfs/src/main.rs +++ b/src/rust/engine/fs/brfs/src/main.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/fs/fs_util/src/main.rs b/src/rust/engine/fs/fs_util/src/main.rs index 3ed1c877674..19b60be8243 100644 --- a/src/rust/engine/fs/fs_util/src/main.rs +++ b/src/rust/engine/fs/fs_util/src/main.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/fs/src/lib.rs b/src/rust/engine/fs/src/lib.rs index e3e0162c0df..2a818ebc22e 100644 --- a/src/rust/engine/fs/src/lib.rs +++ b/src/rust/engine/fs/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/graph/src/lib.rs b/src/rust/engine/graph/src/lib.rs index 497c1c13db8..460c68f379c 100644 --- a/src/rust/engine/graph/src/lib.rs +++ b/src/rust/engine/graph/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/hashing/src/lib.rs b/src/rust/engine/hashing/src/lib.rs index 5c3c8d07036..0e809886d1e 100644 --- a/src/rust/engine/hashing/src/lib.rs +++ b/src/rust/engine/hashing/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/process_execution/src/lib.rs b/src/rust/engine/process_execution/src/lib.rs index 7f112be705e..e1445185315 100644 --- a/src/rust/engine/process_execution/src/lib.rs +++ b/src/rust/engine/process_execution/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/process_executor/src/main.rs b/src/rust/engine/process_executor/src/main.rs index 4946381b05f..eefe6e965b5 100644 --- a/src/rust/engine/process_executor/src/main.rs +++ b/src/rust/engine/process_executor/src/main.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/resettable/src/lib.rs b/src/rust/engine/resettable/src/lib.rs index a05d990a477..53945e0ea89 100644 --- a/src/rust/engine/resettable/src/lib.rs +++ b/src/rust/engine/resettable/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/serverset/src/lib.rs b/src/rust/engine/serverset/src/lib.rs index 0594a459a4f..42a86aabf92 100644 --- a/src/rust/engine/serverset/src/lib.rs +++ b/src/rust/engine/serverset/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/src/cffi_build.rs b/src/rust/engine/src/cffi_build.rs index c5c4d0c1fd6..09e11b77932 100644 --- a/src/rust/engine/src/cffi_build.rs +++ b/src/rust/engine/src/cffi_build.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/src/lib.rs b/src/rust/engine/src/lib.rs index e4d092dd5b6..9aacd3f2ac9 100644 --- a/src/rust/engine/src/lib.rs +++ b/src/rust/engine/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] // We only use unsafe pointer derefrences in our no_mangle exposed API, but it is nicer to list diff --git a/src/rust/engine/tar_api/src/tar_api.rs b/src/rust/engine/tar_api/src/tar_api.rs index 532c54227a4..719aaf63ae9 100644 --- a/src/rust/engine/tar_api/src/tar_api.rs +++ b/src/rust/engine/tar_api/src/tar_api.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/testutil/local_cas/src/main.rs b/src/rust/engine/testutil/local_cas/src/main.rs index c223d696abf..a403ba3d09a 100644 --- a/src/rust/engine/testutil/local_cas/src/main.rs +++ b/src/rust/engine/testutil/local_cas/src/main.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/testutil/mock/src/lib.rs b/src/rust/engine/testutil/mock/src/lib.rs index f35e8e1129b..ef1e6ba064a 100644 --- a/src/rust/engine/testutil/mock/src/lib.rs +++ b/src/rust/engine/testutil/mock/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/testutil/src/lib.rs b/src/rust/engine/testutil/src/lib.rs index 25688f842c5..a6c2a328a57 100644 --- a/src/rust/engine/testutil/src/lib.rs +++ b/src/rust/engine/testutil/src/lib.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/ui/src/display.rs b/src/rust/engine/ui/src/display.rs index 8ca3e73c33b..4d726804a5e 100644 --- a/src/rust/engine/ui/src/display.rs +++ b/src/rust/engine/ui/src/display.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)] diff --git a/src/rust/engine/ui/src/main.rs b/src/rust/engine/ui/src/main.rs index 3fe13ffc105..70282186af5 100644 --- a/src/rust/engine/ui/src/main.rs +++ b/src/rust/engine/ui/src/main.rs @@ -22,11 +22,7 @@ clippy::too_many_arguments )] // Default isn't as big a deal as people seem to think it is. -#![allow( - clippy::new_without_default, - clippy::new_without_default_derive, - clippy::new_ret_no_self -)] +#![allow(clippy::new_without_default, clippy::new_ret_no_self)] // Arc can be more clear than needing to grok Orderings: #![allow(clippy::mutex_atomic)]