[INFO] fetching crate skylane 0.1.2... [INFO] testing skylane-0.1.2 against 1.59.0 for beta-1.60-1 [INFO] extracting crate skylane 0.1.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate skylane 0.1.2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccb4439e99f7eaea0f20cf156b44c0b47d78c3305434b8f657dd650323be4c91 [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" "ccb4439e99f7eaea0f20cf156b44c0b47d78c3305434b8f657dd650323be4c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccb4439e99f7eaea0f20cf156b44c0b47d78c3305434b8f657dd650323be4c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb4439e99f7eaea0f20cf156b44c0b47d78c3305434b8f657dd650323be4c91", kill_on_drop: false }` [INFO] [stdout] ccb4439e99f7eaea0f20cf156b44c0b47d78c3305434b8f657dd650323be4c91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--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] 265170188ab05f9dffae4434cc7e762a961e0f11ec261134c7c397e028d806e5 [INFO] running `Command { std: "docker" "start" "-a" "265170188ab05f9dffae4434cc7e762a961e0f11ec261134c7c397e028d806e5", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v0.7.0 [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 3.64s [INFO] running `Command { std: "docker" "inspect" "265170188ab05f9dffae4434cc7e762a961e0f11ec261134c7c397e028d806e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265170188ab05f9dffae4434cc7e762a961e0f11ec261134c7c397e028d806e5", kill_on_drop: false }` [INFO] [stdout] 265170188ab05f9dffae4434cc7e762a961e0f11ec261134c7c397e028d806e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.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] bde8bcc37041c9df4047af0c785ca52a49a0378e03a0330312f53863b135a295 [INFO] running `Command { std: "docker" "start" "-a" "bde8bcc37041c9df4047af0c785ca52a49a0378e03a0330312f53863b135a295", 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] [stderr] Compiling skylane v0.1.2 (/opt/rustwide/workdir) [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] [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 0.82s [INFO] running `Command { std: "docker" "inspect" "bde8bcc37041c9df4047af0c785ca52a49a0378e03a0330312f53863b135a295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde8bcc37041c9df4047af0c785ca52a49a0378e03a0330312f53863b135a295", kill_on_drop: false }` [INFO] [stdout] bde8bcc37041c9df4047af0c785ca52a49a0378e03a0330312f53863b135a295 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a840ce571f1a76689db9ba93c0db152c0a00c736cff78926262b794841d3fbb [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" "0a840ce571f1a76689db9ba93c0db152c0a00c736cff78926262b794841d3fbb", 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] [stdout] [INFO] [stderr] warning: `skylane` (lib) generated 26 warnings [INFO] [stdout] running 0 tests [INFO] [stderr] warning: `skylane` (lib test) generated 26 warnings (26 duplicates) [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/skylane-4f3127499d74ac5a) [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "0a840ce571f1a76689db9ba93c0db152c0a00c736cff78926262b794841d3fbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a840ce571f1a76689db9ba93c0db152c0a00c736cff78926262b794841d3fbb", kill_on_drop: false }` [INFO] [stdout] 0a840ce571f1a76689db9ba93c0db152c0a00c736cff78926262b794841d3fbb