[INFO] fetching crate argmin 0.4.6... [INFO] testing argmin-0.4.6 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate argmin 0.4.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate argmin 0.4.6 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate argmin 0.4.6 [INFO] finished tweaking crates.io crate argmin 0.4.6 [INFO] tweaked toml for crates.io crate argmin 0.4.6 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate argmin 0.4.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 598e119bf7a3a64f868e67fef7159cc3b4850cc7426b739676b48c263aa9efc0 [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" "598e119bf7a3a64f868e67fef7159cc3b4850cc7426b739676b48c263aa9efc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "598e119bf7a3a64f868e67fef7159cc3b4850cc7426b739676b48c263aa9efc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "598e119bf7a3a64f868e67fef7159cc3b4850cc7426b739676b48c263aa9efc0", kill_on_drop: false }` [INFO] [stdout] 598e119bf7a3a64f868e67fef7159cc3b4850cc7426b739676b48c263aa9efc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa41ea5727650a71ee063aec7ff44c1bc4a368bcc0f4bfeb5b65232cca218e71 [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" "fa41ea5727650a71ee063aec7ff44c1bc4a368bcc0f4bfeb5b65232cca218e71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling slog-async v2.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling slog-term v2.8.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling slog-json v2.3.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling argmin v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.40s [INFO] running `Command { std: "docker" "inspect" "fa41ea5727650a71ee063aec7ff44c1bc4a368bcc0f4bfeb5b65232cca218e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa41ea5727650a71ee063aec7ff44c1bc4a368bcc0f4bfeb5b65232cca218e71", kill_on_drop: false }` [INFO] [stdout] fa41ea5727650a71ee063aec7ff44c1bc4a368bcc0f4bfeb5b65232cca218e71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--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] b0072a0c43cbfa98d6373e23cf8b3aba3b57059946ad2fbeb42f211de81c6199 [INFO] running `Command { std: "docker" "start" "-a" "b0072a0c43cbfa98d6373e23cf8b3aba3b57059946ad2fbeb42f211de81c6199", kill_on_drop: false }` [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling lapack-sys v0.12.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling lapack v0.18.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling openblas-build v0.1.1 [INFO] [stderr] Compiling ndarray v0.15.3 [INFO] [stderr] Compiling openblas-src v0.10.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling argmin_testfunctions v0.1.1 [INFO] [stderr] Compiling finitediff v0.1.4 [INFO] [stderr] Compiling lax v0.2.0 [INFO] [stderr] Compiling ndarray-linalg v0.14.0 [INFO] [stderr] Compiling argmin v0.4.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `nalgebra` [INFO] [stdout] --> examples/gaussnewton_nalgebra.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nalgebra::{DMatrix, DVector}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `nalgebra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> examples/sr1_trustregion.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ndarray::{array, Array1, Array2}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array` [INFO] [stdout] --> examples/sr1_trustregion.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let init_param: Array1 = array![-1.2, 1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> examples/newton_cg.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ndarray::{Array, Array1, Array2}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> examples/sr1.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ndarray::{array, Array1, Array2}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> examples/gaussnewton_linesearch.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array` [INFO] [stdout] --> examples/sr1.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | let init_param: Array1 = array![-1.2, 1.0, -10.0, 2.0, 3.0, 2.0, 4.0, 10.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `argmin` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> examples/gaussnewton.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> examples/dfp.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ndarray::{array, Array1, Array2}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array` [INFO] [stdout] --> examples/dfp.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | let init_param: Array1 = array![-1.2, 1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> examples/trustregion_nd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ndarray::{Array, Array1, Array2}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `finitediff` [INFO] [stdout] --> examples/sr1_trustregion.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use finitediff::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `finitediff` [INFO] [stdout] --> examples/sr1.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use finitediff::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `finitediff` [INFO] [stdout] --> examples/dfp.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use finitediff::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ndarray` [INFO] [stdout] --> src/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ndarray` [INFO] [stdout] --> src/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `arr2` in this scope [INFO] [stdout] --> src/tests.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let F: Array2 = arr2(&[ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `arr1` in this scope [INFO] [stdout] --> src/tests.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let K: Array1 = arr1(&[1., 0.3, 0.5]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `arr1` in this scope [INFO] [stdout] --> src/tests.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | let param_opt: Array1 = arr1(&[0., -0.524869316, 0.487525860]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `arr1` in this scope [INFO] [stdout] --> src/tests.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | let param_init: Array1 = arr1(&[0.0, 0.0, 0.0]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, Default, Serialize, Deserialize, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 23 | struct MaxEntropy { [INFO] [stdout] 24 | F: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b0072a0c43cbfa98d6373e23cf8b3aba3b57059946ad2fbeb42f211de81c6199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0072a0c43cbfa98d6373e23cf8b3aba3b57059946ad2fbeb42f211de81c6199", kill_on_drop: false }` [INFO] [stdout] b0072a0c43cbfa98d6373e23cf8b3aba3b57059946ad2fbeb42f211de81c6199