[INFO] updating cached repository https://github.com/synlestidae/rustirc [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] 32d8fe9f7900c75f1bd2655c81db1d8302090f3c [INFO] documenting synlestidae/rustirc against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynlestidae%2Frustirc" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/synlestidae/rustirc 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/synlestidae/rustirc [INFO] finished tweaking git repo https://github.com/synlestidae/rustirc [INFO] tweaked toml for git repo https://github.com/synlestidae/rustirc written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/synlestidae/rustirc 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] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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] 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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 859771524ad9fb5b7e8296490eef251668b85ccdff8e19579bd90954605c7473 [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" "859771524ad9fb5b7e8296490eef251668b85ccdff8e19579bd90954605c7473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "859771524ad9fb5b7e8296490eef251668b85ccdff8e19579bd90954605c7473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "859771524ad9fb5b7e8296490eef251668b85ccdff8e19579bd90954605c7473", kill_on_drop: false }` [INFO] [stdout] 859771524ad9fb5b7e8296490eef251668b85ccdff8e19579bd90954605c7473 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 3325c721d2fa04dc629d315a4c6451ca48fd3f4c8b8f9269d6f2cb4dca35ab64 [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" "3325c721d2fa04dc629d315a4c6451ca48fd3f4c8b8f9269d6f2cb4dca35ab64", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Documenting rustirc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | if (i != 0) { [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 `if` condition [INFO] [stdout] --> src/message.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | if (i + 1 == self.parameters.len() && p.contains(" ")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message_util.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | if (index <= line.len() && line[index] == '/') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message_util.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | }else if (index <= line.len() && line[index] != '/') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/message_util.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | while (line[index].is_alphabetic() && line[index].is_lowercase()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message_util.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | if (command.len() == 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/message_util.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | if (command == "join".to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/message_util.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | while (index < line.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/message_util.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | *expectedIndex = (*expectedIndex + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Connected_LoginReady` should have an upper camel case name [INFO] [stdout] --> src/session_state.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | Connected_LoginReady, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConnectedLoginReady` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Connected_LoginWaiting` should have an upper camel case name [INFO] [stdout] --> src/session_state.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | Connected_LoginWaiting, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConnectedLoginWaiting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Connected_LoginFailed` should have an upper camel case name [INFO] [stdout] --> src/session_state.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | Connected_LoginFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConnectedLoginFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Connected_LoggedIn` should have an upper camel case name [INFO] [stdout] --> src/session_state.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | Connected_LoggedIn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConnectedLoggedIn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.15s [INFO] running `Command { std: "docker" "inspect" "3325c721d2fa04dc629d315a4c6451ca48fd3f4c8b8f9269d6f2cb4dca35ab64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3325c721d2fa04dc629d315a4c6451ca48fd3f4c8b8f9269d6f2cb4dca35ab64", kill_on_drop: false }` [INFO] [stdout] 3325c721d2fa04dc629d315a4c6451ca48fd3f4c8b8f9269d6f2cb4dca35ab64