[INFO] updating cached repository https://github.com/EwanValentine/rust-paxos [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 331d29815f2185dbbd6fbdf372b89bc6427bd5ef [INFO] documenting EwanValentine/rust-paxos against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEwanValentine%2Frust-paxos" "/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/EwanValentine/rust-paxos on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EwanValentine/rust-paxos [INFO] finished tweaking git repo https://github.com/EwanValentine/rust-paxos [INFO] tweaked toml for git repo https://github.com/EwanValentine/rust-paxos written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/EwanValentine/rust-paxos already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "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] 47ad54dc376bf6f6913dfd7054c6cbfc1f8fe4b5c91b031433bbab1a35aeda10 [INFO] running `Command { std: "docker" "start" "-a" "47ad54dc376bf6f6913dfd7054c6cbfc1f8fe4b5c91b031433bbab1a35aeda10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47ad54dc376bf6f6913dfd7054c6cbfc1f8fe4b5c91b031433bbab1a35aeda10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ad54dc376bf6f6913dfd7054c6cbfc1f8fe4b5c91b031433bbab1a35aeda10", kill_on_drop: false }` [INFO] [stdout] 47ad54dc376bf6f6913dfd7054c6cbfc1f8fe4b5c91b031433bbab1a35aeda10 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 962392f7d72a803dc24ebbf4f385c2b01005ede50927a325241e8c5952a73baa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "962392f7d72a803dc24ebbf4f385c2b01005ede50927a325241e8c5952a73baa", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking kv-log-macro v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking blocking v0.4.6 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking async-std v1.6.2 [INFO] [stderr] Documenting paxos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/transport.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | fn connect(addr: String) -> std::io::Result<(T)>; [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/transport.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | fn connect_with_stream(stream: S) -> std::io::Result<(T)>; [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/transport.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn connect(self, addr: String) -> std::io::Result<(T)> { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/transport/transport.rs:30:72 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn connect_with_stream(self, stream: S) -> std::io::Result<(T)> { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): transport::transport::Adapter` is not satisfied [INFO] [stdout] --> src/main.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | let transport: Box = Transport::new(&t); [INFO] [stdout] | ^^ the trait `transport::transport::Adapter` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] ::: src/transport/transport.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(adapter: &impl Adapter) -> Box { [INFO] [stdout] | ------- required by this bound in `transport::transport::Transport::<'a>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): transport::transport::Adapter` is not satisfied [INFO] [stdout] --> src/main.rs:172:56 [INFO] [stdout] | [INFO] [stdout] 172 | let transport: Box = Transport::new(&t); [INFO] [stdout] | ^^ the trait `transport::transport::Adapter` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] ::: src/transport/transport.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(adapter: &impl Adapter) -> Box { [INFO] [stdout] | ------- required by this bound in `transport::transport::Transport::<'a>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<_, std::io::Error>: transport::transport::Adapter` is not satisfied [INFO] [stdout] --> src/main.rs:186:56 [INFO] [stdout] | [INFO] [stdout] 186 | let transport: Box = Transport::new(&t); [INFO] [stdout] | ^^ the trait `transport::transport::Adapter` is not implemented for `std::result::Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] ::: src/transport/transport.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(adapter: &impl Adapter) -> Box { [INFO] [stdout] | ------- required by this bound in `transport::transport::Transport::<'a>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::result::Result<_, std::io::Error>: transport::transport::Adapter` is not satisfied [INFO] [stdout] --> src/main.rs:194:56 [INFO] [stdout] | [INFO] [stdout] 194 | let transport: Box = Transport::new(&t); [INFO] [stdout] | ^^ the trait `transport::transport::Adapter` is not implemented for `std::result::Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] ::: src/transport/transport.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(adapter: &impl Adapter) -> Box { [INFO] [stdout] | ------- required by this bound in `transport::transport::Transport::<'a>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: Could not document `paxos`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name paxos 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-cb220b090b4a180f.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "962392f7d72a803dc24ebbf4f385c2b01005ede50927a325241e8c5952a73baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962392f7d72a803dc24ebbf4f385c2b01005ede50927a325241e8c5952a73baa", kill_on_drop: false }` [INFO] [stdout] 962392f7d72a803dc24ebbf4f385c2b01005ede50927a325241e8c5952a73baa