[INFO] fetching crate vrp-solver 1.0.3... [INFO] testing vrp-solver-1.0.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate vrp-solver 1.0.3 into /workspace/builds/worker-0-tc1/source [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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vrp-solver 1.0.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rosomaxa v0.9.0 [INFO] [stderr] Downloaded vrp-core v1.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7929690b2e347e4b7f5f41a819ce84b2c1ee9ce8263056a70593a7ba3f9270b [INFO] running `Command { std: "docker" "start" "-a" "e7929690b2e347e4b7f5f41a819ce84b2c1ee9ce8263056a70593a7ba3f9270b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7929690b2e347e4b7f5f41a819ce84b2c1ee9ce8263056a70593a7ba3f9270b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7929690b2e347e4b7f5f41a819ce84b2c1ee9ce8263056a70593a7ba3f9270b", kill_on_drop: false }` [INFO] [stdout] e7929690b2e347e4b7f5f41a819ce84b2c1ee9ce8263056a70593a7ba3f9270b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5a1124591518181cc309312c88adba186575ae7318b4bc2d98372e206cf6317 [INFO] running `Command { std: "docker" "start" "-a" "e5a1124591518181cc309312c88adba186575ae7318b4bc2d98372e206cf6317", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling rosomaxa v0.9.0 [INFO] [stderr] Compiling vrp-core v1.25.0 [INFO] [stderr] Compiling 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[E0432]: unresolved import `vrp_core::construction::Quota` [INFO] [stdout] --> src/algorithm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use vrp_core::construction::Quota; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Quota` in `construction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 5 - use vrp_core::construction::Quota; [INFO] [stdout] 5 + use vrp_core::utils::Quota; [INFO] [stdout] | [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[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::construction::Quota` [INFO] [stdout] --> src/builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vrp_core::construction::Quota; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Quota` in `construction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 6 - use vrp_core::construction::Quota; [INFO] [stdout] 6 + use vrp_core::utils::Quota; [INFO] [stdout] | [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[E0432]: unresolved import `vrp_core::construction::Quota` [INFO] [stdout] --> src/extensions/time_quota.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vrp_core::construction::Quota; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Quota` in `construction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 1 - use vrp_core::construction::Quota; [INFO] [stdout] 1 + use vrp_core::utils::Quota; [INFO] [stdout] | [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 this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::Termination; [INFO] [stdout] | [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 this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::Termination; [INFO] [stdout] | [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 this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::Termination; [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 this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::Termination; [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] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CompositeTermination` [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] | ^^^^^^^^^^^^^ use of undeclared type `MaxGeneration` [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 `MaxGeneration` [INFO] [stdout] --> src/builder.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | criterias.push(Box::new(MaxGeneration::new(limit))) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MaxGeneration` [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[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] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CompositeTermination` [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: could not compile `vrp-solver` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e5a1124591518181cc309312c88adba186575ae7318b4bc2d98372e206cf6317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a1124591518181cc309312c88adba186575ae7318b4bc2d98372e206cf6317", kill_on_drop: false }` [INFO] [stdout] e5a1124591518181cc309312c88adba186575ae7318b4bc2d98372e206cf6317