[INFO] cloning repository https://github.com/gilcu2/hello_cargo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gilcu2/hello_cargo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilcu2%2Fhello_cargo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilcu2%2Fhello_cargo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e6a417b071622947dab633ba53d70b96ebb40850 [INFO] checking gilcu2/hello_cargo against try#e922e6444795ab795fab1943288aee3d543699b8 for pr-66852 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilcu2%2Fhello_cargo" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gilcu2/hello_cargo on toolchain e922e6444795ab795fab1943288aee3d543699b8 [INFO] running `"/workspace/cargo-home/bin/cargo" "+e922e6444795ab795fab1943288aee3d543699b8" "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-1/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" "+e922e6444795ab795fab1943288aee3d543699b8" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vectors v0.3.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+e922e6444795ab795fab1943288aee3d543699b8" "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] 0fc6700455c30f00995d83c4847725116e13ad4b9ceee16467afc70c69b673e6 [INFO] running `"docker" "start" "-a" "0fc6700455c30f00995d83c4847725116e13ad4b9ceee16467afc70c69b673e6"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling rustlearn v0.5.0 [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 vectors v0.3.0 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Checking num-bigint v0.2.2 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking optimization v0.1.0 [INFO] [stderr] Checking signal-hook v0.1.9 [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 mio-uds v0.6.7 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking rulinalg v0.3.7 [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 tokio-codec v0.1.1 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking rusty-machine v0.5.4 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking rspec v1.0.0-beta.4 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking trust-dns-proto v0.6.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking tokio v0.1.19 [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[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 fn pointer `fn(&XSqModel2D, &[f64], &rm::prelude::Matrix<(f64, f64)>, &rm::prelude::Matrix) -> (_, std::vec::Vec<_>)` [INFO] [stderr] found fn pointer `fn(&XSqModel2D, &[(f64, f64)], &rm::prelude::Matrix, &rm::prelude::Matrix) -> (_, std::vec::Vec<_>)` [INFO] [stderr] [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] 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: 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] warning: unused import: `std::io` [INFO] [stderr] --> tests/arithmetic_rspec.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> tests/arithmetic_rspec.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "0fc6700455c30f00995d83c4847725116e13ad4b9ceee16467afc70c69b673e6"` [INFO] running `"docker" "rm" "-f" "0fc6700455c30f00995d83c4847725116e13ad4b9ceee16467afc70c69b673e6"` [INFO] [stdout] 0fc6700455c30f00995d83c4847725116e13ad4b9ceee16467afc70c69b673e6