[INFO] cloning repository https://github.com/chansuke/rust_chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chansuke/rust_chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust_chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust_chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b873d67f156172d75e7df27724d5f1853aca532 [INFO] documenting chansuke/rust_chat against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust_chat" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chansuke/rust_chat on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chansuke/rust_chat [INFO] finished tweaking git repo https://github.com/chansuke/rust_chat [INFO] tweaked toml for git repo https://github.com/chansuke/rust_chat written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/chansuke/rust_chat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+1.46.0" "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" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fa29678748a80305d878082019763a0ccd65ba4be43f8c1d89f375a3b7d9d3b [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" "5fa29678748a80305d878082019763a0ccd65ba4be43f8c1d89f375a3b7d9d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fa29678748a80305d878082019763a0ccd65ba4be43f8c1d89f375a3b7d9d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa29678748a80305d878082019763a0ccd65ba4be43f8c1d89f375a3b7d9d3b", kill_on_drop: false }` [INFO] [stdout] 5fa29678748a80305d878082019763a0ccd65ba4be43f8c1d89f375a3b7d9d3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e428d4cdabef5b1b79daf72afa549ce498161b730028137530d5d124f71892e4 [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" "e428d4cdabef5b1b79daf72afa549ce498161b730028137530d5d124f71892e4", kill_on_drop: false }` [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking mio v0.7.0 (https://github.com/carllerche/mio#eef8d3b9) [INFO] [stderr] Documenting rust_chat v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | socket: TcpStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | interest: EventSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn new(socket: TcpStream) -> WebSocketClient { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/main.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | socket: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/main.rs:191:6 [INFO] [stdout] | [INFO] [stdout] 191 | impl Handler for WebSocketServer { [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/main.rs:195:42 [INFO] [stdout] | [INFO] [stdout] 195 | 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/main.rs:195:92 [INFO] [stdout] | [INFO] [stdout] 195 | 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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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 `rust_chat`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name rust_chat 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-adede747e00f61a9.rmeta --extern http_muncher=/opt/rustwide/target/debug/deps/libhttp_muncher-23e27c7ecd37aeb1.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-53b53047f7d0000b.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-0e355727854478f2.rmeta --extern sha1=/opt/rustwide/target/debug/deps/libsha1-66bc3b46d756f417.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e428d4cdabef5b1b79daf72afa549ce498161b730028137530d5d124f71892e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e428d4cdabef5b1b79daf72afa549ce498161b730028137530d5d124f71892e4", kill_on_drop: false }` [INFO] [stdout] e428d4cdabef5b1b79daf72afa549ce498161b730028137530d5d124f71892e4