[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feigenein%2Frusty-tank" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eigenein/rusty-tank on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c1532d827252926fef0bbc5c2dc21147307fdf4b847d81ed251ae5743303de7 [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" "9c1532d827252926fef0bbc5c2dc21147307fdf4b847d81ed251ae5743303de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c1532d827252926fef0bbc5c2dc21147307fdf4b847d81ed251ae5743303de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c1532d827252926fef0bbc5c2dc21147307fdf4b847d81ed251ae5743303de7", kill_on_drop: false }` [INFO] [stdout] 9c1532d827252926fef0bbc5c2dc21147307fdf4b847d81ed251ae5743303de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c793d7ed3abcf3327b84ea4dde8f5bcb0e45b4850c445ebd0cf968f74faff49 [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" "5c793d7ed3abcf3327b84ea4dde8f5bcb0e45b4850c445ebd0cf968f74faff49", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.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/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[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[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] 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] 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] 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[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] 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[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] 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[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[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: 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[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] 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] 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 6 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: 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[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[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: aborting due to 6 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[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] 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] 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" "5c793d7ed3abcf3327b84ea4dde8f5bcb0e45b4850c445ebd0cf968f74faff49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c793d7ed3abcf3327b84ea4dde8f5bcb0e45b4850c445ebd0cf968f74faff49", kill_on_drop: false }` [INFO] [stdout] 5c793d7ed3abcf3327b84ea4dde8f5bcb0e45b4850c445ebd0cf968f74faff49