[INFO] updating cached repository https://github.com/infinityb/rust-irc-client
[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] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 388e66984b6bb603cd83a8132e3bd43e37bd1f07
[INFO] documenting infinityb/rust-irc-client against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Frust-irc-client" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/infinityb/rust-irc-client on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/infinityb/rust-irc-client
[INFO] finished tweaking git repo https://github.com/infinityb/rust-irc-client
[INFO] tweaked toml for git repo https://github.com/infinityb/rust-irc-client written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/infinityb/rust-irc-client already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/infinityb/rust-irc`
[INFO] [stderr]     Updating git repository `https://github.com/shaleh/rust-readline.git`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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=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.40.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6bfd92a0159506f0f60f953f319da1cac4b0ed59efc3562fa9d9f356bcce9b67
[INFO] running `"docker" "start" "-a" "6bfd92a0159506f0f60f953f319da1cac4b0ed59efc3562fa9d9f356bcce9b67"`
[INFO] [stderr]    Compiling readline v0.2.0 (https://github.com/shaleh/rust-readline.git#4223e676)
[INFO] [stderr]     Checking irc v0.5.0 (https://github.com/infinityb/rust-irc#4d8bfd9f)
[INFO] [stderr]  Documenting irc-client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `return`
[INFO] [stderr]    --> src/irc_client.rs:157:17
[INFO] [stderr]     |
[INFO] [stderr] 156 |                 println!("nick-read failed, exit")
[INFO] [stderr]     |                                                   - expected one of `.`, `;`, `?`, `}`, or an operator here
[INFO] [stderr] 157 |                 return;
[INFO] [stderr]     |                 ^^^^^^ unexpected token
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]    --> src/irc_client.rs:161:45
[INFO] [stderr]     |
[INFO] [stderr] 161 |         match self.connection.register(nick[].trim_chars('\n')) {
[INFO] [stderr]     |         -----                               ^ expected expression
[INFO] [stderr]     |         |
[INFO] [stderr]     |         while parsing this match expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]    --> src/irc_client.rs:185:33
[INFO] [stderr]     |
[INFO] [stderr] 185 |         let line_cleaned = line[].trim_chars('\n');
[INFO] [stderr]     |                                 ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]    --> src/irc_client.rs:218:33
[INFO] [stderr]     |
[INFO] [stderr] 218 |         let line_cleaned = line[].trim_chars('\n');
[INFO] [stderr]     |                                 ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stderr]    --> src/irc_client.rs:226:22
[INFO] [stderr]     |
[INFO] [stderr] 226 |         spawn(proc() {
[INFO] [stderr]     |                      ^ expected one of `)`, `,`, `.`, `?`, or an operator here
[INFO] [stderr] 
[INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `Ok`
[INFO] [stderr]    --> src/irc_client.rs:231:17
[INFO] [stderr]     |
[INFO] [stderr] 230 |                 try!(stdout_w.flush())
[INFO] [stderr]     |                                       - expected one of `.`, `;`, `?`, `}`, or an operator here
[INFO] [stderr] 231 |                 Ok(())
[INFO] [stderr]     |                 ^^ unexpected token
[INFO] [stderr] 
[INFO] [stderr] error[E0463]: can't find crate for `debug`
[INFO] [stderr]  --> src/irc_client.rs:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | extern crate debug;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0463`.
[INFO] [stderr] error: Could not document `irc-client`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name irc_client src/irc_client.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern irc=/opt/rustwide/target/debug/deps/libirc-889f26bf0b456ba8.rmeta --extern readline=/opt/rustwide/target/debug/deps/libreadline-0299f442f2a3185b.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "6bfd92a0159506f0f60f953f319da1cac4b0ed59efc3562fa9d9f356bcce9b67"`
[INFO] running `"docker" "rm" "-f" "6bfd92a0159506f0f60f953f319da1cac4b0ed59efc3562fa9d9f356bcce9b67"`
[INFO] [stdout] 6bfd92a0159506f0f60f953f319da1cac4b0ed59efc3562fa9d9f356bcce9b67
