[INFO] fetching crate tox 0.0.10... [INFO] checking tox-0.0.10 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate tox 0.0.10 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate tox 0.0.10 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tox 0.0.10 [INFO] finished tweaking crates.io crate tox 0.0.10 [INFO] tweaked toml for crates.io crate tox 0.0.10 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfe77888eb33388db5292253f9306cf0c59b5355ff929f64e3b16d05ab9def49 [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" "bfe77888eb33388db5292253f9306cf0c59b5355ff929f64e3b16d05ab9def49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfe77888eb33388db5292253f9306cf0c59b5355ff929f64e3b16d05ab9def49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe77888eb33388db5292253f9306cf0c59b5355ff929f64e3b16d05ab9def49", kill_on_drop: false }` [INFO] [stdout] bfe77888eb33388db5292253f9306cf0c59b5355ff929f64e3b16d05ab9def49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c46ecb6707701a90909d5c0ae443c9dbfeabc243e604645d84be2e739d16685 [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" "7c46ecb6707701a90909d5c0ae443c9dbfeabc243e604645d84be2e739d16685", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking cookie-factory v0.2.4 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking libc v0.2.79 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking lru v0.1.17 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking sodiumoxide v0.2.6 [INFO] [stderr] Checking tox v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/io_tokio.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub type IoFuture = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/io_tokio.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub type IoStream = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/tcp/server/server_ext.rs:113:112 [INFO] [stdout] | [INFO] [stdout] 113 | ...-> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/tcp/server/server_ext.rs:115:94 [INFO] [stdout] | [INFO] [stdout] 115 | ...> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/tcp/server/server_ext.rs:119:112 [INFO] [stdout] | [INFO] [stdout] 119 | ...-> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/tcp/server/server_ext.rs:164:94 [INFO] [stdout] | [INFO] [stdout] 164 | ...> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/packet/errors.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/codec.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / error_kind! { [INFO] [stdout] 20 | | #[doc = "Error that can happen when decoding `Packet` from bytes."] [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | DecodeError, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/codec.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / error_kind! { [INFO] [stdout] 69 | | #[doc = "Error that can happen when encoding `Packet` to bytes."] [INFO] [stdout] 70 | | #[derive(Debug)] [INFO] [stdout] 71 | | EncodeError, [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/server/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_kind! { [INFO] [stdout] 7 | | #[doc = "Error that can happen when calling `handle_*` of packet."] [INFO] [stdout] 8 | | #[derive(Debug)] [INFO] [stdout] 9 | | HandlePacketError, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/server/errors.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / error_kind! { [INFO] [stdout] 57 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stdout] 58 | | #[derive(Debug)] [INFO] [stdout] 59 | | RunError, [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/server/errors.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / error_kind! { [INFO] [stdout] 73 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stdout] 74 | | #[derive(Debug)] [INFO] [stdout] 75 | | PingError, [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/server/mod.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | motd_cb: Arc Vec + Send + Sync>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Server) -> Vec + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/server/mod.rs:1420:69 [INFO] [stdout] | [INFO] [stdout] 1420 | pub fn set_bootstrap_info(&mut self, version: u32, motd_cb: Box Vec + Send + Sync>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Server) -> Vec + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/daemon_state.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_kind! { [INFO] [stdout] 21 | | #[doc = "An error that can occur while serializing/deserializing object."] [INFO] [stdout] 22 | | #[derive(Debug)] [INFO] [stdout] 23 | | DeserializeError, [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/lan_discovery.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / error_kind! { [INFO] [stdout] 20 | | #[doc = "Error that can happen during lan discovery."] [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | LanDiscoveryError, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/server_ext.rs:19:101 [INFO] [stdout] | [INFO] [stdout] 19 | ...: Stats) -> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/server_ext.rs:23:101 [INFO] [stdout] | [INFO] [stdout] 23 | ...: Stats) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/onion/client/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_kind! { [INFO] [stdout] 2 | | #[doc = "Error that can happen when handling `OnionAnnounceResponse` packet."] [INFO] [stdout] 3 | | #[derive(Debug)] [INFO] [stdout] 4 | | HandleAnnounceResponseError, [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/onion/client/errors.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_kind! { [INFO] [stdout] 27 | | #[doc = "Error that can happen when handling `DhtPkAnnounce` packet."] [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | HandleDhtPkAnnounceError, [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/onion/client/errors.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / error_kind! { [INFO] [stdout] 52 | | #[doc = "Error that can happen when handling `OnionDataResponse` packet."] [INFO] [stdout] 53 | | #[derive(Debug)] [INFO] [stdout] 54 | | HandleDataResponseError, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/onion/client/errors.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / error_kind! { [INFO] [stdout] 71 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stdout] 72 | | #[derive(Debug)] [INFO] [stdout] 73 | | RunError, [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_kind! { [INFO] [stdout] 10 | | #[doc = "Error that can happen while processing packets array"] [INFO] [stdout] 11 | | #[derive(Debug)] [INFO] [stdout] 12 | | PacketsArrayError, [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / error_kind! { [INFO] [stdout] 65 | | #[doc = "Error that can happen when calling `handle_*` of packet."] [INFO] [stdout] 66 | | #[derive(Debug)] [INFO] [stdout] 67 | | HandlePacketError, [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / error_kind! { [INFO] [stdout] 158 | | #[doc = "Error that can happen while processing packets array."] [INFO] [stdout] 159 | | #[derive(Debug)] [INFO] [stdout] 160 | | SendDataError, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / error_kind! { [INFO] [stdout] 174 | | #[doc = "Error that can happen when calling `run`."] [INFO] [stdout] 175 | | #[derive(Debug)] [INFO] [stdout] 176 | | RunError, [INFO] [stdout] ... | [INFO] [stdout] 186 | | } [INFO] [stdout] 187 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / error_kind! { [INFO] [stdout] 190 | | #[doc = "Error that can happen during a lossless packet sending."] [INFO] [stdout] 191 | | #[derive(Debug)] [INFO] [stdout] 192 | | SendLosslessPacketError, [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | / error_kind! { [INFO] [stdout] 212 | | #[doc = "Error that can happen during a lossless packet sending."] [INFO] [stdout] 213 | | #[derive(Debug)] [INFO] [stdout] 214 | | KillConnectionError, [INFO] [stdout] ... | [INFO] [stdout] 224 | | } [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/toxcore/binary_io.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / named!(from_bytes, map!(count_fixed!(u8, le_u8, 4), [INFO] [stdout] 37 | | |v| Ipv4Addr::new(v[0], v[1], v[2], v[3]) [INFO] [stdout] 38 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/toxcore/binary_io.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / named!(from_bytes, map!(count_fixed!(u16, le_u16, 8), [INFO] [stdout] 55 | | |v| Ipv6Addr::new(v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7]) [INFO] [stdout] 56 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] ... [INFO] [stdout] 59 | / error_kind! { [INFO] [stdout] 60 | | #[derive(Debug)] [INFO] [stdout] 61 | | TestError, [INFO] [stdout] 62 | | #[derive(Clone, Debug, Eq, PartialEq, Fail)] [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/io_tokio.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub type IoFuture = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/io_tokio.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub type IoStream = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/toxcore/toxid.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | if let b'A' ... b'F' = b { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/toxcore/toxid.rs:311:32 [INFO] [stdout] | [INFO] [stdout] 311 | } else if let b'0' ... b'9' = b { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/tcp/server/server_ext.rs:113:112 [INFO] [stdout] | [INFO] [stdout] 113 | ...-> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/tcp/server/server_ext.rs:115:94 [INFO] [stdout] | [INFO] [stdout] 115 | ...> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/tcp/server/server_ext.rs:119:112 [INFO] [stdout] | [INFO] [stdout] 119 | ...-> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/tcp/server/server_ext.rs:164:94 [INFO] [stdout] | [INFO] [stdout] 164 | ...> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/packet/errors.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/codec.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / error_kind! { [INFO] [stdout] 20 | | #[doc = "Error that can happen when decoding `Packet` from bytes."] [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | DecodeError, [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/codec.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / error_kind! { [INFO] [stdout] 69 | | #[doc = "Error that can happen when encoding `Packet` to bytes."] [INFO] [stdout] 70 | | #[derive(Debug)] [INFO] [stdout] 71 | | EncodeError, [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/server/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_kind! { [INFO] [stdout] 7 | | #[doc = "Error that can happen when calling `handle_*` of packet."] [INFO] [stdout] 8 | | #[derive(Debug)] [INFO] [stdout] 9 | | HandlePacketError, [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/server/errors.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / error_kind! { [INFO] [stdout] 57 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stdout] 58 | | #[derive(Debug)] [INFO] [stdout] 59 | | RunError, [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/server/errors.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / error_kind! { [INFO] [stdout] 73 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stdout] 74 | | #[derive(Debug)] [INFO] [stdout] 75 | | PingError, [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/server/mod.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | motd_cb: Arc Vec + Send + Sync>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Server) -> Vec + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/server/mod.rs:1420:69 [INFO] [stdout] | [INFO] [stdout] 1420 | pub fn set_bootstrap_info(&mut self, version: u32, motd_cb: Box Vec + Send + Sync>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Server) -> Vec + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/daemon_state.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_kind! { [INFO] [stdout] 21 | | #[doc = "An error that can occur while serializing/deserializing object."] [INFO] [stdout] 22 | | #[derive(Debug)] [INFO] [stdout] 23 | | DeserializeError, [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/dht/lan_discovery.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / error_kind! { [INFO] [stdout] 20 | | #[doc = "Error that can happen during lan discovery."] [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | LanDiscoveryError, [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/server_ext.rs:19:101 [INFO] [stdout] | [INFO] [stdout] 19 | ...: Stats) -> Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/dht/server_ext.rs:23:101 [INFO] [stdout] | [INFO] [stdout] 23 | ...: Stats) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/onion/client/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_kind! { [INFO] [stdout] 2 | | #[doc = "Error that can happen when handling `OnionAnnounceResponse` packet."] [INFO] [stdout] 3 | | #[derive(Debug)] [INFO] [stdout] 4 | | HandleAnnounceResponseError, [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/onion/client/errors.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_kind! { [INFO] [stdout] 27 | | #[doc = "Error that can happen when handling `DhtPkAnnounce` packet."] [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | HandleDhtPkAnnounceError, [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/onion/client/errors.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / error_kind! { [INFO] [stdout] 52 | | #[doc = "Error that can happen when handling `OnionDataResponse` packet."] [INFO] [stdout] 53 | | #[derive(Debug)] [INFO] [stdout] 54 | | HandleDataResponseError, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/onion/client/errors.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / error_kind! { [INFO] [stdout] 71 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stdout] 72 | | #[derive(Debug)] [INFO] [stdout] 73 | | RunError, [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_kind! { [INFO] [stdout] 10 | | #[doc = "Error that can happen while processing packets array"] [INFO] [stdout] 11 | | #[derive(Debug)] [INFO] [stdout] 12 | | PacketsArrayError, [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / error_kind! { [INFO] [stdout] 65 | | #[doc = "Error that can happen when calling `handle_*` of packet."] [INFO] [stdout] 66 | | #[derive(Debug)] [INFO] [stdout] 67 | | HandlePacketError, [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / error_kind! { [INFO] [stdout] 158 | | #[doc = "Error that can happen while processing packets array."] [INFO] [stdout] 159 | | #[derive(Debug)] [INFO] [stdout] 160 | | SendDataError, [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / error_kind! { [INFO] [stdout] 174 | | #[doc = "Error that can happen when calling `run`."] [INFO] [stdout] 175 | | #[derive(Debug)] [INFO] [stdout] 176 | | RunError, [INFO] [stdout] ... | [INFO] [stdout] 186 | | } [INFO] [stdout] 187 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / error_kind! { [INFO] [stdout] 190 | | #[doc = "Error that can happen during a lossless packet sending."] [INFO] [stdout] 191 | | #[derive(Debug)] [INFO] [stdout] 192 | | SendLosslessPacketError, [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/error.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stdout] | [INFO] [stdout] ::: src/toxcore/net_crypto/errors.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | / error_kind! { [INFO] [stdout] 212 | | #[doc = "Error that can happen during a lossless packet sending."] [INFO] [stdout] 213 | | #[derive(Debug)] [INFO] [stdout] 214 | | KillConnectionError, [INFO] [stdout] ... | [INFO] [stdout] 224 | | } [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/toxencryptsave_tests/encryptsave_tests.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(!is_encrypted(b"Hello world.\n"));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/toxcore/binary_io.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / named!(from_bytes, map!(count_fixed!(u8, le_u8, 4), [INFO] [stdout] 37 | | |v| Ipv4Addr::new(v[0], v[1], v[2], v[3]) [INFO] [stdout] 38 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/toxcore/binary_io.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / named!(from_bytes, map!(count_fixed!(u16, le_u16, 8), [INFO] [stdout] 55 | | |v| Ipv6Addr::new(v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7]) [INFO] [stdout] 56 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> examples/tcp_client.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | });; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/toxcore/tcp/client/connections.rs:907:9 [INFO] [stdout] | [INFO] [stdout] 907 | relay_1.add_connection(node_pk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/toxcore/tcp/client/connections.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | relay_2.add_connection(node_pk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures::Future` that must be used [INFO] [stdout] --> src/toxcore/tcp/client/connections.rs:909:9 [INFO] [stdout] | [INFO] [stdout] 909 | relay_3.add_connection(node_pk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 37s [INFO] running `Command { std: "docker" "inspect" "7c46ecb6707701a90909d5c0ae443c9dbfeabc243e604645d84be2e739d16685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c46ecb6707701a90909d5c0ae443c9dbfeabc243e604645d84be2e739d16685", kill_on_drop: false }` [INFO] [stdout] 7c46ecb6707701a90909d5c0ae443c9dbfeabc243e604645d84be2e739d16685