[INFO] cloning repository https://github.com/zetok/tox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zetok/tox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fe1c4e39a28b280fb76f3b22f4d2484a3a1e08d [INFO] checking zetok/tox against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zetok/tox on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zetok/tox [INFO] finished tweaking git repo https://github.com/zetok/tox [INFO] tweaked toml for git repo https://github.com/zetok/tox written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/zetok/tox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded iovec v0.1.1 [INFO] [stderr] Downloaded scoped-tls v0.1.0 [INFO] [stderr] Downloaded net2 v0.2.31 [INFO] [stderr] Downloaded lazycell v0.6.0 [INFO] [stderr] Downloaded mio v0.6.12 [INFO] [stderr] Downloaded tokio-core v0.1.11 [INFO] [stderr] Downloaded aho-corasick v0.6.4 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded serde_derive_internals v0.19.0 [INFO] [stderr] Downloaded url v1.6.0 [INFO] [stderr] Downloaded rand v0.3.20 [INFO] [stderr] Downloaded pulldown-cmark v0.0.15 [INFO] [stderr] Downloaded cargo_metadata v0.2.3 [INFO] [stderr] Downloaded getopts v0.2.15 [INFO] [stderr] Downloaded dtoa v0.4.2 [INFO] [stderr] Downloaded num-traits v0.1.41 [INFO] [stderr] Downloaded matches v0.1.6 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded clippy v0.0.178 [INFO] [stderr] Downloaded if_chain v0.1.2 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded quine-mc_cluskey v0.2.4 [INFO] [stderr] Downloaded serde_derive v1.0.27 [INFO] [stderr] Downloaded toml v0.4.5 [INFO] [stderr] Downloaded quickcheck v0.6.0 [INFO] [stderr] Downloaded regex v0.2.5 [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded unicode-normalization v0.1.5 [INFO] [stderr] Downloaded idna v0.1.4 [INFO] [stderr] Downloaded clippy_lints v0.0.178 [INFO] [stderr] Downloaded serde v1.0.27 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] [stderr] Downloaded winapi v0.3.3 [INFO] [stderr] Downloaded futures v0.1.17 [INFO] [stderr] Downloaded libc v0.2.35 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded slab v0.4.0 [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded bytes v0.4.5 [INFO] [stderr] Downloaded tokio-io v0.1.4 [INFO] [stderr] Downloaded tokio-timer v0.1.2 [INFO] [stderr] Downloaded serde_json v1.0.9 [INFO] [stderr] Downloaded cookie-factory v0.2.2 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.3.2 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67c4e39832b9727d74292c97bc5e75e2623d342e3fd3a6f9acecdc5b1b1ef4fe [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" "67c4e39832b9727d74292c97bc5e75e2623d342e3fd3a6f9acecdc5b1b1ef4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67c4e39832b9727d74292c97bc5e75e2623d342e3fd3a6f9acecdc5b1b1ef4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c4e39832b9727d74292c97bc5e75e2623d342e3fd3a6f9acecdc5b1b1ef4fe", kill_on_drop: false }` [INFO] [stdout] 67c4e39832b9727d74292c97bc5e75e2623d342e3fd3a6f9acecdc5b1b1ef4fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8af9e14cd0d0445b26a8d38b17920d40d809a33b27adf1d254438cbd28b3712a [INFO] running `Command { std: "docker" "start" "-a" "8af9e14cd0d0445b26a8d38b17920d40d809a33b27adf1d254438cbd28b3712a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.35 [INFO] [stderr] Checking futures v0.1.17 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking cookie-factory v0.2.2 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking rand v0.3.20 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking sodiumoxide v0.0.16 [INFO] [stderr] Checking mio v0.6.12 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-timer v0.1.2 [INFO] [stderr] Checking tokio-core v0.1.11 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking quickcheck v0.6.0 [INFO] [stderr] Checking tox v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[test]` attribute should not be used on macros. Use `#[cfg(test)]` instead. [INFO] [stdout] --> src/toxcore/dht_node.rs:948:5 [INFO] [stdout] | [INFO] [stdout] 948 | / quickcheck! { [INFO] [stdout] 949 | | fn dht_node_send_nodes(pns: Vec) -> TestResult { [INFO] [stdout] 950 | | if pns.is_empty() { return TestResult::discard() } [INFO] [stdout] 951 | | [INFO] [stdout] ... | [INFO] [stdout] 984 | | } [INFO] [stdout] 985 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | /// Match first byte from the provided slice as `IpType`. If no match found, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | /// return `None`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | /// Fail if there are less than 4 bytes supplied, otherwise parses first [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | /// 4 bytes as an `Ipv4Addr`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | /// Fail if there are less than 16 bytes supplied, otherwise parses first [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | /// 16 bytes as an `Ipv6Addr`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | / /** Deserialize bytes into `PackedNode`. Returns `None` if deseralizing [INFO] [stdout] 395 | | failed. [INFO] [stdout] 396 | | [INFO] [stdout] 397 | | Can fail if: [INFO] [stdout] ... | [INFO] [stdout] 405 | | address. [INFO] [stdout] 406 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | / /** De-serialization of bytes into `GetNodes`. If less than [INFO] [stdout] 482 | | [`GET_NODES_SIZE`](./constant.GET_NODES_SIZE.html) bytes are provided, [INFO] [stdout] 483 | | de-serialization will fail, returning `None`. [INFO] [stdout] 484 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | / /** Method to parse received bytes as `SendNodes`. [INFO] [stdout] 568 | | [INFO] [stdout] 569 | | Returns `None` if bytes can't be parsed into `SendNodes`. [INFO] [stdout] 570 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | /// De-serialize bytes into `DhtPacket`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/packet_kind.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / /** Parse first byte from provided `bytes` as `PacketKind`. [INFO] [stdout] 82 | | [INFO] [stdout] 83 | | Returns `None` if no bytes provided, or first byte doesn't match. [INFO] [stdout] 84 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / /** Provided that there's at least [`NOSPAMKEYSBYTES`] [INFO] [stdout] 205 | | (./constant.NOSPAMKEYSBYTES.html) de-serializing will not fail. [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | E.g. [INFO] [stdout] ... | [INFO] [stdout] 231 | | ``` [INFO] [stdout] 232 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | / /** If successful, returns `DhtState` and length of the section in bytes. [INFO] [stdout] 346 | | [INFO] [stdout] 347 | | > **Note:** An empty list of nodes can be returned! [INFO] [stdout] 348 | | [INFO] [stdout] ... | [INFO] [stdout] 375 | | ``` [INFO] [stdout] 376 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:467:1 [INFO] [stdout] | [INFO] [stdout] 467 | / /** E.g. [INFO] [stdout] 468 | | [INFO] [stdout] 469 | | ``` [INFO] [stdout] 470 | | use self::tox::toxcore::binary_io::*; [INFO] [stdout] ... | [INFO] [stdout] 523 | | ``` [INFO] [stdout] 524 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:876:1 [INFO] [stdout] | [INFO] [stdout] 876 | / /** Produces up to [`NAME_LEN`](./constant.NAME_LEN.html) bytes long `Name`. [INFO] [stdout] 877 | | Can't fail. [INFO] [stdout] 878 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:928:1 [INFO] [stdout] | [INFO] [stdout] 928 | / /** Produces up to [`STATUS_MSG_LEN`](./constant.STATUS_MSG_LEN.html) bytes [INFO] [stdout] 929 | | long `StatusMsg`. Can't fail. [INFO] [stdout] 930 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/toxid.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / /** Should always work, provided that there are supplied at least [INFO] [stdout] 240 | | [`TOXIDBYTES`](./constant.TOXIDBYTES.html). [INFO] [stdout] 241 | | [INFO] [stdout] 242 | | Note that `ToxId` might not have a valid [`NoSpam`](./struct.NoSpam.html) from [INFO] [stdout] ... | [INFO] [stdout] 255 | | ``` [INFO] [stdout] 256 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / /** De-seralize from bytes. Tries to parse first [INFO] [stdout] 111 | | [`PING_SIZE`](./constant.PING_SIZE.html) bytes from supplied slice [INFO] [stdout] 112 | | as `Ping`. [INFO] [stdout] 113 | | */ [INFO] [stdout] | |__________^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 144 | impls_for_pings!(PingReq, PingResp); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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/network.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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/network.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | object: Rc>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let sock = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(sock.set_broadcast(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/network.rs:127:88 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/toxcore/state_format/old.rs:408:62 [INFO] [stdout] | [INFO] [stdout] 408 | .expect("Failed to write DhtState DHT_MAGICAL!");; [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:158:52 [INFO] [stdout] | [INFO] [stdout] 158 | let maybe_key = PrecomputedKey::from_slice(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let key = Box::new(try!(maybe_key.ok_or(KeyDerivationError::Failed))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let nonce = try!(Nonce::from_slice(&data[ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | let output = try!(crypto_core::decrypt_data_symmetric( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | try!(PassKey::new(passphrase)).encrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | let salt = try!(get_salt(data).ok_or(KeyDerivationError::Failed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | try!(PassKey::with_salt(passphrase, salt)).decrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | /// Match first byte from the provided slice as `IpType`. If no match found, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | /// return `None`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | /// Fail if there are less than 4 bytes supplied, otherwise parses first [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | /// 4 bytes as an `Ipv4Addr`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | /// Fail if there are less than 16 bytes supplied, otherwise parses first [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | /// 16 bytes as an `Ipv6Addr`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | / /** Deserialize bytes into `PackedNode`. Returns `None` if deseralizing [INFO] [stdout] 395 | | failed. [INFO] [stdout] 396 | | [INFO] [stdout] 397 | | Can fail if: [INFO] [stdout] ... | [INFO] [stdout] 405 | | address. [INFO] [stdout] 406 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | / /** De-serialization of bytes into `GetNodes`. If less than [INFO] [stdout] 482 | | [`GET_NODES_SIZE`](./constant.GET_NODES_SIZE.html) bytes are provided, [INFO] [stdout] 483 | | de-serialization will fail, returning `None`. [INFO] [stdout] 484 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | / /** Method to parse received bytes as `SendNodes`. [INFO] [stdout] 568 | | [INFO] [stdout] 569 | | Returns `None` if bytes can't be parsed into `SendNodes`. [INFO] [stdout] 570 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | /// De-serialize bytes into `DhtPacket`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/packet_kind.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / /** Parse first byte from provided `bytes` as `PacketKind`. [INFO] [stdout] 82 | | [INFO] [stdout] 83 | | Returns `None` if no bytes provided, or first byte doesn't match. [INFO] [stdout] 84 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / /** Provided that there's at least [`NOSPAMKEYSBYTES`] [INFO] [stdout] 205 | | (./constant.NOSPAMKEYSBYTES.html) de-serializing will not fail. [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | E.g. [INFO] [stdout] ... | [INFO] [stdout] 231 | | ``` [INFO] [stdout] 232 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | / /** If successful, returns `DhtState` and length of the section in bytes. [INFO] [stdout] 346 | | [INFO] [stdout] 347 | | > **Note:** An empty list of nodes can be returned! [INFO] [stdout] 348 | | [INFO] [stdout] ... | [INFO] [stdout] 375 | | ``` [INFO] [stdout] 376 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:467:1 [INFO] [stdout] | [INFO] [stdout] 467 | / /** E.g. [INFO] [stdout] 468 | | [INFO] [stdout] 469 | | ``` [INFO] [stdout] 470 | | use self::tox::toxcore::binary_io::*; [INFO] [stdout] ... | [INFO] [stdout] 523 | | ``` [INFO] [stdout] 524 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:876:1 [INFO] [stdout] | [INFO] [stdout] 876 | / /** Produces up to [`NAME_LEN`](./constant.NAME_LEN.html) bytes long `Name`. [INFO] [stdout] 877 | | Can't fail. [INFO] [stdout] 878 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/state_format/old.rs:928:1 [INFO] [stdout] | [INFO] [stdout] 928 | / /** Produces up to [`STATUS_MSG_LEN`](./constant.STATUS_MSG_LEN.html) bytes [INFO] [stdout] 929 | | long `StatusMsg`. Can't fail. [INFO] [stdout] 930 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/toxid.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / /** Should always work, provided that there are supplied at least [INFO] [stdout] 240 | | [`TOXIDBYTES`](./constant.TOXIDBYTES.html). [INFO] [stdout] 241 | | [INFO] [stdout] 242 | | Note that `ToxId` might not have a valid [`NoSpam`](./struct.NoSpam.html) from [INFO] [stdout] ... | [INFO] [stdout] 255 | | ``` [INFO] [stdout] 256 | | */ [INFO] [stdout] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toxcore/dht.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / /** De-seralize from bytes. Tries to parse first [INFO] [stdout] 111 | | [`PING_SIZE`](./constant.PING_SIZE.html) bytes from supplied slice [INFO] [stdout] 112 | | as `Ping`. [INFO] [stdout] 113 | | */ [INFO] [stdout] | |__________^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 144 | impls_for_pings!(PingReq, PingResp); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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_tests/network_tests.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | fn callback(num: Rc>, _: SocketAddr, _: &[u8]) -> usize { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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_tests/network_tests.rs:62:76 [INFO] [stdout] | [INFO] [stdout] 62 | net.register(99, callback, Rc::new(RefCell::new(1usize)) as Rc>); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/toxcore_tests/toxid_tests.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | 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_tests/toxid_tests.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | } 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/network.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/network.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | object: Rc>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let sock = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(sock.set_broadcast(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/network.rs:127:88 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/toxcore/state_format/old.rs:408:62 [INFO] [stdout] | [INFO] [stdout] 408 | .expect("Failed to write DhtState DHT_MAGICAL!");; [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:158:52 [INFO] [stdout] | [INFO] [stdout] 158 | let maybe_key = PrecomputedKey::from_slice(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let key = Box::new(try!(maybe_key.ok_or(KeyDerivationError::Failed))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let nonce = try!(Nonce::from_slice(&data[ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | let output = try!(crypto_core::decrypt_data_symmetric( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | try!(PassKey::new(passphrase)).encrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | let salt = try!(get_salt(data).ok_or(KeyDerivationError::Failed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | try!(PassKey::with_salt(passphrase, salt)).decrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | static CRYPTO_INIT_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | static CRYPTO_INIT_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> examples/tcp_client.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | });; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `SelectNext` in tuple element 1 that must be used [INFO] [stdout] --> examples/tcp_client.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | core.run( client ).unwrap(); [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `sodiumoxide::crypto::box_::PublicKey` in tuple element 0 that must be used [INFO] [stdout] --> src/toxcore/tcp/server/server.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | add_random_client(&server); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NatPingRequest` should have an upper case name [INFO] [stdout] --> src/toxcore/dht_new/packet.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | const NatPingRequest: PacketKind = PacketKind::PingRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NAT_PING_REQUEST` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NatPingResponse` should have an upper case name [INFO] [stdout] --> src/toxcore/dht_new/packet.rs:439:11 [INFO] [stdout] | [INFO] [stdout] 439 | const NatPingResponse: PacketKind = PacketKind::PingResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NAT_PING_RESPONSE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.64s [INFO] running `Command { std: "docker" "inspect" "8af9e14cd0d0445b26a8d38b17920d40d809a33b27adf1d254438cbd28b3712a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af9e14cd0d0445b26a8d38b17920d40d809a33b27adf1d254438cbd28b3712a", kill_on_drop: false }` [INFO] [stdout] 8af9e14cd0d0445b26a8d38b17920d40d809a33b27adf1d254438cbd28b3712a