[INFO] fetching crate metaheuristics 1.0.15... [INFO] testing metaheuristics-1.0.15 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate metaheuristics 1.0.15 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate metaheuristics 1.0.15 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate metaheuristics 1.0.15 [INFO] finished tweaking crates.io crate metaheuristics 1.0.15 [INFO] tweaked toml for crates.io crate metaheuristics 1.0.15 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c73fae6fa7ff6fbaccddc0ae2e3143888ae981a734493427b2ca9b14caef6fb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1c73fae6fa7ff6fbaccddc0ae2e3143888ae981a734493427b2ca9b14caef6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c73fae6fa7ff6fbaccddc0ae2e3143888ae981a734493427b2ca9b14caef6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c73fae6fa7ff6fbaccddc0ae2e3143888ae981a734493427b2ca9b14caef6fb", kill_on_drop: false }` [INFO] [stdout] 1c73fae6fa7ff6fbaccddc0ae2e3143888ae981a734493427b2ca9b14caef6fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c5fbebf2d17cf0a87e7916f646e2470d64176e246230bc94bcf0bed31923fc5c [INFO] running `Command { std: "docker" "start" "-a" "c5fbebf2d17cf0a87e7916f646e2470d64176e246230bc94bcf0bed31923fc5c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling metaheuristics v1.0.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration, probability: f64) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/mod.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/random_search/mod.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulated_annealing/mod.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "c5fbebf2d17cf0a87e7916f646e2470d64176e246230bc94bcf0bed31923fc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5fbebf2d17cf0a87e7916f646e2470d64176e246230bc94bcf0bed31923fc5c", kill_on_drop: false }` [INFO] [stdout] c5fbebf2d17cf0a87e7916f646e2470d64176e246230bc94bcf0bed31923fc5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4409f5490280e0604e3d3b1cca67dbcb76685d723b748f382264a15783cfa89f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4409f5490280e0604e3d3b1cca67dbcb76685d723b748f382264a15783cfa89f", kill_on_drop: false }` [INFO] [stderr] Compiling metaheuristics v1.0.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration, probability: f64) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/mod.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/random_search/mod.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulated_annealing/mod.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration, probability: f64) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/mod.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/random_search/mod.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulated_annealing/mod.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4409f5490280e0604e3d3b1cca67dbcb76685d723b748f382264a15783cfa89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4409f5490280e0604e3d3b1cca67dbcb76685d723b748f382264a15783cfa89f", kill_on_drop: false }` [INFO] [stdout] 4409f5490280e0604e3d3b1cca67dbcb76685d723b748f382264a15783cfa89f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] edfb020e7d6dfdfd2b6ef9df7d67127a2a52f52db3a5cedfa16365817c9d758e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "edfb020e7d6dfdfd2b6ef9df7d67127a2a52f52db3a5cedfa16365817c9d758e", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hill_climbing/random_restarts/mod.rs:44:31 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration, probability: f64) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hill_climbing/mod.rs:39:31 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/random_search/mod.rs:30:31 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simulated_annealing/mod.rs:64:31 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hill_climbing/random_restarts/mod.rs:44:31 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration, probability: f64) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hill_climbing/mod.rs:39:31 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/random_search/mod.rs:30:31 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/simulated_annealing/mod.rs:64:31 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/metaheuristics-2d87e52b0e0658eb [INFO] [stdout] [INFO] [stderr] Doc-tests metaheuristics [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/hill_climbing/mod.rs - hill_climbing (line 17) ... FAILED [INFO] [stdout] test src/simulated_annealing/mod.rs - simulated_annealing (line 44) ... FAILED [INFO] [stdout] test src/lib.rs - (line 31) ... FAILED [INFO] [stdout] test src/random_search/mod.rs - random_search (line 10) ... FAILED [INFO] [stdout] test src/hill_climbing/random_restarts/mod.rs - hill_climbing::random_restarts (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - Metaheuristics::generate_candidate (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - Metaheuristics::tweak_candidate (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - Metaheuristics::clone_candidate (line 77) ... FAILED [INFO] [stdout] test src/hill_climbing/random_restarts/mod.rs - hill_climbing::random_restarts::solve (line 37) ... FAILED [INFO] [stdout] test src/simulated_annealing/mod.rs - simulated_annealing (line 18) ... FAILED [INFO] [stdout] test src/simulated_annealing/mod.rs - simulated_annealing::solve (line 61) ... FAILED [INFO] [stdout] test src/hill_climbing/mod.rs - hill_climbing::solve (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - Metaheuristics::rank_candidate (line 91) ... FAILED [INFO] [stdout] test src/random_search/mod.rs - random_search::solve (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/hill_climbing/mod.rs - hill_climbing (line 17) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/hill_climbing/mod.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::hill_climbing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/hill_climbing/mod.rs:18:67 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::hill_climbing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simulated_annealing/mod.rs - simulated_annealing (line 44) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/simulated_annealing/mod.rs:45:64 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::simulated_annealing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/simulated_annealing/mod.rs:45:73 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::simulated_annealing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 31) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/lib.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::hill_climbing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/lib.rs:32:67 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::hill_climbing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/random_search/mod.rs - random_search (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/random_search/mod.rs:11:58 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::random_search::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/random_search/mod.rs:11:67 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::random_search::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hill_climbing/random_restarts/mod.rs - hill_climbing::random_restarts (line 13) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 5 | &mut problem, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 6 | runtime, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `probability` in this scope [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 7 | probability [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Metaheuristics::generate_candidate (line 84) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/lib.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 3 | let candidate = problem.generate_candidate(); [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/lib.rs - Metaheuristics::tweak_candidate (line 100) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/lib.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 3 | let new_candidate = problem.tweak_candidate(&old_candidate); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `old_candidate` in this scope [INFO] [stdout] --> src/lib.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 3 | let new_candidate = problem.tweak_candidate(&old_candidate); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Metaheuristics::clone_candidate (line 77) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/lib.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 3 | let new_candidate = problem.clone_candidate(&old_candidate); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `old_candidate` in this scope [INFO] [stdout] --> src/lib.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 3 | let new_candidate = problem.clone_candidate(&old_candidate); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hill_climbing/random_restarts/mod.rs - hill_climbing::random_restarts::solve (line 37) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 5 | &mut problem, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 6 | runtime, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `probability` in this scope [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 7 | probability [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simulated_annealing/mod.rs - simulated_annealing (line 18) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/simulated_annealing/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 3 | P(t) = e^(-10*(t^3)) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t` in this scope [INFO] [stdout] --> src/simulated_annealing/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 3 | P(t) = e^(-10*(t^3)) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/simulated_annealing/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 3 | P(t) = e^(-10*(t^3)) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t` in this scope [INFO] [stdout] --> src/simulated_annealing/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 3 | P(t) = e^(-10*(t^3)) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/simulated_annealing/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 3 | P(t) = e^(-10*(t^3)) [INFO] [stdout] | ---- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0070, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0070`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simulated_annealing/mod.rs - simulated_annealing::solve (line 61) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/simulated_annealing/mod.rs:62:64 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::simulated_annealing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/simulated_annealing/mod.rs:62:73 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::simulated_annealing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hill_climbing/mod.rs - hill_climbing::solve (line 36) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/hill_climbing/mod.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::hill_climbing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/hill_climbing/mod.rs:37:67 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::hill_climbing::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Metaheuristics::rank_candidate (line 91) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:93:6 [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/lib.rs:93:6 [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[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/lib.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 3 | if problem.rank_candidate(&new_candidate) > problem.rank_candidate(&old_candidate) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_candidate` in this scope [INFO] [stdout] --> src/lib.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 3 | if problem.rank_candidate(&new_candidate) > problem.rank_candidate(&old_candidate) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/lib.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 3 | if problem.rank_candidate(&new_candidate) > problem.rank_candidate(&old_candidate) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `old_candidate` in this scope [INFO] [stdout] --> src/lib.rs:92:69 [INFO] [stdout] | [INFO] [stdout] 3 | if problem.rank_candidate(&new_candidate) > problem.rank_candidate(&old_candidate) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/random_search/mod.rs - random_search::solve (line 27) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `problem` in this scope [INFO] [stdout] --> src/random_search/mod.rs:28:58 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::random_search::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `runtime` in this scope [INFO] [stdout] --> src/random_search/mod.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 4 | let solution = metaheuristics::random_search::solve(&mut problem, runtime); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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/hill_climbing/mod.rs - hill_climbing (line 17) [INFO] [stdout] src/hill_climbing/mod.rs - hill_climbing::solve (line 36) [INFO] [stdout] src/hill_climbing/random_restarts/mod.rs - hill_climbing::random_restarts (line 13) [INFO] [stdout] src/hill_climbing/random_restarts/mod.rs - hill_climbing::random_restarts::solve (line 37) [INFO] [stdout] src/lib.rs - (line 31) [INFO] [stdout] src/lib.rs - Metaheuristics::clone_candidate (line 77) [INFO] [stdout] src/lib.rs - Metaheuristics::generate_candidate (line 84) [INFO] [stdout] src/lib.rs - Metaheuristics::rank_candidate (line 91) [INFO] [stdout] src/lib.rs - Metaheuristics::tweak_candidate (line 100) [INFO] [stdout] src/random_search/mod.rs - random_search (line 10) [INFO] [stdout] src/random_search/mod.rs - random_search::solve (line 27) [INFO] [stdout] src/simulated_annealing/mod.rs - simulated_annealing (line 18) [INFO] [stdout] src/simulated_annealing/mod.rs - simulated_annealing (line 44) [INFO] [stdout] src/simulated_annealing/mod.rs - simulated_annealing::solve (line 61) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "edfb020e7d6dfdfd2b6ef9df7d67127a2a52f52db3a5cedfa16365817c9d758e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edfb020e7d6dfdfd2b6ef9df7d67127a2a52f52db3a5cedfa16365817c9d758e", kill_on_drop: false }` [INFO] [stdout] edfb020e7d6dfdfd2b6ef9df7d67127a2a52f52db3a5cedfa16365817c9d758e