[INFO] fetching crate noptim 0.1.0... [INFO] checking noptim-0.1.0 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] extracting crate noptim 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate noptim 0.1.0 on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", 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] f261765e7c9d645ea6201751cfec29f677c12ff3356cf55e864705b542e2bebe [INFO] running `Command { std: "docker" "start" "-a" "f261765e7c9d645ea6201751cfec29f677c12ff3356cf55e864705b542e2bebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f261765e7c9d645ea6201751cfec29f677c12ff3356cf55e864705b542e2bebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f261765e7c9d645ea6201751cfec29f677c12ff3356cf55e864705b542e2bebe", kill_on_drop: false }` [INFO] [stdout] f261765e7c9d645ea6201751cfec29f677c12ff3356cf55e864705b542e2bebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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] 7fad88c47b454e7b881d62f5784ead4566068d088ff2e5d4b22e40acfc364b8d [INFO] running `Command { std: "docker" "start" "-a" "7fad88c47b454e7b881d62f5784ead4566068d088ff2e5d4b22e40acfc364b8d", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling paste-impl v0.1.16 [INFO] [stderr] Checking paste v0.1.16 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking nalgebra v0.21.1 [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[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[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 item '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 item '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] warning: use of deprecated item '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 item '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] 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] 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] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7fad88c47b454e7b881d62f5784ead4566068d088ff2e5d4b22e40acfc364b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fad88c47b454e7b881d62f5784ead4566068d088ff2e5d4b22e40acfc364b8d", kill_on_drop: false }` [INFO] [stdout] 7fad88c47b454e7b881d62f5784ead4566068d088ff2e5d4b22e40acfc364b8d