[INFO] fetching crate tdn_permission 0.2.0...
[INFO] testing tdn_permission-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate tdn_permission 0.2.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate tdn_permission 0.2.0
[INFO] finished tweaking crates.io crate tdn_permission 0.2.0
[INFO] tweaked toml for crates.io crate tdn_permission 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tdn_permission 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tdn_permission 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.104
[INFO] [stderr]   Downloaded ryu v1.0.2
[INFO] [stderr]   Downloaded rust-argon2 v0.5.1
[INFO] [stderr]   Downloaded futures-executor v0.3.5
[INFO] [stderr]   Downloaded zeroize_derive v1.0.1
[INFO] [stderr]   Downloaded input_buffer v0.3.1
[INFO] [stderr]   Downloaded signature v1.2.2
[INFO] [stderr]   Downloaded x25519-dalek v1.1.0
[INFO] [stderr]   Downloaded curve25519-dalek v3.0.0
[INFO] [stderr]   Downloaded unicode-normalization v0.1.13
[INFO] [stderr]   Downloaded sled v0.34.4
[INFO] [stderr]   Downloaded backtrace v0.3.40
[INFO] [stderr]   Downloaded aes-soft v0.5.0
[INFO] [stderr]   Downloaded backtrace-sys v0.1.32
[INFO] [stderr]   Downloaded libc v0.2.77
[INFO] [stderr]   Downloaded async-fs v1.3.0
[INFO] [stderr]   Downloaded chamomile_types v0.2.0
[INFO] [stderr]   Downloaded tdn_types v0.2.0
[INFO] [stderr]   Downloaded async-rwlock v1.1.0
[INFO] [stderr]   Downloaded async-barrier v1.0.1
[INFO] [stderr]   Downloaded rckad v0.0.6
[INFO] [stderr]   Downloaded polling v1.0.2
[INFO] [stderr]   Downloaded async-semaphore v1.1.0
[INFO] [stderr]   Downloaded async-lock v2.1.3
[INFO] [stderr]   Downloaded async-net v1.3.0
[INFO] [stderr]   Downloaded async-process v1.0.0
[INFO] [stderr]   Downloaded futures-util v0.3.5
[INFO] [stderr]   Downloaded futures-lite v1.4.0
[INFO] [stderr]   Downloaded chamomile v0.2.0
[INFO] [stderr]   Downloaded async-executor v1.1.1
[INFO] [stderr]   Downloaded async-io v1.1.1
[INFO] [stderr]   Downloaded smol v1.0.1
[INFO] [stderr]   Downloaded tdn v0.2.0
[INFO] [stderr]   Downloaded postcard-cobs v0.1.5-pre
[INFO] [stderr]   Downloaded postcard v0.5.1
[INFO] [stderr]   Downloaded atomic-waker v1.0.0
[INFO] [stderr]   Downloaded waker-fn v1.1.0
[INFO] [stderr]   Downloaded toml v0.5.6
[INFO] [stderr]   Downloaded byteorder v1.3.2
[INFO] [stderr]   Downloaded dirs-sys v0.3.4
[INFO] [stderr]   Downloaded dirs v2.0.2
[INFO] [stderr]   Downloaded syn v1.0.41
[INFO] [stderr]   Downloaded tinyvec v0.3.4
[INFO] [stderr]   Downloaded utf-8 v0.7.5
[INFO] [stderr]   Downloaded tungstenite v0.10.1
[INFO] [stderr]   Downloaded async-tungstenite v0.4.2
[INFO] [stderr]   Downloaded block-cipher v0.8.0
[INFO] [stderr]   Downloaded block-modes v0.6.1
[INFO] [stderr]   Downloaded ed25519 v1.0.2
[INFO] [stderr]   Downloaded ed25519-dalek v1.0.0
[INFO] [stderr]   Downloaded bincode v1.3.1
[INFO] [stderr]   Downloaded bit-vec v0.6.2
[INFO] [stderr]   Downloaded memoffset v0.5.5
[INFO] [stderr]   Downloaded lock_api v0.4.1
[INFO] [stderr]   Downloaded cloudabi v0.1.0
[INFO] [stderr]   Downloaded instant v0.1.6
[INFO] [stderr]   Downloaded smallvec v1.4.2
[INFO] [stderr]   Downloaded parking_lot_core v0.8.0
[INFO] [stderr]   Downloaded parking_lot v0.11.0
[INFO] [stderr]   Downloaded subtle v2.3.0
[INFO] [stderr]   Downloaded futures-sink v0.3.5
[INFO] [stderr]   Downloaded zeroize v1.1.1
[INFO] [stderr]   Downloaded pin-project v0.4.23
[INFO] [stderr]   Downloaded vec-arena v1.0.0
[INFO] [stderr]   Downloaded wepoll-sys-stjepang v1.0.8
[INFO] [stderr]   Downloaded arc-swap v0.4.7
[INFO] [stderr]   Downloaded futures-channel v0.3.5
[INFO] [stderr]   Downloaded futures-macro v0.3.5
[INFO] [stderr]   Downloaded futures-task v0.3.5
[INFO] [stderr]   Downloaded pin-project-internal v0.4.23
[INFO] [stderr]   Downloaded futures v0.3.5
[INFO] [stderr]   Downloaded async-task v3.0.0
[INFO] [stderr]   Downloaded async-mutex v1.3.0
[INFO] [stderr]   Downloaded signal-hook-registry v1.2.1
[INFO] [stderr]   Downloaded signal-hook v0.1.16
[INFO] [stderr]   Downloaded blocking v1.0.0
[INFO] [stderr]   Downloaded fastrand v1.3.5
[INFO] [stderr]   Downloaded futures-io v0.3.5
[INFO] [stderr]   Downloaded parking v2.0.0
[INFO] [stderr]   Downloaded pin-project-lite v0.1.7
[INFO] [stderr]   Downloaded cache-padded v1.1.1
[INFO] [stderr]   Downloaded concurrent-queue v1.2.2
[INFO] [stderr]   Downloaded event-listener v2.4.0
[INFO] [stderr]   Downloaded futures-core v0.3.5
[INFO] [stderr]   Downloaded async-channel v1.4.2
[INFO] [stderr]   Downloaded cc v1.0.48
[INFO] [stderr]   Downloaded failure_derive v0.1.6
[INFO] [stderr]   Downloaded failure v0.1.6
[INFO] [stderr]   Downloaded arrayref v0.3.5
[INFO] [stderr]   Downloaded crossbeam-utils v0.6.6
[INFO] [stderr]   Downloaded serde v1.0.104
[INFO] [stderr]   Downloaded serde_json v1.0.44
[INFO] [stderr]   Downloaded redox_users v0.3.1
[INFO] [stderr]   Downloaded itoa v0.4.4
[INFO] [stderr]   Downloaded proc-macro2 v1.0.21
[INFO] [stderr]   Downloaded quote v1.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c2819790d5651f81ec5599f9d7734f9e800c131f22ee474f2701eb068c044b5
[INFO] running `Command { std: "docker" "start" "-a" "0c2819790d5651f81ec5599f9d7734f9e800c131f22ee474f2701eb068c044b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c2819790d5651f81ec5599f9d7734f9e800c131f22ee474f2701eb068c044b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c2819790d5651f81ec5599f9d7734f9e800c131f22ee474f2701eb068c044b5", kill_on_drop: false }`
[INFO] [stdout] 0c2819790d5651f81ec5599f9d7734f9e800c131f22ee474f2701eb068c044b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c71025614ea4fbcc8751f0eca3ba03e1158749f27020f42f249e3261b852304f
[INFO] running `Command { std: "docker" "start" "-a" "c71025614ea4fbcc8751f0eca3ba03e1158749f27020f42f249e3261b852304f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling syn v1.0.41
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling event-listener v2.4.0
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling async-channel v1.4.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling postcard-cobs v0.1.5-pre
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling dirs-sys v0.3.4
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling chamomile_types v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling postcard v0.5.1
[INFO] [stderr]    Compiling tdn_types v0.2.0
[INFO] [stderr]    Compiling tdn_permission v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.42s
[INFO] running `Command { std: "docker" "inspect" "c71025614ea4fbcc8751f0eca3ba03e1158749f27020f42f249e3261b852304f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c71025614ea4fbcc8751f0eca3ba03e1158749f27020f42f249e3261b852304f", kill_on_drop: false }`
[INFO] [stdout] c71025614ea4fbcc8751f0eca3ba03e1158749f27020f42f249e3261b852304f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 611c67a0a698a41b1a7e3617c5dae208e379abfaf62e4b82914ae38f62a9ff88
[INFO] running `Command { std: "docker" "start" "-a" "611c67a0a698a41b1a7e3617c5dae208e379abfaf62e4b82914ae38f62a9ff88", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling fastrand v1.3.5
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling futures-lite v1.4.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling polling v1.0.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling async-mutex v1.3.0
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling tinyvec v0.3.4
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling zeroize_derive v1.0.1
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling zeroize v1.1.1
[INFO] [stderr]    Compiling async-io v1.1.1
[INFO] [stderr]    Compiling blocking v1.0.0
[INFO] [stderr]    Compiling curve25519-dalek v3.0.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling signal-hook v0.1.16
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling async-barrier v1.0.1
[INFO] [stderr]    Compiling async-rwlock v1.1.0
[INFO] [stderr]    Compiling block-cipher v0.8.0
[INFO] [stderr]    Compiling async-semaphore v1.1.0
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling signature v1.2.2
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling async-task v3.0.0
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling async-lock v2.1.3
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling ed25519 v1.0.2
[INFO] [stderr]    Compiling async-process v1.0.0
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling async-executor v1.1.1
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling async-net v1.3.0
[INFO] [stderr]    Compiling async-fs v1.3.0
[INFO] [stderr]    Compiling input_buffer v0.3.1
[INFO] [stderr]    Compiling sha3 v0.8.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling bincode v1.3.1
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling utf-8 v0.7.5
[INFO] [stderr]    Compiling bit-vec v0.6.2
[INFO] [stderr]    Compiling sled v0.34.4
[INFO] [stderr]    Compiling smol v1.0.1
[INFO] [stderr]    Compiling ed25519-dalek v1.0.0
[INFO] [stderr]    Compiling rckad v0.0.6
[INFO] [stderr]    Compiling x25519-dalek v1.1.0
[INFO] [stderr]    Compiling aes-soft v0.5.0
[INFO] [stderr]    Compiling block-modes v0.6.1
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling tungstenite v0.10.1
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling async-tungstenite v0.4.2
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling chamomile v0.2.0
[INFO] [stderr]    Compiling tdn v0.2.0
[INFO] [stderr]    Compiling tdn_permission v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:157:10
[INFO] [stdout]     |
[INFO] [stdout] 157 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 157 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]     |                     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:168:33
[INFO] [stdout]     |
[INFO] [stdout] 168 | #[derive(Clone, Default, Debug, Serialize, Deserialize)]
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:168:44
[INFO] [stdout]     |
[INFO] [stdout] 168 | #[derive(Clone, Default, Debug, Serialize, Deserialize)]
[INFO] [stdout]     |                                            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:176:10
[INFO] [stdout]     |
[INFO] [stdout] 176 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde::Serialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:176:21
[INFO] [stdout]     |
[INFO] [stdout] 176 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde::Deserialize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         json! ({
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::primitive::json;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Group<P: Peer> {
[INFO] [stdout]   |                     ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 + use tdn_types::group::Peer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GroupID` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     id: GroupID,
[INFO] [stdout]   |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     peers: HashMap<P::PublicKey, PeerAddr>,
[INFO] [stdout]   |            ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 |     peers: HashMap<P::PublicKey, PeerAddr>,
[INFO] [stdout]   |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]   |
[INFO] [stdout] 1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     waiting_peers: HashMap<P::PublicKey, Vec<(P::PublicKey, P::Signature)>>,
[INFO] [stdout]   |                    ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Addr` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     storage: Addr<DiskStorageActor>,
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DiskStorageActor` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     storage: Addr<DiskStorageActor>,
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Group<P: Peer, DiskStorageActor> {
[INFO] [stdout]   |                         ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<P: 'static + Peer> Group<P> {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn_types::group::Peer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GroupID` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Group<P: Peer> {
[INFO] [stdout]    | ------------------------- similarly named struct `Group` defined here
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn load(id: GroupID, pk: P::PublicKey, peer_addr: PeerAddr, rate: f32) -> Self {
[INFO] [stdout]    |                     ^^^^^^^ help: a struct with a similar name exists: `Group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:12:59
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn load(id: GroupID, pk: P::PublicKey, peer_addr: PeerAddr, rate: f32) -> Self {
[INFO] [stdout]    |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> examples/vote_permissioned.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             HashMap::new()
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> examples/vote_permissioned.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |             waiting_peers: HashMap::new(),
[INFO] [stdout]    |                            ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:44:62
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn get_peer_addr(&self, pk: &P::PublicKey) -> Option<PeerAddr> {
[INFO] [stdout]    |                                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:48:48
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get_by_peer_addr(&self, peer_addr: &PeerAddr) -> Option<&P::PublicKey> {
[INFO] [stdout]    |                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:71:59
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn bootstrap(&mut self, peers: Vec<(P::PublicKey, PeerAddr)>) {
[INFO] [stdout]    |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Iter` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:77:27
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn iter(&self) -> Iter<P::PublicKey, PeerAddr> {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::binary_heap::Iter;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::btree_map::Iter;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::btree_set::Iter;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::hash_map::Iter;
[INFO] [stdout]    |
[INFO] [stdout]    = and 13 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:77:46
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn iter(&self) -> Iter<P::PublicKey, PeerAddr> {
[INFO] [stdout]    |                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `GroupTrait` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl<P: 'static + Peer> GroupTrait<P> for Group<P> {
[INFO] [stdout]    |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:82:19
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl<P: 'static + Peer> GroupTrait<P> for Group<P> {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn_types::group::Peer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GroupID` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:85:22
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Group<P: Peer> {
[INFO] [stdout]    | ------------------------- similarly named struct `Group` defined here
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn id(&self) -> &GroupID {
[INFO] [stdout]    |                      ^^^^^^^ help: a struct with a similar name exists: `Group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:89:57
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn join(&mut self, data: Self::JoinType, peer_addr: PeerAddr) -> bool {
[INFO] [stdout]    |                                                         ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:117:37
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn leave(&mut self, peer_addr: &PeerAddr) -> bool {
[INFO] [stdout]     |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:139:58
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn help_sync_peers(&self, _pk: &P::PublicKey) -> Vec<PeerAddr> {
[INFO] [stdout]     |                                                          ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:152:64
[INFO] [stdout]     |
[INFO] [stdout] 152 |     fn add_sync_peers(&mut self, pk: &P::PublicKey, peer_addr: PeerAddr) {
[INFO] [stdout]     |                                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct GroupStore<P: Peer>(GroupID, HashMap<P::PublicKey, PeerAddr>);
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::group::Peer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GroupID` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:158:32
[INFO] [stdout]     |
[INFO] [stdout]   2 | pub struct Group<P: Peer> {
[INFO] [stdout]     | ------------------------- similarly named struct `Group` defined here
[INFO] [stdout] ...
[INFO] [stdout] 158 | pub struct GroupStore<P: Peer>(GroupID, HashMap<P::PublicKey, PeerAddr>);
[INFO] [stdout]     |                                ^^^^^^^ help: a struct with a similar name exists: `Group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct GroupStore<P: Peer>(GroupID, HashMap<P::PublicKey, PeerAddr>);
[INFO] [stdout]     |                                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:158:63
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct GroupStore<P: Peer>(GroupID, HashMap<P::PublicKey, PeerAddr>);
[INFO] [stdout]     |                                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn::prelude::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::primitive::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl<P: Peer> Entity for GroupStore<P> {
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl<P: Peer> Entity for GroupStore<P> {
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::group::Peer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:169:27
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Certificate<P: Peer> {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::group::Peer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 | impl<P: Peer> Certificate<P> {
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tdn_types::group::Peer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RPCParams` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:217:33
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn to_jsonrpc(&self) -> RPCParams {
[INFO] [stdout]     |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `vote_permissioned`
[INFO] [stdout]    --> examples/vote_permissioned.rs:237:2
[INFO] [stdout]     |
[INFO] [stdout] 237 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `examples/vote_permissioned.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `PublicKey` not found for `P`
[INFO] [stdout]  --> examples/vote_permissioned.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     living_peers: Vec<P::PublicKey>,
[INFO] [stdout]   |                          ^^^^^^^^^ there is an associated type `PublicKey` in the trait `tdn_types::group::Peer`
[INFO] [stdout]   |
[INFO] [stdout] help: consider further restricting type parameter `P` with trait `Peer`
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Group<P: Peer + tdn_types::group::Peer> {
[INFO] [stdout]   |                          ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `PublicKey` not found for `P`
[INFO] [stdout]    --> examples/vote_permissioned.rs:170:16
[INFO] [stdout]     |
[INFO] [stdout] 170 |     pub pk: P::PublicKey,
[INFO] [stdout]     |                ^^^^^^^^^ there is an associated type `PublicKey` in the trait `tdn_types::group::Peer`
[INFO] [stdout]     |
[INFO] [stdout] help: consider further restricting type parameter `P` with trait `Peer`
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Certificate<P: Peer + tdn_types::group::Peer> {
[INFO] [stdout]     |                                ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `PublicKey` not found for `P`
[INFO] [stdout]    --> examples/vote_permissioned.rs:171:16
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub ca: P::PublicKey,
[INFO] [stdout]     |                ^^^^^^^^^ there is an associated type `PublicKey` in the trait `tdn_types::group::Peer`
[INFO] [stdout]     |
[INFO] [stdout] help: consider further restricting type parameter `P` with trait `Peer`
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Certificate<P: Peer + tdn_types::group::Peer> {
[INFO] [stdout]     |                                ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `Signature` not found for `P`
[INFO] [stdout]    --> examples/vote_permissioned.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub pkc: P::Signature,
[INFO] [stdout]     |                 ^^^^^^^^^ there is an associated type `Signature` in the trait `tdn_types::group::Peer`
[INFO] [stdout]     |
[INFO] [stdout] help: consider further restricting type parameter `P` with trait `Peer`
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Certificate<P: Peer + tdn_types::group::Peer> {
[INFO] [stdout]     |                                ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiskDatabase`
[INFO] [stdout]   --> examples/vote_permissioned.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let db = DiskDatabase::new(Some(path.clone()));
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `DiskDatabase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiskStorageActor`
[INFO] [stdout]   --> examples/vote_permissioned.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let storage = DiskStorageActor::run(Some(path));
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^ use of undeclared type `DiskStorageActor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode`
[INFO] [stdout]    --> examples/vote_permissioned.rs:189:37
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let pkc = P::sign(ca_psk, &(bincode::serialize(&pk).unwrap()));
[INFO] [stdout]     |                                     ^^^^^^^ use of unresolved module or unlinked crate `bincode`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode`
[INFO] [stdout]    --> examples/vote_permissioned.rs:199:21
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let v = bincode::serialize(&ca.pk);
[INFO] [stdout]     |                     ^^^^^^^ use of unresolved module or unlinked crate `bincode`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    --> examples/vote_permissioned.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |         serde_json::to_string(&ca_string).unwrap()
[INFO] [stdout]     |         ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    --> examples/vote_permissioned.rs:226:55
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let join_type: Result<CertificateString, _> = serde_json::from_str(&s);
[INFO] [stdout]     |                                                       ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_default_storage_path` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut path = get_default_storage_path();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EntityWrite` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:106:38
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 self.storage.do_send(EntityWrite(GroupStore::<P>(
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0220, E0405, E0412, E0425, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0220`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tdn_permission` (example "vote_permissioned") due to 53 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "611c67a0a698a41b1a7e3617c5dae208e379abfaf62e4b82914ae38f62a9ff88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "611c67a0a698a41b1a7e3617c5dae208e379abfaf62e4b82914ae38f62a9ff88", kill_on_drop: false }`
[INFO] [stdout] 611c67a0a698a41b1a7e3617c5dae208e379abfaf62e4b82914ae38f62a9ff88
