[INFO] updating cached repository https://github.com/zetok/tox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fe1c4e39a28b280fb76f3b22f4d2484a3a1e08d [INFO] testing zetok/tox against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zetok/tox on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aac010c08bbe463b7e6e46971f7419e07e17e612f6bbca050177742cbe046319 [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" "aac010c08bbe463b7e6e46971f7419e07e17e612f6bbca050177742cbe046319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aac010c08bbe463b7e6e46971f7419e07e17e612f6bbca050177742cbe046319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac010c08bbe463b7e6e46971f7419e07e17e612f6bbca050177742cbe046319", kill_on_drop: false }` [INFO] [stdout] aac010c08bbe463b7e6e46971f7419e07e17e612f6bbca050177742cbe046319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06e1dc2510dbc742f1cc00b7cda1540b6bea153e86c0d228b82c0c3abceed89d [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" "06e1dc2510dbc742f1cc00b7cda1540b6bea153e86c0d228b82c0c3abceed89d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling cookie-factory v0.2.2 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling sodiumoxide v0.0.16 [INFO] [stderr] Compiling mio v0.6.12 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-core v0.1.11 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling tox v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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/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: 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 item '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 item '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 item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.15s [INFO] running `Command { std: "docker" "inspect" "06e1dc2510dbc742f1cc00b7cda1540b6bea153e86c0d228b82c0c3abceed89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e1dc2510dbc742f1cc00b7cda1540b6bea153e86c0d228b82c0c3abceed89d", kill_on_drop: false }` [INFO] [stdout] 06e1dc2510dbc742f1cc00b7cda1540b6bea153e86c0d228b82c0c3abceed89d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eed36d5de0e0064ced2700c08ef1c07f72b56874a30063b40e6e4d5923c47297 [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" "eed36d5de0e0064ced2700c08ef1c07f72b56874a30063b40e6e4d5923c47297", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stdout] warning: use of deprecated item '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 item '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: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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/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: 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 item '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 item '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 item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling quickcheck v0.6.0 [INFO] [stderr] Compiling tox v0.0.1 (/opt/rustwide/workdir) [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 `futures::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: `#[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: use of deprecated item '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 item '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: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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: 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 item '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 item '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 item: `Once::new()` [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 test [unoptimized + debuginfo] target(s) in 46.89s [INFO] running `Command { std: "docker" "inspect" "eed36d5de0e0064ced2700c08ef1c07f72b56874a30063b40e6e4d5923c47297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed36d5de0e0064ced2700c08ef1c07f72b56874a30063b40e6e4d5923c47297", kill_on_drop: false }` [INFO] [stdout] eed36d5de0e0064ced2700c08ef1c07f72b56874a30063b40e6e4d5923c47297 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59c0ff3323fa73cad122304a6bfd68d6caf2ca13bf7d95e8553beabb28b9744b [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" "59c0ff3323fa73cad122304a6bfd68d6caf2ca13bf7d95e8553beabb28b9744b", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxcore/network.rs:100:20 [INFO] [stderr] | [INFO] [stderr] 100 | let sock = try!( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[test]` attribute should not be used on macros. Use `#[cfg(test)]` instead. [INFO] [stderr] --> src/toxcore/dht_node.rs:948:5 [INFO] [stderr] | [INFO] [stderr] 948 | / quickcheck! { [INFO] [stderr] 949 | | fn dht_node_send_nodes(pns: Vec) -> TestResult { [INFO] [stderr] 950 | | if pns.is_empty() { return TestResult::discard() } [INFO] [stderr] 951 | | [INFO] [stderr] ... | [INFO] [stderr] 984 | | } [INFO] [stderr] 985 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxcore/network.rs:100:20 [INFO] [stderr] | [INFO] [stderr] 100 | let sock = try!( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxcore/network.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | try!(sock.set_broadcast(true)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:158:52 [INFO] [stderr] | [INFO] [stderr] 158 | let maybe_key = PrecomputedKey::from_slice(try!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:171:28 [INFO] [stderr] | [INFO] [stderr] 171 | let key = Box::new(try!(maybe_key.ok_or(KeyDerivationError::Failed))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:247:21 [INFO] [stderr] | [INFO] [stderr] 247 | let nonce = try!(Nonce::from_slice(&data[ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:251:22 [INFO] [stderr] | [INFO] [stderr] 251 | let output = try!(crypto_core::decrypt_data_symmetric( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:294:5 [INFO] [stderr] | [INFO] [stderr] 294 | try!(PassKey::new(passphrase)).encrypt(data) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:356:16 [INFO] [stderr] | [INFO] [stderr] 356 | let salt = try!(get_salt(data).ok_or(KeyDerivationError::Failed)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | try!(PassKey::with_salt(passphrase, salt)).decrypt(data) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:194:1 [INFO] [stderr] | [INFO] [stderr] 194 | /// Match first byte from the provided slice as `IpType`. If no match found, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:195:1 [INFO] [stderr] | [INFO] [stderr] 195 | /// return `None`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxcore/network.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | try!(sock.set_broadcast(true)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:158:52 [INFO] [stderr] | [INFO] [stderr] 158 | let maybe_key = PrecomputedKey::from_slice(try!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:171:28 [INFO] [stderr] | [INFO] [stderr] 171 | let key = Box::new(try!(maybe_key.ok_or(KeyDerivationError::Failed))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:224:1 [INFO] [stderr] | [INFO] [stderr] 224 | /// Fail if there are less than 4 bytes supplied, otherwise parses first [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | /// 4 bytes as an `Ipv4Addr`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:247:21 [INFO] [stderr] | [INFO] [stderr] 247 | let nonce = try!(Nonce::from_slice(&data[ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:251:22 [INFO] [stderr] | [INFO] [stderr] 251 | let output = try!(crypto_core::decrypt_data_symmetric( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:294:5 [INFO] [stderr] | [INFO] [stderr] 294 | try!(PassKey::new(passphrase)).encrypt(data) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:229:1 [INFO] [stderr] | [INFO] [stderr] 229 | /// Fail if there are less than 16 bytes supplied, otherwise parses first [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:230:1 [INFO] [stderr] | [INFO] [stderr] 230 | /// 16 bytes as an `Ipv6Addr`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:356:16 [INFO] [stderr] | [INFO] [stderr] 356 | let salt = try!(get_salt(data).ok_or(KeyDerivationError::Failed)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toxencryptsave/mod.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | try!(PassKey::with_salt(passphrase, salt)).decrypt(data) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:194:1 [INFO] [stderr] | [INFO] [stderr] 194 | /// Match first byte from the provided slice as `IpType`. If no match found, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:394:1 [INFO] [stderr] | [INFO] [stderr] 394 | / /** Deserialize bytes into `PackedNode`. Returns `None` if deseralizing [INFO] [stderr] 395 | | failed. [INFO] [stderr] 396 | | [INFO] [stderr] 397 | | Can fail if: [INFO] [stderr] ... | [INFO] [stderr] 405 | | address. [INFO] [stderr] 406 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:481:1 [INFO] [stderr] | [INFO] [stderr] 481 | / /** De-serialization of bytes into `GetNodes`. If less than [INFO] [stderr] 482 | | [`GET_NODES_SIZE`](./constant.GET_NODES_SIZE.html) bytes are provided, [INFO] [stderr] 483 | | de-serialization will fail, returning `None`. [INFO] [stderr] 484 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:195:1 [INFO] [stderr] | [INFO] [stderr] 195 | /// return `None`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:224:1 [INFO] [stderr] | [INFO] [stderr] 224 | /// Fail if there are less than 4 bytes supplied, otherwise parses first [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | /// 4 bytes as an `Ipv4Addr`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:567:1 [INFO] [stderr] | [INFO] [stderr] 567 | / /** Method to parse received bytes as `SendNodes`. [INFO] [stderr] 568 | | [INFO] [stderr] 569 | | Returns `None` if bytes can't be parsed into `SendNodes`. [INFO] [stderr] 570 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:758:1 [INFO] [stderr] | [INFO] [stderr] 758 | /// De-serialize bytes into `DhtPacket`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/packet_kind.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | / /** Parse first byte from provided `bytes` as `PacketKind`. [INFO] [stderr] 82 | | [INFO] [stderr] 83 | | Returns `None` if no bytes provided, or first byte doesn't match. [INFO] [stderr] 84 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:229:1 [INFO] [stderr] | [INFO] [stderr] 229 | /// Fail if there are less than 16 bytes supplied, otherwise parses first [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:230:1 [INFO] [stderr] | [INFO] [stderr] 230 | /// 16 bytes as an `Ipv6Addr`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:394:1 [INFO] [stderr] | [INFO] [stderr] 394 | / /** Deserialize bytes into `PackedNode`. Returns `None` if deseralizing [INFO] [stderr] 395 | | failed. [INFO] [stderr] 396 | | [INFO] [stderr] 397 | | Can fail if: [INFO] [stderr] ... | [INFO] [stderr] 405 | | address. [INFO] [stderr] 406 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:204:1 [INFO] [stderr] | [INFO] [stderr] 204 | / /** Provided that there's at least [`NOSPAMKEYSBYTES`] [INFO] [stderr] 205 | | (./constant.NOSPAMKEYSBYTES.html) de-serializing will not fail. [INFO] [stderr] 206 | | [INFO] [stderr] 207 | | E.g. [INFO] [stderr] ... | [INFO] [stderr] 231 | | ``` [INFO] [stderr] 232 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:481:1 [INFO] [stderr] | [INFO] [stderr] 481 | / /** De-serialization of bytes into `GetNodes`. If less than [INFO] [stderr] 482 | | [`GET_NODES_SIZE`](./constant.GET_NODES_SIZE.html) bytes are provided, [INFO] [stderr] 483 | | de-serialization will fail, returning `None`. [INFO] [stderr] 484 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:345:1 [INFO] [stderr] | [INFO] [stderr] 345 | / /** If successful, returns `DhtState` and length of the section in bytes. [INFO] [stderr] 346 | | [INFO] [stderr] 347 | | > **Note:** An empty list of nodes can be returned! [INFO] [stderr] 348 | | [INFO] [stderr] ... | [INFO] [stderr] 375 | | ``` [INFO] [stderr] 376 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:467:1 [INFO] [stderr] | [INFO] [stderr] 467 | / /** E.g. [INFO] [stderr] 468 | | [INFO] [stderr] 469 | | ``` [INFO] [stderr] 470 | | use self::tox::toxcore::binary_io::*; [INFO] [stderr] ... | [INFO] [stderr] 523 | | ``` [INFO] [stderr] 524 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:567:1 [INFO] [stderr] | [INFO] [stderr] 567 | / /** Method to parse received bytes as `SendNodes`. [INFO] [stderr] 568 | | [INFO] [stderr] 569 | | Returns `None` if bytes can't be parsed into `SendNodes`. [INFO] [stderr] 570 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:758:1 [INFO] [stderr] | [INFO] [stderr] 758 | /// De-serialize bytes into `DhtPacket`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:876:1 [INFO] [stderr] | [INFO] [stderr] 876 | / /** Produces up to [`NAME_LEN`](./constant.NAME_LEN.html) bytes long `Name`. [INFO] [stderr] 877 | | Can't fail. [INFO] [stderr] 878 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:928:1 [INFO] [stderr] | [INFO] [stderr] 928 | / /** Produces up to [`STATUS_MSG_LEN`](./constant.STATUS_MSG_LEN.html) bytes [INFO] [stderr] 929 | | long `StatusMsg`. Can't fail. [INFO] [stderr] 930 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/packet_kind.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | / /** Parse first byte from provided `bytes` as `PacketKind`. [INFO] [stderr] 82 | | [INFO] [stderr] 83 | | Returns `None` if no bytes provided, or first byte doesn't match. [INFO] [stderr] 84 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:204:1 [INFO] [stderr] | [INFO] [stderr] 204 | / /** Provided that there's at least [`NOSPAMKEYSBYTES`] [INFO] [stderr] 205 | | (./constant.NOSPAMKEYSBYTES.html) de-serializing will not fail. [INFO] [stderr] 206 | | [INFO] [stderr] 207 | | E.g. [INFO] [stderr] ... | [INFO] [stderr] 231 | | ``` [INFO] [stderr] 232 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/toxid.rs:239:1 [INFO] [stderr] | [INFO] [stderr] 239 | / /** Should always work, provided that there are supplied at least [INFO] [stderr] 240 | | [`TOXIDBYTES`](./constant.TOXIDBYTES.html). [INFO] [stderr] 241 | | [INFO] [stderr] 242 | | Note that `ToxId` might not have a valid [`NoSpam`](./struct.NoSpam.html) from [INFO] [stderr] ... | [INFO] [stderr] 255 | | ``` [INFO] [stderr] 256 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:345:1 [INFO] [stderr] | [INFO] [stderr] 345 | / /** If successful, returns `DhtState` and length of the section in bytes. [INFO] [stderr] 346 | | [INFO] [stderr] 347 | | > **Note:** An empty list of nodes can be returned! [INFO] [stderr] 348 | | [INFO] [stderr] ... | [INFO] [stderr] 375 | | ``` [INFO] [stderr] 376 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:467:1 [INFO] [stderr] | [INFO] [stderr] 467 | / /** E.g. [INFO] [stderr] 468 | | [INFO] [stderr] 469 | | ``` [INFO] [stderr] 470 | | use self::tox::toxcore::binary_io::*; [INFO] [stderr] ... | [INFO] [stderr] 523 | | ``` [INFO] [stderr] 524 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | / /** De-seralize from bytes. Tries to parse first [INFO] [stderr] 111 | | [`PING_SIZE`](./constant.PING_SIZE.html) bytes from supplied slice [INFO] [stderr] 112 | | as `Ping`. [INFO] [stderr] 113 | | */ [INFO] [stderr] | |__________^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] ... [INFO] [stderr] 144 | impls_for_pings!(PingReq, PingResp); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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_tests/network_tests.rs:55:33 [INFO] [stderr] | [INFO] [stderr] 55 | fn callback(num: Rc>, _: SocketAddr, _: &[u8]) -> usize { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [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_tests/network_tests.rs:62:76 [INFO] [stderr] | [INFO] [stderr] 62 | net.register(99, callback, Rc::new(RefCell::new(1usize)) as Rc>); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:876:1 [INFO] [stderr] | [INFO] [stderr] 876 | / /** Produces up to [`NAME_LEN`](./constant.NAME_LEN.html) bytes long `Name`. [INFO] [stderr] 877 | | Can't fail. [INFO] [stderr] 878 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/toxcore_tests/toxid_tests.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | if let b'A' ... b'F' = b { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/toxcore_tests/toxid_tests.rs:33:28 [INFO] [stderr] | [INFO] [stderr] 33 | } else if let b'0' ... b'9' = b { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/state_format/old.rs:928:1 [INFO] [stderr] | [INFO] [stderr] 928 | / /** Produces up to [`STATUS_MSG_LEN`](./constant.STATUS_MSG_LEN.html) bytes [INFO] [stderr] 929 | | long `StatusMsg`. Can't fail. [INFO] [stderr] 930 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/network.rs:57:48 [INFO] [stderr] | [INFO] [stderr] 57 | pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/network.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | object: Rc>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/toxid.rs:239:1 [INFO] [stderr] | [INFO] [stderr] 239 | / /** Should always work, provided that there are supplied at least [INFO] [stderr] 240 | | [`TOXIDBYTES`](./constant.TOXIDBYTES.html). [INFO] [stderr] 241 | | [INFO] [stderr] 242 | | Note that `ToxId` might not have a valid [`NoSpam`](./struct.NoSpam.html) from [INFO] [stderr] ... | [INFO] [stderr] 255 | | ``` [INFO] [stderr] 256 | | */ [INFO] [stderr] | |__^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/network.rs:127:88 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/toxcore/state_format/old.rs:408:62 [INFO] [stderr] | [INFO] [stderr] 408 | .expect("Failed to write DhtState DHT_MAGICAL!");; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/toxcore/crypto_core.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/toxcore/crypto_core.rs:35:33 [INFO] [stderr] | [INFO] [stderr] 35 | static CRYPTO_INIT_ONCE: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/toxcore/dht.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | / /** De-seralize from bytes. Tries to parse first [INFO] [stderr] 111 | | [`PING_SIZE`](./constant.PING_SIZE.html) bytes from supplied slice [INFO] [stderr] 112 | | as `Ping`. [INFO] [stderr] 113 | | */ [INFO] [stderr] | |__________^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] ... [INFO] [stderr] 144 | impls_for_pings!(PingReq, PingResp); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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/network.rs:57:48 [INFO] [stderr] | [INFO] [stderr] 57 | pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [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/network.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | object: Rc>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: unused `sodiumoxide::crypto::box_::PublicKey` in tuple element 0 that must be used [INFO] [stderr] --> src/toxcore/tcp/server/server.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 335 | add_random_client(&server); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `NatPingRequest` should have an upper case name [INFO] [stderr] --> src/toxcore/dht_new/packet.rs:438:11 [INFO] [stderr] | [INFO] [stderr] 438 | const NatPingRequest: PacketKind = PacketKind::PingRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NAT_PING_REQUEST` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `NatPingResponse` should have an upper case name [INFO] [stderr] --> src/toxcore/dht_new/packet.rs:439:11 [INFO] [stderr] | [INFO] [stderr] 439 | const NatPingResponse: PacketKind = PacketKind::PingResponse; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NAT_PING_RESPONSE` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/toxcore/network.rs:127:88 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: 41 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/toxcore/state_format/old.rs:408:62 [INFO] [stderr] | [INFO] [stderr] 408 | .expect("Failed to write DhtState DHT_MAGICAL!");; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/toxcore/crypto_core.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/toxcore/crypto_core.rs:35:33 [INFO] [stderr] | [INFO] [stderr] 35 | static CRYPTO_INIT_ONCE: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: 33 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> examples/tcp_client.rs:140:20 [INFO] [stderr] | [INFO] [stderr] 140 | });; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `futures::SelectNext` in tuple element 1 that must be used [INFO] [stderr] --> examples/tcp_client.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | core.run( client ).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: futures do nothing unless polled [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tox-2b7ae83baba0ca65 [INFO] [stdout] [INFO] [stdout] running 307 tests [INFO] [stderr] ERROR:: Treating Some(0) as None [INFO] [stderr] ERROR:: Treating Some(0) as None [INFO] [stdout] test toxcore::dht::test::bucket_default_test ... ok [INFO] [stdout] test toxcore::dht::test::bucket_position_test ... ok [INFO] [stdout] test toxcore::dht::test::kbucket_position_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_index_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_bucket_new_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_bucket_try_add_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_size_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_bucket_remove_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_new_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_public_key_distance_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::kbucket_position_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_bucket_1_capacity_try_add_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::dht_packet_get_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_get_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::dht_packet_get_nodes_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_get_nodes_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_nat_ping_req_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_nat_ping_req_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_nat_ping_resp_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_nat_ping_resp_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_ping_req_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht::test::bucket_contains_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_ping_req_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_ping_resp_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_create_getn_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_ping_resp_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_create_ping_req_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_send_nodes_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht::test::dht_packet_new_test ... ok [INFO] [stdout] test toxcore::dht::test::bucket_iter_next_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_try_add_test ... ok [INFO] [stdout] test toxcore::dht::test::kbucket_contains_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_pk_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_new ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::kbucket_iter_next_test ... ok [INFO] [stdout] test toxcore::dht::test::kbucket_iter_next_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_request_ping_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::kbucket_contains_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_request_nodes_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_sk_test ... ok [INFO] [stdout] test toxcore::dht::test::kbucket_can_add_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_send_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_node::test::tox_codec_decode_test ... ok [INFO] [stdout] test toxcore::state_format::old::dht_state_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::eof_kind_test ... ok [INFO] [stdout] test toxcore::dht_node::test::tox_codec_encode_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::kbucket_can_add_test ... ok [INFO] [stdout] test toxcore::state_format::old::friend_state_new_from_pk_test ... ok [INFO] [stdout] test toxcore::state_format::old::friends_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::name_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::name_to_bytes_test ... ok [INFO] [stdout] test toxcore::state_format::old::nospam_keys_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::path_nodes_kind_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_handle_packet_sendn_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_create_ping_resp_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_handle_packet ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_name ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_respond_ping_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_nospamkeys ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_send_nodes ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_status ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_request_nodes_close_test ... ok [INFO] [stdout] test toxcore::state_format::old::path_nodes_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_create_sendn_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_status_msg ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_try_add_to_empty ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_bucket_is_empty_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_remove_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_path_nodes ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_tcp_relays ... ok [INFO] [stdout] test toxcore::state_format::old::friends_is_friend_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_dht ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_section_test_random ... ok [INFO] [stdout] test toxcore::dht_node::test::receive_packets_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_parse_bytes_test ... ok [INFO] [stdout] test toxcore::dht_node::test::send_packets_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_get_closest_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_dht ... ok [INFO] [stdout] test toxcore::state_format::old::status_msg_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::status_msg_to_bytes_test ... ok [INFO] [stdout] test toxcore::state_format::old::tcp_relays_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::tcp_relays_test ... ok [INFO] [stdout] test toxcore::state_format::old::user_status_kind_test ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_encrypted_packet_incomplete ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_encrypted_packet_wrong_key ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_encrypted_packet_zero_length ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_packet_error ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_packet_imcomplete ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::encode_decode ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::encode_packet_too_big ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::client_decode_incomplete ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::client_encode_decode ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::client_encode_too_big ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::server_decode_incomplete ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::server_encode_decode ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::server_encode_too_big ... ok [INFO] [stdout] test toxcore::tcp::secure::tests::test_secure_communication ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_connect_notification ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_data_0 ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_data_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_data_other_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_data_other_not_linked ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_data_self_not_linked ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_disconnect_notification ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_disconnect_notification_0 ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_disconnect_notification_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_disconnect_notification_not_linked ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_disconnect_notification_other_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_disconnect_notification_other_not_linked ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_recv ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_send ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_send_empty_data ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_send_not_connected ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_eof ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_ping_request ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_send_to_loooong_data ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_ping_request_0 ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_name ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_pong_response_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_pong_response_0 ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_ping_request_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_request_to_itself ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_request_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_response ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_request ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::normal_communication_scenario ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::server_is_clonable ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::shutdown_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::shutdown_other_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::send_anything_to_dropped_client ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::shutdown_other_not_linked ... ok [INFO] [stdout] test toxcore::tcp::tests::client_handshake_with_different_keypair ... ok [INFO] [stdout] test toxcore::tcp::tests::client_handshake_with_bad_payload ... ok [INFO] [stdout] test toxcore::tcp::tests::secure_communication_with_handshake ... ok [INFO] [stdout] test toxcore::tcp::tests::server_handshake_with_bad_payload ... ok [INFO] [stdout] test toxcore::tcp::tests::server_handshake_with_different_keypair ... ok [INFO] [stdout] test toxcore::timeout::test::node_timeout_id_test ... ok [INFO] [stdout] test toxcore::tcp::tests::network_handshake ... ok [INFO] [stdout] test toxcore::timeout::test::node_timeout_new_test ... ok [INFO] [stdout] test toxcore::timeout::test::node_timeout_pk_test ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_add_test ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_deref_test ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_request_too_many_connections ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_friends ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_push_test ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_get_timed_out_test ... ok [INFO] [stdout] test toxcore_tests::binary_io_tests::append_zeros_test_u8_pass ... ok [INFO] [stdout] test toxcore_tests::binary_io_tests::ne_u64_test ... ok [INFO] [stdout] test toxcore_tests::binary_io_tests::xor_checksum_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::crypto_init_test ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_remove_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::decrypt_data_symmetric_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::encrypt_data_symmetric_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::encrypt_precompute_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_status ... ok [INFO] [stdout] test toxcore::timeout::test::node_timeout_is_timed_out_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_0xf_plus_one ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_0xff_max ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_0xff_plus_one ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_random ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_zero_plus_one ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::public_key_cmp_test_empty ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::public_key_cmp_test_random ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_number_test_zero_plus_0xff00 ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_number_test_0xff0000_plus_0x011000 ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::nonce_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::public_key_valid_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::public_key_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::random_u64_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::random_u32_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_1_capacity_try_add_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::secret_key_parse_bytes_test ... ok [INFO] [stderr] ERROR:: Treating Some(0) as None [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_path_nodes ... ok [INFO] [stderr] ERROR:: Treating Some(0) as None [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_nospamkeys ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_try_add_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_remove_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_ping_resp_test_invalid ... ok [INFO] [stdout] test toxcore::state_format::old::state_is_own_pk_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::binary_io_tests::append_zeros_test_u8_fail ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_ping_resp_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_request_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_kind_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_request_get_request_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ip_addr_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ip_type_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ip_type_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ip_addr_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_index_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ipv4_addr_from_bytes_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_status_msg ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_size_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ipv6_addr_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_deref_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_id_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_from_bytes_test ... ok [INFO] [stdout] test toxcore::state_format::old::friend_state_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_try_add_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_deref_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_paket_get_payload_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_id_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_new_test_ip_type_TCP_IPv4 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_ip_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_new_test_ip_type_UDP_IPv4 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_new_test_ip_type_UDP_IPv6 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_new_test_ip_type_TCP_IPv6 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_to_bytes_test_cmp_to_req ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_parse_bytes_test_port ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_to_bytes_test_ipv6 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_to_bytes_test_ipv4 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_from_bytes_test_length_short ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_from_bytes_test_no_iptype ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_to_bytes_test_pk ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_from_bytes_test_length_too_long ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_id_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_from_bytes_test_wrong_iptype ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_parse_bytes_test_length_too_long ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_kind_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_id_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_kind_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_parse_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_parse_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::public_key_distance_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_from_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_to_bytes_test_cmp_ping_req ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_kind_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::network_tests::bind_udp_test ... ignored [INFO] [stdout] test toxcore_tests::network_tests::networking_core_new_test ... ok [INFO] [stdout] test toxcore_tests::network_tests::networking_core_register_test ... ok [INFO] [stdout] test toxcore_tests::packet_kind_tests::packet_kind_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::packet_kind_tests::user_status_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_with_nodes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_parse_bytes_multiple_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::friend_status_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_is_empty_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_tcp_relays ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::dht_state_from_bytes ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::nospam_keys_default_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_parse_bytes_multiple_n_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::dht_state_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::nospam_keys_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::section_kind_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::section_kind_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::section_kind_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::name_parse_bytes_test ... ok [INFO] [stdout] test toxcore::state_format::old::state_add_friend_norequest_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::user_status_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::user_status_default_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::user_status_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::user_status_parse_bytes_test_rest ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::nospam_keys_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_default_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_new_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::dht_state_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_fmt_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_fmt_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_new_nospam_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_parse_bytes_rest_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::get_salt_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_decrypt_error_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::is_encrypted_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::status_message_parse_bytes_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_decrypt_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_encrypt_error_test ... ok [INFO] [stdout] test toxcore::state_format::old::state_parse_bytes_test_magic ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_remove_test ... ok [INFO] [stdout] test toxcore::state_format::old::state_parse_bytes_test_section_detect ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_response_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::friends_add_friend_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::friends_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::friends_to_bytes_test ... ok [INFO] [stdout] test toxencryptsave::pass_key_new_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::state_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_get_closest_test ... ok [INFO] [stdout] test toxencryptsave::pass_key_with_salt_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_encrypt_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_friends ... test toxcore::state_format::old::section_data_into_sect_mult_test_friends has been running for over 60 seconds [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_random ... test toxcore::state_format::old::section_data_into_sect_mult_test_random has been running for over 60 seconds [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_key_decrypt_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_key_encrypt_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_random ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_friends ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 306 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/load_state_format_old-c9a48d2850956e06 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_state_format_old_load ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/serialize_deserialize_state_format_old-ac701602a98e8913 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_state_format_to_and_from_bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests tox [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test src/toxcore/state_format/old.rs - toxcore::state_format::old::DhtState (line 314) ... FAILED [INFO] [stdout] test src/toxcore/network.rs - toxcore::network::PortRange (line 219) ... FAILED [INFO] [stdout] test src/toxcore/state_format/old.rs - toxcore::state_format::old::SectionKind (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/toxcore/state_format/old.rs - toxcore::state_format::old::Name::new (line 853) ... FAILED [INFO] [stdout] test src/toxcore/state_format/old.rs - toxcore::state_format::old::FriendStatus (line 442) ... ok [INFO] [stdout] test src/toxcore/tcp/secure.rs - toxcore::tcp::secure (line 29) ... FAILED [INFO] [stdout] test src/toxcore/state_format/old.rs - toxcore::state_format::old::UserStatus (line 538) ... FAILED [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::NoSpam (line 99) ... FAILED [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::NoSpam (line 83) ... FAILED [INFO] [stdout] test src/toxcore/state_format/old.rs - toxcore::state_format::old::NospamKeys (line 246) ... FAILED [INFO] [stdout] test src/toxcore/state_format/old.rs - toxcore::state_format::old::StatusMsg::new (line 904) ... FAILED [INFO] [stdout] test src/toxcore/network.rs - toxcore::network::PortRange (line 233) ... FAILED [INFO] [stdout] test src/toxcore/dht.rs - toxcore::dht::Bucket (line 1035) ... FAILED [INFO] [stdout] test src/toxcore/dht_new/kbucket.rs - toxcore::dht_new::kbucket::Bucket (line 273) ... FAILED [INFO] [stdout] test src/toxcore/network.rs - toxcore::network::PortRange (line 260) ... FAILED [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 304) ... FAILED [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 270) ... FAILED [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::ToxId::checksum (line 148) ... FAILED [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 341) ... FAILED [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::ToxId::new_nospam (line 206) ... FAILED [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::ToxId::new (line 184) ... FAILED [INFO] [stdout] test src/toxcore/state_format/old.rs - toxcore::state_format::old::DhtState (line 388) ... ok [INFO] [stdout] test src/toxcore/network.rs - toxcore::network::PortRange (line 247) ... ok [INFO] [stdout] test src/toxcore/crypto_core.rs - toxcore::crypto_core::crypto_init (line 46) ... ok [INFO] [stdout] test src/lib.rs - toxencryptsave (line 195) ... ok [INFO] [stdout] test src/toxencryptsave/mod.rs - toxencryptsave::PassKey::encrypt (line 187) ... ok [INFO] [stdout] test src/toxcore/toxid.rs - toxcore::toxid::NoSpam::new (line 58) ... ok [INFO] [stdout] test src/toxcore/timeout.rs - toxcore::timeout::TimeoutQueue (line 225) ... ok [INFO] [stdout] test src/toxencryptsave/mod.rs - toxencryptsave::PassKey::new (line 112) ... ok [INFO] [stdout] test src/toxencryptsave/mod.rs - toxencryptsave::PassKey::with_salt (line 138) ... ok [INFO] [stdout] test src/toxencryptsave/mod.rs - toxencryptsave::get_salt (line 369) ... ok [INFO] [stdout] test src/toxencryptsave/mod.rs - toxencryptsave::PassKey::decrypt (line 231) ... ok [INFO] [stdout] test src/toxencryptsave/mod.rs - toxencryptsave::pass_decrypt (line 316) ... ok [INFO] [stdout] test src/toxencryptsave/mod.rs - toxencryptsave::pass_encrypt (line 281) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/toxcore/state_format/old.rs - toxcore::state_format::old::DhtState (line 314) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/network.rs - toxcore::network::PortRange (line 219) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/state_format/old.rs - toxcore::state_format::old::SectionKind (line 117) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/state_format/old.rs - toxcore::state_format::old::Name::new (line 853) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/tcp/secure.rs - toxcore::tcp::secure (line 29) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/state_format/old.rs - toxcore::state_format::old::UserStatus (line 538) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/toxid.rs - toxcore::toxid::NoSpam (line 99) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/toxid.rs - toxcore::toxid::NoSpam (line 83) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/state_format/old.rs - toxcore::state_format::old::NospamKeys (line 246) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/state_format/old.rs - toxcore::state_format::old::StatusMsg::new (line 904) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/network.rs - toxcore::network::PortRange (line 233) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/dht.rs - toxcore::dht::Bucket (line 1035) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/dht_new/kbucket.rs - toxcore::dht_new::kbucket::Bucket (line 273) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/network.rs - toxcore::network::PortRange (line 260) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 304) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 270) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/toxid.rs - toxcore::toxid::ToxId::checksum (line 148) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 341) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/toxid.rs - toxcore::toxid::ToxId::new_nospam (line 206) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/toxcore/toxid.rs - toxcore::toxid::ToxId::new (line 184) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/toxcore/dht.rs - toxcore::dht::Bucket (line 1035) [INFO] [stdout] src/toxcore/dht_new/kbucket.rs - toxcore::dht_new::kbucket::Bucket (line 273) [INFO] [stdout] src/toxcore/network.rs - toxcore::network::PortRange (line 219) [INFO] [stdout] src/toxcore/network.rs - toxcore::network::PortRange (line 233) [INFO] [stdout] src/toxcore/network.rs - toxcore::network::PortRange (line 260) [INFO] [stdout] src/toxcore/state_format/old.rs - toxcore::state_format::old::DhtState (line 314) [INFO] [stdout] src/toxcore/state_format/old.rs - toxcore::state_format::old::Name::new (line 853) [INFO] [stdout] src/toxcore/state_format/old.rs - toxcore::state_format::old::NospamKeys (line 246) [INFO] [stdout] src/toxcore/state_format/old.rs - toxcore::state_format::old::SectionKind (line 117) [INFO] [stdout] src/toxcore/state_format/old.rs - toxcore::state_format::old::StatusMsg::new (line 904) [INFO] [stdout] src/toxcore/state_format/old.rs - toxcore::state_format::old::UserStatus (line 538) [INFO] [stdout] src/toxcore/tcp/secure.rs - toxcore::tcp::secure (line 29) [INFO] [stdout] src/toxcore/toxid.rs - toxcore::toxid::NoSpam (line 83) [INFO] [stdout] src/toxcore/toxid.rs - toxcore::toxid::NoSpam (line 99) [INFO] [stdout] src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 270) [INFO] [stdout] src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 304) [INFO] [stdout] src/toxcore/toxid.rs - toxcore::toxid::ToxId (line 341) [INFO] [stdout] src/toxcore/toxid.rs - toxcore::toxid::ToxId::checksum (line 148) [INFO] [stdout] src/toxcore/toxid.rs - toxcore::toxid::ToxId::new (line 184) [INFO] [stdout] src/toxcore/toxid.rs - toxcore::toxid::ToxId::new_nospam (line 206) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 14 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "59c0ff3323fa73cad122304a6bfd68d6caf2ca13bf7d95e8553beabb28b9744b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59c0ff3323fa73cad122304a6bfd68d6caf2ca13bf7d95e8553beabb28b9744b", kill_on_drop: false }` [INFO] [stdout] 59c0ff3323fa73cad122304a6bfd68d6caf2ca13bf7d95e8553beabb28b9744b