[INFO] fetching crate mincost 0.1.2... [INFO] testing mincost-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate mincost 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate mincost 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mincost 0.1.2 [INFO] finished tweaking crates.io crate mincost 0.1.2 [INFO] tweaked toml for crates.io crate mincost 0.1.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd2c78fa802d29521ce1367779f4fa3fe83e734f93198f7a8cc23d6d6bfbd5c3 [INFO] running `Command { std: "docker" "start" "-a" "dd2c78fa802d29521ce1367779f4fa3fe83e734f93198f7a8cc23d6d6bfbd5c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd2c78fa802d29521ce1367779f4fa3fe83e734f93198f7a8cc23d6d6bfbd5c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2c78fa802d29521ce1367779f4fa3fe83e734f93198f7a8cc23d6d6bfbd5c3", kill_on_drop: false }` [INFO] [stdout] dd2c78fa802d29521ce1367779f4fa3fe83e734f93198f7a8cc23d6d6bfbd5c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14938a6efa8113981c83300c686bc07da3ab3437004b4a375025bc1a367977ff [INFO] running `Command { std: "docker" "start" "-a" "14938a6efa8113981c83300c686bc07da3ab3437004b4a375025bc1a367977ff", kill_on_drop: false }` [INFO] [stderr] Compiling mincost v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "14938a6efa8113981c83300c686bc07da3ab3437004b4a375025bc1a367977ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14938a6efa8113981c83300c686bc07da3ab3437004b4a375025bc1a367977ff", kill_on_drop: false }` [INFO] [stdout] 14938a6efa8113981c83300c686bc07da3ab3437004b4a375025bc1a367977ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dbfc3a324639ab92cae3677bf6d6108ca13aa5038da80c20b036752fb93f2af [INFO] running `Command { std: "docker" "start" "-a" "4dbfc3a324639ab92cae3677bf6d6108ca13aa5038da80c20b036752fb93f2af", kill_on_drop: false }` [INFO] [stderr] Compiling mincost v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "4dbfc3a324639ab92cae3677bf6d6108ca13aa5038da80c20b036752fb93f2af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dbfc3a324639ab92cae3677bf6d6108ca13aa5038da80c20b036752fb93f2af", kill_on_drop: false }` [INFO] [stdout] 4dbfc3a324639ab92cae3677bf6d6108ca13aa5038da80c20b036752fb93f2af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 744c34b5e46d82f11bb72c74c305c722ddbb5476640e1875717fe4e5d00f0fce [INFO] running `Command { std: "docker" "start" "-a" "744c34b5e46d82f11bb72c74c305c722ddbb5476640e1875717fe4e5d00f0fce", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mincost-86a19aec2c3b7ba1) [INFO] [stdout] [INFO] [stderr] Doc-tests mincost [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/ga/mod.rs - ga (line 6) ... 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 25) ... 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 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 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 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[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `rand` [INFO] [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: 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 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] | ^^^^^^^^^ not found in this scope [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 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] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [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] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [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.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "744c34b5e46d82f11bb72c74c305c722ddbb5476640e1875717fe4e5d00f0fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "744c34b5e46d82f11bb72c74c305c722ddbb5476640e1875717fe4e5d00f0fce", kill_on_drop: false }` [INFO] [stdout] 744c34b5e46d82f11bb72c74c305c722ddbb5476640e1875717fe4e5d00f0fce