[INFO] updating cached repository https://github.com/gilcu2/hello_cargo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] testing gilcu2/hello_cargo against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilcu2%2Fhello_cargo" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gilcu2/hello_cargo on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 work/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/gilcu2/hello_cargo already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 60b599b6b294f41997843dba60580f0ef28a98929ab6e080e02edaaedc0fce85 [INFO] running `"docker" "start" "-a" "60b599b6b294f41997843dba60580f0ef28a98929ab6e080e02edaaedc0fce85"` [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling rustlearn v0.5.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling vpsearch v1.3.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.93 [INFO] [stderr] Compiling rulinalg v0.3.7 [INFO] [stderr] Compiling optimization v0.1.0 [INFO] [stderr] Compiling ordered_iter v0.1.1 [INFO] [stderr] Compiling vectors v0.3.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling rusty-machine v0.5.4 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling 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[E0580]: main function has wrong type [INFO] [stderr] --> src/bin/vptree.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / extern [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | fn main() {} [INFO] [stderr] | |____________^ expected "Rust" fn, found "C" fn [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn()` [INFO] [stderr] found type `extern "C" fn()` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0580`. [INFO] [stderr] error: Could not compile `hello_cargo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: field is never used: `x` [INFO] [stderr] --> src/bin/figures.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | x: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `y` [INFO] [stderr] --> src/bin/figures.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | y: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `corner` [INFO] [stderr] --> src/bin/figures.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | corner: Point, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `corner` [INFO] [stderr] --> src/bin/figures.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | corner: Point, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `List` [INFO] [stderr] --> src/bin/fmt.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | struct List(Vec); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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[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] | -- ^ -------------------- _ [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 `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" "60b599b6b294f41997843dba60580f0ef28a98929ab6e080e02edaaedc0fce85"` [INFO] running `"docker" "rm" "-f" "60b599b6b294f41997843dba60580f0ef28a98929ab6e080e02edaaedc0fce85"` [INFO] [stdout] 60b599b6b294f41997843dba60580f0ef28a98929ab6e080e02edaaedc0fce85