[INFO] cloning repository https://github.com/SuanFaRuoJi/coding_exercise_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuanFaRuoJi/coding_exercise_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuanFaRuoJi%2Fcoding_exercise_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuanFaRuoJi%2Fcoding_exercise_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05c1092d4cdb09b9983e1b6d8abdc90d3886c7d1 [INFO] documenting SuanFaRuoJi/coding_exercise_rust against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuanFaRuoJi%2Fcoding_exercise_rust" "/workspace/builds/worker-31/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-31/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SuanFaRuoJi/coding_exercise_rust on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SuanFaRuoJi/coding_exercise_rust [INFO] finished tweaking git repo https://github.com/SuanFaRuoJi/coding_exercise_rust [INFO] tweaked toml for git repo https://github.com/SuanFaRuoJi/coding_exercise_rust written to /workspace/builds/worker-31/source/Cargo.toml [INFO] crate git repo https://github.com/SuanFaRuoJi/coding_exercise_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--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-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d610994f917734b2dcce1ec0c24936baadfd5bc8ccbffcf2c1c8639a1ce1b5b [INFO] running `Command { std: "docker" "start" "-a" "5d610994f917734b2dcce1ec0c24936baadfd5bc8ccbffcf2c1c8639a1ce1b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d610994f917734b2dcce1ec0c24936baadfd5bc8ccbffcf2c1c8639a1ce1b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d610994f917734b2dcce1ec0c24936baadfd5bc8ccbffcf2c1c8639a1ce1b5b", kill_on_drop: false }` [INFO] [stdout] 5d610994f917734b2dcce1ec0c24936baadfd5bc8ccbffcf2c1c8639a1ce1b5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50be9cc5a9a55dbf17fe15af9cf1bd21433dff9a7ee7578cd47fcd66085f4b29 [INFO] running `Command { std: "docker" "start" "-a" "50be9cc5a9a55dbf17fe15af9cf1bd21433dff9a7ee7578cd47fcd66085f4b29", kill_on_drop: false }` [INFO] [stderr] Documenting leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `fraction` should have an upper camel case name [INFO] [stdout] --> src/max_points_on_a_line_149.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct fraction { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Fraction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/maximal_square_221.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | let cur_width = min((right - left - 1), top_height); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - let cur_width = min((right - left - 1), top_height); [INFO] [stdout] 29 + let cur_width = min(right - left - 1, top_height); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/maximal_square_221.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | let cur_width = min((right - left - 1), top_height); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - let cur_width = min((right - left - 1), top_height); [INFO] [stdout] 45 + let cur_width = min(right - left - 1, top_height); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "50be9cc5a9a55dbf17fe15af9cf1bd21433dff9a7ee7578cd47fcd66085f4b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50be9cc5a9a55dbf17fe15af9cf1bd21433dff9a7ee7578cd47fcd66085f4b29", kill_on_drop: false }` [INFO] [stdout] 50be9cc5a9a55dbf17fe15af9cf1bd21433dff9a7ee7578cd47fcd66085f4b29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "RUSTFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 85670567862d03eb2f7a222da6e69ddec91cc338290f47e5c0580a9e72cdda4f [INFO] running `Command { std: "docker" "start" "-a" "85670567862d03eb2f7a222da6e69ddec91cc338290f47e5c0580a9e72cdda4f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `fraction` should have an upper camel case name [INFO] [stdout] --> src/max_points_on_a_line_149.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct fraction { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Fraction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/maximal_square_221.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | let cur_width = min((right - left - 1), top_height); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - let cur_width = min((right - left - 1), top_height); [INFO] [stdout] 29 + let cur_width = min(right - left - 1, top_height); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/maximal_square_221.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | let cur_width = min((right - left - 1), top_height); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - let cur_width = min((right - left - 1), top_height); [INFO] [stdout] 45 + let cur_width = min(right - left - 1, top_height); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.19s [INFO] running `Command { std: "docker" "inspect" "85670567862d03eb2f7a222da6e69ddec91cc338290f47e5c0580a9e72cdda4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85670567862d03eb2f7a222da6e69ddec91cc338290f47e5c0580a9e72cdda4f", kill_on_drop: false }` [INFO] [stdout] 85670567862d03eb2f7a222da6e69ddec91cc338290f47e5c0580a9e72cdda4f