[INFO] cloning repository https://github.com/a74946443/learn_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a74946443/learn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa74946443%2Flearn_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa74946443%2Flearn_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4214616a24e50a567a83e50cca030906d5f2a9f [INFO] documenting a74946443/learn_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%2Fa74946443%2Flearn_rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a74946443/learn_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/a74946443/learn_rust [INFO] finished tweaking git repo https://github.com/a74946443/learn_rust [INFO] tweaked toml for git repo https://github.com/a74946443/learn_rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/a74946443/learn_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] Downloading crates ... [INFO] [stderr] Downloaded redis v0.8.0 [INFO] [stderr] Downloaded simple_redis v0.3.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] b2a35f914b04e477d7f91c8b997d8fe6fa3fa864340f8ca5e9e7b2a262b6f812 [INFO] running `Command { std: "docker" "start" "-a" "b2a35f914b04e477d7f91c8b997d8fe6fa3fa864340f8ca5e9e7b2a262b6f812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2a35f914b04e477d7f91c8b997d8fe6fa3fa864340f8ca5e9e7b2a262b6f812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a35f914b04e477d7f91c8b997d8fe6fa3fa864340f8ca5e9e7b2a262b6f812", kill_on_drop: false }` [INFO] [stdout] b2a35f914b04e477d7f91c8b997d8fe6fa3fa864340f8ca5e9e7b2a262b6f812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] db7da8f8d000afb28fdb21d1c0579a4c4022ca9783de1fc0e87a509f39bb9605 [INFO] running `Command { std: "docker" "start" "-a" "db7da8f8d000afb28fdb21d1c0579a4c4022ca9783de1fc0e87a509f39bb9605", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking simple_redis v0.3.44 [INFO] [stderr] Documenting learn_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/exercise/mod.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | /// ``` [INFO] [stdout] | _____^ [INFO] [stdout] 172 | | /// 输入:(2 -> 4 -> 3) + (5 -> 6 -> 4) [INFO] [stdout] 173 | | /// 输出:7 -> 0 -> 8 [INFO] [stdout] 174 | | /// 原因:342 + 465 = 807 [INFO] [stdout] 175 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] help: mark blocks that do not contain Rust code as text [INFO] [stdout] | [INFO] [stdout] 171 | /// ```text [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/exercise/mod.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | /// ```no_run [INFO] [stdout] | _____^ [INFO] [stdout] 260 | | /// 输入: -121 [INFO] [stdout] 261 | | /// 输出: false [INFO] [stdout] 262 | | /// 解释: 从左向右读, 为 -121 。 从右向左读, 为 121- 。因此它不是一个回文数。 [INFO] [stdout] 263 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/exercise/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | /// ```no_run [INFO] [stdout] | _____^ [INFO] [stdout] 268 | | /// 输入:10 [INFO] [stdout] 269 | | /// 输出:false [INFO] [stdout] 270 | | /// 解释:从右向左读, 为 01 。因此它不是一个回文数。 [INFO] [stdout] 271 | | /// [INFO] [stdout] 272 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ///> 链接:https://leetcode-cn.com/problems/two-sum [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | ///> 链接:https://leetcode-cn.com/problems/longest-substring-without-repeating-characters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | ///> 链接:https://leetcode-cn.com/problems/median-of-two-sorted-arrays [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | /// 链接:https://leetcode-cn.com/problems/longest-palindromic-substring [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | /// 链接:https://leetcode-cn.com/problems/zigzag-conversion [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | /// 链接:https://leetcode-cn.com/problems/add-two-numbers [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.05s [INFO] running `Command { std: "docker" "inspect" "db7da8f8d000afb28fdb21d1c0579a4c4022ca9783de1fc0e87a509f39bb9605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7da8f8d000afb28fdb21d1c0579a4c4022ca9783de1fc0e87a509f39bb9605", kill_on_drop: false }` [INFO] [stdout] db7da8f8d000afb28fdb21d1c0579a4c4022ca9783de1fc0e87a509f39bb9605 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=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] 463fbfcaad0cc697d75a7a224941bb65124b651c26f5952642621315289a155a [INFO] running `Command { std: "docker" "start" "-a" "463fbfcaad0cc697d75a7a224941bb65124b651c26f5952642621315289a155a", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking simple_redis v0.3.44 [INFO] [stderr] Documenting learn_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/exercise/mod.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | /// ``` [INFO] [stdout] | _____^ [INFO] [stdout] 172 | | /// 输入:(2 -> 4 -> 3) + (5 -> 6 -> 4) [INFO] [stdout] 173 | | /// 输出:7 -> 0 -> 8 [INFO] [stdout] 174 | | /// 原因:342 + 465 = 807 [INFO] [stdout] 175 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] help: mark blocks that do not contain Rust code as text [INFO] [stdout] | [INFO] [stdout] 171 | /// ```text [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/exercise/mod.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | /// ```no_run [INFO] [stdout] | _____^ [INFO] [stdout] 260 | | /// 输入: -121 [INFO] [stdout] 261 | | /// 输出: false [INFO] [stdout] 262 | | /// 解释: 从左向右读, 为 -121 。 从右向左读, 为 121- 。因此它不是一个回文数。 [INFO] [stdout] 263 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: could not parse code block as Rust code [INFO] [stdout] --> src/exercise/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | /// ```no_run [INFO] [stdout] | _____^ [INFO] [stdout] 268 | | /// 输入:10 [INFO] [stdout] 269 | | /// 输出:false [INFO] [stdout] 270 | | /// 解释:从右向左读, 为 01 。因此它不是一个回文数。 [INFO] [stdout] 271 | | /// [INFO] [stdout] 272 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{ff1a} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] = note: error from rustc: unknown start of token: \u{3002} [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ///> 链接:https://leetcode-cn.com/problems/two-sum [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | ///> 链接:https://leetcode-cn.com/problems/longest-substring-without-repeating-characters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | ///> 链接:https://leetcode-cn.com/problems/median-of-two-sorted-arrays [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | /// 链接:https://leetcode-cn.com/problems/longest-palindromic-substring [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | /// 链接:https://leetcode-cn.com/problems/zigzag-conversion [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/exercise/mod.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | /// 链接:https://leetcode-cn.com/problems/add-two-numbers [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.51s [INFO] running `Command { std: "docker" "inspect" "463fbfcaad0cc697d75a7a224941bb65124b651c26f5952642621315289a155a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463fbfcaad0cc697d75a7a224941bb65124b651c26f5952642621315289a155a", kill_on_drop: false }` [INFO] [stdout] 463fbfcaad0cc697d75a7a224941bb65124b651c26f5952642621315289a155a