[INFO] updating cached repository https://github.com/cypherlink/assassin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d5432314810d791e2b09a3c02c1756c01a4d2b7 [INFO] checking cypherlink/assassin against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcypherlink%2Fassassin" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cypherlink/assassin on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cypherlink/assassin [INFO] removed path dependency tdn from git repo https://github.com/cypherlink/assassin [INFO] finished tweaking git repo https://github.com/cypherlink/assassin [INFO] tweaked toml for git repo https://github.com/cypherlink/assassin written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/cypherlink/assassin already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tdn) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dalek-cryptography/ed25519-dalek` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tdn) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b3762b72bc8fc9627afbd9729e0d8d5f816db494d64a069ccf5d0f6bbf524d41 [INFO] running `Command { std: "docker" "start" "-a" "b3762b72bc8fc9627afbd9729e0d8d5f816db494d64a069ccf5d0f6bbf524d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3762b72bc8fc9627afbd9729e0d8d5f816db494d64a069ccf5d0f6bbf524d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3762b72bc8fc9627afbd9729e0d8d5f816db494d64a069ccf5d0f6bbf524d41", kill_on_drop: false }` [INFO] [stdout] b3762b72bc8fc9627afbd9729e0d8d5f816db494d64a069ccf5d0f6bbf524d41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65a2ddba157d0858c4382129ed4ec8205403209728e7799466cb7d33a81ac78f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "65a2ddba157d0858c4382129ed4ec8205403209728e7799466cb7d33a81ac78f", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (tdn) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking tdn v0.0.1 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 (https://github.com/dalek-cryptography/ed25519-dalek?branch=develop#3a910193) [INFO] [stderr] Checking assassin v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tdn::async_std` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::async_std::task; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::async_std` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::async_std::task; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/group.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use tdn::async_std::io::Result; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/group.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use tdn::async_std::io::Result; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::primitive` [INFO] [stdout] --> src/event.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::primitive::PeerAddr; [INFO] [stdout] | ^^^^^^^^^ could not find `primitive` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/rpc.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::async_std::sync::{Arc, RwLock, Sender}; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::primitive` [INFO] [stdout] --> src/event.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::primitive::PeerAddr; [INFO] [stdout] | ^^^^^^^^^ could not find `primitive` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/group.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use tdn::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/rpc.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::async_std::sync::{Arc, RwLock, Sender}; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/group.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use tdn::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/rpc.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use tdn::prelude::{GroupSendMessage, PeerAddr, RpcHandler, RpcParam, SendMessage}; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/rpc.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use tdn::prelude::{GroupSendMessage, PeerAddr, RpcHandler, RpcParam, SendMessage}; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/rpc_common.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use tdn::prelude::{PeerAddr, RpcParam}; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/rpc_common.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use tdn::prelude::{PeerAddr, RpcParam}; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/rpc_user.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use tdn::async_std::sync::{Arc, RwLock, Sender}; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::primitive` [INFO] [stdout] --> src/rpc_common.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use tdn::primitive::json; [INFO] [stdout] | ^^^^^^^^^ could not find `primitive` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/rpc_user.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use tdn::async_std::sync::{Arc, RwLock, Sender}; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::primitive` [INFO] [stdout] --> src/rpc_common.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use tdn::primitive::json; [INFO] [stdout] | ^^^^^^^^^ could not find `primitive` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/server.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use tdn::async_std::{io::Result, sync::Sender}; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/server.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use tdn::async_std::{io::Result, sync::Sender}; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/rpc_user.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::prelude::{GroupSendMessage, PeerAddr, RpcHandler, RpcParam, SendMessage}; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/storage.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use tdn::async_std::io::Result; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/server.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/rpc_user.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::prelude::{GroupSendMessage, PeerAddr, RpcHandler, RpcParam, SendMessage}; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_std` in `tdn` [INFO] [stdout] --> src/storage.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use tdn::async_std::io::Result; [INFO] [stdout] | ^^^^^^^^^ could not find `async_std` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/server.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use tdn::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/storage.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use tdn::prelude::PeerAddr; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::storage` [INFO] [stdout] --> src/storage.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use tdn::storage::{open_absolute_db, LocalDB}; [INFO] [stdout] | ^^^^^^^ could not find `storage` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/rpc_common.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/rpc_common.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::prelude` [INFO] [stdout] --> src/storage.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use tdn::prelude::PeerAddr; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdn::storage` [INFO] [stdout] --> src/storage.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use tdn::storage::{open_absolute_db, LocalDB}; [INFO] [stdout] | ^^^^^^^ could not find `storage` in `tdn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/rpc_common.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/rpc_common.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ReceiveMessage` [INFO] [stdout] --> src/server.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ReceiveMessage::Group(g_msg) => match g_msg { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `ReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] --> src/server.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | GroupReceiveMessage::PeerJoin(addr, ..) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ReceiveMessage` [INFO] [stdout] --> src/server.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ReceiveMessage::Group(g_msg) => match g_msg { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `ReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | send.send(SendMessage::Group(GroupSendMessage::PeerJoinResult( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] --> src/server.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | GroupReceiveMessage::PeerJoin(addr, ..) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupSendMessage` [INFO] [stdout] --> src/server.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | send.send(SendMessage::Group(GroupSendMessage::PeerJoinResult( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupSendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] --> src/server.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | GroupReceiveMessage::PeerJoinResult(..) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | send.send(SendMessage::Group(GroupSendMessage::PeerJoinResult( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] --> src/server.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | GroupReceiveMessage::PeerLeave(addr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] --> src/server.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | GroupReceiveMessage::Event(peer_addr, bytes) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ReceiveMessage` [INFO] [stdout] --> src/server.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | ReceiveMessage::Rpc(uid, mut params, is_ws) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `ReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | ... .send(SendMessage::R... [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RpcParam` [INFO] [stdout] --> src/server.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | if let RpcParam::Array(mut rawparams) = params["params"].take() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RpcParam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupSendMessage` [INFO] [stdout] --> src/server.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | send.send(SendMessage::Group(GroupSendMessage::PeerJoinResult( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupSendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] --> src/server.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | GroupReceiveMessage::PeerJoinResult(..) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RpcParam` [INFO] [stdout] --> src/server.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | rawparams.push(RpcParam::Number(uid.into())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RpcParam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] --> src/server.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | GroupReceiveMessage::PeerLeave(addr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] --> src/server.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | GroupReceiveMessage::Event(peer_addr, bytes) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `GroupReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ReceiveMessage` [INFO] [stdout] --> src/server.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | ReceiveMessage::Rpc(uid, mut params, is_ws) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `ReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RpcParam` [INFO] [stdout] --> src/server.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | params["params"] = RpcParam::Array(rawparams); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RpcParam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ReceiveMessage` [INFO] [stdout] --> src/server.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | ReceiveMessage::Layer(_l_msg) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `ReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | ... .send(SendMessage::R... [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RpcParam` [INFO] [stdout] --> src/server.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | if let RpcParam::Array(mut rawparams) = params["params"].take() { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RpcParam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RpcParam` [INFO] [stdout] --> src/server.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | rawparams.push(RpcParam::Number(uid.into())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RpcParam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RpcParam` [INFO] [stdout] --> src/server.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | params["params"] = RpcParam::Array(rawparams); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RpcParam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ReceiveMessage` [INFO] [stdout] --> src/server.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | ReceiveMessage::Layer(_l_msg) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `ReceiveMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub par: PeerAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | addr: PeerAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct PeerList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 140 | onlines: HashMap, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn load(db: UserDB, addr: PeerAddr, my: User) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 166 | impl PeerList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 206 | ) -> Option<(PeerAddr, Event)> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn addr(&self) -> PeerAddr { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 251 | impl PeerList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn friends_join_iter<'a>(&self) -> Vec<(PeerAddr, Vec)> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:315:46 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn peer_leave(&mut self, peer_addr: &PeerAddr) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SendMessage` [INFO] [stdout] --> src/server.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | send.send(SendMessage::Rpc( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `SendMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/rpc.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 13 | pub send: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub type State = Arc>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RwLock` in this scope [INFO] [stdout] --> src/rpc.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub type State = Arc>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/rpc.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 29 | send: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub par: PeerAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Arc` [INFO] [stdout] --> src/rpc.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let global = Arc::new(RwLock::new(Global { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | addr: PeerAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RwLock` [INFO] [stdout] --> src/rpc.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let global = Arc::new(RwLock::new(Global { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct PeerList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 140 | onlines: HashMap, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn load(db: UserDB, addr: PeerAddr, my: User) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 166 | impl PeerList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 206 | ) -> Option<(PeerAddr, Event)> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:47:68 [INFO] [stdout] | [INFO] [stdout] 47 | rpc_handler.add_method("echo", |params: Vec, _state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:51:71 [INFO] [stdout] | [INFO] [stdout] 51 | rpc_handler.add_method("new-user", |params: Vec, state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn addr(&self) -> PeerAddr { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 251 | impl PeerList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn friends_join_iter<'a>(&self) -> Vec<(PeerAddr, Vec)> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | rpc_handler.add_method("hello", |params: Vec, state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/group.rs:315:46 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn peer_leave(&mut self, peer_addr: &PeerAddr) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:118:72 [INFO] [stdout] | [INFO] [stdout] 118 | rpc_handler.add_method("bootstrap", |params: Vec, state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/rpc.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 13 | pub send: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub type State = Arc>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/rpc_user.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | pub send: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc_user.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub type UserState = Arc>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RwLock` in this scope [INFO] [stdout] --> src/rpc.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub type State = Arc>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RwLock` in this scope [INFO] [stdout] --> src/rpc_user.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub type UserState = Arc>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/rpc_user.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 | send: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/rpc.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 29 | send: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Arc` [INFO] [stdout] --> src/rpc_user.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let state = Arc::new(RwLock::new(UserGlobal { send, peers })); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Arc` [INFO] [stdout] --> src/rpc.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let global = Arc::new(RwLock::new(Global { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RwLock` [INFO] [stdout] --> src/rpc_user.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let state = Arc::new(RwLock::new(UserGlobal { send, peers })); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RwLock` [INFO] [stdout] --> src/rpc.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let global = Arc::new(RwLock::new(Global { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:47:68 [INFO] [stdout] | [INFO] [stdout] 47 | rpc_handler.add_method("echo", |params: Vec, _state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:51:71 [INFO] [stdout] | [INFO] [stdout] 51 | rpc_handler.add_method("new-user", |params: Vec, state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc_user.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | |params: Vec, state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Config` [INFO] [stdout] --> src/server.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut config = Config::load_with_path(db_path.clone()).await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use base64::Config; [INFO] [stdout] | [INFO] [stdout] 1 | use bincode::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | rpc_handler.add_method("hello", |params: Vec, state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start_with_config` in this scope [INFO] [stdout] --> src/server.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | let (peer_id, send, out_recv) = start_with_config(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc.rs:118:72 [INFO] [stdout] | [INFO] [stdout] 118 | rpc_handler.add_method("bootstrap", |params: Vec, state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/server.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | peer_addr: &PeerAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/server.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | send: &Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 | send: &Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendMessage` in this scope [INFO] [stdout] --> src/server.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | send: &Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum Message { [INFO] [stdout] | ---------------- similarly named enum `EventMessage` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 | send: &Sender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 93 | async fn handle_event( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/rpc_user.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | pub send: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc_user.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub type UserState = Arc>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RwLock` in this scope [INFO] [stdout] --> src/rpc_user.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub type UserState = Arc>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/rpc_user.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 | send: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Arc` [INFO] [stdout] --> src/rpc_user.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let state = Arc::new(RwLock::new(UserGlobal { send, peers })); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RwLock` [INFO] [stdout] --> src/rpc_user.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let state = Arc::new(RwLock::new(UserGlobal { send, peers })); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/rpc_user.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | |params: Vec, state: Arc| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Config` [INFO] [stdout] --> src/server.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut config = Config::load_with_path(db_path.clone()).await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use base64::Config; [INFO] [stdout] | [INFO] [stdout] 1 | use bincode::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start_with_config` in this scope [INFO] [stdout] --> src/server.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | let (peer_id, send, out_recv) = start_with_config(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope [INFO] [stdout] --> src/server.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | peer_addr: &PeerAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/server.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | send: &Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 | send: &Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SendMessage` in this scope [INFO] [stdout] --> src/server.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | send: &Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum Message { [INFO] [stdout] | ---------------- similarly named enum `EventMessage` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 | send: &Sender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 93 | async fn handle_event( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PeerList`, `User` [INFO] [stdout] --> src/rpc_common.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::group::{Friend, PeerList, User, UserId}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Friend`, `UserId`, `User` [INFO] [stdout] --> src/rpc_user.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::group::{Friend, PeerList, User, UserId}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PeerList`, `User` [INFO] [stdout] --> src/rpc_common.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::group::{Friend, PeerList, User, UserId}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Friend`, `UserId`, `User` [INFO] [stdout] --> src/rpc_user.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::group::{Friend, PeerList, User, UserId}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/group.rs:42:77 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn init(name: String, avator: String, bio: String, seed: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/group.rs:148:58 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn load(db: UserDB, addr: PeerAddr, my: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn init(path: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn load_user(&self, addr: PeerAddr, _pw: String, user_id: &UserId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:42:72 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn add_user(&self, addr: PeerAddr, _pw: String, user: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:55:62 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn del_user(&self, _pw: String, user_id: &UserId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn init(&self, user: &User, secret: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn save_user(&self, user: &User) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 73 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `assassin`. [INFO] [stderr] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/group.rs:42:77 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn init(name: String, avator: String, bio: String, seed: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/group.rs:148:58 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn load(db: UserDB, addr: PeerAddr, my: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn init(path: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn load_user(&self, addr: PeerAddr, _pw: String, user_id: &UserId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:42:72 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn add_user(&self, addr: PeerAddr, _pw: String, user: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:55:62 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn del_user(&self, _pw: String, user_id: &UserId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn init(&self, user: &User, secret: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/storage.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn save_user(&self, user: &User) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 73 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "65a2ddba157d0858c4382129ed4ec8205403209728e7799466cb7d33a81ac78f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a2ddba157d0858c4382129ed4ec8205403209728e7799466cb7d33a81ac78f", kill_on_drop: false }` [INFO] [stdout] 65a2ddba157d0858c4382129ed4ec8205403209728e7799466cb7d33a81ac78f