[INFO] cloning repository https://github.com/jakyle/rust-algos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakyle/rust-algos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakyle%2Frust-algos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakyle%2Frust-algos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a116745ec5efb4a2aa4edf0bc11ee1963173f076 [INFO] documenting jakyle/rust-algos 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%2Fjakyle%2Frust-algos" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakyle/rust-algos 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/jakyle/rust-algos [INFO] finished tweaking git repo https://github.com/jakyle/rust-algos [INFO] tweaked toml for git repo https://github.com/jakyle/rust-algos written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/jakyle/rust-algos 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 98d7e81797e375213b1cff1d676fdd6b422e82690848cfb1858be1dc47b32a2c [INFO] running `Command { std: "docker" "start" "-a" "98d7e81797e375213b1cff1d676fdd6b422e82690848cfb1858be1dc47b32a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98d7e81797e375213b1cff1d676fdd6b422e82690848cfb1858be1dc47b32a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d7e81797e375213b1cff1d676fdd6b422e82690848cfb1858be1dc47b32a2c", kill_on_drop: false }` [INFO] [stdout] 98d7e81797e375213b1cff1d676fdd6b422e82690848cfb1858be1dc47b32a2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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] 87d1260b875b393df5c08313af34e8f9cadb9670911a50621ea61b1dcde379e6 [INFO] running `Command { std: "docker" "start" "-a" "87d1260b875b393df5c08313af34e8f9cadb9670911a50621ea61b1dcde379e6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Documenting rust_algos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `i` [INFO] [stdout] --> src/buddy_strings.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | /// swapping the characters at a[i] and b[j]. For example, swapping at indices 0 and 2 in "abcd" results in "cbad". [INFO] [stdout] | ^ no item named `i` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `j` [INFO] [stdout] --> src/buddy_strings.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | /// swapping the characters at a[i] and b[j]. For example, swapping at indices 0 and 2 in "abcd" results in "cbad". [INFO] [stdout] | ^ no item named `j` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `2,5,1,3,4,7` [INFO] [stdout] --> src/shuffle.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | /// Input: nums = [2,5,1,3,4,7], n = 3 [INFO] [stdout] | ^^^^^^^^^^^ no item named `2,5,1,3,4,7` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `2,3,5,4,1,7` [INFO] [stdout] --> src/shuffle.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | /// Output: [2,3,5,4,1,7] [INFO] [stdout] | ^^^^^^^^^^^ no item named `2,3,5,4,1,7` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `2,3,5,4,1,7` [INFO] [stdout] --> src/shuffle.rs:10:79 [INFO] [stdout] | [INFO] [stdout] 10 | /// Explanation: Since x1=2, x2=5, x3=1, y1=3, y2=4, y3=7 then the answer is [2,3,5,4,1,7]. [INFO] [stdout] | ^^^^^^^^^^^ no item named `2,3,5,4,1,7` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `1,2,3,4,4,3,2,1` [INFO] [stdout] --> src/shuffle.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | /// Input: nums = [1,2,3,4,4,3,2,1], n = 4 [INFO] [stdout] | ^^^^^^^^^^^^^^^ no item named `1,2,3,4,4,3,2,1` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `1,4,2,3,3,2,4,1` [INFO] [stdout] --> src/shuffle.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | /// Output: [1,4,2,3,3,2,4,1] [INFO] [stdout] | ^^^^^^^^^^^^^^^ no item named `1,4,2,3,3,2,4,1` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `1,1,2,2` [INFO] [stdout] --> src/shuffle.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | /// Input: nums = [1,1,2,2], n = 2 [INFO] [stdout] | ^^^^^^^ no item named `1,1,2,2` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `1,2,1,2` [INFO] [stdout] --> src/shuffle.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | /// Output: [1,2,1,2] [INFO] [stdout] | ^^^^^^^ no item named `1,2,1,2` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/max_depth.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | /// It is an empty string "", or a single character not equal to "(" or ")", [INFO] [stdout] | _________^ [INFO] [stdout] 4 | | /// It can be written as AB (A concatenated with B), where A and B are VPS's, or [INFO] [stdout] 5 | | /// It can be written as (A), where A is a VPS. [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [INFO] [stdout] = note: error from rustc: prefix `VPS` is unknown [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/max_depth.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | /// depth("") = 0 [INFO] [stdout] | _________^ [INFO] [stdout] 10 | | /// depth(C) = 0, where C is a string with a single character not equal to "(" or ")". [INFO] [stdout] 11 | | /// depth(A + B) = max(depth(A), depth(B)), where A and B are VPS's. [INFO] [stdout] 12 | | /// depth("(" + A + ")") = 1 + depth(A), where A is a VPS. [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: error from rustc: prefix `VPS` is unknown [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.11s [INFO] running `Command { std: "docker" "inspect" "87d1260b875b393df5c08313af34e8f9cadb9670911a50621ea61b1dcde379e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d1260b875b393df5c08313af34e8f9cadb9670911a50621ea61b1dcde379e6", kill_on_drop: false }` [INFO] [stdout] 87d1260b875b393df5c08313af34e8f9cadb9670911a50621ea61b1dcde379e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] fa5e33e8e313293907e233922117b27289b4ef1a6f52700915957e4826e05548 [INFO] running `Command { std: "docker" "start" "-a" "fa5e33e8e313293907e233922117b27289b4ef1a6f52700915957e4826e05548", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Documenting rust_algos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `i` [INFO] [stdout] --> src/buddy_strings.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | /// swapping the characters at a[i] and b[j]. For example, swapping at indices 0 and 2 in "abcd" results in "cbad". [INFO] [stdout] | ^ no item named `i` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `j` [INFO] [stdout] --> src/buddy_strings.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | /// swapping the characters at a[i] and b[j]. For example, swapping at indices 0 and 2 in "abcd" results in "cbad". [INFO] [stdout] | ^ no item named `j` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `2,5,1,3,4,7` [INFO] [stdout] --> src/shuffle.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | /// Input: nums = [2,5,1,3,4,7], n = 3 [INFO] [stdout] | ^^^^^^^^^^^ no item named `2,5,1,3,4,7` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `2,3,5,4,1,7` [INFO] [stdout] --> src/shuffle.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | /// Output: [2,3,5,4,1,7] [INFO] [stdout] | ^^^^^^^^^^^ no item named `2,3,5,4,1,7` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `2,3,5,4,1,7` [INFO] [stdout] --> src/shuffle.rs:10:79 [INFO] [stdout] | [INFO] [stdout] 10 | /// Explanation: Since x1=2, x2=5, x3=1, y1=3, y2=4, y3=7 then the answer is [2,3,5,4,1,7]. [INFO] [stdout] | ^^^^^^^^^^^ no item named `2,3,5,4,1,7` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `1,2,3,4,4,3,2,1` [INFO] [stdout] --> src/shuffle.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | /// Input: nums = [1,2,3,4,4,3,2,1], n = 4 [INFO] [stdout] | ^^^^^^^^^^^^^^^ no item named `1,2,3,4,4,3,2,1` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `1,4,2,3,3,2,4,1` [INFO] [stdout] --> src/shuffle.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | /// Output: [1,4,2,3,3,2,4,1] [INFO] [stdout] | ^^^^^^^^^^^^^^^ no item named `1,4,2,3,3,2,4,1` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `1,1,2,2` [INFO] [stdout] --> src/shuffle.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | /// Input: nums = [1,1,2,2], n = 2 [INFO] [stdout] | ^^^^^^^ no item named `1,1,2,2` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `1,2,1,2` [INFO] [stdout] --> src/shuffle.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | /// Output: [1,2,1,2] [INFO] [stdout] | ^^^^^^^ no item named `1,2,1,2` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/max_depth.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | /// It is an empty string "", or a single character not equal to "(" or ")", [INFO] [stdout] | _________^ [INFO] [stdout] 4 | | /// It can be written as AB (A concatenated with B), where A and B are VPS's, or [INFO] [stdout] 5 | | /// It can be written as (A), where A is a VPS. [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [INFO] [stdout] = note: error from rustc: prefix `VPS` is unknown [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/max_depth.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | /// depth("") = 0 [INFO] [stdout] | _________^ [INFO] [stdout] 10 | | /// depth(C) = 0, where C is a string with a single character not equal to "(" or ")". [INFO] [stdout] 11 | | /// depth(A + B) = max(depth(A), depth(B)), where A and B are VPS's. [INFO] [stdout] 12 | | /// depth("(" + A + ")") = 1 + depth(A), where A is a VPS. [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: error from rustc: prefix `VPS` is unknown [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "fa5e33e8e313293907e233922117b27289b4ef1a6f52700915957e4826e05548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa5e33e8e313293907e233922117b27289b4ef1a6f52700915957e4826e05548", kill_on_drop: false }` [INFO] [stdout] fa5e33e8e313293907e233922117b27289b4ef1a6f52700915957e4826e05548