[INFO] fetching crate vrp-solver 1.0.3... [INFO] checking vrp-solver-1.0.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate vrp-solver 1.0.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate vrp-solver 1.0.3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vrp-solver 1.0.3 [INFO] finished tweaking crates.io crate vrp-solver 1.0.3 [INFO] tweaked toml for crates.io crate vrp-solver 1.0.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 415af329f371ee39f7bcb65fa71bfaedd9473698d1613babffee18ff653203b1 [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" "415af329f371ee39f7bcb65fa71bfaedd9473698d1613babffee18ff653203b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "415af329f371ee39f7bcb65fa71bfaedd9473698d1613babffee18ff653203b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "415af329f371ee39f7bcb65fa71bfaedd9473698d1613babffee18ff653203b1", kill_on_drop: false }` [INFO] [stdout] 415af329f371ee39f7bcb65fa71bfaedd9473698d1613babffee18ff653203b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da78e7a16bd50ec3f0e916fcb0c681b2262ba3fc376e7e405720abc72a23ade5 [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" "da78e7a16bd50ec3f0e916fcb0c681b2262ba3fc376e7e405720abc72a23ade5", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-utils v0.8.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking vrp-core v1.8.1 [INFO] [stderr] Checking vrp-solver v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use vrp_core::refinement::acceptance::{Acceptance, Greedy}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use vrp_core::refinement::mutation::{Mutation, RuinAndRecreateMutation}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use vrp_core::refinement::objectives::ObjectiveCost; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use vrp_core::refinement::selection::{SelectRandom, Selection}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use vrp_core::refinement::termination::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/builder.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use vrp_core::refinement::termination::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vrp_core::refinement` [INFO] [stdout] --> src/algorithm.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use vrp_core::refinement::{Individuum, RefinementContext}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vrp_core::refinement` [INFO] [stdout] --> src/builder.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use vrp_core::refinement::RefinementContext; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vrp_core::refinement` [INFO] [stdout] --> src/extensions/population.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use vrp_core::refinement::{Individuum, Population}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use vrp_core::refinement::acceptance::{Acceptance, Greedy}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use vrp_core::refinement::mutation::{Mutation, RuinAndRecreateMutation}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use vrp_core::refinement::objectives::ObjectiveCost; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use vrp_core::refinement::selection::{SelectRandom, Selection}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/algorithm.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use vrp_core::refinement::termination::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `refinement` in `vrp_core` [INFO] [stdout] --> src/builder.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use vrp_core::refinement::termination::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vrp_core::refinement` [INFO] [stdout] --> src/algorithm.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use vrp_core::refinement::{Individuum, RefinementContext}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vrp_core::refinement` [INFO] [stdout] --> src/builder.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use vrp_core::refinement::RefinementContext; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vrp_core::refinement` [INFO] [stdout] --> src/extensions/population.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use vrp_core::refinement::{Individuum, Population}; [INFO] [stdout] | ^^^^^^^^^^ could not find `refinement` in `vrp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelectRandom` [INFO] [stdout] --> src/algorithm.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | Box::new(SelectRandom::default()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SelectRandom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuinAndRecreateMutation` [INFO] [stdout] --> src/algorithm.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | Box::new(RuinAndRecreateMutation::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RuinAndRecreateMutation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuotaReached` [INFO] [stdout] --> src/builder.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | (vec![Box::new(MaxGeneration::default()), Box::new(QuotaReached::default())], create_time_quota(300)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuotaReached` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuotaReached` [INFO] [stdout] --> src/builder.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | criterias.push(Box::new(QuotaReached::default())); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuotaReached` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Selection` in this scope [INFO] [stdout] --> src/algorithm.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 17 | pub selection: Box, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mutation` in this scope [INFO] [stdout] --> src/algorithm.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub mutation: Box, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::mutation::Mutation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Acceptance` in this scope [INFO] [stdout] --> src/algorithm.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub acceptance: Box, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Termination` in this scope [INFO] [stdout] --> src/algorithm.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub termination: Box, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Termination; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::Termination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Greedy` [INFO] [stdout] --> src/algorithm.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | Box::new(Greedy::default()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::algorithms::mdp::Greedy; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::population::Greedy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompositeTermination` [INFO] [stdout] --> src/algorithm.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Box::new(CompositeTermination::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::CompositeTermination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Selection` in this scope [INFO] [stdout] --> src/algorithm.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | selection: Box, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mutation` in this scope [INFO] [stdout] --> src/algorithm.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | mutation: Box, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::mutation::Mutation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Acceptance` in this scope [INFO] [stdout] --> src/algorithm.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | acceptance: Box, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Termination` in this scope [INFO] [stdout] --> src/algorithm.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | termination: Box, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Termination; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::Termination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectiveCost` in this scope [INFO] [stdout] --> src/algorithm.rs:56:81 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn solve(&mut self, problem: Arc) -> Option<(Solution, Box, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectiveCost` in this scope [INFO] [stdout] --> src/algorithm.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 170 | ) -> Option<(Solution, Box, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectiveCost` in this scope [INFO] [stdout] --> src/algorithm.rs:184:75 [INFO] [stdout] | [INFO] [stdout] 184 | fn get_cost_change(refinement_ctx: &RefinementContext, new_cost: &Box) -> f64 { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Termination` in this scope [INFO] [stdout] --> src/builder.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let (criterias, quota): (Vec>, _) = match (self.max_generations, self.max_time) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Termination; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::Termination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxGeneration` [INFO] [stdout] --> src/builder.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | (vec![Box::new(MaxGeneration::default()), Box::new(QuotaReached::default())], create_time_quota(300)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::MaxGeneration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Termination` in this scope [INFO] [stdout] --> src/builder.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | let mut criterias: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Termination; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::Termination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxGeneration` [INFO] [stdout] --> src/builder.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | criterias.push(Box::new(MaxGeneration::new(limit))) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::MaxGeneration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompositeTermination` [INFO] [stdout] --> src/builder.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 77 | self.solver.termination = Box::new(CompositeTermination::new(criterias)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::CompositeTermination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelectRandom` [INFO] [stdout] --> src/algorithm.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | Box::new(SelectRandom::default()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SelectRandom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuinAndRecreateMutation` [INFO] [stdout] --> src/algorithm.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | Box::new(RuinAndRecreateMutation::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RuinAndRecreateMutation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuotaReached` [INFO] [stdout] --> src/builder.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | (vec![Box::new(MaxGeneration::default()), Box::new(QuotaReached::default())], create_time_quota(300)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuotaReached` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuotaReached` [INFO] [stdout] --> src/builder.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | criterias.push(Box::new(QuotaReached::default())); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuotaReached` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vrp-solver` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0405]: cannot find trait `Selection` in this scope [INFO] [stdout] --> src/algorithm.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 17 | pub selection: Box, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mutation` in this scope [INFO] [stdout] --> src/algorithm.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub mutation: Box, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::mutation::Mutation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Acceptance` in this scope [INFO] [stdout] --> src/algorithm.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub acceptance: Box, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Termination` in this scope [INFO] [stdout] --> src/algorithm.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub termination: Box, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Termination; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::Termination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Greedy` [INFO] [stdout] --> src/algorithm.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | Box::new(Greedy::default()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::algorithms::mdp::Greedy; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::population::Greedy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompositeTermination` [INFO] [stdout] --> src/algorithm.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Box::new(CompositeTermination::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::CompositeTermination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Selection` in this scope [INFO] [stdout] --> src/algorithm.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | selection: Box, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Mutation` in this scope [INFO] [stdout] --> src/algorithm.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | mutation: Box, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::mutation::Mutation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Acceptance` in this scope [INFO] [stdout] --> src/algorithm.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | acceptance: Box, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Termination` in this scope [INFO] [stdout] --> src/algorithm.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | termination: Box, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Termination; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::Termination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectiveCost` in this scope [INFO] [stdout] --> src/algorithm.rs:56:81 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn solve(&mut self, problem: Arc) -> Option<(Solution, Box, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectiveCost` in this scope [INFO] [stdout] --> src/algorithm.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solver { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 170 | ) -> Option<(Solution, Box, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ObjectiveCost` in this scope [INFO] [stdout] --> src/algorithm.rs:184:75 [INFO] [stdout] | [INFO] [stdout] 184 | fn get_cost_change(refinement_ctx: &RefinementContext, new_cost: &Box) -> f64 { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Termination` in this scope [INFO] [stdout] --> src/builder.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let (criterias, quota): (Vec>, _) = match (self.max_generations, self.max_time) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Termination; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::Termination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxGeneration` [INFO] [stdout] --> src/builder.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | (vec![Box::new(MaxGeneration::default()), Box::new(QuotaReached::default())], create_time_quota(300)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::MaxGeneration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Termination` in this scope [INFO] [stdout] --> src/builder.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | let mut criterias: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Termination; [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::Termination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaxGeneration` [INFO] [stdout] --> src/builder.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | criterias.push(Box::new(MaxGeneration::new(limit))) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::MaxGeneration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompositeTermination` [INFO] [stdout] --> src/builder.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 77 | self.solver.termination = Box::new(CompositeTermination::new(criterias)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::solver::termination::CompositeTermination; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "da78e7a16bd50ec3f0e916fcb0c681b2262ba3fc376e7e405720abc72a23ade5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da78e7a16bd50ec3f0e916fcb0c681b2262ba3fc376e7e405720abc72a23ade5", kill_on_drop: false }` [INFO] [stdout] da78e7a16bd50ec3f0e916fcb0c681b2262ba3fc376e7e405720abc72a23ade5