[INFO] fetching crate skylane 0.1.2... [INFO] testing skylane-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate skylane 0.1.2 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate skylane 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding nix v0.8.1 (available: v0.30.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded nix v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae35da56c61a0b0d7c496feb9b09ce910ce6667dbcc4913ec43b73496a02f47b [INFO] running `Command { std: "docker" "start" "-a" "ae35da56c61a0b0d7c496feb9b09ce910ce6667dbcc4913ec43b73496a02f47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae35da56c61a0b0d7c496feb9b09ce910ce6667dbcc4913ec43b73496a02f47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae35da56c61a0b0d7c496feb9b09ce910ce6667dbcc4913ec43b73496a02f47b", kill_on_drop: false }` [INFO] [stdout] ae35da56c61a0b0d7c496feb9b09ce910ce6667dbcc4913ec43b73496a02f47b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deda9b8a5167659e627e9951b5fc76693e56fd145c00b2169f1479f87681bd89 [INFO] running `Command { std: "docker" "start" "-a" "deda9b8a5167659e627e9951b5fc76693e56fd145c00b2169f1479f87681bd89", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling void v1.0.2 [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "deda9b8a5167659e627e9951b5fc76693e56fd145c00b2169f1479f87681bd89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deda9b8a5167659e627e9951b5fc76693e56fd145c00b2169f1479f87681bd89", kill_on_drop: false }` [INFO] [stdout] deda9b8a5167659e627e9951b5fc76693e56fd145c00b2169f1479f87681bd89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32de02bd59792c114ebe5a9cec05daa1330655226f047b9c609d06e311bf9a3f [INFO] running `Command { std: "docker" "start" "-a" "32de02bd59792c114ebe5a9cec05daa1330655226f047b9c609d06e311bf9a3f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 method `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 method `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 method `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] [stderr] Compiling skylane v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 method `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 method `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 method `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 method `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)]` (part of `#[warn(unused)]`) 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: 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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "32de02bd59792c114ebe5a9cec05daa1330655226f047b9c609d06e311bf9a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32de02bd59792c114ebe5a9cec05daa1330655226f047b9c609d06e311bf9a3f", kill_on_drop: false }` [INFO] [stdout] 32de02bd59792c114ebe5a9cec05daa1330655226f047b9c609d06e311bf9a3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce40f02b2f80135ead9393b248272cb06692077dfafba5b570157672927fb787 [INFO] running `Command { std: "docker" "start" "-a" "ce40f02b2f80135ead9393b248272cb06692077dfafba5b570157672927fb787", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 150 | pub fn add_next_server_object(&mut self, object: Box) -> ObjectId { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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)]` (part of `#[warn(unused)]`) 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 (run `cargo fix --lib -p skylane` to apply 15 suggestions) [INFO] [stderr] warning: `skylane` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/skylane-15b1846b5a2905de) [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] [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" "ce40f02b2f80135ead9393b248272cb06692077dfafba5b570157672927fb787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce40f02b2f80135ead9393b248272cb06692077dfafba5b570157672927fb787", kill_on_drop: false }` [INFO] [stdout] ce40f02b2f80135ead9393b248272cb06692077dfafba5b570157672927fb787