[INFO] fetching crate skylane 0.1.2... [INFO] testing skylane-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate skylane 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate skylane 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate skylane 0.1.2 [INFO] finished tweaking crates.io crate skylane 0.1.2 [INFO] tweaked toml for crates.io crate skylane 0.1.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d9ffd9d2eb149617c1c59178d2a600fe72ee2b7df9b970eede0594a4e7730c97 [INFO] running `Command { std: "docker" "start" "-a" "d9ffd9d2eb149617c1c59178d2a600fe72ee2b7df9b970eede0594a4e7730c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ffd9d2eb149617c1c59178d2a600fe72ee2b7df9b970eede0594a4e7730c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ffd9d2eb149617c1c59178d2a600fe72ee2b7df9b970eede0594a4e7730c97", kill_on_drop: false }` [INFO] [stdout] d9ffd9d2eb149617c1c59178d2a600fe72ee2b7df9b970eede0594a4e7730c97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66cca584d30625971def9b174957c24901d07c76b013d1eaf264cb6ad94c4ce7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "66cca584d30625971def9b174957c24901d07c76b013d1eaf264cb6ad94c4ce7", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.8.1 [INFO] [stderr] Compiling skylane v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sockets.rs:161:69 [INFO] [stdout] | [INFO] [stdout] 161 | let cmsgs: [socket::ControlMessage; 0] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/defs.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 - object: Box, [INFO] [stdout] 115 + object: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | objects: Rc>>>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - objects: Rc>>>>>, [INFO] [stdout] 34 + objects: Rc>>>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:124:73 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] 124 + fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 86 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:91:58 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 91 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:98:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 98 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:142:73 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] 142 + fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 67 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:74:58 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 74 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 81 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 136 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 143 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:150:58 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 150 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | SkylaneError::IO { description: error.description().to_owned() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | SkylaneError::Socket { description: error.description().to_owned() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | SkylaneError::Other(error.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | let sockfd = try_sock!("Creating", [INFO] [stdout] | ______________________- [INFO] [stdout] 82 | | path, [INFO] [stdout] 83 | | socket::socket(socket::AddressFamily::Unix, [INFO] [stdout] 84 | | socket::SockType::Stream, [INFO] [stdout] 85 | | socket::SOCK_CLOEXEC, [INFO] [stdout] 86 | | 0)); [INFO] [stdout] | |_________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | let unix_addr = try_sock!("Linking", path, socket::UnixAddr::new(path)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | try_sock!("Connecting", path, socket::connect(sockfd, &sock_addr)); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | let sockfd = try_sock!("Creating", [INFO] [stdout] | ______________________- [INFO] [stdout] 211 | | path, [INFO] [stdout] 212 | | socket::socket(socket::AddressFamily::Unix, [INFO] [stdout] 213 | | socket::SockType::Stream, [INFO] [stdout] 214 | | socket::SOCK_CLOEXEC, [INFO] [stdout] 215 | | 0)); [INFO] [stdout] | |_________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | let unix_addr = try_sock!("Linking", path, socket::UnixAddr::new(path)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | try_sock!("Binding", path, socket::bind(sockfd, &sock_addr)); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | try_sock!("Listening", path, socket::listen(sockfd, 128)); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | mut bytes_buf: &mut Cursor<&[u8]>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | mut fds_buf: &mut Cursor<&[u8]>) [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.26s [INFO] running `Command { std: "docker" "inspect" "66cca584d30625971def9b174957c24901d07c76b013d1eaf264cb6ad94c4ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66cca584d30625971def9b174957c24901d07c76b013d1eaf264cb6ad94c4ce7", kill_on_drop: false }` [INFO] [stdout] 66cca584d30625971def9b174957c24901d07c76b013d1eaf264cb6ad94c4ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 107a8fb3e4abeabeb4a647dbb77b2a995254393824d20d6901e97e1922954aaa [INFO] running `Command { std: "docker" "start" "-a" "107a8fb3e4abeabeb4a647dbb77b2a995254393824d20d6901e97e1922954aaa", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sockets.rs:161:69 [INFO] [stdout] | [INFO] [stdout] 161 | let cmsgs: [socket::ControlMessage; 0] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/defs.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 - object: Box, [INFO] [stdout] 115 + object: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | objects: Rc>>>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - objects: Rc>>>>>, [INFO] [stdout] 34 + objects: Rc>>>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:124:73 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] 124 + fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 86 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:91:58 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 91 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:98:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 98 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:142:73 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] 142 + fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 67 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:74:58 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 74 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 81 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 136 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 143 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:150:58 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 150 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | SkylaneError::IO { description: error.description().to_owned() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | SkylaneError::Socket { description: error.description().to_owned() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | SkylaneError::Other(error.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | let sockfd = try_sock!("Creating", [INFO] [stdout] | ______________________- [INFO] [stdout] 82 | | path, [INFO] [stdout] 83 | | socket::socket(socket::AddressFamily::Unix, [INFO] [stdout] 84 | | socket::SockType::Stream, [INFO] [stdout] 85 | | socket::SOCK_CLOEXEC, [INFO] [stdout] 86 | | 0)); [INFO] [stdout] | |_________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | let unix_addr = try_sock!("Linking", path, socket::UnixAddr::new(path)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | try_sock!("Connecting", path, socket::connect(sockfd, &sock_addr)); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | let sockfd = try_sock!("Creating", [INFO] [stdout] | ______________________- [INFO] [stdout] 211 | | path, [INFO] [stdout] 212 | | socket::socket(socket::AddressFamily::Unix, [INFO] [stdout] 213 | | socket::SockType::Stream, [INFO] [stdout] 214 | | socket::SOCK_CLOEXEC, [INFO] [stdout] 215 | | 0)); [INFO] [stdout] | |_________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling skylane v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | let unix_addr = try_sock!("Linking", path, socket::UnixAddr::new(path)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | try_sock!("Binding", path, socket::bind(sockfd, &sock_addr)); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | try_sock!("Listening", path, socket::listen(sockfd, 128)); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | mut bytes_buf: &mut Cursor<&[u8]>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | mut fds_buf: &mut Cursor<&[u8]>) [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sockets.rs:161:69 [INFO] [stdout] | [INFO] [stdout] 161 | let cmsgs: [socket::ControlMessage; 0] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/defs.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 - object: Box, [INFO] [stdout] 115 + object: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | objects: Rc>>>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - objects: Rc>>>>>, [INFO] [stdout] 34 + objects: Rc>>>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:124:73 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] 124 + fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 86 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:91:58 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 91 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:98:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 98 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bundle.rs:142:73 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] 142 + fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 67 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:74:58 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 74 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 81 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] 136 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 143 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection.rs:150:58 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] 150 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | SkylaneError::IO { description: error.description().to_owned() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | SkylaneError::Socket { description: error.description().to_owned() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/defs.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | SkylaneError::Other(error.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | let sockfd = try_sock!("Creating", [INFO] [stdout] | ______________________- [INFO] [stdout] 82 | | path, [INFO] [stdout] 83 | | socket::socket(socket::AddressFamily::Unix, [INFO] [stdout] 84 | | socket::SockType::Stream, [INFO] [stdout] 85 | | socket::SOCK_CLOEXEC, [INFO] [stdout] 86 | | 0)); [INFO] [stdout] | |_________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | let unix_addr = try_sock!("Linking", path, socket::UnixAddr::new(path)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | try_sock!("Connecting", path, socket::connect(sockfd, &sock_addr)); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | let sockfd = try_sock!("Creating", [INFO] [stdout] | ______________________- [INFO] [stdout] 211 | | path, [INFO] [stdout] 212 | | socket::socket(socket::AddressFamily::Unix, [INFO] [stdout] 213 | | socket::SockType::Stream, [INFO] [stdout] 214 | | socket::SOCK_CLOEXEC, [INFO] [stdout] 215 | | 0)); [INFO] [stdout] | |_________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | let unix_addr = try_sock!("Linking", path, socket::UnixAddr::new(path)); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | try_sock!("Binding", path, socket::bind(sockfd, &sock_addr)); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sockets.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | try_sock!("Listening", path, socket::listen(sockfd, 128)); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | mut bytes_buf: &mut Cursor<&[u8]>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | mut fds_buf: &mut Cursor<&[u8]>) [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "107a8fb3e4abeabeb4a647dbb77b2a995254393824d20d6901e97e1922954aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107a8fb3e4abeabeb4a647dbb77b2a995254393824d20d6901e97e1922954aaa", kill_on_drop: false }` [INFO] [stdout] 107a8fb3e4abeabeb4a647dbb77b2a995254393824d20d6901e97e1922954aaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b22423bfc6c3ab81eaf091a03299b5c59eb567018e2b36269a6483941bde8106 [INFO] running `Command { std: "docker" "start" "-a" "b22423bfc6c3ab81eaf091a03299b5c59eb567018e2b36269a6483941bde8106", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/sockets.rs:161:69 [INFO] [stderr] | [INFO] [stderr] 161 | let cmsgs: [socket::ControlMessage; 0] = unsafe { std::mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/defs.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 115 | object: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 115 - object: Box, [INFO] [stderr] 115 + object: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bundle.rs:34:58 [INFO] [stderr] | [INFO] [stderr] 34 | objects: Rc>>>>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - objects: Rc>>>>>, [INFO] [stderr] 34 + objects: Rc>>>>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bundle.rs:124:73 [INFO] [stderr] | [INFO] [stderr] 124 | fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 - fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stderr] 124 + fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bundle.rs:86:60 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 86 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] 86 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bundle.rs:91:58 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 91 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] 91 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bundle.rs:98:58 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] 98 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bundle.rs:142:73 [INFO] [stderr] | [INFO] [stderr] 142 | fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 142 - fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stderr] 142 + fn get_handler(&self, object_id: ObjectId) -> Result>>, SkylaneError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/connection.rs:67:60 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] 67 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/connection.rs:74:58 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] 74 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/connection.rs:81:58 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 81 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] 81 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/connection.rs:136:60 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 136 - pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] 136 + pub fn add_object(&mut self, id: ObjectId, object: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/connection.rs:143:58 [INFO] [stderr] | [INFO] [stderr] 143 | pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 143 - pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] 143 + pub fn add_next_client_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/connection.rs:150:58 [INFO] [stderr] | [INFO] [stderr] 150 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 150 - pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] 150 + pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/defs.rs:66:47 [INFO] [stderr] | [INFO] [stderr] 66 | SkylaneError::IO { description: error.description().to_owned() } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/defs.rs:72:51 [INFO] [stderr] | [INFO] [stderr] 72 | SkylaneError::Socket { description: error.description().to_owned() } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/defs.rs:78:35 [INFO] [stderr] | [INFO] [stderr] 78 | SkylaneError::Other(error.description().to_owned()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/sockets.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | let sockfd = try_sock!("Creating", [INFO] [stderr] | ______________________- [INFO] [stderr] 82 | | path, [INFO] [stderr] 83 | | socket::socket(socket::AddressFamily::Unix, [INFO] [stderr] 84 | | socket::SockType::Stream, [INFO] [stderr] 85 | | socket::SOCK_CLOEXEC, [INFO] [stderr] 86 | | 0)); [INFO] [stderr] | |_________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/sockets.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | let unix_addr = try_sock!("Linking", path, socket::UnixAddr::new(path)); [INFO] [stderr] | ------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/sockets.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | try_sock!("Connecting", path, socket::connect(sockfd, &sock_addr)); [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/sockets.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 210 | let sockfd = try_sock!("Creating", [INFO] [stderr] | ______________________- [INFO] [stderr] 211 | | path, [INFO] [stderr] 212 | | socket::socket(socket::AddressFamily::Unix, [INFO] [stderr] 213 | | socket::SockType::Stream, [INFO] [stderr] 214 | | socket::SOCK_CLOEXEC, [INFO] [stderr] 215 | | 0)); [INFO] [stderr] | |_________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/sockets.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 217 | let unix_addr = try_sock!("Linking", path, socket::UnixAddr::new(path)); [INFO] [stderr] | ------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/sockets.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 219 | try_sock!("Binding", path, socket::bind(sockfd, &sock_addr)); [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/sockets.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | format!("{} {:?}: {:?}", $action, $path, err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 220 | try_sock!("Listening", path, socket::listen(sockfd, 128)); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_sock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/connection.rs:201:22 [INFO] [stderr] | [INFO] [stderr] 201 | mut bytes_buf: &mut Cursor<&[u8]>, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/connection.rs:202:22 [INFO] [stderr] | [INFO] [stderr] 202 | mut fds_buf: &mut Cursor<&[u8]>) [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `skylane` (lib) generated 26 warnings [INFO] [stderr] warning: `skylane` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/skylane-3bc6ca380d46f986) [INFO] [stderr] Doc-tests skylane [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b22423bfc6c3ab81eaf091a03299b5c59eb567018e2b36269a6483941bde8106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22423bfc6c3ab81eaf091a03299b5c59eb567018e2b36269a6483941bde8106", kill_on_drop: false }` [INFO] [stdout] b22423bfc6c3ab81eaf091a03299b5c59eb567018e2b36269a6483941bde8106