[INFO] cloning repository https://github.com/povilasb/libredrop-prototype
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/povilasb/libredrop-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Flibredrop-prototype", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Flibredrop-prototype'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d3b1ee467f1cd6f3d718876762049e735afe52f4
[INFO] checking povilasb/libredrop-prototype against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Flibredrop-prototype" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/povilasb/libredrop-prototype
[INFO] finished tweaking git repo https://github.com/povilasb/libredrop-prototype
[INFO] tweaked toml for git repo https://github.com/povilasb/libredrop-prototype written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/povilasb/libredrop-prototype on toolchain 94e848735e78b58442e0b82e9c60f8f430840389
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/povilasb/libredrop-prototype 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" "+94e848735e78b58442e0b82e9c60f8f430840389" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/libredrop/peer-discovery-rust`
[INFO] [stderr]     Updating git submodule `https://github.com/libredrop/peer-discovery`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unwrap v1.2.1
[INFO] [stderr]   Downloaded simple_logger v1.3.0
[INFO] [stderr]   Downloaded err-derive v0.1.6
[INFO] [stderr]   Downloaded proc-macro-hack-impl v0.4.2
[INFO] [stderr]   Downloaded proc-macro-hack v0.4.2
[INFO] [stderr]   Downloaded async-attributes v1.1.1
[INFO] [stderr]   Downloaded number_prefix v0.3.0
[INFO] [stderr]   Downloaded termios v0.3.1
[INFO] [stderr]   Downloaded clicolors-control v1.0.1
[INFO] [stderr]   Downloaded err-derive v0.2.1
[INFO] [stderr]   Downloaded futures_codec v0.4.0
[INFO] [stderr]   Downloaded console v0.9.1
[INFO] [stderr]   Downloaded indicatif v0.13.0
[INFO] [stderr]   Downloaded async-std v1.4.0
[INFO] [stderr]   Downloaded machine v0.3.0
[INFO] [stderr]   Downloaded case v1.0.0
[INFO] [stderr]   Downloaded colored v1.9.0
[INFO] [stderr]   Downloaded net-literals-impl v0.1.2
[INFO] [stderr]   Downloaded net-literals v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10a35883ca2af5d368721ca58f55d5743feaa366febe3d2508bc51d0718b1a90
[INFO] running `Command { std: "docker" "start" "-a" "10a35883ca2af5d368721ca58f55d5743feaa366febe3d2508bc51d0718b1a90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10a35883ca2af5d368721ca58f55d5743feaa366febe3d2508bc51d0718b1a90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10a35883ca2af5d368721ca58f55d5743feaa366febe3d2508bc51d0718b1a90", kill_on_drop: false }`
[INFO] [stdout] 10a35883ca2af5d368721ca58f55d5743feaa366febe3d2508bc51d0718b1a90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c6011c809180096794e7838f26f0e528974db7efd7ee80144ea9aa59df02add
[INFO] running `Command { std: "docker" "start" "-a" "0c6011c809180096794e7838f26f0e528974db7efd7ee80144ea9aa59df02add", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]     Checking futures-core v0.3.1
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking futures-sink v0.3.1
[INFO] [stderr]     Checking futures-sink-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]     Checking futures-io v0.3.1
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking futures-task v0.3.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking futures-util-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking futures-channel v0.3.1
[INFO] [stderr]    Compiling anyhow v1.0.31
[INFO] [stderr]     Checking lock_api v0.3.2
[INFO] [stderr]    Compiling proc-macro-hack-impl v0.4.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling err-derive v0.1.6
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]     Checking regex-syntax v0.6.12
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro-hack v0.4.2
[INFO] [stderr]     Checking kv-log-macro v1.0.4
[INFO] [stderr]    Compiling err-derive v0.2.1
[INFO] [stderr]     Checking futures-timer v2.0.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking async-task v1.0.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]     Checking bytes v0.5.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]     Checking pin-project-lite v0.1.1
[INFO] [stderr]     Checking once_cell v1.2.0
[INFO] [stderr]     Checking num_cpus v1.11.1
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking clicolors-control v1.0.1
[INFO] [stderr]     Checking termios v0.3.1
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking colored v1.9.0
[INFO] [stderr]    Compiling net-literals-impl v0.1.2
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking unwrap v1.2.1
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking futures-timer v0.4.0
[INFO] [stderr]     Checking broadcaster v0.2.6
[INFO] [stderr]     Checking c_linked_list v1.1.1
[INFO] [stderr]    Compiling case v1.0.0
[INFO] [stderr]     Checking number_prefix v0.3.0
[INFO] [stderr]     Checking get_if_addrs v0.5.3
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking crossbeam-channel v0.4.0
[INFO] [stderr]     Checking hex v0.4.0
[INFO] [stderr]     Checking net-literals v0.1.2
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]     Checking regex v1.3.1
[INFO] [stderr]     Checking chrono v0.4.10
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking console v0.9.1
[INFO] [stderr]     Checking simple_logger v1.3.0
[INFO] [stderr]     Checking indicatif v0.13.0
[INFO] [stderr]    Compiling machine v0.3.0
[INFO] [stderr]    Compiling proc-macro-error v0.2.6
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling async-attributes v1.1.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling prost-derive v0.6.1
[INFO] [stderr]     Checking async-std v1.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.1
[INFO] [stderr]     Checking pin-project v0.4.6
[INFO] [stderr]     Checking futures-util v0.3.1
[INFO] [stderr]     Checking prost v0.6.1
[INFO] [stderr]     Checking futures-executor v0.3.1
[INFO] [stderr]     Checking futures v0.3.1
[INFO] [stderr]     Checking peer-discovery v0.1.0 (https://github.com/libredrop/peer-discovery-rust?rev=07709c3#07709c30)
[INFO] [stderr]     Checking futures_codec v0.4.0
[INFO] [stderr]     Checking bincode v1.2.1
[INFO] [stderr]     Checking libredrop-prototype v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]   --> src/proto.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |     include!(concat!(env!("OUT_DIR"), "/libredrop.message.rs"));
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]   --> src/proto.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | / machine!(
[INFO] [stdout] 82 | |     /// State machine of a peer that sends file.
[INFO] [stdout] 83 | |     #[derive(Debug)]
[INFO] [stdout] 84 | |     enum SenderSM {
[INFO] [stdout] ...  |
[INFO] [stdout] 95 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]    --> src/proto.rs:97:1
[INFO] [stdout]     |
[INFO] [stdout]  97 | / transitions!(SenderSM,
[INFO] [stdout]  98 | |     [
[INFO] [stdout]  99 | |         (WaitingAccept, LibredropMsg) => [SendingFile, Error, Rejected],
[INFO] [stdout] 100 | |         (SendingFile, FileEof) => Done
[INFO] [stdout] 101 | |     ]
[INFO] [stdout] 102 | | );
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = help: message: error opening dot file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]   --> src/proto.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |     include!(concat!(env!("OUT_DIR"), "/libredrop.message.rs"));
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]   --> src/proto.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | / machine!(
[INFO] [stdout] 82 | |     /// State machine of a peer that sends file.
[INFO] [stdout] 83 | |     #[derive(Debug)]
[INFO] [stdout] 84 | |     enum SenderSM {
[INFO] [stdout] ...  |
[INFO] [stdout] 95 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]    --> src/proto.rs:97:1
[INFO] [stdout]     |
[INFO] [stdout]  97 | / transitions!(SenderSM,
[INFO] [stdout]  98 | |     [
[INFO] [stdout]  99 | |         (WaitingAccept, LibredropMsg) => [SendingFile, Error, Rejected],
[INFO] [stdout] 100 | |         (SendingFile, FileEof) => Done
[INFO] [stdout] 101 | |     ]
[INFO] [stdout] 102 | | );
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = help: message: error opening dot file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `protobuff::libredrop_msg`, `protobuff::FileRequest`
[INFO] [stdout]   --> src/proto.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use protobuff::{libredrop_msg, FileRequest};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^  ^^^^^^^^^^^ no `FileRequest` in `proto::protobuff`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `libredrop_msg` in `proto::protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::proto::Done`, `crate::proto::SenderSM`, `crate::proto::SendingFile`
[INFO] [stdout]   --> src/session.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Done, FileEof, FileRequest, LibredropMsg, PeerId, ReceiverSM, SenderSM, SendingFile,
[INFO] [stdout]    |     ^^^^                                                          ^^^^^^^^  ^^^^^^^^^^^ no `SendingFile` in `proto`
[INFO] [stdout]    |     |                                                             |
[INFO] [stdout]    |     no `Done` in `proto`                                          no `SenderSM` in `proto`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these variants instead:
[INFO] [stdout]            crate::ReceiverSM::Done
[INFO] [stdout]            std::str::pattern::SearchStep::Done
[INFO] [stdout]            futures::future::MaybeDone::Done
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::proto::SenderSM`
[INFO] [stdout]   --> src/main.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::proto::{PeerId, ReceiverSM, SenderSM};
[INFO] [stdout]    |                                        ^^^^^^^^ no `SenderSM` in `proto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `protobuff::libredrop_msg`, `protobuff::FileRequest`
[INFO] [stdout]   --> src/proto.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use protobuff::{libredrop_msg, FileRequest};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^  ^^^^^^^^^^^ no `FileRequest` in `proto::protobuff`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `libredrop_msg` in `proto::protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `protobuff::libredrop_msg`
[INFO] [stdout]    --> src/proto.rs:307:20
[INFO] [stdout]     |
[INFO] [stdout] 307 |     use protobuff::libredrop_msg::Variant;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ could not find `libredrop_msg` in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `protobuff::LibredropMsg`
[INFO] [stdout]    --> src/proto.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     use protobuff::LibredropMsg;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ no `LibredropMsg` in `proto::protobuff`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]     |
[INFO] [stdout] 308 -     use protobuff::LibredropMsg;
[INFO] [stdout] 308 +     use crate::proto::LibredropMsg;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `LibredropMsg` in `protobuff`
[INFO] [stdout]   --> src/proto.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |         Self(unwrap!(protobuff::LibredropMsg::decode(data)))
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ could not find `LibredropMsg` in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::proto::Done`, `crate::proto::SenderSM`, `crate::proto::SendingFile`
[INFO] [stdout]   --> src/session.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Done, FileEof, FileRequest, LibredropMsg, PeerId, ReceiverSM, SenderSM, SendingFile,
[INFO] [stdout]    |     ^^^^                                                          ^^^^^^^^  ^^^^^^^^^^^ no `SendingFile` in `proto`
[INFO] [stdout]    |     |                                                             |
[INFO] [stdout]    |     no `Done` in `proto`                                          no `SenderSM` in `proto`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these variants instead:
[INFO] [stdout]            crate::ReceiverSM::Done
[INFO] [stdout]            std::str::pattern::SearchStep::Done
[INFO] [stdout]            futures::future::MaybeDone::Done
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::proto::SenderSM`
[INFO] [stdout]   --> src/main.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::proto::{PeerId, ReceiverSM, SenderSM};
[INFO] [stdout]    |                                        ^^^^^^^^ no `SenderSM` in `proto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `LibredropMsg` in `protobuff`
[INFO] [stdout]   --> src/proto.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 60 |         Self(unwrap!(protobuff::LibredropMsg::decode(data)))
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ could not find `LibredropMsg` in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct LibredropMsg(protobuff::LibredropMsg);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |         Self(protobuff::LibredropMsg {
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileRequest` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 protobuff::FileRequest {
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Self(protobuff::LibredropMsg {
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileChunk` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:41:72
[INFO] [stdout]    |
[INFO] [stdout] 41 |             variant: Some(libredrop_msg::Variant::FileChunk(protobuff::FileChunk {
[INFO] [stdout]    |                                                                        ^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Self(protobuff::LibredropMsg {
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileAccept` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:49:73
[INFO] [stdout]    |
[INFO] [stdout] 49 |             variant: Some(libredrop_msg::Variant::FileAccept(protobuff::FileAccept {})),
[INFO] [stdout]    |                                                                         ^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:54:25
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Self(protobuff::LibredropMsg {
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileReject` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:55:73
[INFO] [stdout]    |
[INFO] [stdout] 55 |             variant: Some(libredrop_msg::Variant::FileReject(protobuff::FileReject {})),
[INFO] [stdout]    |                                                                         ^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WaitingAccept` in this scope
[INFO] [stdout]    --> src/proto.rs:104:6
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl WaitingAccept {
[INFO] [stdout]     |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::ReceiverSM::WaitingAccept`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 104 - impl WaitingAccept {
[INFO] [stdout] 104 + impl crate::ReceiverSM {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SenderSM` in this scope
[INFO] [stdout]    --> src/proto.rs:105:57
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn on_libredrop_msg(self, msg: LibredropMsg) -> SenderSM {
[INFO] [stdout]     |                                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rejected` in this scope
[INFO] [stdout]    --> src/proto.rs:110:64
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Some(Variant::FileReject(_)) => SenderSM::Rejected(Rejected {}),
[INFO] [stdout]     |                                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   3 + use crate::ReceiverSM::Rejected;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SendingFile` in this scope
[INFO] [stdout]    --> src/proto.rs:117:6
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl SendingFile {
[INFO] [stdout]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Done` in this scope
[INFO] [stdout]    --> src/proto.rs:124:45
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn on_file_eof(self, _: FileEof) -> Done {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `core::str::pattern::SearchStep::Done` and 5 others; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 124 -     pub fn on_file_eof(self, _: FileEof) -> Done {
[INFO] [stdout] 124 +     pub fn on_file_eof(self, _: FileEof) -> core::str::pattern::SearchStep {
[INFO] [stdout]     |
[INFO] [stdout] 124 -     pub fn on_file_eof(self, _: FileEof) -> Done {
[INFO] [stdout] 124 +     pub fn on_file_eof(self, _: FileEof) -> crate::ReceiverSM {
[INFO] [stdout]     |
[INFO] [stdout] 124 -     pub fn on_file_eof(self, _: FileEof) -> Done {
[INFO] [stdout] 124 +     pub fn on_file_eof(self, _: FileEof) -> futures::core_reexport::str::pattern::SearchStep {
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn on_file_eof(self, _: FileEof) -> futures::future::MaybeDone {
[INFO] [stdout]     |                                             ++++++++++++++++++++++
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Done` in this scope
[INFO] [stdout]    --> src/proto.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         Done {}
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/core/src/option.rs:604:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named variant `None` defined here
[INFO] [stdout] help: a variant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 125 -         Done {}
[INFO] [stdout] 125 +         None {}
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these variants
[INFO] [stdout]     |
[INFO] [stdout]   3 + use crate::ReceiverSM::Done;
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::str::pattern::SearchStep::Done;
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::future::MaybeDone::Done;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct LibredropMsg(protobuff::LibredropMsg);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |         Self(protobuff::LibredropMsg {
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileRequest` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 protobuff::FileRequest {
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Self(protobuff::LibredropMsg {
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileChunk` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:41:72
[INFO] [stdout]    |
[INFO] [stdout] 41 |             variant: Some(libredrop_msg::Variant::FileChunk(protobuff::FileChunk {
[INFO] [stdout]    |                                                                        ^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Self(protobuff::LibredropMsg {
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileAccept` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:49:73
[INFO] [stdout]    |
[INFO] [stdout] 49 |             variant: Some(libredrop_msg::Variant::FileAccept(protobuff::FileAccept {})),
[INFO] [stdout]    |                                                                         ^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:54:25
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Self(protobuff::LibredropMsg {
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileReject` in module `protobuff`
[INFO] [stdout]   --> src/proto.rs:55:73
[INFO] [stdout]    |
[INFO] [stdout] 55 |             variant: Some(libredrop_msg::Variant::FileReject(protobuff::FileReject {})),
[INFO] [stdout]    |                                                                         ^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WaitingAccept` in this scope
[INFO] [stdout]    --> src/proto.rs:104:6
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl WaitingAccept {
[INFO] [stdout]     |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::ReceiverSM::WaitingAccept`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 104 - impl WaitingAccept {
[INFO] [stdout] 104 + impl crate::ReceiverSM {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SenderSM` in this scope
[INFO] [stdout]    --> src/proto.rs:105:57
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn on_libredrop_msg(self, msg: LibredropMsg) -> SenderSM {
[INFO] [stdout]     |                                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rejected` in this scope
[INFO] [stdout]    --> src/proto.rs:110:64
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Some(Variant::FileReject(_)) => SenderSM::Rejected(Rejected {}),
[INFO] [stdout]     |                                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this variant
[INFO] [stdout]     |
[INFO] [stdout]   3 + use crate::ReceiverSM::Rejected;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SendingFile` in this scope
[INFO] [stdout]    --> src/proto.rs:117:6
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl SendingFile {
[INFO] [stdout]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Done` in this scope
[INFO] [stdout]    --> src/proto.rs:124:45
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn on_file_eof(self, _: FileEof) -> Done {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `core::str::pattern::SearchStep::Done` and 5 others; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 124 -     pub fn on_file_eof(self, _: FileEof) -> Done {
[INFO] [stdout] 124 +     pub fn on_file_eof(self, _: FileEof) -> core::str::pattern::SearchStep {
[INFO] [stdout]     |
[INFO] [stdout] 124 -     pub fn on_file_eof(self, _: FileEof) -> Done {
[INFO] [stdout] 124 +     pub fn on_file_eof(self, _: FileEof) -> crate::ReceiverSM {
[INFO] [stdout]     |
[INFO] [stdout] 124 -     pub fn on_file_eof(self, _: FileEof) -> Done {
[INFO] [stdout] 124 +     pub fn on_file_eof(self, _: FileEof) -> futures::core_reexport::str::pattern::SearchStep {
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn on_file_eof(self, _: FileEof) -> futures::future::MaybeDone {
[INFO] [stdout]     |                                             ++++++++++++++++++++++
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Done` in this scope
[INFO] [stdout]    --> src/proto.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         Done {}
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/94e848735e78b58442e0b82e9c60f8f430840389/library/core/src/option.rs:604:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named variant `None` defined here
[INFO] [stdout] help: a variant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 125 -         Done {}
[INFO] [stdout] 125 +         None {}
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these variants
[INFO] [stdout]     |
[INFO] [stdout]   3 + use crate::ReceiverSM::Done;
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::str::pattern::SearchStep::Done;
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::future::MaybeDone::Done;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FileRequest` in module `protobuff`
[INFO] [stdout]    --> src/proto.rs:315:60
[INFO] [stdout]     |
[INFO] [stdout] 315 |         msg.variant = Some(Variant::FileRequest(protobuff::FileRequest {
[INFO] [stdout]     |                                                            ^^^^^^^^^^^ not found in `protobuff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SenderSM`
[INFO] [stdout]    --> src/proto.rs:109:45
[INFO] [stdout]     |
[INFO] [stdout] 109 |             Some(Variant::FileAccept(_)) => SenderSM::SendingFile(SendingFile::new()),
[INFO] [stdout]     |                                             ^^^^^^^^ use of undeclared type `SenderSM`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SendingFile`
[INFO] [stdout]    --> src/proto.rs:109:67
[INFO] [stdout]     |
[INFO] [stdout] 109 |             Some(Variant::FileAccept(_)) => SenderSM::SendingFile(SendingFile::new()),
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^ use of undeclared type `SendingFile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SenderSM`
[INFO] [stdout]    --> src/proto.rs:110:45
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Some(Variant::FileReject(_)) => SenderSM::Rejected(Rejected {}),
[INFO] [stdout]     |                                             ^^^^^^^^ use of undeclared type `SenderSM`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SenderSM`
[INFO] [stdout]    --> src/proto.rs:112:18
[INFO] [stdout]     |
[INFO] [stdout] 112 |             _ => SenderSM::Error,
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `SenderSM`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SenderSM`
[INFO] [stdout]    --> src/proto.rs:109:45
[INFO] [stdout]     |
[INFO] [stdout] 109 |             Some(Variant::FileAccept(_)) => SenderSM::SendingFile(SendingFile::new()),
[INFO] [stdout]     |                                             ^^^^^^^^ use of undeclared type `SenderSM`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SendingFile`
[INFO] [stdout]    --> src/proto.rs:109:67
[INFO] [stdout]     |
[INFO] [stdout] 109 |             Some(Variant::FileAccept(_)) => SenderSM::SendingFile(SendingFile::new()),
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^ use of undeclared type `SendingFile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SenderSM`
[INFO] [stdout]    --> src/proto.rs:110:45
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Some(Variant::FileReject(_)) => SenderSM::Rejected(Rejected {}),
[INFO] [stdout]     |                                             ^^^^^^^^ use of undeclared type `SenderSM`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SenderSM`
[INFO] [stdout]    --> src/proto.rs:112:18
[INFO] [stdout]     |
[INFO] [stdout] 112 |             _ => SenderSM::Error,
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `SenderSM`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libredrop-prototype` (bin "libredrop-prototype") due to 26 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `proto::LibredropMsg` in the current scope
[INFO] [stdout]    --> src/proto.rs:314:37
[INFO] [stdout]     |
[INFO] [stdout]  23 | pub struct LibredropMsg(protobuff::LibredropMsg);
[INFO] [stdout]     | ----------------------- function or associated item `default` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 314 |         let mut msg = LibredropMsg::default();
[INFO] [stdout]     |                                     ^^^^^^^ function or associated item not found in `proto::LibredropMsg`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `proto::LibredropMsg` consider using one of the following associated functions:
[INFO] [stdout]       proto::LibredropMsg::file_request
[INFO] [stdout]       proto::LibredropMsg::file_chunk
[INFO] [stdout]       proto::LibredropMsg::file_accept
[INFO] [stdout]       proto::LibredropMsg::file_reject
[INFO] [stdout]       proto::LibredropMsg::from_bytes
[INFO] [stdout]    --> src/proto.rs:27:5
[INFO] [stdout]     |
[INFO] [stdout]  27 |     pub fn file_request(sender_id: PeerId, file_name: String, file_size: u64) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn file_chunk(data: Vec<u8>) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn file_accept() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn file_reject() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn from_bytes(data: &[u8]) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `default`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Default`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `proto::LibredropMsg` in the current scope
[INFO] [stdout]    --> src/proto.rs:325:42
[INFO] [stdout]     |
[INFO] [stdout]  23 | pub struct LibredropMsg(protobuff::LibredropMsg);
[INFO] [stdout]     | ----------------------- function or associated item `decode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 325 |         let received_msg = LibredropMsg::decode(&out_buff[1..]).unwrap();
[INFO] [stdout]     |                                          ^^^^^^ function or associated item not found in `proto::LibredropMsg`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `proto::LibredropMsg` consider using one of the following associated functions:
[INFO] [stdout]       proto::LibredropMsg::file_request
[INFO] [stdout]       proto::LibredropMsg::file_chunk
[INFO] [stdout]       proto::LibredropMsg::file_accept
[INFO] [stdout]       proto::LibredropMsg::file_reject
[INFO] [stdout]       proto::LibredropMsg::from_bytes
[INFO] [stdout]    --> src/proto.rs:27:5
[INFO] [stdout]     |
[INFO] [stdout]  27 |     pub fn file_request(sender_id: PeerId, file_name: String, file_size: u64) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn file_chunk(data: Vec<u8>) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn file_accept() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn file_reject() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn from_bytes(data: &[u8]) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `decode`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Decoder`
[INFO] [stdout]             candidate #2: `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libredrop-prototype` (bin "libredrop-prototype" test) due to 31 previous errors
[INFO] running `Command { std: "docker" "inspect" "0c6011c809180096794e7838f26f0e528974db7efd7ee80144ea9aa59df02add", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c6011c809180096794e7838f26f0e528974db7efd7ee80144ea9aa59df02add", kill_on_drop: false }`
[INFO] [stdout] 0c6011c809180096794e7838f26f0e528974db7efd7ee80144ea9aa59df02add
