[INFO] fetching crate genetic-algorithm-fn 0.1.0... [INFO] documenting genetic-algorithm-fn-0.1.0 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate genetic-algorithm-fn 0.1.0 into /workspace/builds/worker-117/source [INFO] validating manifest of crates.io crate genetic-algorithm-fn 0.1.0 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 crates.io crate genetic-algorithm-fn 0.1.0 [INFO] finished tweaking crates.io crate genetic-algorithm-fn 0.1.0 [INFO] tweaked toml for crates.io crate genetic-algorithm-fn 0.1.0 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate crates.io crate genetic-algorithm-fn 0.1.0 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-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] 240c6df31cde129851dc887da3397db07ac77eca2a61f206da89e294c3e9fea8 [INFO] running `Command { std: "docker" "start" "-a" "240c6df31cde129851dc887da3397db07ac77eca2a61f206da89e294c3e9fea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "240c6df31cde129851dc887da3397db07ac77eca2a61f206da89e294c3e9fea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240c6df31cde129851dc887da3397db07ac77eca2a61f206da89e294c3e9fea8", kill_on_drop: false }` [INFO] [stdout] 240c6df31cde129851dc887da3397db07ac77eca2a61f206da89e294c3e9fea8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] 15ed9df5d166a26844753a0772712f90d99967ac1c763d3c7a149822ab41ac01 [INFO] running `Command { std: "docker" "start" "-a" "15ed9df5d166a26844753a0772712f90d99967ac1c763d3c7a149822ab41ac01", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking genetic-algorithm-traits v0.1.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Documenting genetic-algorithm-fn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: Rust code block is empty [INFO] [stdout] --> src/solutions.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | /// ``` [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [INFO] [stdout] help: mark blocks that do not contain Rust code as text [INFO] [stdout] | [INFO] [stdout] 224 | /// ```text [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/test_functions.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | /// The hartman function taken from https://www.sfu.ca/~ssurjano/hart3.html [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 25.67s [INFO] running `Command { std: "docker" "inspect" "15ed9df5d166a26844753a0772712f90d99967ac1c763d3c7a149822ab41ac01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ed9df5d166a26844753a0772712f90d99967ac1c763d3c7a149822ab41ac01", kill_on_drop: false }` [INFO] [stdout] 15ed9df5d166a26844753a0772712f90d99967ac1c763d3c7a149822ab41ac01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] 6dc2c9382f947d5372424867462e86d837f16f3e92b3cecea4e542645d79082f [INFO] running `Command { std: "docker" "start" "-a" "6dc2c9382f947d5372424867462e86d837f16f3e92b3cecea4e542645d79082f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking genetic-algorithm-traits v0.1.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Documenting genetic-algorithm-fn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / //! # Genetic algorithms for solving TSPs. [INFO] [stdout] 4 | | //! [INFO] [stdout] 5 | | //! This crates contains utitlities to run genetic algorithms and solve Traveling Salesman Problems. [INFO] [stdout] | |____________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(rustdoc::missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | /// Represent a distance Matrix as a Vec>. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/function.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | /// Custom error that can occur with the Function class defined below. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/function.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | /// A representation of a f64 based distance matrix. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/function.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / impl Function { [INFO] [stdout] 36 | | /// Create a new function. [INFO] [stdout] 37 | | /// [INFO] [stdout] 38 | | /// # Arguments [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /// The `route`-module contains the `Route`-class, the individual element of the TSP that implements [INFO] [stdout] 9 | | /// important methods like `crossover` or `mutate`. [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/solution.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / /// The `Solution` is an individual for using genetic algorithm to approximate functions. It contains [INFO] [stdout] 57 | | /// the specific function values. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/solution.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / impl Solution { [INFO] [stdout] 102 | | /// Create a new Solution based on function values x,y and z. [INFO] [stdout] 103 | | /// [INFO] [stdout] 104 | | /// # Arguments [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / /// The `routes`-module contains the main class of this crate which is the `Routes`-class that contains [INFO] [stdout] 12 | | /// your current subset of routes and with which you can evolve them. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/solutions.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// The `Solution` is the container for your current pool of `solution`'s. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/solutions.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl Solutions { [INFO] [stdout] 62 | | /// Create a pool of random solutions. [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// # Arguments [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/solutions.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / /// Given an initial population evolve it for `n_generations` while keeping `size_generation` [INFO] [stdout] 165 | | /// individuals. The final population will be returned. [INFO] [stdout] 166 | | /// [INFO] [stdout] 167 | | /// # Arguments [INFO] [stdout] ... | [INFO] [stdout] 172 | | /// * `distance_matrix` - The distance matrix on which the fitness will be computed on. [INFO] [stdout] 173 | | /// [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | /// Testing functions to optimize. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/test_functions.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | /// The hartman function taken from https://www.sfu.ca/~ssurjano/hart3.html [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust code block is empty [INFO] [stdout] --> src/solutions.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | /// ``` [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [INFO] [stdout] help: mark blocks that do not contain Rust code as text [INFO] [stdout] | [INFO] [stdout] 224 | /// ```text [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/test_functions.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | /// The hartman function taken from https://www.sfu.ca/~ssurjano/hart3.html [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] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `genetic-algorithm-fn` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name genetic_algorithm_fn src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=412629cc8114865c -L dependency=/opt/rustwide/target/debug/deps --extern crossbeam_utils=/opt/rustwide/target/debug/deps/libcrossbeam_utils-ed59a03b3bc2e5ff.rmeta --extern genetic_algorithm_traits=/opt/rustwide/target/debug/deps/libgenetic_algorithm_traits-d530e28e9060358d.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-adcd1131bfccab8d.rmeta --extern-html-root-url 'crossbeam_utils=https://docs.rs/crossbeam-utils/0.8.7/' --extern-html-root-url 'genetic_algorithm_traits=https://docs.rs/genetic-algorithm-traits/0.1.0/' --extern-html-root-url 'rand=https://docs.rs/rand/0.8.5/' -Zunstable-options --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "6dc2c9382f947d5372424867462e86d837f16f3e92b3cecea4e542645d79082f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc2c9382f947d5372424867462e86d837f16f3e92b3cecea4e542645d79082f", kill_on_drop: false }` [INFO] [stdout] 6dc2c9382f947d5372424867462e86d837f16f3e92b3cecea4e542645d79082f