[INFO] cloning repository https://github.com/samuelorji/simple_http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samuelorji/simple_http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsimple_http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsimple_http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d143d8382e552a7103996cf047db0007a04d0fdc [INFO] documenting samuelorji/simple_http against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsimple_http" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samuelorji/simple_http on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samuelorji/simple_http [INFO] finished tweaking git repo https://github.com/samuelorji/simple_http [INFO] tweaked toml for git repo https://github.com/samuelorji/simple_http written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/samuelorji/simple_http already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3f1391122babb66c92bc07f98cd777df3a33227f6f9d5068c064993b3e252a2 [INFO] running `Command { std: "docker" "start" "-a" "d3f1391122babb66c92bc07f98cd777df3a33227f6f9d5068c064993b3e252a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3f1391122babb66c92bc07f98cd777df3a33227f6f9d5068c064993b3e252a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f1391122babb66c92bc07f98cd777df3a33227f6f9d5068c064993b3e252a2", kill_on_drop: false }` [INFO] [stdout] d3f1391122babb66c92bc07f98cd777df3a33227f6f9d5068c064993b3e252a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe01edab47f135d4f39aaeaa76d5f2f0426ea8ace8894427323220681fa9cc8c [INFO] running `Command { std: "docker" "start" "-a" "fe01edab47f135d4f39aaeaa76d5f2f0426ea8ace8894427323220681fa9cc8c", kill_on_drop: false }` [INFO] [stderr] Documenting simple_http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | if(*byte == 13){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if(*byte == 13){ [INFO] [stdout] 65 + if *byte == 13 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | if(*byte == 13 && bytes[index + 2] == 13_u8){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - if(*byte == 13 && bytes[index + 2] == 13_u8){ [INFO] [stdout] 76 + if *byte == 13 && bytes[index + 2] == 13_u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if (*byte == b' '){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if (*byte == b' '){ [INFO] [stdout] 90 + if *byte == b' ' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | if(method.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - if(method.is_none()){ [INFO] [stdout] 91 + if method.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | if(method.is_some() && path.is_some()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if(method.is_some() && path.is_some()){ [INFO] [stdout] 103 + if method.is_some() && path.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | if(elem.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if(elem.is_empty()){ [INFO] [stdout] 121 + if elem.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | if(header_end == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - if(header_end == 0){ [INFO] [stdout] 122 + if header_end == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | if(stuff.len() != 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - if(stuff.len() != 3){ [INFO] [stdout] 131 + if stuff.len() != 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `json` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | json, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `html` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | html, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `text` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | text [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "fe01edab47f135d4f39aaeaa76d5f2f0426ea8ace8894427323220681fa9cc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe01edab47f135d4f39aaeaa76d5f2f0426ea8ace8894427323220681fa9cc8c", kill_on_drop: false }` [INFO] [stdout] fe01edab47f135d4f39aaeaa76d5f2f0426ea8ace8894427323220681fa9cc8c