[INFO] cloning repository https://github.com/eigenein/rusty-tank [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eigenein/rusty-tank" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feigenein%2Frusty-tank", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feigenein%2Frusty-tank'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a9f1610d1ca58e3af0ef2a95e1036eaf02c32f1 [INFO] checking eigenein/rusty-tank against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feigenein%2Frusty-tank" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eigenein/rusty-tank on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eigenein/rusty-tank [INFO] finished tweaking git repo https://github.com/eigenein/rusty-tank [INFO] tweaked toml for git repo https://github.com/eigenein/rusty-tank written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/eigenein/rusty-tank already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb7ccd2ee912bafb9c0eddb56fe1002280e3794e99513b07d321ee46ecc60e52 [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" "fb7ccd2ee912bafb9c0eddb56fe1002280e3794e99513b07d321ee46ecc60e52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb7ccd2ee912bafb9c0eddb56fe1002280e3794e99513b07d321ee46ecc60e52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb7ccd2ee912bafb9c0eddb56fe1002280e3794e99513b07d321ee46ecc60e52", kill_on_drop: false }` [INFO] [stdout] fb7ccd2ee912bafb9c0eddb56fe1002280e3794e99513b07d321ee46ecc60e52 [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 439da80a964107f97d34f6dd28985a7dd79617850f823e97db69cc698e0df9ea [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" "439da80a964107f97d34f6dd28985a7dd79617850f823e97db69cc698e0df9ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking rusty-tank v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/svdcf.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/helpers.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_seconds(start_time: time::Tm) -> f32 { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/helpers.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_seconds(start_time: time::Tm) -> f32 { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/helpers.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let start_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/helpers.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let start_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/svdcf.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn evaluate(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn evaluate_error_distribution(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/helpers.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/helpers.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_seconds(start_time: time::Tm) -> f32 { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/helpers.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let start_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/helpers.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_seconds(start_time: time::Tm) -> f32 { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn evaluate(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn evaluate_error_distribution(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/helpers.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn evaluate(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/helpers.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let start_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn evaluate(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn evaluate_error_distribution(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/helpers.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn evaluate_error_distribution(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/helpers.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/helpers.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_seconds(start_time: time::Tm) -> f32 { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/helpers.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let start_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/helpers.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_seconds(start_time: time::Tm) -> f32 { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/helpers.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let start_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/helpers.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_seconds(start_time: time::Tm) -> f32 { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/helpers.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let start_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn evaluate(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn evaluate(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn evaluate_error_distribution(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn evaluate_error_distribution(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/helpers.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/helpers.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn evaluate(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn evaluate_error_distribution(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/helpers.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::now` [INFO] [stdout] --> src/helpers.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use time::now; [INFO] [stdout] | ^^^^^^^^^ no `now` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/helpers.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_seconds(start_time: time::Tm) -> f32 { [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/helpers.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let start_time = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn evaluate(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn evaluate_error_distribution(model: &AbstractModel, train_matrix: &csr::Csr, test_matrix: &csr::Csr, inverse_f: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AbstractModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/helpers.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/helpers.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | (if !rng.gen_weighted_bool(20) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-tank` [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] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/helpers.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | (if !rng.gen_weighted_bool(20) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/helpers.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | (if !rng.gen_weighted_bool(20) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/helpers.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | (if !rng.gen_weighted_bool(20) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/svd.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | base: rng.gen_range(-GEN_RANGE, GEN_RANGE), [INFO] [stdout] | ^^^^^^^^^ ---------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/svd.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | row_bases: (0..row_count).map(|_| rng.gen_range(-GEN_RANGE, GEN_RANGE)).collect(), [INFO] [stdout] | ^^^^^^^^^ ---------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/svd.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | column_bases: (0..column_count).map(|_| rng.gen_range(-GEN_RANGE, GEN_RANGE)).collect(), [INFO] [stdout] | ^^^^^^^^^ ---------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/helpers.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | (if !rng.gen_weighted_bool(20) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/svd.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | |_| rng.gen_range(-GEN_RANGE, GEN_RANGE) [INFO] [stdout] | ^^^^^^^^^ ---------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/helpers.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | (if !rng.gen_weighted_bool(20) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/svd.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | base: rng.gen_range(-GEN_RANGE, GEN_RANGE), [INFO] [stdout] | ^^^^^^^^^ ---------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/svd.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | row_bases: (0..row_count).map(|_| rng.gen_range(-GEN_RANGE, GEN_RANGE)).collect(), [INFO] [stdout] | ^^^^^^^^^ ---------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/svd.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | column_bases: (0..column_count).map(|_| rng.gen_range(-GEN_RANGE, GEN_RANGE)).collect(), [INFO] [stdout] | ^^^^^^^^^ ---------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/svd.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | |_| rng.gen_range(-GEN_RANGE, GEN_RANGE) [INFO] [stdout] | ^^^^^^^^^ ---------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/helpers.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | (if !rng.gen_weighted_bool(20) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/helpers.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | (if !rng.gen_weighted_bool(20) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "439da80a964107f97d34f6dd28985a7dd79617850f823e97db69cc698e0df9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439da80a964107f97d34f6dd28985a7dd79617850f823e97db69cc698e0df9ea", kill_on_drop: false }` [INFO] [stdout] 439da80a964107f97d34f6dd28985a7dd79617850f823e97db69cc698e0df9ea