[INFO] crate tox 0.0.10 is already in cache [INFO] testing tox-0.0.10 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate tox 0.0.10 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate tox 0.0.10 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] fec933ea5bedd1b052a4ed4ff8b9d77437e62de8878e0db36f9e23706c3b489a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "fec933ea5bedd1b052a4ed4ff8b9d77437e62de8878e0db36f9e23706c3b489a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling lru v0.1.17 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tar v0.4.28 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling sodiumoxide v0.2.5 [INFO] [stderr] Compiling tox v0.0.10 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/io_tokio.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | pub type IoFuture = Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/io_tokio.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | pub type IoStream = Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/tcp/server/server_ext.rs:113:112 [INFO] [stderr] | [INFO] [stderr] 113 | fn run(self: Self, listner: TcpListener, dht_sk: SecretKey, stats: Stats, connections_limit: usize) -> Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/tcp/server/server_ext.rs:115:94 [INFO] [stderr] | [INFO] [stderr] 115 | fn run_connection(self: Self, stream: TcpStream, dht_sk: SecretKey, stats: Stats) -> Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/tcp/server/server_ext.rs:119:112 [INFO] [stderr] | [INFO] [stderr] 119 | fn run(self: Self, listner: TcpListener, dht_sk: SecretKey, stats: Stats, connections_limit: usize) -> Box + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/tcp/server/server_ext.rs:164:94 [INFO] [stderr] | [INFO] [stderr] 164 | fn run_connection(self: Self, stream: TcpStream, dht_sk: SecretKey, stats: Stats) -> Box + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/packet/errors.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/codec.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / error_kind! { [INFO] [stderr] 20 | | #[doc = "Error that can happen when decoding `Packet` from bytes."] [INFO] [stderr] 21 | | #[derive(Debug)] [INFO] [stderr] 22 | | DecodeError, [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] 52 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/codec.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / error_kind! { [INFO] [stderr] 69 | | #[doc = "Error that can happen when encoding `Packet` to bytes."] [INFO] [stderr] 70 | | #[derive(Debug)] [INFO] [stderr] 71 | | EncodeError, [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] 85 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/server/errors.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / error_kind! { [INFO] [stderr] 7 | | #[doc = "Error that can happen when calling `handle_*` of packet."] [INFO] [stderr] 8 | | #[derive(Debug)] [INFO] [stderr] 9 | | HandlePacketError, [INFO] [stderr] ... | [INFO] [stderr] 53 | | } [INFO] [stderr] 54 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/server/errors.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / error_kind! { [INFO] [stderr] 57 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stderr] 58 | | #[derive(Debug)] [INFO] [stderr] 59 | | RunError, [INFO] [stderr] ... | [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/server/errors.rs:72:1 [INFO] [stderr] | [INFO] [stderr] 72 | / error_kind! { [INFO] [stderr] 73 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stderr] 74 | | #[derive(Debug)] [INFO] [stderr] 75 | | PingError, [INFO] [stderr] ... | [INFO] [stderr] 82 | | } [INFO] [stderr] 83 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/server/mod.rs:83:18 [INFO] [stderr] | [INFO] [stderr] 83 | motd_cb: Arc Vec + Send + Sync>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Server) -> Vec + Send + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/server/mod.rs:1420:69 [INFO] [stderr] | [INFO] [stderr] 1420 | pub fn set_bootstrap_info(&mut self, version: u32, motd_cb: Box Vec + Send + Sync>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Server) -> Vec + Send + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/daemon_state.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / error_kind! { [INFO] [stderr] 21 | | #[doc = "An error that can occur while serializing/deserializing object."] [INFO] [stderr] 22 | | #[derive(Debug)] [INFO] [stderr] 23 | | DeserializeError, [INFO] [stderr] ... | [INFO] [stderr] 43 | | } [INFO] [stderr] 44 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/lan_discovery.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / error_kind! { [INFO] [stderr] 20 | | #[doc = "Error that can happen during lan discovery."] [INFO] [stderr] 21 | | #[derive(Debug)] [INFO] [stderr] 22 | | LanDiscoveryError, [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/server_ext.rs:19:101 [INFO] [stderr] | [INFO] [stderr] 19 | fn run_socket(self, socket: UdpSocket, rx: Receiver<(Packet, SocketAddr)>, stats: Stats) -> Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/server_ext.rs:23:101 [INFO] [stderr] | [INFO] [stderr] 23 | fn run_socket(self, socket: UdpSocket, rx: Receiver<(Packet, SocketAddr)>, stats: Stats) -> Box + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/onion/client/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_kind! { [INFO] [stderr] 2 | | #[doc = "Error that can happen when handling `OnionAnnounceResponse` packet."] [INFO] [stderr] 3 | | #[derive(Debug)] [INFO] [stderr] 4 | | HandleAnnounceResponseError, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/onion/client/errors.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / error_kind! { [INFO] [stderr] 27 | | #[doc = "Error that can happen when handling `DhtPkAnnounce` packet."] [INFO] [stderr] 28 | | #[derive(Debug)] [INFO] [stderr] 29 | | HandleDhtPkAnnounceError, [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/onion/client/errors.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | / error_kind! { [INFO] [stderr] 52 | | #[doc = "Error that can happen when handling `OnionDataResponse` packet."] [INFO] [stderr] 53 | | #[derive(Debug)] [INFO] [stderr] 54 | | HandleDataResponseError, [INFO] [stderr] ... | [INFO] [stderr] 67 | | } [INFO] [stderr] 68 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/onion/client/errors.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / error_kind! { [INFO] [stderr] 71 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stderr] 72 | | #[derive(Debug)] [INFO] [stderr] 73 | | RunError, [INFO] [stderr] ... | [INFO] [stderr] 83 | | } [INFO] [stderr] 84 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / error_kind! { [INFO] [stderr] 10 | | #[doc = "Error that can happen while processing packets array"] [INFO] [stderr] 11 | | #[derive(Debug)] [INFO] [stderr] 12 | | PacketsArrayError, [INFO] [stderr] ... | [INFO] [stderr] 43 | | } [INFO] [stderr] 44 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / error_kind! { [INFO] [stderr] 65 | | #[doc = "Error that can happen when calling `handle_*` of packet."] [INFO] [stderr] 66 | | #[derive(Debug)] [INFO] [stderr] 67 | | HandlePacketError, [INFO] [stderr] ... | [INFO] [stderr] 133 | | } [INFO] [stderr] 134 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:157:1 [INFO] [stderr] | [INFO] [stderr] 157 | / error_kind! { [INFO] [stderr] 158 | | #[doc = "Error that can happen while processing packets array."] [INFO] [stderr] 159 | | #[derive(Debug)] [INFO] [stderr] 160 | | SendDataError, [INFO] [stderr] ... | [INFO] [stderr] 170 | | } [INFO] [stderr] 171 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:173:1 [INFO] [stderr] | [INFO] [stderr] 173 | / error_kind! { [INFO] [stderr] 174 | | #[doc = "Error that can happen when calling `run`."] [INFO] [stderr] 175 | | #[derive(Debug)] [INFO] [stderr] 176 | | RunError, [INFO] [stderr] ... | [INFO] [stderr] 186 | | } [INFO] [stderr] 187 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:189:1 [INFO] [stderr] | [INFO] [stderr] 189 | / error_kind! { [INFO] [stderr] 190 | | #[doc = "Error that can happen during a lossless packet sending."] [INFO] [stderr] 191 | | #[derive(Debug)] [INFO] [stderr] 192 | | SendLosslessPacketError, [INFO] [stderr] ... | [INFO] [stderr] 208 | | } [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:211:1 [INFO] [stderr] | [INFO] [stderr] 211 | / error_kind! { [INFO] [stderr] 212 | | #[doc = "Error that can happen during a lossless packet sending."] [INFO] [stderr] 213 | | #[derive(Debug)] [INFO] [stderr] 214 | | KillConnectionError, [INFO] [stderr] ... | [INFO] [stderr] 224 | | } [INFO] [stderr] 225 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/toxcore/binary_io.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / named!(from_bytes, map!(count_fixed!(u8, le_u8, 4), [INFO] [stderr] 37 | | |v| Ipv4Addr::new(v[0], v[1], v[2], v[3]) [INFO] [stderr] 38 | | )); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/toxcore/binary_io.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | / named!(from_bytes, map!(count_fixed!(u16, le_u16, 8), [INFO] [stderr] 55 | | |v| Ipv6Addr::new(v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7]) [INFO] [stderr] 56 | | )); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 30 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 07s [INFO] running `"docker" "inspect" "fec933ea5bedd1b052a4ed4ff8b9d77437e62de8878e0db36f9e23706c3b489a"` [INFO] running `"docker" "rm" "-f" "fec933ea5bedd1b052a4ed4ff8b9d77437e62de8878e0db36f9e23706c3b489a"` [INFO] [stdout] fec933ea5bedd1b052a4ed4ff8b9d77437e62de8878e0db36f9e23706c3b489a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d5e2d6c40e944a2820fd95b95e00284e7c27de683e07b7b15788e7fc07d14a3 [INFO] running `"docker" "start" "-a" "3d5e2d6c40e944a2820fd95b95e00284e7c27de683e07b7b15788e7fc07d14a3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/io_tokio.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | pub type IoFuture = Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/io_tokio.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | pub type IoStream = Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/tcp/server/server_ext.rs:113:112 [INFO] [stderr] | [INFO] [stderr] 113 | fn run(self: Self, listner: TcpListener, dht_sk: SecretKey, stats: Stats, connections_limit: usize) -> Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/tcp/server/server_ext.rs:115:94 [INFO] [stderr] | [INFO] [stderr] 115 | fn run_connection(self: Self, stream: TcpStream, dht_sk: SecretKey, stats: Stats) -> Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/tcp/server/server_ext.rs:119:112 [INFO] [stderr] | [INFO] [stderr] 119 | fn run(self: Self, listner: TcpListener, dht_sk: SecretKey, stats: Stats, connections_limit: usize) -> Box + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/tcp/server/server_ext.rs:164:94 [INFO] [stderr] | [INFO] [stderr] 164 | fn run_connection(self: Self, stream: TcpStream, dht_sk: SecretKey, stats: Stats) -> Box + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/packet/errors.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/codec.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / error_kind! { [INFO] [stderr] 20 | | #[doc = "Error that can happen when decoding `Packet` from bytes."] [INFO] [stderr] 21 | | #[derive(Debug)] [INFO] [stderr] 22 | | DecodeError, [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] 52 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/codec.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / error_kind! { [INFO] [stderr] 69 | | #[doc = "Error that can happen when encoding `Packet` to bytes."] [INFO] [stderr] 70 | | #[derive(Debug)] [INFO] [stderr] 71 | | EncodeError, [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] 85 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/server/errors.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / error_kind! { [INFO] [stderr] 7 | | #[doc = "Error that can happen when calling `handle_*` of packet."] [INFO] [stderr] 8 | | #[derive(Debug)] [INFO] [stderr] 9 | | HandlePacketError, [INFO] [stderr] ... | [INFO] [stderr] 53 | | } [INFO] [stderr] 54 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/server/errors.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / error_kind! { [INFO] [stderr] 57 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stderr] 58 | | #[derive(Debug)] [INFO] [stderr] 59 | | RunError, [INFO] [stderr] ... | [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/server/errors.rs:72:1 [INFO] [stderr] | [INFO] [stderr] 72 | / error_kind! { [INFO] [stderr] 73 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stderr] 74 | | #[derive(Debug)] [INFO] [stderr] 75 | | PingError, [INFO] [stderr] ... | [INFO] [stderr] 82 | | } [INFO] [stderr] 83 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/server/mod.rs:83:18 [INFO] [stderr] | [INFO] [stderr] 83 | motd_cb: Arc Vec + Send + Sync>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Server) -> Vec + Send + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/server/mod.rs:1420:69 [INFO] [stderr] | [INFO] [stderr] 1420 | pub fn set_bootstrap_info(&mut self, version: u32, motd_cb: Box Vec + Send + Sync>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Server) -> Vec + Send + Sync` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/daemon_state.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / error_kind! { [INFO] [stderr] 21 | | #[doc = "An error that can occur while serializing/deserializing object."] [INFO] [stderr] 22 | | #[derive(Debug)] [INFO] [stderr] 23 | | DeserializeError, [INFO] [stderr] ... | [INFO] [stderr] 43 | | } [INFO] [stderr] 44 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/dht/lan_discovery.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / error_kind! { [INFO] [stderr] 20 | | #[doc = "Error that can happen during lan discovery."] [INFO] [stderr] 21 | | #[derive(Debug)] [INFO] [stderr] 22 | | LanDiscoveryError, [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/server_ext.rs:19:101 [INFO] [stderr] | [INFO] [stderr] 19 | fn run_socket(self, socket: UdpSocket, rx: Receiver<(Packet, SocketAddr)>, stats: Stats) -> Box + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/dht/server_ext.rs:23:101 [INFO] [stderr] | [INFO] [stderr] 23 | fn run_socket(self, socket: UdpSocket, rx: Receiver<(Packet, SocketAddr)>, stats: Stats) -> Box + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/onion/client/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_kind! { [INFO] [stderr] 2 | | #[doc = "Error that can happen when handling `OnionAnnounceResponse` packet."] [INFO] [stderr] 3 | | #[derive(Debug)] [INFO] [stderr] 4 | | HandleAnnounceResponseError, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/onion/client/errors.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / error_kind! { [INFO] [stderr] 27 | | #[doc = "Error that can happen when handling `DhtPkAnnounce` packet."] [INFO] [stderr] 28 | | #[derive(Debug)] [INFO] [stderr] 29 | | HandleDhtPkAnnounceError, [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/onion/client/errors.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | / error_kind! { [INFO] [stderr] 52 | | #[doc = "Error that can happen when handling `OnionDataResponse` packet."] [INFO] [stderr] 53 | | #[derive(Debug)] [INFO] [stderr] 54 | | HandleDataResponseError, [INFO] [stderr] ... | [INFO] [stderr] 67 | | } [INFO] [stderr] 68 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/onion/client/errors.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / error_kind! { [INFO] [stderr] 71 | | #[doc = "Error that can happen when calling `run_*`."] [INFO] [stderr] 72 | | #[derive(Debug)] [INFO] [stderr] 73 | | RunError, [INFO] [stderr] ... | [INFO] [stderr] 83 | | } [INFO] [stderr] 84 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / error_kind! { [INFO] [stderr] 10 | | #[doc = "Error that can happen while processing packets array"] [INFO] [stderr] 11 | | #[derive(Debug)] [INFO] [stderr] 12 | | PacketsArrayError, [INFO] [stderr] ... | [INFO] [stderr] 43 | | } [INFO] [stderr] 44 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / error_kind! { [INFO] [stderr] 65 | | #[doc = "Error that can happen when calling `handle_*` of packet."] [INFO] [stderr] 66 | | #[derive(Debug)] [INFO] [stderr] 67 | | HandlePacketError, [INFO] [stderr] ... | [INFO] [stderr] 133 | | } [INFO] [stderr] 134 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:157:1 [INFO] [stderr] | [INFO] [stderr] 157 | / error_kind! { [INFO] [stderr] 158 | | #[doc = "Error that can happen while processing packets array."] [INFO] [stderr] 159 | | #[derive(Debug)] [INFO] [stderr] 160 | | SendDataError, [INFO] [stderr] ... | [INFO] [stderr] 170 | | } [INFO] [stderr] 171 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:173:1 [INFO] [stderr] | [INFO] [stderr] 173 | / error_kind! { [INFO] [stderr] 174 | | #[doc = "Error that can happen when calling `run`."] [INFO] [stderr] 175 | | #[derive(Debug)] [INFO] [stderr] 176 | | RunError, [INFO] [stderr] ... | [INFO] [stderr] 186 | | } [INFO] [stderr] 187 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:189:1 [INFO] [stderr] | [INFO] [stderr] 189 | / error_kind! { [INFO] [stderr] 190 | | #[doc = "Error that can happen during a lossless packet sending."] [INFO] [stderr] 191 | | #[derive(Debug)] [INFO] [stderr] 192 | | SendLosslessPacketError, [INFO] [stderr] ... | [INFO] [stderr] 208 | | } [INFO] [stderr] 209 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/error.rs:21:40 [INFO] [stderr] | [INFO] [stderr] 21 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn failure::Fail` [INFO] [stderr] | [INFO] [stderr] ::: src/toxcore/net_crypto/errors.rs:211:1 [INFO] [stderr] | [INFO] [stderr] 211 | / error_kind! { [INFO] [stderr] 212 | | #[doc = "Error that can happen during a lossless packet sending."] [INFO] [stderr] 213 | | #[derive(Debug)] [INFO] [stderr] 214 | | KillConnectionError, [INFO] [stderr] ... | [INFO] [stderr] 224 | | } [INFO] [stderr] 225 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/toxcore/binary_io.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / named!(from_bytes, map!(count_fixed!(u8, le_u8, 4), [INFO] [stderr] 37 | | |v| Ipv4Addr::new(v[0], v[1], v[2], v[3]) [INFO] [stderr] 38 | | )); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/toxcore/binary_io.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | / named!(from_bytes, map!(count_fixed!(u16, le_u16, 8), [INFO] [stderr] 55 | | |v| Ipv6Addr::new(v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7]) [INFO] [stderr] 56 | | )); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 30 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tox v0.0.10 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> examples/tcp_client.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | });; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] error: could not compile `tox`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name tox --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=8bfae8e0214f9d90 -C extra-filename=-8bfae8e0214f9d90 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-a637fa8d282392d5.rlib --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-78580fbf595daae7.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-0dd9e57e1215f0db.rlib --extern cookie_factory=/opt/rustwide/target/debug/deps/libcookie_factory-52ad506b8a84f07f.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-edfd76d1ed2fe404.rlib --extern failure=/opt/rustwide/target/debug/deps/libfailure-cc6823c6c6292c23.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-cbe4e291e0a0e8bc.rlib --extern get_if_addrs=/opt/rustwide/target/debug/deps/libget_if_addrs-95fc5da70f0db253.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-98b7dad590581454.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-3d65ebee37a7b6c8.rlib --extern lru=/opt/rustwide/target/debug/deps/liblru-d05f4afdbc25715f.rlib --extern nom=/opt/rustwide/target/debug/deps/libnom-036488f1a97d7c79.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-a0d9e95d52ba54a5.rlib --extern sodiumoxide=/opt/rustwide/target/debug/deps/libsodiumoxide-e9ec9b757e2104b1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-37f7a29d728fb61e.rlib --extern tokio_executor=/opt/rustwide/target/debug/deps/libtokio_executor-51ce3f900c229019.rlib --extern tokio_timer=/opt/rustwide/target/debug/deps/libtokio_timer-bbbbd764e7616c4a.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/libsodium-sys-82bd1cac818b1541/out/installed/lib` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "3d5e2d6c40e944a2820fd95b95e00284e7c27de683e07b7b15788e7fc07d14a3"` [INFO] running `"docker" "rm" "-f" "3d5e2d6c40e944a2820fd95b95e00284e7c27de683e07b7b15788e7fc07d14a3"` [INFO] [stdout] 3d5e2d6c40e944a2820fd95b95e00284e7c27de683e07b7b15788e7fc07d14a3