Update language levels, fix erlang and rust in CI
- Include rebar3 in docker image so erlang builds in CI
- Include the correct path in docker image so rust builds in CI
- Updated common lisp (sbcl) to 1.5.3 in docker image
- Updated dlang to 2.087.0 in docker image
- Updated dart to 2.0.0 in xenial docker image
- Updated dart to 2.4.0 in bionic docker image
- Updated erlang to 22.0 in docker image
- Updated openjdk to 11.0.3 in docker image
- Updated node.js to 10.16 in docker image
- Updated rust to 1.34.0 in xenial docker image
- Updated rust to 1.35.0 in bionic docker image
THRIFT-4905: Disable hanging experimental dlang async ssl test
diff --git a/lib/rs/Cargo.toml b/lib/rs/Cargo.toml
index bad2a38..69da0f3 100644
--- a/lib/rs/Cargo.toml
+++ b/lib/rs/Cargo.toml
@@ -11,8 +11,8 @@
keywords = ["thrift"]
[dependencies]
-ordered-float = "0.5"
-byteorder = "1"
-integer-encoding = "1"
+ordered-float = "1.0"
+byteorder = "1.3"
+integer-encoding = "1.0"
log = "0.4"
threadpool = "1.7"
diff --git a/lib/rs/src/errors.rs b/lib/rs/src/errors.rs
index 6fb1aee..13be1ee 100644
--- a/lib/rs/src/errors.rs
+++ b/lib/rs/src/errors.rs
@@ -58,7 +58,6 @@
/// Create a `TransportError`.
///
/// ```
-/// use thrift;
/// use thrift::{TransportError, TransportErrorKind};
///
/// // explicit
@@ -104,7 +103,6 @@
/// Create an error from a string.
///
/// ```
-/// use thrift;
/// use thrift::{ApplicationError, ApplicationErrorKind};
///
/// // we just use `From::from` to convert a `String` into a `thrift::Error`
@@ -134,7 +132,6 @@
/// ```
///
/// ```
-/// use std::convert::From;
/// use std::error::Error;
/// use std::fmt;
/// use std::fmt::{Display, Formatter};
diff --git a/lib/rs/src/protocol/stored.rs b/lib/rs/src/protocol/stored.rs
index 8c55978..4fe465f 100644
--- a/lib/rs/src/protocol/stored.rs
+++ b/lib/rs/src/protocol/stored.rs
@@ -42,7 +42,6 @@
/// Create and use a `TStoredInputProtocol`.
///
/// ```no_run
-/// use thrift;
/// use thrift::protocol::{TInputProtocol, TMessageIdentifier, TMessageType, TOutputProtocol};
/// use thrift::protocol::{TBinaryInputProtocol, TBinaryOutputProtocol, TStoredInputProtocol};
/// use thrift::server::TProcessor;
diff --git a/lib/rs/src/server/mod.rs b/lib/rs/src/server/mod.rs
index 70b381a..3d42891 100644
--- a/lib/rs/src/server/mod.rs
+++ b/lib/rs/src/server/mod.rs
@@ -39,7 +39,6 @@
/// a Thrift service `SimpleService`.
///
/// ```no_run
-/// use thrift;
/// use thrift::protocol::{TInputProtocol, TOutputProtocol};
/// use thrift::server::TProcessor;
///
diff --git a/lib/rs/src/server/threaded.rs b/lib/rs/src/server/threaded.rs
index 8139a4e..e15a25a 100644
--- a/lib/rs/src/server/threaded.rs
+++ b/lib/rs/src/server/threaded.rs
@@ -43,7 +43,6 @@
/// service code.
///
/// ```no_run
-/// use thrift;
/// use thrift::protocol::{TInputProtocolFactory, TOutputProtocolFactory};
/// use thrift::protocol::{TBinaryInputProtocolFactory, TBinaryOutputProtocolFactory};
/// use thrift::protocol::{TInputProtocol, TOutputProtocol};
diff --git a/lib/rs/test/Cargo.toml b/lib/rs/test/Cargo.toml
index 50dec19..dc4ffe3 100644
--- a/lib/rs/test/Cargo.toml
+++ b/lib/rs/test/Cargo.toml
@@ -7,8 +7,8 @@
[dependencies]
clap = "<2.28.0"
-ordered-float = "0.3.0"
-try_from = "0.2.0"
+ordered-float = "1.0"
+try_from = "0.3"
[dependencies.thrift]
path = "../"