[INFO] cloning repository https://github.com/anthropomorphic/project_euler_24 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anthropomorphic/project_euler_24" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthropomorphic%2Fproject_euler_24", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthropomorphic%2Fproject_euler_24'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34720214fb8f34e278d5d806a4cbe64985866eaf [INFO] documenting anthropomorphic/project_euler_24 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%2Fanthropomorphic%2Fproject_euler_24" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anthropomorphic/project_euler_24 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/anthropomorphic/project_euler_24 [INFO] finished tweaking git repo https://github.com/anthropomorphic/project_euler_24 [INFO] tweaked toml for git repo https://github.com/anthropomorphic/project_euler_24 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/anthropomorphic/project_euler_24 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] dc52382e04183690bf532e4d5f37958e511bf182da9f4f333ffbbfcc0b80b6fe [INFO] running `Command { std: "docker" "start" "-a" "dc52382e04183690bf532e4d5f37958e511bf182da9f4f333ffbbfcc0b80b6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc52382e04183690bf532e4d5f37958e511bf182da9f4f333ffbbfcc0b80b6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc52382e04183690bf532e4d5f37958e511bf182da9f4f333ffbbfcc0b80b6fe", kill_on_drop: false }` [INFO] [stdout] dc52382e04183690bf532e4d5f37958e511bf182da9f4f333ffbbfcc0b80b6fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] c12bc2028122011aafdda556a2d9fc89035afbc4b888c854e77e933c613f9733 [INFO] running `Command { std: "docker" "start" "-a" "c12bc2028122011aafdda556a2d9fc89035afbc4b888c854e77e933c613f9733", kill_on_drop: false }` [INFO] [stderr] Documenting project_euler_24 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `0` [INFO] [stdout] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | /// Once the first element e[0] of P(S) is found, the next element, e[1] [INFO] [stdout] | ^ no item named `0` 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 `1` [INFO] [stdout] --> src/main.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | /// Once the first element e[0] of P(S) is found, the next element, e[1] [INFO] [stdout] | ^ no item named `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 `0` [INFO] [stdout] --> src/main.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | /// Given a sequence S, this function finds the first element e[0] [INFO] [stdout] | ^ no item named `0` 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 `0` [INFO] [stdout] --> src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | /// e[0] is given by p mod n! / (n - 1)!, where p is the permutation, [INFO] [stdout] | ^ no item named `0` 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 `0` [INFO] [stdout] --> src/main.rs:49:79 [INFO] [stdout] | [INFO] [stdout] 49 | /// and so is the sequence S. As p increases from 0 to n, the first element e[0] [INFO] [stdout] | ^ no item named `0` 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 `0` [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | /// starts at S[0] (the first element of S), and repeats (n-1)! times before [INFO] [stdout] | ^ no item named `0` 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` [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | /// becoming S[1], and repeating (n-1)! again, and so on. In this way, we can [INFO] [stdout] | ^ no item named `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 `0` [INFO] [stdout] --> src/main.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | /// identify groupings where e[0] is the same value for certain ranges of p. [INFO] [stdout] | ^ no item named `0` 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 `0` [INFO] [stdout] --> src/main.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | /// e[0] can be found by taking p / (n - 1)!. [INFO] [stdout] | ^ no item named `0` 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 `0` [INFO] [stdout] --> src/main.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | /// So our actual formula for the first element of S, e[0] is p mod n! / (n-1)!. [INFO] [stdout] | ^ no item named `0` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.09s [INFO] running `Command { std: "docker" "inspect" "c12bc2028122011aafdda556a2d9fc89035afbc4b888c854e77e933c613f9733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c12bc2028122011aafdda556a2d9fc89035afbc4b888c854e77e933c613f9733", kill_on_drop: false }` [INFO] [stdout] c12bc2028122011aafdda556a2d9fc89035afbc4b888c854e77e933c613f9733