[INFO] cloning repository https://github.com/HenriMalahieude/automata-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HenriMalahieude/automata-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenriMalahieude%2Fautomata-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenriMalahieude%2Fautomata-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d17bf69187c2c8e3fd7af35d86c01b0952b861f
[INFO] checking HenriMalahieude/automata-rs against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenriMalahieude%2Fautomata-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HenriMalahieude/automata-rs
[INFO] finished tweaking git repo https://github.com/HenriMalahieude/automata-rs
[INFO] tweaked toml for git repo https://github.com/HenriMalahieude/automata-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HenriMalahieude/automata-rs on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HenriMalahieude/automata-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a
[INFO] running `Command { std: "docker" "start" "e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]     Checking cfg-if v1.0.5
[INFO] [stderr]     Checking chacha20 v0.10.2
[INFO] [stderr]     Checking getrandom v0.4.3
[INFO] [stderr]     Checking rand v0.10.3
[INFO] [stderr]     Checking linear-automata v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/automata.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Deref, DerefMut};
[INFO] [stdout]   |                ^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/automata.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Deref, DerefMut};
[INFO] [stdout]   |                ^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid1d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn shape(&self) -> Vec<usize> { return vec![self.len()]; }
[INFO] [stdout]    |                                                      ^^^ method not found in `&Grid1d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn shape(&self) -> Vec<usize> { return vec![self.0.len()]; }
[INFO] [stdout]    |                                                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid1d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method not found in `&Grid1d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert!(ind[0] < self.0.len());
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid1d<CellT>`
[INFO] [stdout]   --> src/automata.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |         return &self[ind[0]];
[INFO] [stdout]    |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid1d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn shape(&self) -> Vec<usize> { return vec![self.len()]; }
[INFO] [stdout]    |                                                      ^^^ method not found in `&Grid1d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn shape(&self) -> Vec<usize> { return vec![self.0.len()]; }
[INFO] [stdout]    |                                                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for mutable reference `&mut Grid1d<CellT>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/automata.rs:35:31
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Grid1d<CellT>(pub Vec<CellT>);
[INFO] [stdout]    | ------------------------ doesn't satisfy `Grid1d<CellT>: ExactSizeIterator`
[INFO] [stdout] ...
[INFO] [stdout] 35 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method cannot be called on `&mut Grid1d<CellT>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Grid1d<CellT>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut Grid1d<CellT>: ExactSizeIterator`
[INFO] [stdout] note: the trait `ExactSizeIterator` must be implemented
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/iter/traits/exact_size.rs:86:0
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid1d<CellT>`
[INFO] [stdout]   --> src/automata.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         self[ind[0]] = v;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid1d<CellT>`
[INFO] [stdout]   --> src/automata.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |             self[i] = Self::Cell::default();
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid1d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method not found in `&Grid1d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert!(ind[0] < self.0.len());
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid1d<CellT>`
[INFO] [stdout]   --> src/automata.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |         return &self[ind[0]];
[INFO] [stdout]    |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for mutable reference `&mut Grid1d<CellT>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/automata.rs:35:31
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Grid1d<CellT>(pub Vec<CellT>);
[INFO] [stdout]    | ------------------------ doesn't satisfy `Grid1d<CellT>: ExactSizeIterator`
[INFO] [stdout] ...
[INFO] [stdout] 35 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method cannot be called on `&mut Grid1d<CellT>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Grid1d<CellT>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut Grid1d<CellT>: ExactSizeIterator`
[INFO] [stdout] note: the trait `ExactSizeIterator` must be implemented
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/iter/traits/exact_size.rs:86:0
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid1d<CellT>`
[INFO] [stdout]   --> src/automata.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         self[ind[0]] = v;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid2d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len()]; }
[INFO] [stdout]    |                                                      ^^^ method not found in `&Grid2d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn shape(&self) -> Vec<usize> { return vec![self.0.len(), self[0].len()]; }
[INFO] [stdout]    |                                                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid1d<CellT>`
[INFO] [stdout]   --> src/automata.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |             self[i] = Self::Cell::default();
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:51:65
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len()]; }
[INFO] [stdout]    |                                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid2d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method not found in `&Grid2d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(ind[0] < self.0.len());
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:56:30
[INFO] [stdout]    |
[INFO] [stdout] 56 |         assert!(ind[1] < self[0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |         return &self[ind[0]][ind[1]];
[INFO] [stdout]    |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid2d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len()]; }
[INFO] [stdout]    |                                                      ^^^ method not found in `&Grid2d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn shape(&self) -> Vec<usize> { return vec![self.0.len(), self[0].len()]; }
[INFO] [stdout]    |                                                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:51:65
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len()]; }
[INFO] [stdout]    |                                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for mutable reference `&mut Grid2d<CellT>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/automata.rs:62:31
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Grid2d<CellT>(pub Vec<Vec<CellT>>);
[INFO] [stdout]    | ------------------------ doesn't satisfy `Grid2d<CellT>: ExactSizeIterator`
[INFO] [stdout] ...
[INFO] [stdout] 62 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method cannot be called on `&mut Grid2d<CellT>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Grid2d<CellT>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut Grid2d<CellT>: ExactSizeIterator`
[INFO] [stdout] note: the trait `ExactSizeIterator` must be implemented
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/iter/traits/exact_size.rs:86:0
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         assert!(ind[1] < self[0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         self[ind[0]][ind[1]] = v;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 self[i][j] = Self::Cell::default();
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid2d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method not found in `&Grid2d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(ind[0] < self.0.len());
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:56:30
[INFO] [stdout]    |
[INFO] [stdout] 56 |         assert!(ind[1] < self[0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |         return &self[ind[0]][ind[1]];
[INFO] [stdout]    |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for mutable reference `&mut Grid2d<CellT>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/automata.rs:62:31
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Grid2d<CellT>(pub Vec<Vec<CellT>>);
[INFO] [stdout]    | ------------------------ doesn't satisfy `Grid2d<CellT>: ExactSizeIterator`
[INFO] [stdout] ...
[INFO] [stdout] 62 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method cannot be called on `&mut Grid2d<CellT>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Grid2d<CellT>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut Grid2d<CellT>: ExactSizeIterator`
[INFO] [stdout] note: the trait `ExactSizeIterator` must be implemented
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/iter/traits/exact_size.rs:86:0
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         assert!(ind[1] < self[0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         self[ind[0]][ind[1]] = v;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid2d<CellT>`
[INFO] [stdout]   --> src/automata.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 self[i][j] = Self::Cell::default();
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid3d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:82:54
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len(), self[0][0].len()]; }
[INFO] [stdout]    |                                                      ^^^ method not found in `&Grid3d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn shape(&self) -> Vec<usize> { return vec![self.0.len(), self[0].len(), self[0][0].len()]; }
[INFO] [stdout]    |                                                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:82:65
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len(), self[0][0].len()]; }
[INFO] [stdout]    |                                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:82:80
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len(), self[0][0].len()]; }
[INFO] [stdout]    |                                                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid3d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:82:54
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len(), self[0][0].len()]; }
[INFO] [stdout]    |                                                      ^^^ method not found in `&Grid3d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn shape(&self) -> Vec<usize> { return vec![self.0.len(), self[0].len(), self[0][0].len()]; }
[INFO] [stdout]    |                                                      ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:82:65
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len(), self[0][0].len()]; }
[INFO] [stdout]    |                                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:82:80
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn shape(&self) -> Vec<usize> { return vec![self.len(), self[0].len(), self[0][0].len()]; }
[INFO] [stdout]    |                                                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid3d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method not found in `&Grid3d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 86 |         assert!(ind[0] < self.0.len());
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:87:30
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert!(ind[1] < self[0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert!(ind[2] < self[0][0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |         return &self[ind[0]][ind[1]][ind[2]];
[INFO] [stdout]    |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for mutable reference `&mut Grid3d<CellT>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/automata.rs:94:31
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct Grid3d<CellT>(pub Vec<Vec<Vec<CellT>>>);
[INFO] [stdout]    | ------------------------ doesn't satisfy `Grid3d<CellT>: ExactSizeIterator`
[INFO] [stdout] ...
[INFO] [stdout] 94 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method cannot be called on `&mut Grid3d<CellT>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Grid3d<CellT>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut Grid3d<CellT>: ExactSizeIterator`
[INFO] [stdout] note: the trait `ExactSizeIterator` must be implemented
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/iter/traits/exact_size.rs:86:0
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(ind[1] < self[0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:96:30
[INFO] [stdout]    |
[INFO] [stdout] 96 |         assert!(ind[2] < self[0][0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         self[ind[0]][ind[1]][ind[2]] = v;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid3d<CellT>`
[INFO] [stdout]    --> src/automata.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     self[i][j][k] = Self::Cell::default();
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&Grid3d<CellT>` in the current scope
[INFO] [stdout]   --> src/automata.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method not found in `&Grid3d<CellT>`
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 86 |         assert!(ind[0] < self.0.len());
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:87:30
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert!(ind[1] < self[0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert!(ind[2] < self[0][0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |         return &self[ind[0]][ind[1]][ind[2]];
[INFO] [stdout]    |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for mutable reference `&mut Grid3d<CellT>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/automata.rs:94:31
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct Grid3d<CellT>(pub Vec<Vec<Vec<CellT>>>);
[INFO] [stdout]    | ------------------------ doesn't satisfy `Grid3d<CellT>: ExactSizeIterator`
[INFO] [stdout] ...
[INFO] [stdout] 94 |         assert!(ind[0] < self.len());
[INFO] [stdout]    |                               ^^^ method cannot be called on `&mut Grid3d<CellT>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Grid3d<CellT>: ExactSizeIterator`
[INFO] [stdout]            which is required by `&mut Grid3d<CellT>: ExactSizeIterator`
[INFO] [stdout] note: the trait `ExactSizeIterator` must be implemented
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/iter/traits/exact_size.rs:86:0
[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 `len`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(ind[1] < self[0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:96:30
[INFO] [stdout]    |
[INFO] [stdout] 96 |         assert!(ind[2] < self[0][0].len());
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid3d<CellT>`
[INFO] [stdout]   --> src/automata.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         self[ind[0]][ind[1]][ind[2]] = v;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&mut Grid3d<CellT>`
[INFO] [stdout]    --> src/automata.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     self[i][j][k] = Self::Cell::default();
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linear-automata` (bin "linear-automata") due to 27 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `linear-automata` (bin "linear-automata" test) due to 27 previous errors; 2 warnings emitted
[INFO] [stderr] warning: unused dependency `rand`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | rand = "0.10.2"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `rand`
[INFO] [stderr] warning: `linear-automata` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a", kill_on_drop: false }`
[INFO] [stdout] e7f8918024081b841e5b837af9088bc1c82f53457d07d3f922a192293137834a
