[INFO] updating cached repository https://github.com/povilasb/libredrop-prototype [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/povilasb/libredrop-prototype [INFO] [stderr] - [deleted] (none) -> use-protobuff [INFO] [stderr] c7f6b41..d3b1ee4 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d3b1ee467f1cd6f3d718876762049e735afe52f4 [INFO] testing povilasb/libredrop-prototype against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Flibredrop-prototype" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/libredrop-prototype on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/povilasb/libredrop-prototype already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c1e6c35523e5f6b1988a288041066b64022dc7cb059954728813f89fbc5e4c6 [INFO] running `"docker" "start" "-a" "4c1e6c35523e5f6b1988a288041066b64022dc7cb059954728813f89fbc5e4c6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling once_cell v1.2.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling unwrap v1.2.1 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.4.2 [INFO] [stderr] Compiling async-task v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling net-literals-impl v0.1.2 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling err-derive v0.1.6 [INFO] [stderr] Compiling err-derive v0.2.1 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling net-literals v0.1.2 [INFO] [stderr] Compiling colored v1.9.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling broadcaster v0.2.6 [INFO] [stderr] Compiling futures-timer v0.4.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling simple_logger v1.3.0 [INFO] [stderr] Compiling console v0.9.1 [INFO] [stderr] Compiling indicatif v0.13.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling machine v0.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling async-std v1.4.0 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling futures_codec v0.4.0 [INFO] [stderr] Compiling peer-discovery v0.1.0 (https://github.com/libredrop/peer-discovery-rust?rev=07709c3#07709c30) [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling libredrop-prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: environment variable `OUT_DIR` not defined [INFO] [stderr] --> src/proto.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | include!(concat!(env!("OUT_DIR"), "/libredrop.message.rs")); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> src/proto.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | / machine!( [INFO] [stderr] 82 | | /// State machine of a peer that sends file. [INFO] [stderr] 83 | | #[derive(Debug)] [INFO] [stderr] 84 | | enum SenderSM { [INFO] [stderr] ... | [INFO] [stderr] 94 | | } [INFO] [stderr] 95 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stderr] [INFO] [stderr] error: proc macro panicked [INFO] [stderr] --> src/proto.rs:97:1 [INFO] [stderr] | [INFO] [stderr] 97 | / transitions!(SenderSM, [INFO] [stderr] 98 | | [ [INFO] [stderr] 99 | | (WaitingAccept, LibredropMsg) => [SendingFile, Error, Rejected], [INFO] [stderr] 100 | | (SendingFile, FileEof) => Done [INFO] [stderr] 101 | | ] [INFO] [stderr] 102 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = help: message: error opening dot file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `protobuff::libredrop_msg`, `protobuff::FileRequest` [INFO] [stderr] --> src/proto.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | pub use protobuff::{libredrop_msg, FileRequest}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ no `FileRequest` in `proto::protobuff` [INFO] [stderr] | | [INFO] [stderr] | no `libredrop_msg` in `proto::protobuff` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::proto::Done`, `crate::proto::SenderSM`, `crate::proto::SendingFile` [INFO] [stderr] --> src/session.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Done, FileEof, FileRequest, LibredropMsg, PeerId, ReceiverSM, SenderSM, SendingFile, [INFO] [stderr] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^ no `SendingFile` in `proto` [INFO] [stderr] | | | [INFO] [stderr] | no `Done` in `proto` no `SenderSM` in `proto` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::proto::SenderSM` [INFO] [stderr] --> src/main.rs:24:40 [INFO] [stderr] | [INFO] [stderr] 24 | use crate::proto::{PeerId, ReceiverSM, SenderSM}; [INFO] [stderr] | ^^^^^^^^ no `SenderSM` in `proto` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `LibredropMsg` in `protobuff` [INFO] [stderr] --> src/proto.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | Self(unwrap!(protobuff::LibredropMsg::decode(data))) [INFO] [stderr] | ^^^^^^^^^^^^ could not find `LibredropMsg` in `protobuff` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variant` [INFO] [stderr] --> src/proto.rs:109:18 [INFO] [stderr] | [INFO] [stderr] 109 | Some(Variant::FileAccept(_)) => SenderSM::SendingFile(SendingFile::new()), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Variant` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SenderSM` [INFO] [stderr] --> src/proto.rs:109:45 [INFO] [stderr] | [INFO] [stderr] 109 | Some(Variant::FileAccept(_)) => SenderSM::SendingFile(SendingFile::new()), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `SenderSM` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SendingFile` [INFO] [stderr] --> src/proto.rs:109:67 [INFO] [stderr] | [INFO] [stderr] 109 | Some(Variant::FileAccept(_)) => SenderSM::SendingFile(SendingFile::new()), [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `SendingFile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variant` [INFO] [stderr] --> src/proto.rs:110:18 [INFO] [stderr] | [INFO] [stderr] 110 | Some(Variant::FileReject(_)) => SenderSM::Rejected(Rejected {}), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Variant` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SenderSM` [INFO] [stderr] --> src/proto.rs:110:45 [INFO] [stderr] | [INFO] [stderr] 110 | Some(Variant::FileReject(_)) => SenderSM::Rejected(Rejected {}), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `SenderSM` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SenderSM` [INFO] [stderr] --> src/proto.rs:112:18 [INFO] [stderr] | [INFO] [stderr] 112 | _ => SenderSM::Error, [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `SenderSM` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LibredropMsg` in module `protobuff` [INFO] [stderr] --> src/proto.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct LibredropMsg(protobuff::LibredropMsg); [INFO] [stderr] | ^^^^^^^^^^^^ not found in `protobuff` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use crate::proto::LibredropMsg; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff` [INFO] [stderr] --> src/proto.rs:28:25 [INFO] [stderr] | [INFO] [stderr] 28 | Self(protobuff::LibredropMsg { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `protobuff` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use crate::proto::LibredropMsg; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FileRequest` in module `protobuff` [INFO] [stderr] --> src/proto.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | protobuff::FileRequest { [INFO] [stderr] | ^^^^^^^^^^^ not found in `protobuff` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff` [INFO] [stderr] --> src/proto.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | Self(protobuff::LibredropMsg { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `protobuff` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use crate::proto::LibredropMsg; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FileChunk` in module `protobuff` [INFO] [stderr] --> src/proto.rs:41:72 [INFO] [stderr] | [INFO] [stderr] 41 | variant: Some(libredrop_msg::Variant::FileChunk(protobuff::FileChunk { [INFO] [stderr] | ^^^^^^^^^ not found in `protobuff` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff` [INFO] [stderr] --> src/proto.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | Self(protobuff::LibredropMsg { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `protobuff` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use crate::proto::LibredropMsg; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FileAccept` in module `protobuff` [INFO] [stderr] --> src/proto.rs:49:73 [INFO] [stderr] | [INFO] [stderr] 49 | variant: Some(libredrop_msg::Variant::FileAccept(protobuff::FileAccept {})), [INFO] [stderr] | ^^^^^^^^^^ not found in `protobuff` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `LibredropMsg` in module `protobuff` [INFO] [stderr] --> src/proto.rs:54:25 [INFO] [stderr] | [INFO] [stderr] 54 | Self(protobuff::LibredropMsg { [INFO] [stderr] | ^^^^^^^^^^^^ not found in `protobuff` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use crate::proto::LibredropMsg; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FileReject` in module `protobuff` [INFO] [stderr] --> src/proto.rs:55:73 [INFO] [stderr] | [INFO] [stderr] 55 | variant: Some(libredrop_msg::Variant::FileReject(protobuff::FileReject {})), [INFO] [stderr] | ^^^^^^^^^^ not found in `protobuff` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WaitingAccept` in this scope [INFO] [stderr] --> src/proto.rs:104:6 [INFO] [stderr] | [INFO] [stderr] 104 | impl WaitingAccept { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `crate::proto::ReceiverSM::WaitingAccept`; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 104 | impl crate::proto::ReceiverSM { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SenderSM` in this scope [INFO] [stderr] --> src/proto.rs:105:57 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn on_libredrop_msg(self, msg: LibredropMsg) -> SenderSM { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Rejected` in this scope [INFO] [stderr] --> src/proto.rs:110:64 [INFO] [stderr] | [INFO] [stderr] 110 | Some(Variant::FileReject(_)) => SenderSM::Rejected(Rejected {}), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use crate::proto::ReceiverSM::Rejected; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SendingFile` in this scope [INFO] [stderr] --> src/proto.rs:117:6 [INFO] [stderr] | [INFO] [stderr] 117 | impl SendingFile { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Done` in this scope [INFO] [stderr] --> src/proto.rs:124:45 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn on_file_eof(self, _: FileEof) -> Done { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `core::str::pattern::SearchStep::Done` and 5 others; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 124 | pub fn on_file_eof(self, _: FileEof) -> core::str::pattern::SearchStep { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 124 | pub fn on_file_eof(self, _: FileEof) -> crate::proto::ReceiverSM { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 124 | pub fn on_file_eof(self, _: FileEof) -> futures::core_reexport::str::pattern::SearchStep { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 124 | pub fn on_file_eof(self, _: FileEof) -> futures::future::MaybeDone { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Done` in this scope [INFO] [stderr] --> src/proto.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | Done {} [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: a variant with a similar name exists [INFO] [stderr] | [INFO] [stderr] 125 | None {} [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use core::str::pattern::SearchStep::Done; [INFO] [stderr] | [INFO] [stderr] 3 | use crate::proto::ReceiverSM::Done; [INFO] [stderr] | [INFO] [stderr] 3 | use futures::core_reexport::str::pattern::SearchStep::Done; [INFO] [stderr] | [INFO] [stderr] 3 | use futures::future::MaybeDone::Done; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] error[E0071]: expected struct, variant or union type, found type error [INFO] [stderr] --> src/proto.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | Self { [INFO] [stderr] | ^^^^ not a struct [INFO] [stderr] [INFO] [stderr] warning: unused import: `prost::Message` [INFO] [stderr] --> src/proto.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use prost::Message; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0071, E0412, E0422, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0071`. [INFO] [stderr] error: could not compile `libredrop-prototype`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4c1e6c35523e5f6b1988a288041066b64022dc7cb059954728813f89fbc5e4c6"` [INFO] running `"docker" "rm" "-f" "4c1e6c35523e5f6b1988a288041066b64022dc7cb059954728813f89fbc5e4c6"` [INFO] [stdout] 4c1e6c35523e5f6b1988a288041066b64022dc7cb059954728813f89fbc5e4c6