[INFO] cloning repository https://github.com/akiradeveloper/rust-comp-snippets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akiradeveloper/rust-comp-snippets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakiradeveloper%2Frust-comp-snippets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakiradeveloper%2Frust-comp-snippets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fabb6a9811a955db3546f682679010e61022c472 [INFO] documenting akiradeveloper/rust-comp-snippets against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakiradeveloper%2Frust-comp-snippets" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akiradeveloper/rust-comp-snippets 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/akiradeveloper/rust-comp-snippets [INFO] finished tweaking git repo https://github.com/akiradeveloper/rust-comp-snippets [INFO] tweaked toml for git repo https://github.com/akiradeveloper/rust-comp-snippets written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/akiradeveloper/rust-comp-snippets 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 1cca932d560f1e6a47ab5769950280d3e3ee93a6088526e3359b80217c3be666 [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" "1cca932d560f1e6a47ab5769950280d3e3ee93a6088526e3359b80217c3be666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cca932d560f1e6a47ab5769950280d3e3ee93a6088526e3359b80217c3be666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cca932d560f1e6a47ab5769950280d3e3ee93a6088526e3359b80217c3be666", kill_on_drop: false }` [INFO] [stdout] 1cca932d560f1e6a47ab5769950280d3e3ee93a6088526e3359b80217c3be666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 0cca19af4d9b63fc8fb37890571f0608309bb27626505d7e222f459ee88ed244 [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" "0cca19af4d9b63fc8fb37890571f0608309bb27626505d7e222f459ee88ed244", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cargo-snippet v0.5.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Documenting rust-comp-snippets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graph/lca.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if (v0 == v1) { [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MAX_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct MAX_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MaxRuq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MIN_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct MIN_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MinRuq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SUM_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | struct SUM_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SumRuq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SUM_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct SUM_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SumRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MAX_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | struct MAX_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MaxRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MIN_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | struct MIN_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MinRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[j]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/combination.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / #[doc = "O(nm)"] [INFO] [stdout] 5 | | #[allow(dead_code)] [INFO] [stdout] 6 | | /// dp[i][j] = j th partition number of i [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(intra_doc_link_resolution_failure)]` on by default [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] dp[i][j] = j th partition number of i [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[j]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/combination.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / #[doc = "O(nm)"] [INFO] [stdout] 5 | | #[allow(dead_code)] [INFO] [stdout] 6 | | /// dp[i][j] = j th partition number of i [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] dp[i][j] = j th partition number of i [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[3]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/combination.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | #[doc = "put n balls into k different boxes. In case of n=3,k+2 [[1,2],[3]]==[[3],[1,2]]"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] put n balls into k different boxes. In case of n=3,k+2 [[1,2],[3]]==[[3],[1,2]] [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[3]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/combination.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | #[doc = "put n balls into k different boxes. In case of n=3,k+2 [[1,2],[3]]==[[3],[1,2]]"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] put n balls into k different boxes. In case of n=3,k+2 [[1,2],[3]]==[[3],[1,2]] [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[x]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/fft.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[doc = "convolve two waves a[x],b[y] to c[x+y]. O(nlogn)"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] convolve two waves a[x],b[y] to c[x+y]. O(nlogn) [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[y]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/fft.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[doc = "convolve two waves a[x],b[y] to c[x+y]. O(nlogn)"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] convolve two waves a[x],b[y] to c[x+y]. O(nlogn) [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[i]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/garner.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = "compute minimum x from a list of x = r[i] (mod m[i]) all m[i] are co-primes and some r[i] should be non-zero."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] compute minimum x from a list of x = r[i] (mod m[i]) all m[i] are co-primes and some r[i] should be non-zero. [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[i]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/garner.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = "compute minimum x from a list of x = r[i] (mod m[i]) all m[i] are co-primes and some r[i] should be non-zero."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] compute minimum x from a list of x = r[i] (mod m[i]) all m[i] are co-primes and some r[i] should be non-zero. [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[i]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/garner.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = "compute minimum x from a list of x = r[i] (mod m[i]) all m[i] are co-primes and some r[i] should be non-zero."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] compute minimum x from a list of x = r[i] (mod m[i]) all m[i] are co-primes and some r[i] should be non-zero. [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[i]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/garner.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[doc = "compute minimum x from a list of x = r[i] (mod m[i]) all m[i] are co-primes and some r[i] should be non-zero."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] compute minimum x from a list of x = r[i] (mod m[i]) all m[i] are co-primes and some r[i] should be non-zero. [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[k]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/math.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | /// v[n][k] = nCk / 2^n [INFO] [stdout] | ^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[i]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/permutation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[doc = "permutation a[i] -> b[i]"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] permutation a[i] -> b[i] [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[i]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/permutation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[doc = "permutation a[i] -> b[i]"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] permutation a[i] -> b[i] [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[i]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/string/manacher.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[doc = "manacher[i] is the palindrome radius at i"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] manacher[i] is the palindrome radius at i [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[i]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/string/z_algorithm.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[doc = "z[i] is the common prefix length between s[0..] and s[i..]. O(N)"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] z[i] is the common prefix length between s[0..] and s[i..]. O(N) [INFO] [stdout] ^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.73s [INFO] running `Command { std: "docker" "inspect" "0cca19af4d9b63fc8fb37890571f0608309bb27626505d7e222f459ee88ed244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cca19af4d9b63fc8fb37890571f0608309bb27626505d7e222f459ee88ed244", kill_on_drop: false }` [INFO] [stdout] 0cca19af4d9b63fc8fb37890571f0608309bb27626505d7e222f459ee88ed244