[INFO] cloning repository https://github.com/Doddddz/simple-db
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Doddddz/simple-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoddddz%2Fsimple-db", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoddddz%2Fsimple-db'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ac0f2c8f50d82aac8a5507cbfbd832d1b253950f
[INFO] checking Doddddz/simple-db against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoddddz%2Fsimple-db" "/workspace/builds/worker-77/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-77/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Doddddz/simple-db on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Doddddz/simple-db
[INFO] finished tweaking git repo https://github.com/Doddddz/simple-db
[INFO] tweaked toml for git repo https://github.com/Doddddz/simple-db written to /workspace/builds/worker-77/source/Cargo.toml
[INFO] crate git repo https://github.com/Doddddz/simple-db already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5ac0f0aef04582991f1e373046f565278071e21d26fedc0e94c7300c99e7521c
[INFO] running `Command { std: "docker" "start" "-a" "5ac0f0aef04582991f1e373046f565278071e21d26fedc0e94c7300c99e7521c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ac0f0aef04582991f1e373046f565278071e21d26fedc0e94c7300c99e7521c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ac0f0aef04582991f1e373046f565278071e21d26fedc0e94c7300c99e7521c", kill_on_drop: false }`
[INFO] [stdout] 5ac0f0aef04582991f1e373046f565278071e21d26fedc0e94c7300c99e7521c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2ba87162a36c52997aa740ed38594618fbadfa09fbe697b1dded7f4fdae94c0
[INFO] running `Command { std: "docker" "start" "-a" "e2ba87162a36c52997aa740ed38594618fbadfa09fbe697b1dded7f4fdae94c0", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking tracing-core v0.1.21
[INFO] [stderr]     Checking instant v0.1.11
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling tokio v1.12.0
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]     Checking sharded-slab v0.1.3
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking atoi v0.4.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking tracing-serde v0.1.2
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]    Compiling tokio-macros v1.4.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling structopt-derive v0.4.16
[INFO] [stderr]    Compiling async-stream-impl v0.3.2
[INFO] [stderr]     Checking async-stream v0.3.2
[INFO] [stderr]     Checking pin-project v1.0.8
[INFO] [stderr]     Checking structopt v0.3.23
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking tokio-stream v0.1.7
[INFO] [stderr]     Checking distribution_database v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/raft/raft.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Raft {
[INFO] [stdout]    |         ---- while parsing this struct
[INFO] [stdout] 33 |             channel: ,
[INFO] [stdout]    |                      ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/app/buffer.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |         }
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 21 |     }
[INFO] [stdout]    |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/app/client.rs:73:42
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn set_cmd(&mut self, cmd: Set)
[INFO] [stdout]    |                                          ^ help: add `;` here
[INFO] [stdout] 74 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/raft/raft.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Raft {
[INFO] [stdout]    |         ---- while parsing this struct
[INFO] [stdout] 33 |             channel: ,
[INFO] [stdout]    |                      ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/app/buffer.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |         }
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 21 |     }
[INFO] [stdout]    |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/app/client.rs:73:42
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn set_cmd(&mut self, cmd: Set)
[INFO] [stdout]    |                                          ^ help: add `;` here
[INFO] [stdout] 74 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected end of macro invocation
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/macros/select.rs:599:96
[INFO] [stdout]     |
[INFO] [stdout] 599 |         $crate::select!(@{ start={ $crate::macros::support::thread_rng_n(BRANCHES) }; () } $p = $($t)*)
[INFO] [stdout]     |                                                                                                ^ missing tokens in macro arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected end of macro invocation
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/macros/select.rs:599:96
[INFO] [stdout]     |
[INFO] [stdout] 599 |         $crate::select!(@{ start={ $crate::macros::support::thread_rng_n(BRANCHES) }; () } $p = $($t)*)
[INFO] [stdout]     |                                                                                                ^ missing tokens in macro arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Unknown` is defined multiple times
[INFO] [stdout]   --> src/cmd/subscribe.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::cmd::Command::Unknown;
[INFO] [stdout]    |     ---------------------------- previous import of the type `Unknown` here
[INFO] [stdout] 11 | use crate::cmd::unknown::Unknown;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Unknown` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Unknown` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::cmd::unknown::Unknown as OtherUnknown;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Get` is defined multiple times
[INFO] [stdout]  --> src/app/client.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::cmd::Command::Get;
[INFO] [stdout]   |     ------------------------ previous import of the type `Get` here
[INFO] [stdout] 8 | use crate::cmd::get::Get;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ `Get` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Get` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::cmd::get::Get as OtherGet;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: associated function in `impl` without body
[INFO] [stdout]   --> src/app/client.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn set_cmd(&mut self, cmd: Set)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Unknown` is defined multiple times
[INFO] [stdout]   --> src/cmd/subscribe.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::cmd::Command::Unknown;
[INFO] [stdout]    |     ---------------------------- previous import of the type `Unknown` here
[INFO] [stdout] 11 | use crate::cmd::unknown::Unknown;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Unknown` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Unknown` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::cmd::unknown::Unknown as OtherUnknown;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Get` is defined multiple times
[INFO] [stdout]  --> src/app/client.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::cmd::Command::Get;
[INFO] [stdout]   |     ------------------------ previous import of the type `Get` here
[INFO] [stdout] 8 | use crate::cmd::get::Get;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ `Get` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Get` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::cmd::get::Get as OtherGet;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: associated function in `impl` without body
[INFO] [stdout]   --> src/app/client.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn set_cmd(&mut self, cmd: Set)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]   --> src/cmd/get.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 |     #[instrument(skip(self, db, dst))]
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::cmd::unknown::instrument
[INFO] [stdout]            tracing::instrument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]   --> src/app/client.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 |     #[instrument(skip(self))]
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::cmd::unknown::instrument
[INFO] [stdout]            tracing::instrument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]   --> src/app/client.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 |     #[instrument(skip(self))]
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::cmd::unknown::instrument
[INFO] [stdout]            tracing::instrument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `broadcast`
[INFO] [stdout]   --> src/cmd/subscribe.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 Err(broadcast::error::RecvError::Lagged(_)) => {}
[INFO] [stdout]    |                     ^^^^^^^^^ use of undeclared crate or module `broadcast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]   --> src/cmd/get.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 |     #[instrument(skip(self, db, dst))]
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::cmd::unknown::instrument
[INFO] [stdout]            tracing::instrument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]   --> src/app/client.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 |     #[instrument(skip(self))]
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::cmd::unknown::instrument
[INFO] [stdout]            tracing::instrument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `last_applied` in this scope
[INFO] [stdout]   --> src/raft/raft.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             last_applied,
[INFO] [stdout]    |             ^^^^^^^^^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instrument` in this scope
[INFO] [stdout]   --> src/app/client.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 |     #[instrument(skip(self))]
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            crate::cmd::unknown::instrument
[INFO] [stdout]            tracing::instrument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `broadcast`
[INFO] [stdout]   --> src/cmd/subscribe.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 Err(broadcast::error::RecvError::Lagged(_)) => {}
[INFO] [stdout]    |                     ^^^^^^^^^ use of undeclared crate or module `broadcast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_comand` in this scope
[INFO] [stdout]    --> src/cmd/subscribe.rs:67:21
[INFO] [stdout]     |
[INFO] [stdout] 67  |                       handle_comand(frame, &mut self.channels, &mut subscriptions, dst).await?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ help: a function with a similar name exists: `handle_command`
[INFO] [stdout] ...
[INFO] [stdout] 110 | / async fn handle_command(
[INFO] [stdout] 111 | |     frame: Frame,
[INFO] [stdout] 112 | |     subscribe_to: &mut Vec<String>,
[INFO] [stdout] 113 | |     subscriptions: &mut StreamMap<String, Messages>,
[INFO] [stdout] ...   |
[INFO] [stdout] 150 | |     Ok(())
[INFO] [stdout] 151 | | }
[INFO] [stdout]     | |_- similarly named function `handle_command` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Unknown` is a variant, not a module
[INFO] [stdout]    --> src/cmd/subscribe.rs:146:23
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let cmd = Unknown::new(command.get_name());
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::cmd::Unknown;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Db` in this scope
[INFO] [stdout]   --> src/cmd/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         db: &Db,
[INFO] [stdout]    |              ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `purge_expired_tasks` in this scope
[INFO] [stdout]    --> src/app/db.rs:68:22
[INFO] [stdout]     |
[INFO] [stdout] 68  |         tokio::spawn(purge_expired_tasks(shared.clone()));
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `purge_expired_task`
[INFO] [stdout] ...
[INFO] [stdout] 193 | async fn purge_expired_task(shared: Arc<Shared>) {
[INFO] [stdout]     | ------------------------------------------------ similarly named function `purge_expired_task` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Buffer` in this scope
[INFO] [stdout]  --> src/app/buffer.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn buffer(client: Client) -> Buffer {
[INFO] [stdout]   |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Set`
[INFO] [stdout]   --> src/app/client.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 54 |         self.set_cmd(Set::new(key, value, None)).await
[INFO] [stdout]    |                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cmd/get.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Get {
[INFO] [stdout]    | -------------- similarly named struct `Get` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 54 |         self.set_cmd(Get::new(key, value, None)).await
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::cmd::set::Set;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Set` in this scope
[INFO] [stdout]   --> src/app/client.rs:73:38
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn set_cmd(&mut self, cmd: Set)
[INFO] [stdout]    |                                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cmd/get.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Get {
[INFO] [stdout]    | -------------- similarly named struct `Get` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn set_cmd(&mut self, cmd: Get)
[INFO] [stdout]    |                                      ~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::cmd::set::Set;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cmd::unknown::Unknown`
[INFO] [stdout]   --> src/cmd/subscribe.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::cmd::unknown::Unknown;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/app/db.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::time::{self, Duration, Instant};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Formatter`
[INFO] [stdout]  --> src/app/frame.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter};
[INFO] [stdout]   |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cmd::Command::Get`
[INFO] [stdout]  --> src/app/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::cmd::Command::Get;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `last_applied` in this scope
[INFO] [stdout]   --> src/raft/raft.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             last_applied,
[INFO] [stdout]    |             ^^^^^^^^^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_comand` in this scope
[INFO] [stdout]    --> src/cmd/subscribe.rs:67:21
[INFO] [stdout]     |
[INFO] [stdout] 67  |                       handle_comand(frame, &mut self.channels, &mut subscriptions, dst).await?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ help: a function with a similar name exists: `handle_command`
[INFO] [stdout] ...
[INFO] [stdout] 110 | / async fn handle_command(
[INFO] [stdout] 111 | |     frame: Frame,
[INFO] [stdout] 112 | |     subscribe_to: &mut Vec<String>,
[INFO] [stdout] 113 | |     subscriptions: &mut StreamMap<String, Messages>,
[INFO] [stdout] ...   |
[INFO] [stdout] 150 | |     Ok(())
[INFO] [stdout] 151 | | }
[INFO] [stdout]     | |_- similarly named function `handle_command` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Unknown` is a variant, not a module
[INFO] [stdout]    --> src/cmd/subscribe.rs:146:23
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let cmd = Unknown::new(command.get_name());
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::cmd::Unknown;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Db` in this scope
[INFO] [stdout]   --> src/cmd/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         db: &Db,
[INFO] [stdout]    |              ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `purge_expired_tasks` in this scope
[INFO] [stdout]    --> src/app/db.rs:68:22
[INFO] [stdout]     |
[INFO] [stdout] 68  |         tokio::spawn(purge_expired_tasks(shared.clone()));
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `purge_expired_task`
[INFO] [stdout] ...
[INFO] [stdout] 193 | async fn purge_expired_task(shared: Arc<Shared>) {
[INFO] [stdout]     | ------------------------------------------------ similarly named function `purge_expired_task` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Buffer` in this scope
[INFO] [stdout]  --> src/app/buffer.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn buffer(client: Client) -> Buffer {
[INFO] [stdout]   |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Set`
[INFO] [stdout]   --> src/app/client.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 54 |         self.set_cmd(Set::new(key, value, None)).await
[INFO] [stdout]    |                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cmd/get.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Get {
[INFO] [stdout]    | -------------- similarly named struct `Get` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 54 |         self.set_cmd(Get::new(key, value, None)).await
[INFO] [stdout]    |                      ~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::cmd::set::Set;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Set` in this scope
[INFO] [stdout]   --> src/app/client.rs:73:38
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn set_cmd(&mut self, cmd: Set)
[INFO] [stdout]    |                                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cmd/get.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Get {
[INFO] [stdout]    | -------------- similarly named struct `Get` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn set_cmd(&mut self, cmd: Get)
[INFO] [stdout]    |                                      ~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::cmd::set::Set;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cmd::unknown::Unknown`
[INFO] [stdout]   --> src/cmd/subscribe.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::cmd::unknown::Unknown;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/app/db.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::time::{self, Duration, Instant};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Formatter`
[INFO] [stdout]  --> src/app/frame.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter};
[INFO] [stdout]   |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cmd::Command::Get`
[INFO] [stdout]  --> src/app/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::cmd::Command::Get;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]  --> src/raft/log.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     data: [u8],
[INFO] [stdout]   |           ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]   = note: only the last field of a struct may have a dynamically sized type
[INFO] [stdout]   = help: change the field's type to have a statically known size
[INFO] [stdout] help: borrowed types always have a statically known size
[INFO] [stdout]   |
[INFO] [stdout] 3 |     data: &[u8],
[INFO] [stdout]   |           +
[INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap
[INFO] [stdout]   |
[INFO] [stdout] 3 |     data: Box<[u8]>,
[INFO] [stdout]   |           ++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]  --> src/raft/log.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     data: [u8],
[INFO] [stdout]   |           ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]   = note: only the last field of a struct may have a dynamically sized type
[INFO] [stdout]   = help: change the field's type to have a statically known size
[INFO] [stdout] help: borrowed types always have a statically known size
[INFO] [stdout]   |
[INFO] [stdout] 3 |     data: &[u8],
[INFO] [stdout]   |           +
[INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap
[INFO] [stdout]   |
[INFO] [stdout] 3 |     data: Box<[u8]>,
[INFO] [stdout]   |           ++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `distribution_database` due to 21 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 20 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e2ba87162a36c52997aa740ed38594618fbadfa09fbe697b1dded7f4fdae94c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2ba87162a36c52997aa740ed38594618fbadfa09fbe697b1dded7f4fdae94c0", kill_on_drop: false }`
[INFO] [stdout] e2ba87162a36c52997aa740ed38594618fbadfa09fbe697b1dded7f4fdae94c0
