[INFO] cloning repository https://github.com/hardvain/nimbus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hardvain/nimbus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardvain%2Fnimbus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardvain%2Fnimbus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f12de07ba7ea498a4a6221119e40772563a54b9 [INFO] testing hardvain/nimbus against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardvain%2Fnimbus" "/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/hardvain/nimbus on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hardvain/nimbus [INFO] finished tweaking git repo https://github.com/hardvain/nimbus [INFO] tweaked toml for git repo https://github.com/hardvain/nimbus written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/hardvain/nimbus already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.1 [INFO] [stderr] Downloaded stopwatch v0.0.7 [INFO] [stderr] Downloaded rand v0.8.1 [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2292777a58a98f5d719753609a5d4f3313a0e69d3cd8d97797fbf49d561dd479 [INFO] running `Command { std: "docker" "start" "-a" "2292777a58a98f5d719753609a5d4f3313a0e69d3cd8d97797fbf49d561dd479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2292777a58a98f5d719753609a5d4f3313a0e69d3cd8d97797fbf49d561dd479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2292777a58a98f5d719753609a5d4f3313a0e69d3cd8d97797fbf49d561dd479", kill_on_drop: false }` [INFO] [stdout] 2292777a58a98f5d719753609a5d4f3313a0e69d3cd8d97797fbf49d561dd479 [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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 708d36aa03b9aa4c383ada028ed553ae82a5de78bccc39738b5017f296129743 [INFO] running `Command { std: "docker" "start" "-a" "708d36aa03b9aa4c383ada028ed553ae82a5de78bccc39738b5017f296129743", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling stopwatch v0.0.7 [INFO] [stderr] Compiling nimbus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/data.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | &self.data[self.last_index - index] [INFO] [stdout] | ^^^^^ expected `i64`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `i64` [INFO] [stdout] --> src/data.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | &self.data[self.last_index - index] [INFO] [stdout] | ^ no implementation for `i64 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f64]` cannot be indexed by `i64` [INFO] [stdout] --> src/data.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | &self.data[self.last_index - index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f64]>` is not implemented for `i64` [INFO] [stdout] = note: required because of the requirements on the impl of `Index` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `TimeSeries` in the current scope [INFO] [stdout] --> src/data.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TimeSeries { [INFO] [stdout] | --------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 61 | (self.open.get(index), self.high.get(index), self.low.get(index), self.close.get(index), self.volume.get(index)) [INFO] [stdout] | ^^^ method not found in `TimeSeries` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `TimeSeries` in the current scope [INFO] [stdout] --> src/data.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TimeSeries { [INFO] [stdout] | --------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 61 | (self.open.get(index), self.high.get(index), self.low.get(index), self.close.get(index), self.volume.get(index)) [INFO] [stdout] | ^^^ method not found in `TimeSeries` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `TimeSeries` in the current scope [INFO] [stdout] --> src/data.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TimeSeries { [INFO] [stdout] | --------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 61 | (self.open.get(index), self.high.get(index), self.low.get(index), self.close.get(index), self.volume.get(index)) [INFO] [stdout] | ^^^ method not found in `TimeSeries` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `TimeSeries` in the current scope [INFO] [stdout] --> src/data.rs:61:86 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TimeSeries { [INFO] [stdout] | --------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 61 | (self.open.get(index), self.high.get(index), self.low.get(index), self.close.get(index), self.volume.get(index)) [INFO] [stdout] | ^^^ method not found in `TimeSeries` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `TimeSeries` in the current scope [INFO] [stdout] --> src/data.rs:61:110 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TimeSeries { [INFO] [stdout] | --------------------- method `get` not found for this [INFO] [stdout] ... [INFO] [stdout] 61 | (self.open.get(index), self.high.get(index), self.low.get(index), self.close.get(index), self.volume.get(index)) [INFO] [stdout] | ^^^ method not found in `TimeSeries` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nimbus` due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "708d36aa03b9aa4c383ada028ed553ae82a5de78bccc39738b5017f296129743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708d36aa03b9aa4c383ada028ed553ae82a5de78bccc39738b5017f296129743", kill_on_drop: false }` [INFO] [stdout] 708d36aa03b9aa4c383ada028ed553ae82a5de78bccc39738b5017f296129743