[INFO] updating cached repository https://github.com/Eros/Heart
[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] 6675149ed54e800f26b1dad73220af0ad7866db5
[INFO] documenting Eros/Heart against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEros%2FHeart" "/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/Eros/Heart 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/Eros/Heart
[INFO] finished tweaking git repo https://github.com/Eros/Heart
[INFO] tweaked toml for git repo https://github.com/Eros/Heart written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/Eros/Heart 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]     Blocking waiting for file lock on package cache
[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] 2603491b4f89ccd7d1242caefcd3e6a599058fef1485a87a6688cd84dd09ec29
[INFO] running `"docker" "start" "-a" "2603491b4f89ccd7d1242caefcd3e6a599058fef1485a87a6688cd84dd09ec29"`
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]    Compiling http-muncher v0.2.5
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]     Checking mio v0.6.16 (https://github.com/carllerche/mio#50c4af5c)
[INFO] [stderr]  Documenting Heart v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: unknown character escape:  
[INFO] [stderr]   --> src/main.rs:78:87
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let response = fmt::format(format_args!("HTTP/1.1 101 Switching Protocols\r\n\ Connection: Upgrade\r\n\
[INFO] [stderr]    |                                                                                       ^ unknown character escape
[INFO] [stderr] 
[INFO] [stderr] error: unknown character escape:  
[INFO] [stderr]   --> src/main.rs:79:82
[INFO] [stderr]    |
[INFO] [stderr] 79 | ...                   Sec-WebSocket-Accept: {}\r\n\ Upgrade: websocket\r\n\r\n", response_key));
[INFO] [stderr]    |                                                    ^ unknown character escape
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found `#`
[INFO] [stderr]   --> src/main.rs:24:7
[INFO] [stderr]    |
[INFO] [stderr] 24 |     #[#deprive]
[INFO] [stderr]    |       ^ expected identifier
[INFO] [stderr] 
[INFO] [stderr] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;`
[INFO] [stderr]   --> src/main.rs:55:79
[INFO] [stderr]    |
[INFO] [stderr] 54 |                 Err(e) =>
[INFO] [stderr]    |                        -- while parsing the `match` arm starting here
[INFO] [stderr] 55 |                     println!("Error while attempting to read socket! {:?}", e);
[INFO] [stderr]    |                                                                               ^ expected one of `,`, `.`, `?`, `}`, or an operator here
[INFO] [stderr] 
[INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>`
[INFO] [stderr]   --> src/main.rs:57:22
[INFO] [stderr]    |
[INFO] [stderr] 57 |             Ok(None) => break;
[INFO] [stderr]    |                      ^^ expected one of `.`, `;`, `?`, `}`, or an operator here
[INFO] [stderr] 
[INFO] [stderr] error: expected one of `=`, `@`, or `|`, found `=>`
[INFO] [stderr]    --> src/main.rs:100:35
[INFO] [stderr]     |
[INFO] [stderr] 99  |             SERVER_TOKEN =>
[INFO] [stderr]     |                          -- while parsing the `match` arm starting here
[INFO] [stderr] 100 |                 let client_socket => match self::socket::accept()|
[INFO] [stderr]     |                                   ^^ expected one of `=`, `@`, or `|` here
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `,`
[INFO] [stderr]    --> src/main.rs:106:10
[INFO] [stderr]     |
[INFO] [stderr] 106 |         },
[INFO] [stderr]     |          ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found `;`
[INFO] [stderr]    --> src/main.rs:114:6
[INFO] [stderr]     |
[INFO] [stderr] 114 |     };
[INFO] [stderr]     |      ^ expected one of 10 possible tokens here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `u` in this scope
[INFO] [stderr]   --> src/main.rs:29:38
[INFO] [stderr]    |
[INFO] [stderr] 29 |     fn on_header_field(&mut self, s: u) -> bool {
[INFO] [stderr]    |                                      ^ help: a builtin type with a similar name exists: `u8`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `u` in this scope
[INFO] [stderr]   --> src/main.rs:34:38
[INFO] [stderr]    |
[INFO] [stderr] 34 |     fn on_header_value(&mut self, s: u) -> bool {
[INFO] [stderr]    |                                      ^ help: a builtin type with a similar name exists: `u8`
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stderr]   --> src/main.rs:93:6
[INFO] [stderr]    |
[INFO] [stderr] 93 | impl Handler for WebSocketServer {
[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] 6  | use mio::deprecated::Handler;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stderr]   --> src/main.rs:97:42
[INFO] [stderr]    |
[INFO] [stderr] 97 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet){
[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] 6  | use mio::deprecated::EventLoop;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stderr]   --> src/main.rs:97:92
[INFO] [stderr]    |
[INFO] [stderr] 97 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>, token: Token, events: EventSet){
[INFO] [stderr]    |                                                                                            ^^^^^^^^ help: a trait with a similar name exists: `Evented`
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: Could not document `Heart`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name Heart 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 http_muncher=/opt/rustwide/target/debug/deps/libhttp_muncher-52ca37b86b3802b8.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-042ab0427dfef622.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-48e64164f0ee1620.rmeta --extern sha1=/opt/rustwide/target/debug/deps/libsha1-f3815c1073eed719.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "2603491b4f89ccd7d1242caefcd3e6a599058fef1485a87a6688cd84dd09ec29"`
[INFO] running `"docker" "rm" "-f" "2603491b4f89ccd7d1242caefcd3e6a599058fef1485a87a6688cd84dd09ec29"`
[INFO] [stdout] 2603491b4f89ccd7d1242caefcd3e6a599058fef1485a87a6688cd84dd09ec29
