THRIFT-5741: use rust 1.65 (#2870)
* use rust 1.65
* fix clippy
* fix alert
* fix protocol
* fix one more dereference
* fix more lint
* fix over-fix
* fix match &*server_type {
diff --git a/build/docker/ubuntu-bionic/Dockerfile b/build/docker/ubuntu-bionic/Dockerfile
index 57a8aee..00c7de3 100644
--- a/build/docker/ubuntu-bionic/Dockerfile
+++ b/build/docker/ubuntu-bionic/Dockerfile
@@ -254,7 +254,7 @@
ruby-bundler
# Rust dependencies
-RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
+RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
ENV PATH /root/.cargo/bin:$PATH
# Swift on Linux for cross tests