[INFO] updating cached repository https://github.com/brownlex/DHT [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] 75f29ff499b224c680b23bf9e8d8b83d165b9c20 [INFO] documenting brownlex/DHT against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrownlex%2FDHT" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brownlex/DHT 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/brownlex/DHT [INFO] finished tweaking git repo https://github.com/brownlex/DHT [INFO] tweaked toml for git repo https://github.com/brownlex/DHT written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/brownlex/DHT 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] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] 5c3f7fc62596fbeba767f61cad2ba76c27c343667aba378ebacef4249b784ff4 [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" "5c3f7fc62596fbeba767f61cad2ba76c27c343667aba378ebacef4249b784ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c3f7fc62596fbeba767f61cad2ba76c27c343667aba378ebacef4249b784ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3f7fc62596fbeba767f61cad2ba76c27c343667aba378ebacef4249b784ff4", kill_on_drop: false }` [INFO] [stdout] 5c3f7fc62596fbeba767f61cad2ba76c27c343667aba378ebacef4249b784ff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 5cf545545fca54a1dcaea587223c17223bb8612638dc8978f4f178a7312a0b7c [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" "5cf545545fca54a1dcaea587223c17223bb8612638dc8978f4f178a7312a0b7c", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking mio v0.7.0 (https://github.com/carllerche/mio#57e4c2a8) [INFO] [stderr] Documenting dht v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/packet.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut server = node.clients.get_mut(&CENTRAL_SERVER).unwrap(); [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, or an operator, found keyword `mut` [INFO] [stdout] --> src/packet.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut server = node.clients.get_mut(&CENTRAL_SERVER).unwrap(); [INFO] [stdout] | ^^^ expected one of `(`, `.`, `::`, `;`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/packet.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::tcp::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use mio::tcp::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/packet.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub interest: EventSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/packet.rs:89:67 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new_client(&mut self, client: Client, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/packet.rs:149:50 [INFO] [stdout] | [INFO] [stdout] 149 | ... event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/packet.rs:170:71 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn handle_packet (token: Token, node: &mut Node, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/packet.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | impl Handler for MyHandler { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/packet.rs:259:42 [INFO] [stdout] | [INFO] [stdout] 259 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/packet.rs:259:86 [INFO] [stdout] | [INFO] [stdout] 259 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/packet.rs:337:43 [INFO] [stdout] | [INFO] [stdout] 337 | fn notify(&mut self, event_loop: &mut EventLoop, msg: u32) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: Could not document `dht`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name dht 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 byteorder=/opt/rustwide/target/debug/deps/libbyteorder-75816ef8ceecf9ec.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-600852c647879096.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-7ddf6b4d13e0395e.rmeta --extern sha1=/opt/rustwide/target/debug/deps/libsha1-9570009826f38e7c.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "5cf545545fca54a1dcaea587223c17223bb8612638dc8978f4f178a7312a0b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf545545fca54a1dcaea587223c17223bb8612638dc8978f4f178a7312a0b7c", kill_on_drop: false }` [INFO] [stdout] 5cf545545fca54a1dcaea587223c17223bb8612638dc8978f4f178a7312a0b7c