[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] documenting povilasb/libredrop-prototype against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Flibredrop-prototype" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/libredrop-prototype on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/povilasb/libredrop-prototype already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Downloading crates ... [INFO] [stderr] Downloaded futures_codec v0.4.0 [INFO] [stderr] Downloaded once_cell v1.2.0 [INFO] [stderr] Downloaded futures-timer v0.4.0 [INFO] [stderr] Downloaded err-derive v0.2.1 [INFO] [stderr] Downloaded net-literals v0.1.2 [INFO] [stderr] Downloaded proc-macro-hack v0.4.2 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.2 [INFO] [stderr] Downloaded broadcaster v0.2.6 [INFO] [stderr] Downloaded colored v1.9.0 [INFO] [stderr] Downloaded net-literals-impl v0.1.2 [INFO] [stderr] Downloaded machine v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 630b27a11f4ff803e6ccfbeff588423439f32c294f8dbad2923315e9a5fe32d2 [INFO] running `Command { std: "docker" "start" "-a" "630b27a11f4ff803e6ccfbeff588423439f32c294f8dbad2923315e9a5fe32d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "630b27a11f4ff803e6ccfbeff588423439f32c294f8dbad2923315e9a5fe32d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630b27a11f4ff803e6ccfbeff588423439f32c294f8dbad2923315e9a5fe32d2", kill_on_drop: false }` [INFO] [stdout] 630b27a11f4ff803e6ccfbeff588423439f32c294f8dbad2923315e9a5fe32d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTDOCFLAGS=--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e68228e546c6218143711e3ecc6c6ae5880e0e6152e3956a032a74c7b5731dcf [INFO] running `Command { std: "docker" "start" "-a" "e68228e546c6218143711e3ecc6c6ae5880e0e6152e3956a032a74c7b5731dcf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-core v0.3.1 [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] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking unwrap v1.2.1 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking async-task v1.0.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Compiling err-derive v0.2.1 [INFO] [stderr] Checking colored v1.9.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking console v0.9.1 [INFO] [stderr] Compiling proc-macro-hack v0.4.2 [INFO] [stderr] Compiling net-literals-impl v0.1.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking indicatif v0.13.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking net-literals v0.1.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking broadcaster v0.2.6 [INFO] [stderr] Checking futures-timer v0.4.0 [INFO] [stderr] Checking simple_logger v1.3.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 async-attributes v1.1.1 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling err-derive v0.1.6 [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 futures-util v0.3.1 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking prost v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking serde v1.0.104 [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] Documenting libredrop-prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `OUT_DIR` not defined [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] 94 | | } [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] [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[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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use crate::session::LibredropMsg; [INFO] [stdout] | [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 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[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) -> core::str::pattern::SearchStep { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | pub fn on_file_eof(self, _: FileEof) -> crate::ReceiverSM { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `libredrop-prototype`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name libredrop_prototype src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern async_std=/opt/rustwide/target/debug/deps/libasync_std-27d7bea21ec43026.rmeta --extern bincode=/opt/rustwide/target/debug/deps/libbincode-f3daf55a0e635401.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-698f4871cab58c10.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-11df263f3f7af3da.rmeta --extern err_derive=/opt/rustwide/target/debug/deps/liberr_derive-49c68cd8d58234ef.so --extern futures=/opt/rustwide/target/debug/deps/libfutures-b5ce4c8e6042deb1.rmeta --extern futures_codec=/opt/rustwide/target/debug/deps/libfutures_codec-84164a2d2e72c5bd.rmeta --extern get_if_addrs=/opt/rustwide/target/debug/deps/libget_if_addrs-c406a1358dd4ecfa.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-7f8f655c4b9db996.rmeta --extern indicatif=/opt/rustwide/target/debug/deps/libindicatif-852fd985bc066d74.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-6bdba6c1562fbb28.rmeta --extern machine=/opt/rustwide/target/debug/deps/libmachine-c4435a384a15d106.so --extern net_literals=/opt/rustwide/target/debug/deps/libnet_literals-37a53b6e69fd6de0.rmeta --extern peer_discovery=/opt/rustwide/target/debug/deps/libpeer_discovery-e73ee601601b6384.rmeta --extern prost=/opt/rustwide/target/debug/deps/libprost-235475189c317f6c.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-13b01f7cffee51ae.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-c9809de68ce850b9.rmeta --extern simple_logger=/opt/rustwide/target/debug/deps/libsimple_logger-e033382aa35e5099.rmeta --extern unwrap=/opt/rustwide/target/debug/deps/libunwrap-4c220c944e852962.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e68228e546c6218143711e3ecc6c6ae5880e0e6152e3956a032a74c7b5731dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e68228e546c6218143711e3ecc6c6ae5880e0e6152e3956a032a74c7b5731dcf", kill_on_drop: false }` [INFO] [stdout] e68228e546c6218143711e3ecc6c6ae5880e0e6152e3956a032a74c7b5731dcf