[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] testing gilcu2/hello_cargo against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilcu2%2Fhello_cargo" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gilcu2/hello_cargo on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-7/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f54c4e16d5441ff9aa18bf17f319939306d89b2c2b5318fa89ce616875ec4c82 [INFO] running `"docker" "start" "-a" "f54c4e16d5441ff9aa18bf17f319939306d89b2c2b5318fa89ce616875ec4c82"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling bitflags v1.0.5 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling serde v1.0.93 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rustlearn v0.5.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling vpsearch v1.3.5 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling ordered_iter v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling rulinalg v0.3.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling vectors v0.3.0 [INFO] [stderr] Compiling optimization v0.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling rusty-machine v0.5.4 [INFO] [stderr] Compiling tokio-fs v0.1.6 [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 tokio v0.1.19 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.93 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [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] warning: field is never read: `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] 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] warning: field is never read: `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 read: `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 read: `corner` [INFO] [stderr] --> src/bin/figures.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | corner: Point, [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 fn pointer `fn()` [INFO] [stderr] found fn pointer `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[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: could not compile `hello_cargo`. [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[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]: cannot subtract `(f64, f64)` from `(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] error[E0369]: cannot subtract `(f64, f64)` from `(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] 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 6 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[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] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [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: build failed [INFO] running `"docker" "inspect" "f54c4e16d5441ff9aa18bf17f319939306d89b2c2b5318fa89ce616875ec4c82"` [INFO] running `"docker" "rm" "-f" "f54c4e16d5441ff9aa18bf17f319939306d89b2c2b5318fa89ce616875ec4c82"` [INFO] [stdout] f54c4e16d5441ff9aa18bf17f319939306d89b2c2b5318fa89ce616875ec4c82