[INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm/refs/tags: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm/refs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-push.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm/hooks/pre-push.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/timdeklijn/genetic_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timdeklijn/genetic_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ed177e226735ff819e1b2b4981915af444c725c [INFO] checking timdeklijn/genetic_algorithm against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimdeklijn%2Fgenetic_algorithm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timdeklijn/genetic_algorithm [INFO] finished tweaking git repo https://github.com/timdeklijn/genetic_algorithm [INFO] tweaked toml for git repo https://github.com/timdeklijn/genetic_algorithm written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timdeklijn/genetic_algorithm on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timdeklijn/genetic_algorithm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc22abfed8968ece5a00988b33d821a5ddedd1ee9dcbf9441d6dfd2290b95552 [INFO] running `Command { std: "docker" "start" "-a" "cc22abfed8968ece5a00988b33d821a5ddedd1ee9dcbf9441d6dfd2290b95552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc22abfed8968ece5a00988b33d821a5ddedd1ee9dcbf9441d6dfd2290b95552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc22abfed8968ece5a00988b33d821a5ddedd1ee9dcbf9441d6dfd2290b95552", kill_on_drop: false }` [INFO] [stdout] cc22abfed8968ece5a00988b33d821a5ddedd1ee9dcbf9441d6dfd2290b95552 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 213b06e6ddb188c97726fa40ed985a7c57e9d0f306e226b58d37f5f049c7e5fc [INFO] running `Command { std: "docker" "start" "-a" "213b06e6ddb188c97726fa40ed985a7c57e9d0f306e226b58d37f5f049c7e5fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking genetic_algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `DNA` in this scope [INFO] [stdout] --> src/population.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | dna: DNA, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DNA` in this scope [INFO] [stdout] --> src/population.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(dna: DNA) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Genes` in this scope [INFO] [stdout] --> src/population.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | genes: Genes, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Genes` in this scope [INFO] [stdout] --> src/population.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(genes: Genes) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POP_SIZE` in this scope [INFO] [stdout] --> src/population.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | for _ in 0..POP_SIZE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ANSWER` in this scope [INFO] [stdout] --> src/population.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | if s == ANSWER { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MUTATION_RATE` in this scope [INFO] [stdout] --> src/population.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | if rng.gen::() < MUTATION_RATE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POP_SIZE` in this scope [INFO] [stdout] --> src/population.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | for _ in 0..POP_SIZE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERATIONS` in this scope [INFO] [stdout] --> src/population.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | for g in 0..GENERATIONS { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DNA` in this scope [INFO] [stdout] --> src/population.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | dna: DNA, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DNA` in this scope [INFO] [stdout] --> src/population.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(dna: DNA) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Genes` in this scope [INFO] [stdout] --> src/population.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | genes: Genes, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Genes` in this scope [INFO] [stdout] --> src/population.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(genes: Genes) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POP_SIZE` in this scope [INFO] [stdout] --> src/population.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | for _ in 0..POP_SIZE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ANSWER` in this scope [INFO] [stdout] --> src/population.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | if s == ANSWER { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MUTATION_RATE` in this scope [INFO] [stdout] --> src/population.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | if rng.gen::() < MUTATION_RATE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POP_SIZE` in this scope [INFO] [stdout] --> src/population.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | for _ in 0..POP_SIZE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERATIONS` in this scope [INFO] [stdout] --> src/population.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | for g in 0..GENERATIONS { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `genetic_algorithm` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | mod population; [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DNA` [INFO] [stdout] --> src/population.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let dna = DNA::new(new_dna); [INFO] [stdout] | ^^^ use of undeclared type `DNA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DNA` [INFO] [stdout] --> src/population.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let dna = DNA::new(new_dna); [INFO] [stdout] | ^^^ use of undeclared type `DNA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genetic_algorithm` (bin "genetic_algorithm" test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genetic_algorithm` (bin "genetic_algorithm") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "213b06e6ddb188c97726fa40ed985a7c57e9d0f306e226b58d37f5f049c7e5fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "213b06e6ddb188c97726fa40ed985a7c57e9d0f306e226b58d37f5f049c7e5fc", kill_on_drop: false }` [INFO] [stdout] 213b06e6ddb188c97726fa40ed985a7c57e9d0f306e226b58d37f5f049c7e5fc