[INFO] fetching crate mincost 0.1.3... [INFO] testing mincost-0.1.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate mincost 0.1.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate mincost 0.1.3 [INFO] finished tweaking crates.io crate mincost 0.1.3 [INFO] tweaked toml for crates.io crate mincost 0.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mincost 0.1.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding fastrand v1.9.0 (available: v2.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d878cb9bc27aade5411489ef8eae7a0f6661ad0de0fed30f5599d6bfff24f19f [INFO] running `Command { std: "docker" "start" "-a" "d878cb9bc27aade5411489ef8eae7a0f6661ad0de0fed30f5599d6bfff24f19f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d878cb9bc27aade5411489ef8eae7a0f6661ad0de0fed30f5599d6bfff24f19f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d878cb9bc27aade5411489ef8eae7a0f6661ad0de0fed30f5599d6bfff24f19f", kill_on_drop: false }` [INFO] [stdout] d878cb9bc27aade5411489ef8eae7a0f6661ad0de0fed30f5599d6bfff24f19f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26f89ba796b166c8ac01321cea77bec7823747b60cba3be8bbc1dd0fb6c21488 [INFO] running `Command { std: "docker" "start" "-a" "26f89ba796b166c8ac01321cea77bec7823747b60cba3be8bbc1dd0fb6c21488", kill_on_drop: false }` [INFO] [stderr] Compiling mincost v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `breed2` [INFO] [stdout] --> src/ga/mod.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | if cfg!(feature = "breed2") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ga`, `normal`, `pso`, `sa`, and `shuffle` [INFO] [stdout] = help: consider adding `breed2` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `breed1` [INFO] [stdout] --> src/ga/mod.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | } else if cfg!(feature = "breed1") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ga`, `normal`, `pso`, `sa`, and `shuffle` [INFO] [stdout] = help: consider adding `breed1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "26f89ba796b166c8ac01321cea77bec7823747b60cba3be8bbc1dd0fb6c21488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f89ba796b166c8ac01321cea77bec7823747b60cba3be8bbc1dd0fb6c21488", kill_on_drop: false }` [INFO] [stdout] 26f89ba796b166c8ac01321cea77bec7823747b60cba3be8bbc1dd0fb6c21488 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c02344eb3ee6deefc854159912ee48121e9151b9c80bda17018508516db3911 [INFO] running `Command { std: "docker" "start" "-a" "8c02344eb3ee6deefc854159912ee48121e9151b9c80bda17018508516db3911", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `breed2` [INFO] [stdout] --> src/ga/mod.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | if cfg!(feature = "breed2") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ga`, `normal`, `pso`, `sa`, and `shuffle` [INFO] [stdout] = help: consider adding `breed2` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `breed1` [INFO] [stdout] --> src/ga/mod.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | } else if cfg!(feature = "breed1") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ga`, `normal`, `pso`, `sa`, and `shuffle` [INFO] [stdout] = help: consider adding `breed1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mincost v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `breed2` [INFO] [stdout] --> src/ga/mod.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | if cfg!(feature = "breed2") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ga`, `normal`, `pso`, `sa`, and `shuffle` [INFO] [stdout] = help: consider adding `breed2` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `breed1` [INFO] [stdout] --> src/ga/mod.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | } else if cfg!(feature = "breed1") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ga`, `normal`, `pso`, `sa`, and `shuffle` [INFO] [stdout] = help: consider adding `breed1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "8c02344eb3ee6deefc854159912ee48121e9151b9c80bda17018508516db3911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c02344eb3ee6deefc854159912ee48121e9151b9c80bda17018508516db3911", kill_on_drop: false }` [INFO] [stdout] 8c02344eb3ee6deefc854159912ee48121e9151b9c80bda17018508516db3911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 76a234244bbb75d5b13e8bdeb10de24a866ae864b6df90be85f21946288f596b [INFO] running `Command { std: "docker" "start" "-a" "76a234244bbb75d5b13e8bdeb10de24a866ae864b6df90be85f21946288f596b", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `breed2` [INFO] [stderr] --> src/ga/mod.rs:240:25 [INFO] [stderr] | [INFO] [stderr] 240 | if cfg!(feature = "breed2") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ga`, `normal`, `pso`, `sa`, and `shuffle` [INFO] [stderr] = help: consider adding `breed2` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `breed1` [INFO] [stderr] --> src/ga/mod.rs:242:32 [INFO] [stderr] | [INFO] [stderr] 242 | } else if cfg!(feature = "breed1") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `ga`, `normal`, `pso`, `sa`, and `shuffle` [INFO] [stderr] = help: consider adding `breed1` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `mincost` (lib) generated 2 warnings [INFO] [stderr] warning: `mincost` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mincost-962aa7aa54f0948c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mincost [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/ga/mod.rs - ga (line 25) ... FAILED [INFO] [stdout] test src/ga/mod.rs - ga (line 19) ... FAILED [INFO] [stdout] test src/ga/mod.rs - ga (line 10) ... FAILED [INFO] [stdout] test src/ga/mod.rs - ga (line 6) ... FAILED [INFO] [stdout] test src/ga/mod.rs - ga (line 29) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ga/mod.rs - ga (line 25) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Evolution` in this scope [INFO] [stdout] --> src/ga/mod.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut evolution = Evolution::init(config, fitness, randness); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Evolution` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 25 + use mincost::Evolution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/ga/mod.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | let mut evolution = Evolution::init(config, fitness, randness); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fitness` in this scope [INFO] [stdout] --> src/ga/mod.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | let mut evolution = Evolution::init(config, fitness, randness); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `randness` in this scope [INFO] [stdout] --> src/ga/mod.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 26 | let mut evolution = Evolution::init(config, fitness, randness); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ga/mod.rs - ga (line 19) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/ga/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 21 - ... [INFO] [stdout] 21 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 21 - ... [INFO] [stdout] 21 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/ga/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 21 - ... [INFO] [stdout] 21 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Individual` in this scope [INFO] [stdout] --> src/ga/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let fitness = |solution: &Individual| -> f32 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 19 + use mincost::Individual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ga/mod.rs - ga (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Individual` in this scope [INFO] [stdout] --> src/ga/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let randness = || -> Individual { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use mincost::Individual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Individual` in this scope [INFO] [stdout] --> src/ga/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Individual { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use mincost::Individual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/ga/mod.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | genes: repeat_with(|| rand::random::()).take(10).collect(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ga/mod.rs - ga (line 6) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/ga/mod.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | let config = EvolutionConfig {...} [INFO] [stdout] | --------------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/ga/mod.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | let config = EvolutionConfig {...} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | } _doctest_main_src_ga_mod_rs_6_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EvolutionConfig` in this scope [INFO] [stdout] --> src/ga/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | let config = EvolutionConfig {...} [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use mincost::EvolutionConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ga/mod.rs - ga (line 29) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `evolution` in this scope [INFO] [stdout] --> src/ga/mod.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let best_ind = evolution.evolute(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ga/mod.rs - ga (line 10) [INFO] [stdout] src/ga/mod.rs - ga (line 19) [INFO] [stdout] src/ga/mod.rs - ga (line 25) [INFO] [stdout] src/ga/mod.rs - ga (line 29) [INFO] [stdout] src/ga/mod.rs - ga (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "76a234244bbb75d5b13e8bdeb10de24a866ae864b6df90be85f21946288f596b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a234244bbb75d5b13e8bdeb10de24a866ae864b6df90be85f21946288f596b", kill_on_drop: false }` [INFO] [stdout] 76a234244bbb75d5b13e8bdeb10de24a866ae864b6df90be85f21946288f596b