[INFO] fetching crate noptim 0.1.0... [INFO] checking noptim-0.1.0 against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] extracting crate noptim 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate noptim 0.1.0 on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate noptim 0.1.0 [INFO] finished tweaking crates.io crate noptim 0.1.0 [INFO] tweaked toml for crates.io crate noptim 0.1.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 411cfd0cdbfc8ee38792630c9323aa316962b365c01774ad08111b65be423e6b [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" "411cfd0cdbfc8ee38792630c9323aa316962b365c01774ad08111b65be423e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "411cfd0cdbfc8ee38792630c9323aa316962b365c01774ad08111b65be423e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411cfd0cdbfc8ee38792630c9323aa316962b365c01774ad08111b65be423e6b", kill_on_drop: false }` [INFO] [stdout] 411cfd0cdbfc8ee38792630c9323aa316962b365c01774ad08111b65be423e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b30cb6a3e506b0f8602794ce93d7c067d84373eddee249b23dc15e8a26b0bc19 [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" "b30cb6a3e506b0f8602794ce93d7c067d84373eddee249b23dc15e8a26b0bc19", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [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 num-complex v0.3.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Checking nalgebra v0.23.0 [INFO] [stderr] Checking noptim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `na::BaseFloat`, `na::FloatVec` [INFO] [stdout] --> src/function/function.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{BaseFloat, FloatVec}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ no `FloatVec` in the root [INFO] [stdout] | | [INFO] [stdout] | no `BaseFloat` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `na` [INFO] [stdout] --> src/line_search/conditions.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | f_grad_dot_dir: na::dot(f_grad, search_dir), [INFO] [stdout] | ^^^ not found in `na` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `na` [INFO] [stdout] --> src/line_search/conditions.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | na::dot(f_next_grad, self.search_dir) >= self.c2 * self.f_grad_dot_dir [INFO] [stdout] | ^^^ not found in `na` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `na::BaseFloat`, `na::FloatVec` [INFO] [stdout] --> src/function/function.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{BaseFloat, FloatVec}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ no `FloatVec` in the root [INFO] [stdout] | | [INFO] [stdout] | no `BaseFloat` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `na` [INFO] [stdout] --> src/line_search/conditions.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | na::abs(&na::dot(f_next_grad, self.condition.search_dir)) [INFO] [stdout] | ^^^ not found in `na` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `na` [INFO] [stdout] --> src/line_search/conditions.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | f_grad_dot_dir: na::dot(f_grad, search_dir), [INFO] [stdout] | ^^^ not found in `na` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `na` [INFO] [stdout] --> src/line_search/conditions.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | f_grad_dot_dir: na::dot(f_grad, search_dir), [INFO] [stdout] | ^^^ not found in `na` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `na` [INFO] [stdout] --> src/line_search/conditions.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | na::dot(f_next_grad, self.search_dir) >= self.c2 * self.f_grad_dot_dir [INFO] [stdout] | ^^^ not found in `na` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `na` [INFO] [stdout] --> src/line_search/conditions.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | na::abs(&na::dot(f_next_grad, self.condition.search_dir)) [INFO] [stdout] | ^^^ not found in `na` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dot` in crate `na` [INFO] [stdout] --> src/line_search/conditions.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | f_grad_dot_dir: na::dot(f_grad, search_dir), [INFO] [stdout] | ^^^ not found in `na` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `na::abs`: use the inherent method `Matrix::abs` or `RealField::abs` instead [INFO] [stdout] --> src/line_search/conditions.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | na::abs(&na::dot(f_next_grad, self.condition.search_dir)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `na::abs`: use the inherent method `Matrix::abs` or `RealField::abs` instead [INFO] [stdout] --> src/line_search/conditions.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | >= self.condition.c2 * na::abs(&self.condition.f_grad_dot_dir) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `na::abs`: use the inherent method `Matrix::abs` or `RealField::abs` instead [INFO] [stdout] --> src/line_search/conditions.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | na::abs(&na::dot(f_next_grad, self.condition.search_dir)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `na::abs`: use the inherent method `Matrix::abs` or `RealField::abs` instead [INFO] [stdout] --> src/line_search/conditions.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | >= self.condition.c2 * na::abs(&self.condition.f_grad_dot_dir) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `noptim` [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: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b30cb6a3e506b0f8602794ce93d7c067d84373eddee249b23dc15e8a26b0bc19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b30cb6a3e506b0f8602794ce93d7c067d84373eddee249b23dc15e8a26b0bc19", kill_on_drop: false }` [INFO] [stdout] b30cb6a3e506b0f8602794ce93d7c067d84373eddee249b23dc15e8a26b0bc19