[INFO] fetching crate mincost 0.1.3... [INFO] testing mincost-0.1.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mincost 0.1.3 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mincost 0.1.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding fastrand v1.9.0 (available: v2.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8644950a692b1911fb672adc983df5d831a52f4fe91c853e09cc38482d198c23 [INFO] running `Command { std: "docker" "start" "-a" "8644950a692b1911fb672adc983df5d831a52f4fe91c853e09cc38482d198c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8644950a692b1911fb672adc983df5d831a52f4fe91c853e09cc38482d198c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8644950a692b1911fb672adc983df5d831a52f4fe91c853e09cc38482d198c23", kill_on_drop: false }` [INFO] [stdout] 8644950a692b1911fb672adc983df5d831a52f4fe91c853e09cc38482d198c23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fb46d94c8a8023ef9dd3ff984520af52515876b3854a4e1c5b00bfc15e6ba08 [INFO] running `Command { std: "docker" "start" "-a" "3fb46d94c8a8023ef9dd3ff984520af52515876b3854a4e1c5b00bfc15e6ba08", 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.13s [INFO] running `Command { std: "docker" "inspect" "3fb46d94c8a8023ef9dd3ff984520af52515876b3854a4e1c5b00bfc15e6ba08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fb46d94c8a8023ef9dd3ff984520af52515876b3854a4e1c5b00bfc15e6ba08", kill_on_drop: false }` [INFO] [stdout] 3fb46d94c8a8023ef9dd3ff984520af52515876b3854a4e1c5b00bfc15e6ba08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a8c824c4a509e1fa3d081161b436a9db6488696a856ba5303169ad8e9cc1572 [INFO] running `Command { std: "docker" "start" "-a" "1a8c824c4a509e1fa3d081161b436a9db6488696a856ba5303169ad8e9cc1572", 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.23s [INFO] running `Command { std: "docker" "inspect" "1a8c824c4a509e1fa3d081161b436a9db6488696a856ba5303169ad8e9cc1572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a8c824c4a509e1fa3d081161b436a9db6488696a856ba5303169ad8e9cc1572", kill_on_drop: false }` [INFO] [stdout] 1a8c824c4a509e1fa3d081161b436a9db6488696a856ba5303169ad8e9cc1572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] efff3e41e1f158b7717bea990d162bbc225760a56508c8b74aa3bedac3bd85ce [INFO] running `Command { std: "docker" "start" "-a" "efff3e41e1f158b7717bea990d162bbc225760a56508c8b74aa3bedac3bd85ce", 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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mincost-9a6f45f09b9ba7fb) [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 29) ... 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 19) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ga/mod.rs - ga (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Evolution` [INFO] [stdout] --> src/ga/mod.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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] 3 | 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] 3 | 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] 3 | 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 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] 3 | 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] ---- src/ga/mod.rs - ga (line 10) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Individual` in this scope [INFO] [stdout] --> src/ga/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 4 | let randness = || -> Individual { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 5 | Individual { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mincost::Individual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/ga/mod.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 6 | 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: E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 3 | 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] 3 | let config = EvolutionConfig {...} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | } _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] 3 | let config = EvolutionConfig {...} [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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 19) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/ga/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + ..= [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] 4 | ... [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] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Individual` in this scope [INFO] [stdout] --> src/ga/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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: E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "efff3e41e1f158b7717bea990d162bbc225760a56508c8b74aa3bedac3bd85ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efff3e41e1f158b7717bea990d162bbc225760a56508c8b74aa3bedac3bd85ce", kill_on_drop: false }` [INFO] [stdout] efff3e41e1f158b7717bea990d162bbc225760a56508c8b74aa3bedac3bd85ce