[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a9f1610d1ca58e3af0ef2a95e1036eaf02c32f1 [INFO] testing eigenein/rusty-tank against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feigenein%2Frusty-tank" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eigenein/rusty-tank on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a68433997f644eaec8ad60d025af0b1b2c8389d858b70b39cf7946176dac889e [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" "a68433997f644eaec8ad60d025af0b1b2c8389d858b70b39cf7946176dac889e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a68433997f644eaec8ad60d025af0b1b2c8389d858b70b39cf7946176dac889e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68433997f644eaec8ad60d025af0b1b2c8389d858b70b39cf7946176dac889e", kill_on_drop: false }` [INFO] [stdout] a68433997f644eaec8ad60d025af0b1b2c8389d858b70b39cf7946176dac889e [INFO] running `Command { std: "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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf143ba2040fcd411f24e245af28c07b04e319bd2fe58cbadfe0f7ed977dd08b [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" "cf143ba2040fcd411f24e245af28c07b04e319bd2fe58cbadfe0f7ed977dd08b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling 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[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[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] 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[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 `rand::prelude::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 `rand::prelude::ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `rand::prelude::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 `rand::prelude::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] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `rand::prelude::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 `rand::prelude::ThreadRng` [INFO] [stdout] [INFO] [stdout] [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: 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 `rand::prelude::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 `rand::prelude::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" "cf143ba2040fcd411f24e245af28c07b04e319bd2fe58cbadfe0f7ed977dd08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf143ba2040fcd411f24e245af28c07b04e319bd2fe58cbadfe0f7ed977dd08b", kill_on_drop: false }` [INFO] [stdout] cf143ba2040fcd411f24e245af28c07b04e319bd2fe58cbadfe0f7ed977dd08b