[INFO] cloning repository https://github.com/zetok/tox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zetok/tox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fe1c4e39a28b280fb76f3b22f4d2484a3a1e08d [INFO] testing zetok/tox against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox" "/workspace/builds/worker-37/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-37/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zetok/tox on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zetok/tox [INFO] finished tweaking git repo https://github.com/zetok/tox [INFO] tweaked toml for git repo https://github.com/zetok/tox written to /workspace/builds/worker-37/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-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a42b2feaff39b2ae4649733b53c8ae37bdf87264fee27bcdf6d124dd1f5046a [INFO] running `Command { std: "docker" "start" "-a" "3a42b2feaff39b2ae4649733b53c8ae37bdf87264fee27bcdf6d124dd1f5046a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a42b2feaff39b2ae4649733b53c8ae37bdf87264fee27bcdf6d124dd1f5046a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a42b2feaff39b2ae4649733b53c8ae37bdf87264fee27bcdf6d124dd1f5046a", kill_on_drop: false }` [INFO] [stdout] 3a42b2feaff39b2ae4649733b53c8ae37bdf87264fee27bcdf6d124dd1f5046a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ee0f73e2c69ceb48d3ab04b2ec118a224cde64a63420142eba23ce0736f52b8 [INFO] running `Command { std: "docker" "start" "-a" "6ee0f73e2c69ceb48d3ab04b2ec118a224cde64a63420142eba23ce0736f52b8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling cookie-factory v0.2.2 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling log v0.3.9 [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 libsodium-sys v0.0.16 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling bytes v0.4.5 [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 sodiumoxide v0.0.16 [INFO] [stderr] Compiling tox v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/binary_io.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | fn expect(self, &str) -> T; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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] 195 | | /// return `None`. [INFO] [stdout] | |_-----------------^ [INFO] [stdout] | | [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:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | / /// Fail if there are less than 4 bytes supplied, otherwise parses first [INFO] [stdout] 225 | | /// 4 bytes as an `Ipv4Addr`. [INFO] [stdout] | |_----------------------------^ [INFO] [stdout] | | [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] 230 | | /// 16 bytes as an `Ipv6Addr`. [INFO] [stdout] | |_-----------------------------^ [INFO] [stdout] | | [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/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 the macro `impls_for_pings` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht.rs:781:24 [INFO] [stdout] | [INFO] [stdout] 781 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht.rs:781:36 [INFO] [stdout] | [INFO] [stdout] 781 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(sock.set_broadcast(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let sock = try!( [INFO] [stdout] | ^^^ [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: 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: 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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht_new/kbucket.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht_new/kbucket.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:158:52 [INFO] [stdout] | [INFO] [stdout] 158 | let maybe_key = PrecomputedKey::from_slice(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let key = Box::new(try!(maybe_key.ok_or(KeyDerivationError::Failed))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let nonce = try!(Nonce::from_slice(&data[ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | let output = try!(crypto_core::decrypt_data_symmetric( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | try!(PassKey::new(passphrase)).encrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | let salt = try!(get_salt(data).ok_or(KeyDerivationError::Failed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | try!(PassKey::with_salt(passphrase, salt)).decrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | static CRYPTO_INIT_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - object: Rc>, [INFO] [stdout] 61 + object: Rc>, [INFO] [stdout] | [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stdout] 57 + pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/network.rs:127:88 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] 127 + pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.18s [INFO] running `Command { std: "docker" "inspect" "6ee0f73e2c69ceb48d3ab04b2ec118a224cde64a63420142eba23ce0736f52b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ee0f73e2c69ceb48d3ab04b2ec118a224cde64a63420142eba23ce0736f52b8", kill_on_drop: false }` [INFO] [stdout] 6ee0f73e2c69ceb48d3ab04b2ec118a224cde64a63420142eba23ce0736f52b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87999e7b4e592df7c44aca6dd26181051765d76120dcf4f52e890febf76904e1 [INFO] running `Command { std: "docker" "start" "-a" "87999e7b4e592df7c44aca6dd26181051765d76120dcf4f52e890febf76904e1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/binary_io.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | fn expect(self, &str) -> T; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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] 195 | | /// return `None`. [INFO] [stdout] | |_-----------------^ [INFO] [stdout] | | [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:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | / /// Fail if there are less than 4 bytes supplied, otherwise parses first [INFO] [stdout] 225 | | /// 4 bytes as an `Ipv4Addr`. [INFO] [stdout] | |_----------------------------^ [INFO] [stdout] | | [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] 230 | | /// 16 bytes as an `Ipv6Addr`. [INFO] [stdout] | |_-----------------------------^ [INFO] [stdout] | | [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/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 the macro `impls_for_pings` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht.rs:781:24 [INFO] [stdout] | [INFO] [stdout] 781 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht.rs:781:36 [INFO] [stdout] | [INFO] [stdout] 781 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(sock.set_broadcast(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let sock = try!( [INFO] [stdout] | ^^^ [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: 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: 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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht_new/kbucket.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht_new/kbucket.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:158:52 [INFO] [stdout] | [INFO] [stdout] 158 | let maybe_key = PrecomputedKey::from_slice(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let key = Box::new(try!(maybe_key.ok_or(KeyDerivationError::Failed))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let nonce = try!(Nonce::from_slice(&data[ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | let output = try!(crypto_core::decrypt_data_symmetric( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | try!(PassKey::new(passphrase)).encrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | let salt = try!(get_salt(data).ok_or(KeyDerivationError::Failed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | try!(PassKey::with_salt(passphrase, salt)).decrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | static CRYPTO_INIT_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - object: Rc>, [INFO] [stdout] 61 + object: Rc>, [INFO] [stdout] | [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stdout] 57 + pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/network.rs:127:88 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] 127 + pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.5 [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: the `#[test]` attribute may only be used on a non-associated function [INFO] [stdout] --> src/toxcore/dht_node.rs:947:5 [INFO] [stdout] | [INFO] [stdout] 947 | #[test] [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a a function to be run on a test and has no effect on non-functions [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] | |_____- expected a non-associated function, found an item macro invocation [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 947 | #[cfg(test)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `SelectNext` in tuple element 1 that must be used [INFO] [stdout] --> examples/tcp_client.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | core.run( client ).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: futures do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/binary_io.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | fn expect(self, &str) -> T; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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] 195 | | /// return `None`. [INFO] [stdout] | |_-----------------^ [INFO] [stdout] | | [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:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | / /// Fail if there are less than 4 bytes supplied, otherwise parses first [INFO] [stdout] 225 | | /// 4 bytes as an `Ipv4Addr`. [INFO] [stdout] | |_----------------------------^ [INFO] [stdout] | | [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] 230 | | /// 16 bytes as an `Ipv6Addr`. [INFO] [stdout] | |_-----------------------------^ [INFO] [stdout] | | [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/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 the macro `impls_for_pings` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht.rs:781:24 [INFO] [stdout] | [INFO] [stdout] 781 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht.rs:781:36 [INFO] [stdout] | [INFO] [stdout] 781 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(sock.set_broadcast(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxcore/network.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let sock = try!( [INFO] [stdout] | ^^^ [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: 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: 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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht_new/kbucket.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/toxcore/dht_new/kbucket.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:158:52 [INFO] [stdout] | [INFO] [stdout] 158 | let maybe_key = PrecomputedKey::from_slice(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let key = Box::new(try!(maybe_key.ok_or(KeyDerivationError::Failed))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let nonce = try!(Nonce::from_slice(&data[ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | let output = try!(crypto_core::decrypt_data_symmetric( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | try!(PassKey::new(passphrase)).encrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | let salt = try!(get_salt(data).ok_or(KeyDerivationError::Failed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toxencryptsave/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | try!(PassKey::with_salt(passphrase, salt)).decrypt(data) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/toxcore/crypto_core.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | static CRYPTO_INIT_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - object: Rc>, [INFO] [stdout] 61 + object: Rc>, [INFO] [stdout] | [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stdout] 57 + pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stdout] | [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - fn callback(num: Rc>, _: SocketAddr, _: &[u8]) -> usize { [INFO] [stdout] 55 + fn callback(num: Rc>, _: SocketAddr, _: &[u8]) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toxcore/network.rs:127:88 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] 127 + pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stdout] | [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - net.register(99, callback, Rc::new(RefCell::new(1usize)) as Rc>); [INFO] [stdout] 62 + net.register(99, callback, Rc::new(RefCell::new(1usize)) as Rc>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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: 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: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 18s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/tox-40e1ce5385287dc9) [INFO] [stderr] Executable tests/load-state-format-old.rs (/opt/rustwide/target/debug/deps/load_state_format_old-af7ff5fb99a74528) [INFO] [stderr] Executable tests/serialize-deserialize-state-format-old.rs (/opt/rustwide/target/debug/deps/serialize_deserialize_state_format_old-5136e405869b5ed4) [INFO] running `Command { std: "docker" "inspect" "87999e7b4e592df7c44aca6dd26181051765d76120dcf4f52e890febf76904e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87999e7b4e592df7c44aca6dd26181051765d76120dcf4f52e890febf76904e1", kill_on_drop: false }` [INFO] [stdout] 87999e7b4e592df7c44aca6dd26181051765d76120dcf4f52e890febf76904e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fbcd6cb9fe2fb30e1c41da680aeaa0a2ad3f7cf0dacf4a14e4954a7d38947344 [INFO] running `Command { std: "docker" "start" "-a" "fbcd6cb9fe2fb30e1c41da680aeaa0a2ad3f7cf0dacf4a14e4954a7d38947344", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/toxcore/binary_io.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | fn expect(self, &str) -> T; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [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] 195 | | /// return `None`. [INFO] [stderr] | |_-----------------^ [INFO] [stderr] | | [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:224:1 [INFO] [stderr] | [INFO] [stderr] 224 | / /// Fail if there are less than 4 bytes supplied, otherwise parses first [INFO] [stderr] 225 | | /// 4 bytes as an `Ipv4Addr`. [INFO] [stderr] | |_----------------------------^ [INFO] [stderr] | | [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] 230 | | /// 16 bytes as an `Ipv6Addr`. [INFO] [stderr] | |_-----------------------------^ [INFO] [stderr] | | [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/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: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/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 the macro `impls_for_pings` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/toxcore/dht.rs:781:24 [INFO] [stderr] | [INFO] [stderr] 781 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/toxcore/dht.rs:781:36 [INFO] [stderr] | [INFO] [stderr] 781 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `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] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `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] 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/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/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: 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: 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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/toxcore/dht_new/kbucket.rs:74:24 [INFO] [stderr] | [INFO] [stderr] 74 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/toxcore/dht_new/kbucket.rs:74:36 [INFO] [stderr] | [INFO] [stderr] 74 | fn distance(&self, &PublicKey, &PublicKey) -> Ordering; [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PublicKey` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `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 macro `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 macro `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 macro `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 macro `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 macro `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 macro `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: use of deprecated constant `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 constant `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 constant: `Once::new()` [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] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 - object: Rc>, [INFO] [stderr] 61 + object: Rc>, [INFO] [stderr] | [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] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 57 - pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stderr] 57 + pub type PacketHandlerCallback = fn(Rc>, addr: SocketAddr, data: &[u8]) -> usize; [INFO] [stderr] | [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] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 127 - pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stderr] 127 + pub fn register(&mut self, byte: u8, cb: PacketHandlerCallback, object: Rc>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the `#[test]` attribute may only be used on a non-associated function [INFO] [stderr] --> src/toxcore/dht_node.rs:947:5 [INFO] [stderr] | [INFO] [stderr] 947 | #[test] [INFO] [stderr] | ^^^^^^^ the `#[test]` macro causes a a function to be run on a test and has no effect on non-functions [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] | |_____- expected a non-associated function, found an item macro invocation [INFO] [stderr] | [INFO] [stderr] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stderr] | [INFO] [stderr] 947 | #[cfg(test)] [INFO] [stderr] | [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [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: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [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] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 - fn callback(num: Rc>, _: SocketAddr, _: &[u8]) -> usize { [INFO] [stderr] 55 + fn callback(num: Rc>, _: SocketAddr, _: &[u8]) -> usize { [INFO] [stderr] | [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] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - net.register(99, callback, Rc::new(RefCell::new(1usize)) as Rc>); [INFO] [stderr] 62 + net.register(99, callback, Rc::new(RefCell::new(1usize)) as Rc>); [INFO] [stderr] | [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: 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: `tox` (lib) generated 35 warnings [INFO] [stderr] warning: `tox` (lib test) generated 43 warnings (35 duplicates) [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 `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: `tox` (example "tcp_client") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tox-40e1ce5385287dc9) [INFO] [stdout] [INFO] [stdout] running 307 tests [INFO] [stderr] ERROR:: Treating Some(0) as None [INFO] [stderr] ERROR:: Treating Some(0) as None [INFO] [stderr] ERROR:: Treating Some(0) as None [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_bucket_1_capacity_try_add_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_kbucket_size_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_public_key_distance_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_bucket_try_add_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::kbucket_position_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_new_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_bucket_remove_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_nat_ping_resp_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::test::dht_packet_new_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_resp_to_bytes_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_get_nodes_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_ping_req_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_ping_resp_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_get_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_create_ping_req_test ... ok [INFO] [stdout] test toxcore::dht::test::bucket_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::dht_kbucket_try_add_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_new ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_pk_test ... ok [INFO] [stdout] test toxcore::dht::test::kbucket_contains_test ... ok [INFO] [stdout] test toxcore::dht::test::bucket_contains_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_request_nodes_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::kbucket_iter_next_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::kbucket_contains_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_sk_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_create_getn_test ... ok [INFO] [stdout] test toxcore::dht::test::kbucket_iter_next_test ... ok [INFO] [stdout] test toxcore::state_format::old::eof_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::name_kind_test ... ok [INFO] [stdout] test toxcore::dht_node::test::tox_codec_encode_test ... ok [INFO] [stdout] test toxcore::state_format::old::friends_kind_test ... ok [INFO] [stdout] test toxcore::dht_node::test::tox_codec_decode_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_respond_ping_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_create_ping_resp_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::state_format::old::dht_state_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::friend_state_new_from_pk_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_send_nodes_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::packet::test::packet_send_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht::test::kbucket_can_add_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_name ... 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_request_nodes_close_test ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_encrypted_packet_zero_length ... ok [INFO] [stdout] test toxcore::state_format::old::tcp_relays_kind_test ... ok [INFO] [stdout] test toxcore::state_format::old::user_status_kind_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::kbucket_can_add_test ... ok [INFO] [stdout] test toxcore::state_format::old::status_msg_kind_test ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::encode_decode ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::client_decode_incomplete ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::encode_packet_too_big ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_packet_error ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_encrypted_packet_wrong_key ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::server_encode_decode ... ok [INFO] [stdout] test toxcore::tcp::handshake::tests::server_decode_incomplete ... ok [INFO] [stdout] test toxcore::tcp::codec::tests::decode_encrypted_packet_incomplete ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_parse_bytes_test ... 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_encode_too_big ... ok [INFO] [stderr] ERROR:: Treating Some(0) as None [INFO] [stdout] test toxcore::tcp::codec::tests::decode_packet_imcomplete ... ok [INFO] [stderr] ERROR:: Treating Some(0) as None [INFO] [stdout] test toxcore::dht_node::test::dht_node_handle_packet_sendn_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_handle_packet ... 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::state_format::old::status_msg_to_bytes_test ... 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::state_format::old::section_data_into_sect_mult_test_status ... ok [INFO] [stdout] test toxcore::state_format::old::path_nodes_test ... 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_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 ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_recv ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_send_empty_data ... 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_disconnect_notification_0 ... 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_pong_response_0 ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_deref_test ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_request_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_ping_request_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_pong_response_not_connected ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_response ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_ping_request_0 ... ok [INFO] [stdout] test toxcore::tcp::tests::server_handshake_with_different_keypair ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_ping_request ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_send_not_connected ... 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::tests::secure_communication_with_handshake ... ok [INFO] [stdout] test toxcore::tcp::tests::server_handshake_with_bad_payload ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::normal_communication_scenario ... ok [INFO] [stdout] test toxcore::tcp::tests::client_handshake_with_bad_payload ... ok [INFO] [stdout] test toxcore::tcp::tests::client_handshake_with_different_keypair ... ok [INFO] [stdout] test toxcore::timeout::test::node_timeout_id_test ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_add_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_create_sendn_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_zero_plus_one ... ok [INFO] [stdout] test toxcore_tests::binary_io_tests::ne_u64_test ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_send ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_random ... ok [INFO] [stdout] test toxcore::state_format::old::tcp_relays_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_mult_test_status_msg ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_0xf_plus_one ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::random_u32_test ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_push_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::public_key_cmp_test_empty ... ok [INFO] [stdout] test toxcore::tcp::tests::network_handshake ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::public_key_cmp_test_random ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::public_key_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::nonce_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_try_add_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_0xff_plus_one ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::random_u64_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::secret_key_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_test_0xff_max ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_id_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_ping_resp_test_invalid ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_kind_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::encrypt_data_symmetric_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_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_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_deref_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_index_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::kbucket_size_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_parse_bytes_test_port ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_from_bytes_test_wrong_iptype ... 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_TCP_IPv4 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_new_test_ip_type_TCP_IPv6 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_new_test_ip_type_UDP_IPv6 ... 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_from_bytes_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::ping_req_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_kind_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_parse_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ip_addr_to_bytes_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_try_add_to_empty ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_new_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_number_test_0xff0000_plus_0x011000 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_to_bytes_test_ipv6 ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ipv4_addr_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_id_test ... 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_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_to_bytes_test_ipv4 ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::decrypt_data_symmetric_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_req_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_to_bytes_test_pk ... 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_id_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_request_new_test ... ok [INFO] [stdout] test toxcore::dht_node::test::dht_node_send_nodes ... 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::dht_paket_get_payload_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_1_capacity_try_add_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_kind_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::network_tests::bind_udp_test ... ignored [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_to_bytes_test_cmp_ping_req ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::binary_io_tests::xor_checksum_test ... ok [INFO] [stdout] test toxcore_tests::network_tests::networking_core_register_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ip_addr_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_request_get_request_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_id_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_kind_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_new_nospam_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::increment_nonce_number_test_zero_plus_0xff00 ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::get_salt_test ... ok [INFO] [stdout] test toxcore_tests::packet_kind_tests::user_status_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::friend_status_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::nospam_keys_default_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::nospam_keys_parse_bytes_rest_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::section_kind_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::user_status_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_default_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_fmt_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::section_kind_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::network_tests::networking_core_new_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_new_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_fmt_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::no_spam_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::toxid_tests::tox_id_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::nospam_keys_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_bucket_is_empty_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::dht_state_from_bytes ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_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::name_parse_bytes_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_decrypt_error_test ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::shutdown_other_not_linked ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_request ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::dht_state_parse_bytes_rest_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::is_encrypted_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::encrypt_precompute_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_decrypt_test ... ok [INFO] [stdout] test toxcore::timeout::test::node_timeout_pk_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_encrypt_error_test ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_request_to_itself ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::status_message_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_try_add_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::public_key_valid_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_req_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_parse_bytes_multiple_n_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::nat_ping_resp_deref_test ... ok [INFO] [stdout] test toxcore::timeout::test::node_timeout_new_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ipv6_addr_from_bytes_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_remove_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_with_nodes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_from_bytes_test_length_short ... ok [INFO] [stdout] test toxcore_tests::binary_io_tests::append_zeros_test_u8_pass ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::section_kind_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_remove_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_node_parse_bytes_multiple_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::packed_nodes_from_bytes_test_length_too_long ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::dht_state_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_parse_test ... ok [INFO] [stdout] test toxcore_tests::packet_kind_tests::packet_kind_from_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_is_empty_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::ping_resp_from_test ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_data_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::server_is_clonable ... ok [INFO] [stdout] test toxcore_tests::dht_tests::bucket_remove_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_ping_resp_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_from_bytes_test ... ok [INFO] [stdout] test toxcore::timeout::test::timeout_queue_get_timed_out_test ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_oob_send_to_loooong_data ... ok [INFO] [stdout] test toxcore::timeout::test::node_timeout_is_timed_out_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::send_nodes_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::dht_packet_parse_bytes_rest_test ... ok [INFO] [stdout] test toxcore::dht_new::kbucket::test::dht_kbucket_get_closest_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::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_section_test_random ... ok [INFO] [stdout] test toxcore::tcp::server::server::tests::handle_route_request_too_many_connections ... ok [INFO] [stdout] test toxcore_tests::dht_tests::get_nodes_response_test ... ok [INFO] [stdout] test toxcore::state_format::old::friend_state_parse_bytes_test ... ok [INFO] [stdout] test toxcore_tests::dht_tests::kbucket_get_closest_test ... 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_sect_mult_test_tcp_relays ... ok [INFO] [stdout] test toxencryptsave::pass_key_new_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::friends_parse_bytes_test ... ok [INFO] [stdout] test toxencryptsave::pass_key_with_salt_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::friends_add_friend_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_eof ... ok [INFO] [stdout] test toxcore_tests::binary_io_tests::append_zeros_test_u8_fail - should panic ... ok [INFO] [stdout] test toxcore::state_format::old::state_add_friend_norequest_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::friends_to_bytes_test ... ok [INFO] [stdout] test toxcore_tests::crypto_core_tests::crypto_init_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_status_msg ... ok [INFO] [stdout] test toxcore::state_format::old::state_parse_bytes_test_magic ... ok [INFO] [stdout] test toxcore::state_format::old::state_is_own_pk_test ... ok [INFO] [stdout] test toxcore_tests::state_format_old_tests::state_to_bytes_test ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_name ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_path_nodes ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_status ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_nospamkeys ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_dht ... ok [INFO] [stdout] test toxcore::state_format::old::state_parse_bytes_test_section_detect ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_friends ... ok [INFO] [stdout] test toxcore::state_format::old::section_data_into_sect_test_tcp_relays ... ok [INFO] [stdout] test toxcore::dht_node::test::receive_packets_test ... ok [INFO] [stdout] test toxcore::dht_node::test::send_packets_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_encrypt_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_key_encrypt_test ... ok [INFO] [stdout] test toxencryptsave_tests::encryptsave_tests::pass_key_decrypt_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; finished in 23.11s [INFO] [stdout] [INFO] [stderr] Running tests/load-state-format-old.rs (/opt/rustwide/target/debug/deps/load_state_format_old-af7ff5fb99a74528) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--test load-state-format-old' [INFO] [stdout] test test_state_format_old_load ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_state_format_old_load stdout ---- [INFO] [stdout] thread 'test_state_format_old_load' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `"State { nospamkeys: NospamKeys { nospam: NoSpam([8, 121, 102, 250]), pk: PublicKey([190, 94, 7, 2, 219, 8, 181, 85, 72, 201, 209, 0, 113, 106, 161, 39, 4, 198, 174, 163, 126, 121, 251, 218, 126, 227, 69, 62, 220, 152, 0, 102]), sk: SecretKey(****) }, dhtstate: DhtState([PackedNode { ip_type: U4, saddr: 95.31.20.151:33445, pk: PublicKey([156, 166, 155, 183, 77, 231, 192, 86, 209, 204, 107, 22, 171, 138, 10, 56, 114, 92, 3, 73, 209, 135, 216, 153, 103, 102, 149, 133, 132, 211, 147, 64]) }, PackedNode { ip_type: U4, saddr: 51.254.84.212:33445, pk: PublicKey([174, 194, 4, 185, 164, 80, 20, 18, 213, 240, 187, 103, 217, 200, 27, 93, 179, 238, 106, 218, 100, 18, 45, 50, 163, 233, 176, 147, 213, 68, 50, 125]) }, PackedNode { ip_type: U4, saddr: 85.143.219.211:33445, pk: PublicKey([175, 184, 58, 100, 7, 45, 218, 251, 162, 141, 244, 154, 111, 40, 128, 29, 83, 188, 220, 162, 231, 183, 95, 193, 86, 96, 155, 78, 134, 177, 138, 26]) }, PackedNode { ip_type: U4, saddr: 96.35.0.163:33445, pk: PublicKey([173, 37, 20, 232, 142, 175, 234, 107, 45, 211, 242, 58, 72, 24, 35, 230, 241, 7, 156, 20, 158, 56, 100, 145, 248, 208, 243, 52, 216, 165, 243, 114]) }, PackedNode { ip_type: U4, saddr: 82.154.147.70:10000, pk: PublicKey([172, 61, 124, 160, 207, 20, 206, 199, 203, 34, 27, 144, 196, 172, 176, 78, 226, 127, 139, 19, 64, 183, 235, 143, 233, 26, 219, 65, 235, 44, 77, 112]) }, PackedNode { ip_type: U4, saddr: 95.215.44.78:33445, pk: PublicKey([103, 45, 190, 39, 180, 173, 185, 213, 251, 16, 90, 107, 182, 72, 178, 248, 253, 184, 155, 51, 35, 72, 106, 122, 33, 150, 131, 22, 224, 18, 2, 60]) }, PackedNode { ip_type: U4, saddr: 163.172.137.179:33445, pk: PublicKey([102, 52, 179, 127, 247, 211, 214, 237, 83, 12, 183, 48, 249, 21, 149, 131, 204, 210, 229, 104, 163, 146, 18, 255, 176, 190, 47, 245, 129, 215, 134, 69]) }, PackedNode { ip_type: U4, saddr: 130.133.110.14:33445, pk: PublicKey([70, 31, 163, 119, 110, 240, 250, 101, 95, 26, 5, 71, 125, 241, 179, 182, 20, 247, 214, 177, 36, 247, 219, 29, 212, 254, 60, 8, 176, 59, 100, 15]) }, PackedNode { ip_type: U4, saddr: 185.117.155.45:33445, pk: PublicKey([67, 72, 100, 148, 200, 205, 250, 43, 234, 92, 231, 144, 1, 161, 255, 81, 20, 116, 231, 226, 74, 149, 21, 133, 80, 4, 75, 191, 47, 8, 112, 80]) }, PackedNode { ip_type: U4, saddr: 46.163.140.6:33445, pk: PublicKey([68, 191, 46, 13, 148, 55, 90, 44, 236, 217, 123, 149, 194, 0, 27, 93, 230, 147, 215, 0, 134, 234, 85, 239, 62, 167, 93, 77, 231, 51, 42, 61]) }, PackedNode { ip_type: U4, saddr: 91.121.66.124:33445, pk: PublicKey([78, 63, 125, 55, 41, 86, 100, 187, 208, 116, 27, 109, 188, 182, 67, 29, 108, 215, 127, 196, 16, 83, 56, 194, 252, 49, 86, 123, 245, 200, 34, 74]) }, PackedNode { ip_type: U4, saddr: 82.154.147.70:10000, pk: PublicKey([172, 61, 124, 160, 207, 20, 206, 199, 203, 34, 27, 144, 196, 172, 176, 78, 226, 127, 139, 19, 64, 183, 235, 143, 233, 26, 219, 65, 235, 44, 77, 112]) }, PackedNode { ip_type: U4, saddr: 91.121.66.124:33445, pk: PublicKey([78, 63, 125, 55, 41, 86, 100, 187, 208, 116, 27, 109, 188, 182, 67, 29, 108, 215, 127, 196, 16, 83, 56, 194, 252, 49, 86, 123, 245, 200, 34, 74]) }, PackedNode { ip_type: U4, saddr: 95.215.44.78:33445, pk: PublicKey([103, 45, 190, 39, 180, 173, 185, 213, 251, 16, 90, 107, 182, 72, 178, 248, 253, 184, 155, 51, 35, 72, 106, 122, 33, 150, 131, 22, 224, 18, 2, 60]) }, PackedNode { ip_type: U4, saddr: 163.172.137.179:33445, pk: PublicKey([102, 52, 179, 127, 247, 211, 214, 237, 83, 12, 183, 48, 249, 21, 149, 131, 204, 210, 229, 104, 163, 146, 18, 255, 176, 190, 47, 245, 129, 215, 134, 69]) }, PackedNode { ip_type: U4, saddr: 95.31.20.151:33445, pk: PublicKey([156, 166, 155, 183, 77, 231, 192, 86, 209, 204, 107, 22, 171, 138, 10, 56, 114, 92, 3, 73, 209, 135, 216, 153, 103, 102, 149, 133, 132, 211, 147, 64]) }, PackedNode { ip_type: U4, saddr: 85.143.219.211:33445, pk: PublicKey([175, 184, 58, 100, 7, 45, 218, 251, 162, 141, 244, 154, 111, 40, 128, 29, 83, 188, 220, 162, 231, 183, 95, 193, 86, 96, 155, 78, 134, 177, 138, 26]) }, PackedNode { ip_type: U4, saddr: 51.254.84.212:33445, pk: PublicKey([174, 194, 4, 185, 164, 80, 20, 18, 213, 240, 187, 103, 217, 200, 27, 93, 179, 238, 106, 218, 100, 18, 45, 50, 163, 233, 176, 147, 213, 68, 50, 125]) }, PackedNode { ip_type: U4, saddr: 96.35.0.163:33445, pk: PublicKey([173, 37, 20, 232, 142, 175, 234, 107, 45, 211, 242, 58, 72, 24, 35, 230, 241, 7, 156, 20, 158, 56, 100, 145, 248, 208, 243, 52, 216, 165, 243, 114]) }, PackedNode { ip_type: U4, saddr: 82.154.147.70:10000, pk: PublicKey([172, 61, 124, 160, 207, 20, 206, 199, 203, 34, 27, 144, 196, 172, 176, 78, 226, 127, 139, 19, 64, 183, 235, 143, 233, 26, 219, 65, 235, 44, 77, 112]) }, PackedNode { ip_type: U4, saddr: 91.121.66.124:33445, pk: PublicKey([78, 63, 125, 55, 41, 86, 100, 187, 208, 116, 27, 109, 188, 182, 67, 29, 108, 215, 127, 196, 16, 83, 56, 194, 252, 49, 86, 123, 245, 200, 34, 74]) }, PackedNode { ip_type: U4, saddr: 163.172.137.179:33445, pk: PublicKey([102, 52, 179, 127, 247, 211, 214, 237, 83, 12, 183, 48, 249, 21, 149, 131, 204, 210, 229, 104, 163, 146, 18, 255, 176, 190, 47, 245, 129, 215, 134, 69]) }, PackedNode { ip_type: U4, saddr: 95.215.44.78:33445, pk: PublicKey([103, 45, 190, 39, 180, 173, 185, 213, 251, 16, 90, 107, 182, 72, 178, 248, 253, 184, 155, 51, 35, 72, 106, 122, 33, 150, 131, 22, 224, 18, 2, 60]) }, PackedNode { ip_type: U4, saddr: 95.31.20.151:33445, pk: PublicKey([156, 166, 155, 183, 77, 231, 192, 86, 209, 204, 107, 22, 171, 138, 10, 56, 114, 92, 3, 73, 209, 135, 216, 153, 103, 102, 149, 133, 132, 211, 147, 64]) }, PackedNode { ip_type: U4, saddr: 96.35.0.163:33445, pk: PublicKey([173, 37, 20, 232, 142, 175, 234, 107, 45, 211, 242, 58, 72, 24, 35, 230, 241, 7, 156, 20, 158, 56, 100, 145, 248, 208, 243, 52, 216, 165, 243, 114]) }, PackedNode { ip_type: U4, saddr: 51.254.84.212:33445, pk: PublicKey([174, 194, 4, 185, 164, 80, 20, 18, 213, 240, 187, 103, 217, 200, 27, 93, 179, 238, 106, 218, 100, 18, 45, 50, 163, 233, 176, 147, 213, 68, 50, 125]) }, PackedNode { ip_type: U4, saddr: 85.143.219.211:33445, pk: PublicKey([175, 184, 58, 100, 7, 45, 218, 251, 162, 141, 244, 154, 111, 40, 128, 29, 83, 188, 220, 162, 231, 183, 95, 193, 86, 96, 155, 78, 134, 177, 138, 26]) }]), friends: Friends([]), name: Name([116, 101, 115, 116, 95, 112, 117, 98, 108, 105, 99]), status_msg: StatusMsg([84, 111, 120, 117, 106, 196, 153, 32, 110, 97, 32, 113, 84, 111, 120]), status: Online, tcp_relays: TcpRelays([PackedNode { ip_type: T4, saddr: 95.215.44.78:33445, pk: PublicKey([103, 45, 190, 39, 180, 173, 185, 213, 251, 16, 90, 107, 182, 72, 178, 248, 253, 184, 155, 51, 35, 72, 106, 122, 33, 150, 131, 22, 224, 18, 2, 60]) }]), path_nodes: PathNodes([PackedNode { ip_type: U4, saddr: 82.154.147.70:10000, pk: PublicKey([172, 61, 124, 160, 207, 20, 206, 199, 203, 34, 27, 144, 196, 172, 176, 78, 226, 127, 139, 19, 64, 183, 235, 143, 233, 26, 219, 65, 235, 44, 77, 112]) }, PackedNode { ip_type: U4, saddr: 87.111.204.245:62561, pk: PublicKey([190, 44, 128, 10, 160, 251, 108, 73, 210, 253, 55, 77, 76, 31, 249, 7, 230, 65, 213, 3, 42, 53, 125, 141, 40, 34, 188, 26, 153, 254, 148, 127]) }, PackedNode { ip_type: U4, saddr: 70.228.66.19:33445, pk: PublicKey([191, 152, 20, 33, 131, 92, 146, 36, 203, 11, 47, 145, 240, 231, 80, 231, 17, 176, 83, 137, 196, 187, 86, 193, 127, 163, 95, 247, 66, 63, 213, 59]) }, PackedNode { ip_type: U4, saddr: 46.163.140.6:33445, pk: PublicKey([68, 191, 46, 13, 148, 55, 90, 44, 236, 217, 123, 149, 194, 0, 27, 93, 230, 147, 215, 0, 134, 234, 85, 239, 62, 167, 93, 77, 231, 51, 42, 61]) }, PackedNode { ip_type: U4, saddr: 91.121.66.124:33445, pk: PublicKey([78, 63, 125, 55, 41, 86, 100, 187, 208, 116, 27, 109, 188, 182, 67, 29, 108, 215, 127, 196, 16, 83, 56, 194, 252, 49, 86, 123, 245, 200, 34, 74]) }, PackedNode { ip_type: U4, saddr: 184.7.240.104:33445, pk: PublicKey([186, 108, 67, 234, 158, 59, 209, 27, 191, 108, 186, 80, 188, 231, 140, 74, 158, 224, 55, 136, 202, 170, 84, 198, 137, 176, 47, 40, 227, 56, 213, 14]) }, PackedNode { ip_type: U4, saddr: 46.193.0.139:11717, pk: PublicKey([190, 22, 2, 184, 81, 223, 133, 70, 207, 95, 141, 150, 201, 124, 16, 30, 162, 175, 236, 170, 162, 157, 72, 108, 173, 68, 72, 231, 240, 182, 75, 3]) }, PackedNode { ip_type: U4, saddr: 79.172.64.10:33445, pk: PublicKey([191, 221, 160, 60, 8, 16, 133, 203, 178, 68, 204, 179, 21, 102, 22, 41, 172, 35, 56, 76, 120, 124, 228, 230, 26, 92, 38, 174, 206, 225, 71, 104]) }]), eof: Eof }"`, [INFO] [stdout] right: `"State { nospamkeys: NospamKeys { nospam: NoSpam([8, 121, 102, 250]), pk: PublicKey([190, 94, 7, 2, 219, 8, 181, 85, 72, 201, 209, 0, 113, 106, 161, 39, 4, 198, 174, 163, 126, 121, 251, 218, 126, 227, 69, 62, 220, 152, 0, 102]), sk: SecretKey(****) }, dhtstate: DhtState([PackedNode { ip_type: U4, saddr: V4(95.31.20.151:33445), pk: PublicKey([156, 166, 155, 183, 77, 231, 192, 86, 209, 204, 107, 22, 171, 138, 10, 56, 114, 92, 3, 73, 209, 135, 216, 153, 103, 102, 149, 133, 132, 211, 147, 64]) }, PackedNode { ip_type: U4, saddr: V4(51.254.84.212:33445), pk: PublicKey([174, 194, 4, 185, 164, 80, 20, 18, 213, 240, 187, 103, 217, 200, 27, 93, 179, 238, 106, 218, 100, 18, 45, 50, 163, 233, 176, 147, 213, 68, 50, 125]) }, PackedNode { ip_type: U4, saddr: V4(85.143.219.211:33445), pk: PublicKey([175, 184, 58, 100, 7, 45, 218, 251, 162, 141, 244, 154, 111, 40, 128, 29, 83, 188, 220, 162, 231, 183, 95, 193, 86, 96, 155, 78, 134, 177, 138, 26]) }, PackedNode { ip_type: U4, saddr: V4(96.35.0.163:33445), pk: PublicKey([173, 37, 20, 232, 142, 175, 234, 107, 45, 211, 242, 58, 72, 24, 35, 230, 241, 7, 156, 20, 158, 56, 100, 145, 248, 208, 243, 52, 216, 165, 243, 114]) }, PackedNode { ip_type: U4, saddr: V4(82.154.147.70:10000), pk: PublicKey([172, 61, 124, 160, 207, 20, 206, 199, 203, 34, 27, 144, 196, 172, 176, 78, 226, 127, 139, 19, 64, 183, 235, 143, 233, 26, 219, 65, 235, 44, 77, 112]) }, PackedNode { ip_type: U4, saddr: V4(95.215.44.78:33445), pk: PublicKey([103, 45, 190, 39, 180, 173, 185, 213, 251, 16, 90, 107, 182, 72, 178, 248, 253, 184, 155, 51, 35, 72, 106, 122, 33, 150, 131, 22, 224, 18, 2, 60]) }, PackedNode { ip_type: U4, saddr: V4(163.172.137.179:33445), pk: PublicKey([102, 52, 179, 127, 247, 211, 214, 237, 83, 12, 183, 48, 249, 21, 149, 131, 204, 210, 229, 104, 163, 146, 18, 255, 176, 190, 47, 245, 129, 215, 134, 69]) }, PackedNode { ip_type: U4, saddr: V4(130.133.110.14:33445), pk: PublicKey([70, 31, 163, 119, 110, 240, 250, 101, 95, 26, 5, 71, 125, 241, 179, 182, 20, 247, 214, 177, 36, 247, 219, 29, 212, 254, 60, 8, 176, 59, 100, 15]) }, PackedNode { ip_type: U4, saddr: V4(185.117.155.45:33445), pk: PublicKey([67, 72, 100, 148, 200, 205, 250, 43, 234, 92, 231, 144, 1, 161, 255, 81, 20, 116, 231, 226, 74, 149, 21, 133, 80, 4, 75, 191, 47, 8, 112, 80]) }, PackedNode { ip_type: U4, saddr: V4(46.163.140.6:33445), pk: PublicKey([68, 191, 46, 13, 148, 55, 90, 44, 236, 217, 123, 149, 194, 0, 27, 93, 230, 147, 215, 0, 134, 234, 85, 239, 62, 167, 93, 77, 231, 51, 42, 61]) }, PackedNode { ip_type: U4, saddr: V4(91.121.66.124:33445), pk: PublicKey([78, 63, 125, 55, 41, 86, 100, 187, 208, 116, 27, 109, 188, 182, 67, 29, 108, 215, 127, 196, 16, 83, 56, 194, 252, 49, 86, 123, 245, 200, 34, 74]) }, PackedNode { ip_type: U4, saddr: V4(82.154.147.70:10000), pk: PublicKey([172, 61, 124, 160, 207, 20, 206, 199, 203, 34, 27, 144, 196, 172, 176, 78, 226, 127, 139, 19, 64, 183, 235, 143, 233, 26, 219, 65, 235, 44, 77, 112]) }, PackedNode { ip_type: U4, saddr: V4(91.121.66.124:33445), pk: PublicKey([78, 63, 125, 55, 41, 86, 100, 187, 208, 116, 27, 109, 188, 182, 67, 29, 108, 215, 127, 196, 16, 83, 56, 194, 252, 49, 86, 123, 245, 200, 34, 74]) }, PackedNode { ip_type: U4, saddr: V4(95.215.44.78:33445), pk: PublicKey([103, 45, 190, 39, 180, 173, 185, 213, 251, 16, 90, 107, 182, 72, 178, 248, 253, 184, 155, 51, 35, 72, 106, 122, 33, 150, 131, 22, 224, 18, 2, 60]) }, PackedNode { ip_type: U4, saddr: V4(163.172.137.179:33445), pk: PublicKey([102, 52, 179, 127, 247, 211, 214, 237, 83, 12, 183, 48, 249, 21, 149, 131, 204, 210, 229, 104, 163, 146, 18, 255, 176, 190, 47, 245, 129, 215, 134, 69]) }, PackedNode { ip_type: U4, saddr: V4(95.31.20.151:33445), pk: PublicKey([156, 166, 155, 183, 77, 231, 192, 86, 209, 204, 107, 22, 171, 138, 10, 56, 114, 92, 3, 73, 209, 135, 216, 153, 103, 102, 149, 133, 132, 211, 147, 64]) }, PackedNode { ip_type: U4, saddr: V4(85.143.219.211:33445), pk: PublicKey([175, 184, 58, 100, 7, 45, 218, 251, 162, 141, 244, 154, 111, 40, 128, 29, 83, 188, 220, 162, 231, 183, 95, 193, 86, 96, 155, 78, 134, 177, 138, 26]) }, PackedNode { ip_type: U4, saddr: V4(51.254.84.212:33445), pk: PublicKey([174, 194, 4, 185, 164, 80, 20, 18, 213, 240, 187, 103, 217, 200, 27, 93, 179, 238, 106, 218, 100, 18, 45, 50, 163, 233, 176, 147, 213, 68, 50, 125]) }, PackedNode { ip_type: U4, saddr: V4(96.35.0.163:33445), pk: PublicKey([173, 37, 20, 232, 142, 175, 234, 107, 45, 211, 242, 58, 72, 24, 35, 230, 241, 7, 156, 20, 158, 56, 100, 145, 248, 208, 243, 52, 216, 165, 243, 114]) }, PackedNode { ip_type: U4, saddr: V4(82.154.147.70:10000), pk: PublicKey([172, 61, 124, 160, 207, 20, 206, 199, 203, 34, 27, 144, 196, 172, 176, 78, 226, 127, 139, 19, 64, 183, 235, 143, 233, 26, 219, 65, 235, 44, 77, 112]) }, PackedNode { ip_type: U4, saddr: V4(91.121.66.124:33445), pk: PublicKey([78, 63, 125, 55, 41, 86, 100, 187, 208, 116, 27, 109, 188, 182, 67, 29, 108, 215, 127, 196, 16, 83, 56, 194, 252, 49, 86, 123, 245, 200, 34, 74]) }, PackedNode { ip_type: U4, saddr: V4(163.172.137.179:33445), pk: PublicKey([102, 52, 179, 127, 247, 211, 214, 237, 83, 12, 183, 48, 249, 21, 149, 131, 204, 210, 229, 104, 163, 146, 18, 255, 176, 190, 47, 245, 129, 215, 134, 69]) }, PackedNode { ip_type: U4, saddr: V4(95.215.44.78:33445), pk: PublicKey([103, 45, 190, 39, 180, 173, 185, 213, 251, 16, 90, 107, 182, 72, 178, 248, 253, 184, 155, 51, 35, 72, 106, 122, 33, 150, 131, 22, 224, 18, 2, 60]) }, PackedNode { ip_type: U4, saddr: V4(95.31.20.151:33445), pk: PublicKey([156, 166, 155, 183, 77, 231, 192, 86, 209, 204, 107, 22, 171, 138, 10, 56, 114, 92, 3, 73, 209, 135, 216, 153, 103, 102, 149, 133, 132, 211, 147, 64]) }, PackedNode { ip_type: U4, saddr: V4(96.35.0.163:33445), pk: PublicKey([173, 37, 20, 232, 142, 175, 234, 107, 45, 211, 242, 58, 72, 24, 35, 230, 241, 7, 156, 20, 158, 56, 100, 145, 248, 208, 243, 52, 216, 165, 243, 114]) }, PackedNode { ip_type: U4, saddr: V4(51.254.84.212:33445), pk: PublicKey([174, 194, 4, 185, 164, 80, 20, 18, 213, 240, 187, 103, 217, 200, 27, 93, 179, 238, 106, 218, 100, 18, 45, 50, 163, 233, 176, 147, 213, 68, 50, 125]) }, PackedNode { ip_type: U4, saddr: V4(85.143.219.211:33445), pk: PublicKey([175, 184, 58, 100, 7, 45, 218, 251, 162, 141, 244, 154, 111, 40, 128, 29, 83, 188, 220, 162, 231, 183, 95, 193, 86, 96, 155, 78, 134, 177, 138, 26]) }]), friends: Friends([]), name: Name([116, 101, 115, 116, 95, 112, 117, 98, 108, 105, 99]), status_msg: StatusMsg([84, 111, 120, 117, 106, 196, 153, 32, 110, 97, 32, 113, 84, 111, 120]), status: Online, tcp_relays: TcpRelays([PackedNode { ip_type: T4, saddr: V4(95.215.44.78:33445), pk: PublicKey([103, 45, 190, 39, 180, 173, 185, 213, 251, 16, 90, 107, 182, 72, 178, 248, 253, 184, 155, 51, 35, 72, 106, 122, 33, 150, 131, 22, 224, 18, 2, 60]) }]), path_nodes: PathNodes([PackedNode { ip_type: U4, saddr: V4(82.154.147.70:10000), pk: PublicKey([172, 61, 124, 160, 207, 20, 206, 199, 203, 34, 27, 144, 196, 172, 176, 78, 226, 127, 139, 19, 64, 183, 235, 143, 233, 26, 219, 65, 235, 44, 77, 112]) }, PackedNode { ip_type: U4, saddr: V4(87.111.204.245:62561), pk: PublicKey([190, 44, 128, 10, 160, 251, 108, 73, 210, 253, 55, 77, 76, 31, 249, 7, 230, 65, 213, 3, 42, 53, 125, 141, 40, 34, 188, 26, 153, 254, 148, 127]) }, PackedNode { ip_type: U4, saddr: V4(70.228.66.19:33445), pk: PublicKey([191, 152, 20, 33, 131, 92, 146, 36, 203, 11, 47, 145, 240, 231, 80, 231, 17, 176, 83, 137, 196, 187, 86, 193, 127, 163, 95, 247, 66, 63, 213, 59]) }, PackedNode { ip_type: U4, saddr: V4(46.163.140.6:33445), pk: PublicKey([68, 191, 46, 13, 148, 55, 90, 44, 236, 217, 123, 149, 194, 0, 27, 93, 230, 147, 215, 0, 134, 234, 85, 239, 62, 167, 93, 77, 231, 51, 42, 61]) }, PackedNode { ip_type: U4, saddr: V4(91.121.66.124:33445), pk: PublicKey([78, 63, 125, 55, 41, 86, 100, 187, 208, 116, 27, 109, 188, 182, 67, 29, 108, 215, 127, 196, 16, 83, 56, 194, 252, 49, 86, 123, 245, 200, 34, 74]) }, PackedNode { ip_type: U4, saddr: V4(184.7.240.104:33445), pk: PublicKey([186, 108, 67, 234, 158, 59, 209, 27, 191, 108, 186, 80, 188, 231, 140, 74, 158, 224, 55, 136, 202, 170, 84, 198, 137, 176, 47, 40, 227, 56, 213, 14]) }, PackedNode { ip_type: U4, saddr: V4(46.193.0.139:11717), pk: PublicKey([190, 22, 2, 184, 81, 223, 133, 70, 207, 95, 141, 150, 201, 124, 16, 30, 162, 175, 236, 170, 162, 157, 72, 108, 173, 68, 72, 231, 240, 182, 75, 3]) }, PackedNode { ip_type: U4, saddr: V4(79.172.64.10:33445), pk: PublicKey([191, 221, 160, 60, 8, 16, 133, 203, 178, 68, 204, 179, 21, 102, 22, 41, 172, 35, 56, 76, 120, 124, 228, 230, 26, 92, 38, 174, 206, 225, 71, 104]) }]), eof: Eof }"`', tests/load-state-format-old.rs:33:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564b5dc465cd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x564b5dc465cd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x564b5dc465cd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x564b5dc465cd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x564b5dc68edc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x564b5dc41f41 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x564b5dc48315 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x564b5dc48315 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x564b5dc48315 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x564b5dc48004 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x564b5dc48862 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x564b5dc48747 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x564b5dc46a84 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x564b5dc48479 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x564b5dbb03e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x564b5dc67aa8 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x564b5dbb1aae - core::panicking::assert_failed::ha983df6bf19245ec [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x564b5dbb13fd - load_state_format_old::test_state_format_old_load::h74312671af6d7790 [INFO] [stdout] at /opt/rustwide/workdir/tests/load-state-format-old.rs:33:5 [INFO] [stdout] 18: 0x564b5dbb108a - load_state_format_old::test_state_format_old_load::{{closure}}::hab58cc6d8e8c22fd [INFO] [stdout] at /opt/rustwide/workdir/tests/load-state-format-old.rs:26:1 [INFO] [stdout] 19: 0x564b5dbb0f4e - core::ops::function::FnOnce::call_once::had094145d2474921 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x564b5dbe6f83 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x564b5dbe6f83 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x564b5dbe5d39 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x564b5dbe5d39 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x564b5dbe5d39 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x564b5dbe5d39 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x564b5dbe5d39 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x564b5dbe5d39 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x564b5dbe5d39 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x564b5dbb1eee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x564b5dbb1eee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x564b5dbb7458 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x564b5dbb7458 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x564b5dbb7458 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x564b5dbb7458 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x564b5dbb7458 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x564b5dbb7458 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x564b5dbb7458 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x564b5dc4d073 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x564b5dc4d073 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x564b5dc4d073 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f4d36834609 - start_thread [INFO] [stdout] 42: 0x7f4d36604163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_state_format_old_load [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbcd6cb9fe2fb30e1c41da680aeaa0a2ad3f7cf0dacf4a14e4954a7d38947344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbcd6cb9fe2fb30e1c41da680aeaa0a2ad3f7cf0dacf4a14e4954a7d38947344", kill_on_drop: false }` [INFO] [stdout] fbcd6cb9fe2fb30e1c41da680aeaa0a2ad3f7cf0dacf4a14e4954a7d38947344