[INFO] updating cached repository https://github.com/gilcu2/hello_cargo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e6a417b071622947dab633ba53d70b96ebb40850 [INFO] checking gilcu2/hello_cargo against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilcu2%2Fhello_cargo" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gilcu2/hello_cargo on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/gilcu2/hello_cargo [INFO] finished tweaking git repo https://github.com/gilcu2/hello_cargo [INFO] tweaked toml for git repo https://github.com/gilcu2/hello_cargo written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/gilcu2/hello_cargo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 69157a353d8f2ab8dc73c656e1f108d33468f9dc670afa258ad061e17823dc16 [INFO] running `"docker" "start" "-a" "69157a353d8f2ab8dc73c656e1f108d33468f9dc670afa258ad061e17823dc16"` [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling serde v1.0.93 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Compiling rustlearn v0.5.0 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking signal-hook-registry v1.0.1 [INFO] [stderr] Checking vpsearch v1.3.5 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking num-bigint v0.2.2 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.93 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling derive-new v0.5.6 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking ordered_iter v0.1.1 [INFO] [stderr] Checking signal-hook v0.1.9 [INFO] [stderr] Checking rulinalg v0.3.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Checking vectors v0.3.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking optimization v0.1.0 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking rusty-machine v0.5.4 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking rspec v1.0.0-beta.4 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Checking trust-dns-proto v0.6.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking trust-dns-resolver v0.10.3 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0469]: imported macro not found [INFO] [stderr] --> src/bin/vectors.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use(dense_vec, sparse_vec)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0469]: imported macro not found [INFO] [stderr] --> src/bin/vectors.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use(dense_vec, sparse_vec)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0469]: imported macro not found [INFO] [stderr] --> src/bin/vectors.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use(dense_vec, sparse_vec)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0469]: imported macro not found [INFO] [stderr] --> src/bin/vectors.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use(dense_vec, sparse_vec)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::sum` [INFO] [stderr] --> src/bin/vptree.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::sum; [INFO] [stderr] | ^^^^^^^^^^ no `sum` in the root [INFO] [stderr] [INFO] [stderr] error[E0053]: method `compute_grad` has an incompatible type for trait [INFO] [stderr] --> src/bin/gradient_descendent_2D.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | fn compute_grad(&self, params: &[(f64, f64)], _: &Matrix, _: &Matrix) -> (f64, Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected f64, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&XSqModel2D, &[f64], &rm::prelude::Matrix<(f64, f64)>, &rm::prelude::Matrix) -> (f64, std::vec::Vec)` [INFO] [stderr] found type `fn(&XSqModel2D, &[(f64, f64)], &rm::prelude::Matrix, &rm::prelude::Matrix) -> (f64, std::vec::Vec)` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `hello_cargo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0609]: no field `2` on type `(f64, f64)` [INFO] [stderr] --> src/bin/gradient_descendent_2D.rs:19:31 [INFO] [stderr] | [INFO] [stderr] 19 | let y_dif = params[0].2 - self.c.2; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `2` on type `(f64, f64)` [INFO] [stderr] --> src/bin/gradient_descendent_2D.rs:19:42 [INFO] [stderr] | [INFO] [stderr] 19 | let y_dif = params[0].2 - self.c.2; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `-` cannot be applied to type `(f64, f64)` [INFO] [stderr] --> src/bin/gradient_descendent_2D.rs:24:37 [INFO] [stderr] | [INFO] [stderr] 24 | let value = () * (params[0] - self.c); [INFO] [stderr] | --------- ^ ------ (f64, f64) [INFO] [stderr] | | [INFO] [stderr] | (f64, f64) [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Sub` might be missing for `(f64, f64)` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `*` cannot be applied to type `()` [INFO] [stderr] --> src/bin/gradient_descendent_2D.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | let value = () * (params[0] - self.c); [INFO] [stderr] | -- ^ -------------------- [type error] [INFO] [stderr] | | [INFO] [stderr] | () [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Mul` might be missing for `()` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `-` cannot be applied to type `(f64, f64)` [INFO] [stderr] --> src/bin/gradient_descendent_2D.rs:25:52 [INFO] [stderr] | [INFO] [stderr] 25 | let first_derivate = vec![2.0 * (params[0] - self.c)]; [INFO] [stderr] | --------- ^ ------ (f64, f64) [INFO] [stderr] | | [INFO] [stderr] | (f64, f64) [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Sub` might be missing for `(f64, f64)` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `(f64, f64): num_traits::identities::Zero` is not satisfied [INFO] [stderr] --> src/bin/gradient_descendent_2D.rs:37:31 [INFO] [stderr] | [INFO] [stderr] 37 | ... &Matrix::zeros(1, 1), [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `num_traits::identities::Zero` is not implemented for `(f64, f64)` [INFO] [stderr] | [INFO] [stderr] = note: required by `rm::prelude::Matrix::::zeros` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0277, E0369, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: could not compile `hello_cargo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/bin/local_actors.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | fn started(&mut self, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/bin/local_actors.rs:27:27 [INFO] [stderr] | [INFO] [stderr] 27 | fn stopped(&mut self, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/bin/local_actors.rs:36:26 [INFO] [stderr] | [INFO] [stderr] 36 | fn handle(&mut self, msg: Ping, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/bin/local_actors.rs:36:37 [INFO] [stderr] | [INFO] [stderr] 36 | fn handle(&mut self, msg: Ping, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `vectors::heap` [INFO] [stderr] --> src/bin/vectors.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use vectors::heap::{SparseVector, DenseVector}; [INFO] [stderr] | ^^^^ could not find `heap` in `vectors` [INFO] [stderr] [INFO] [stderr] warning: unused import: `vectors::Vector` [INFO] [stderr] --> src/bin/vectors.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use vectors::Vector; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0469. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `hello_cargo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `vectors::heap` [INFO] [stderr] --> src/bin/vectors.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use vectors::heap::{SparseVector, DenseVector}; [INFO] [stderr] | ^^^^ could not find `heap` in `vectors` [INFO] [stderr] [INFO] [stderr] warning: unused import: `vectors::Vector` [INFO] [stderr] --> src/bin/vectors.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use vectors::Vector; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0469. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `hello_cargo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "69157a353d8f2ab8dc73c656e1f108d33468f9dc670afa258ad061e17823dc16"` [INFO] running `"docker" "rm" "-f" "69157a353d8f2ab8dc73c656e1f108d33468f9dc670afa258ad061e17823dc16"` [INFO] [stdout] 69157a353d8f2ab8dc73c656e1f108d33468f9dc670afa258ad061e17823dc16