[INFO] fetching crate vrp-scientific 1.4.0... [INFO] checking vrp-scientific-1.4.0 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate vrp-scientific 1.4.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate vrp-scientific 1.4.0 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate vrp-scientific 1.4.0 [INFO] finished tweaking crates.io crate vrp-scientific 1.4.0 [INFO] tweaked toml for crates.io crate vrp-scientific 1.4.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e61898dc37869e1b4b643b8c1b6c1f789f1e2d62d07410290ea450d7c4e11c65 [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" "e61898dc37869e1b4b643b8c1b6c1f789f1e2d62d07410290ea450d7c4e11c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e61898dc37869e1b4b643b8c1b6c1f789f1e2d62d07410290ea450d7c4e11c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e61898dc37869e1b4b643b8c1b6c1f789f1e2d62d07410290ea450d7c4e11c65", kill_on_drop: false }` [INFO] [stdout] e61898dc37869e1b4b643b8c1b6c1f789f1e2d62d07410290ea450d7c4e11c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68deb838806d8ede1dec55ef3d031381bd41d1e81417af4daa43276d5928b7ab [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" "68deb838806d8ede1dec55ef3d031381bd41d1e81417af4daa43276d5928b7ab", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking vrp-core v1.4.1 [INFO] [stderr] Checking vrp-scientific v1.4.0 (/opt/rustwide/workdir) [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] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vrp-scientific`. [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[E0432]: unresolved imports `vrp_core::construction::constraints::Demand`, `vrp_core::construction::constraints::DemandDimension` [INFO] [stdout] --> src/lilim/reader.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | use vrp_core::construction::constraints::{Demand, DemandDimension}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ no `DemandDimension` in `construction::constraints` [INFO] [stdout] | | [INFO] [stdout] | no `Demand` in `construction::constraints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Demand` in this scope [INFO] [stdout] --> src/solomon/reader.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | dimens.set_demand(Demand:: { pickup: (0, 0), delivery: (customer.demand as i32, 0) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::models::common::Demand; [INFO] [stdout] | [INFO] [stdout] 5 | use vrp_core::models::common::Demand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vrp_core::construction::constraints::*` [INFO] [stdout] --> src/solomon/reader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vrp_core::construction::constraints::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i32: vrp_core::models::common::Load` is not satisfied [INFO] [stdout] --> src/common/text_reader.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | dimens.set_capacity(capacity as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `vrp_core::models::common::Load` is not implemented for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `vrp_core::construction::constraints::CapacityConstraintModule` in the current scope [INFO] [stdout] --> src/common/text_reader.rs:104:69 [INFO] [stdout] | [INFO] [stdout] 104 | constraint.add_module(Box::new(CapacityConstraintModule::::new(4))); [INFO] [stdout] | ^^^ function or associated item not found in `vrp_core::construction::constraints::CapacityConstraintModule` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `i32: vrp_core::models::common::Load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i32: vrp_core::models::common::Load` is not satisfied [INFO] [stdout] --> src/common/text_reader.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | constraint.add_module(Box::new(CapacityConstraintModule::::new(4))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `vrp_core::models::common::Load` is not implemented for `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/vrp-core-1.4.1/src/construction/constraints/capacity.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct CapacityConstraintModule + Sub + 'static> { [INFO] [stdout] | ---- required by this bound in `vrp_core::construction::constraints::CapacityConstraintModule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_demand` found for struct `hashbrown::map::HashMap>` in the current scope [INFO] [stdout] --> src/lilim/reader.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | dimens.set_demand(if customer.demand > 0 { [INFO] [stdout] | ^^^^^^^^^^ method not found in `hashbrown::map::HashMap>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use vrp_core::models::common::DemandDimension;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_demand` found for struct `hashbrown::map::HashMap>` in the current scope [INFO] [stdout] --> src/solomon/reader.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | dimens.set_demand(Demand:: { pickup: (0, 0), delivery: (customer.demand as i32, 0) }); [INFO] [stdout] | ^^^^^^^^^^ method not found in `hashbrown::map::HashMap>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use vrp_core::models::common::DemandDimension;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "68deb838806d8ede1dec55ef3d031381bd41d1e81417af4daa43276d5928b7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68deb838806d8ede1dec55ef3d031381bd41d1e81417af4daa43276d5928b7ab", kill_on_drop: false }` [INFO] [stdout] 68deb838806d8ede1dec55ef3d031381bd41d1e81417af4daa43276d5928b7ab