[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] checking hardvain/nimbus against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardvain%2Fnimbus" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hardvain/nimbus on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8a69fc336c2e25c22ee74a6a8250b0f84d7f9e644f811c415e3ba29cb0fa573 [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" "f8a69fc336c2e25c22ee74a6a8250b0f84d7f9e644f811c415e3ba29cb0fa573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8a69fc336c2e25c22ee74a6a8250b0f84d7f9e644f811c415e3ba29cb0fa573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a69fc336c2e25c22ee74a6a8250b0f84d7f9e644f811c415e3ba29cb0fa573", kill_on_drop: false }` [INFO] [stdout] f8a69fc336c2e25c22ee74a6a8250b0f84d7f9e644f811c415e3ba29cb0fa573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74c0b94a1543e52ed20ec997783bbb11e436741e514867c8aec75b18b2bba1d1 [INFO] running `Command { std: "docker" "start" "-a" "74c0b94a1543e52ed20ec997783bbb11e436741e514867c8aec75b18b2bba1d1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking rand v0.8.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking stopwatch v0.0.7 [INFO] [stderr] Checking 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] 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[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` [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[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: build failed [INFO] running `Command { std: "docker" "inspect" "74c0b94a1543e52ed20ec997783bbb11e436741e514867c8aec75b18b2bba1d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c0b94a1543e52ed20ec997783bbb11e436741e514867c8aec75b18b2bba1d1", kill_on_drop: false }` [INFO] [stdout] 74c0b94a1543e52ed20ec997783bbb11e436741e514867c8aec75b18b2bba1d1