[INFO] fetching crate vrp-pragmatic 1.9.1... [INFO] checking vrp-pragmatic-1.9.1 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] extracting crate vrp-pragmatic 1.9.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate vrp-pragmatic 1.9.1 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vrp-pragmatic 1.9.1 [INFO] finished tweaking crates.io crate vrp-pragmatic 1.9.1 [INFO] tweaked toml for crates.io crate vrp-pragmatic 1.9.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c510e33b8547476093d3e1674139903b2b46c43e8f2da9202a9c0dddb80edd21 [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" "c510e33b8547476093d3e1674139903b2b46c43e8f2da9202a9c0dddb80edd21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c510e33b8547476093d3e1674139903b2b46c43e8f2da9202a9c0dddb80edd21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c510e33b8547476093d3e1674139903b2b46c43e8f2da9202a9c0dddb80edd21", kill_on_drop: false }` [INFO] [stdout] c510e33b8547476093d3e1674139903b2b46c43e8f2da9202a9c0dddb80edd21 [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--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] 02192357c03531032e38a8e2ca1edbaff218ad271ace33f105183c837102d211 [INFO] running `Command { std: "docker" "start" "-a" "02192357c03531032e38a8e2ca1edbaff218ad271ace33f105183c837102d211", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking vrp-core v1.10.0 [INFO] [stderr] Checking vrp-pragmatic v1.9.1 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `vrp-pragmatic` [INFO] [stdout] error: couldn't read src/../tests/helpers/../../../vrp-core/tests/helpers/macros.rs: No such file or directory (os error 2) [INFO] [stdout] --> src/../tests/helpers/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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[E0433]: failed to resolve: use of undeclared type `TotalTransportCost` [INFO] [stdout] --> src/format/problem/./objective_reader.rs:23:71 [INFO] [stdout] | [INFO] [stdout] 23 | MinimizeCost => core_objectives.push(Box::new(TotalTransportCost::default())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TotalTransportCost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TotalTransportCost` [INFO] [stdout] --> src/format/problem/./objective_reader.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | vec![Box::new(TotalTransportCost::default())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TotalTransportCost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/constraints/breaks.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | update_route_schedule(route_ctx, transport, activity) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ --------- --------- -------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/vrp-core-1.10.0/src/construction/constraints/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn update_route_schedule(route_ctx: &mut RouteContext, transport: &(dyn TransportCost + Send + Sync)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/constraints/reachable.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | self.transport.distance(profile, prev.place.location, target.place.location, prev.schedule.departure); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&vrp_core::models::common::Profile`, found struct `vrp_core::models::common::Profile` [INFO] [stdout] | help: consider borrowing here: `&profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/constraints/reachable.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | self.transport.distance(profile, target.place.location, next.place.location, target.schedule.departure); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&vrp_core::models::common::Profile`, found struct `vrp_core::models::common::Profile` [INFO] [stdout] | help: consider borrowing here: `&profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `duration` found for reference `&OnlyVehicleActivityCost` in the current scope [INFO] [stdout] --> src/extensions/only_vehicle_activity_cost.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let service = self.duration(actor, activity, arrival); [INFO] [stdout] | ^^^^^^^^ method not found in `&OnlyVehicleActivityCost` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `duration`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `vrp_core::models::problem::TransportCost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/format/problem/reader.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | Box::new(CapacityConstraintModule::::new_with_multi_trip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 arguments [INFO] [stdout] 293 | transport, [INFO] [stdout] | --------- [INFO] [stdout] 294 | activity, [INFO] [stdout] | -------- [INFO] [stdout] 295 | CAPACITY_CONSTRAINT_CODE, [INFO] [stdout] | ------------------------ [INFO] [stdout] 296 | Arc::new(ReloadMultiTrip::new(Box::new(move |capacity| *capacity * threshold))), [INFO] [stdout] | ------------------------------------------------------------------------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/vrp-core-1.10.0/src/construction/constraints/capacity.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new_with_multi_trip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/format/problem/reader.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | Box::new(CapacityConstraintModule::::new_with_multi_trip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 arguments [INFO] [stdout] 300 | transport, [INFO] [stdout] | --------- [INFO] [stdout] 301 | activity, [INFO] [stdout] | -------- [INFO] [stdout] 302 | CAPACITY_CONSTRAINT_CODE, [INFO] [stdout] | ------------------------ [INFO] [stdout] 303 | Arc::new(ReloadMultiTrip::new(Box::new(move |capacity| *capacity * threshold))), [INFO] [stdout] | ------------------------------------------------------------------------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/vrp-core-1.10.0/src/construction/constraints/capacity.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new_with_multi_trip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/format/problem/reader.rs:307:18 [INFO] [stdout] | [INFO] [stdout] 307 | Box::new(CapacityConstraintModule::::new(transport, activity, CAPACITY_CONSTRAINT_CODE)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------- -------- ------------------------ supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/vrp-core-1.10.0/src/construction/constraints/capacity.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(transport: Arc, code: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/format/problem/reader.rs:309:18 [INFO] [stdout] | [INFO] [stdout] 309 | Box::new(CapacityConstraintModule::::new(transport, activity, CAPACITY_CONSTRAINT_CODE)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------- -------- ------------------------ supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/vrp-core-1.10.0/src/construction/constraints/capacity.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(transport: Arc, code: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/format/problem/./fleet_reader.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | MatrixData::new(profile, timestamp.map(|t| parse_time(&t)), durations, distances) [INFO] [stdout] | ^^^^^^^ expected `usize`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 66 | MatrixData::new(profile.try_into().unwrap(), timestamp.map(|t| parse_time(&t)), durations, distances) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `profile` on type `&vrp_core::models::problem::MatrixData` [INFO] [stdout] --> src/format/problem/./fleet_reader.rs:70:62 [INFO] [stdout] | [INFO] [stdout] 70 | let matrix_profiles = matrix_data.iter().map(|data| data.profile).collect::>().len(); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `index`, `timestamp`, `durations`, `distances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `i32` as `vrp_core::models::common::Profile` [INFO] [stdout] --> src/format/problem/./fleet_reader.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let profile = *profiles.get(&vehicle.profile).unwrap() as Profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/format/solution/writer.rs:190:48 [INFO] [stdout] | [INFO] [stdout] 190 | problem.transport.duration(vehicle.profile, prev_location, act.place.location, prev_departure); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&vrp_core::models::common::Profile`, found struct `vrp_core::models::common::Profile` [INFO] [stdout] | help: consider borrowing here: `&vehicle.profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `duration` found for struct `std::sync::Arc<(dyn ActivityCost + Send + Sync + 'static)>` in the current scope [INFO] [stdout] --> src/format/solution/writer.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | let serving = problem.activity.duration(route.actor.as_ref(), act, act.schedule.arrival); [INFO] [stdout] | ^^^^^^^^ method not found in `std::sync::Arc<(dyn ActivityCost + Send + Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/format/solution/writer.rs:202:50 [INFO] [stdout] | [INFO] [stdout] 202 | + problem.transport.distance(vehicle.profile, prev_location, act.place.location, prev_departure) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&vrp_core::models::common::Profile`, found struct `vrp_core::models::common::Profile` [INFO] [stdout] | help: consider borrowing here: `&vehicle.profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0599, E0605, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "02192357c03531032e38a8e2ca1edbaff218ad271ace33f105183c837102d211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02192357c03531032e38a8e2ca1edbaff218ad271ace33f105183c837102d211", kill_on_drop: false }` [INFO] [stdout] 02192357c03531032e38a8e2ca1edbaff218ad271ace33f105183c837102d211