[INFO] cloning repository https://github.com/nekechs/snailbrain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nekechs/snailbrain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekechs%2Fsnailbrain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekechs%2Fsnailbrain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0172a9aeeee3b6857f51e96caca4f74a390e6645
[INFO] checking nekechs/snailbrain against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekechs%2Fsnailbrain" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nekechs/snailbrain on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nekechs/snailbrain
[INFO] finished tweaking git repo https://github.com/nekechs/snailbrain
[INFO] tweaked toml for git repo https://github.com/nekechs/snailbrain written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/nekechs/snailbrain 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[ERROR] this task or one of its parent failed!
[ERROR] no output for 300 seconds
[ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.
[INFO] checking nekechs/snailbrain against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekechs%2Fsnailbrain" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nekechs/snailbrain on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nekechs/snailbrain
[INFO] finished tweaking git repo https://github.com/nekechs/snailbrain
[INFO] tweaked toml for git repo https://github.com/nekechs/snailbrain written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/nekechs/snailbrain 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking nekechs/snailbrain against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekechs%2Fsnailbrain" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nekechs/snailbrain on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nekechs/snailbrain
[INFO] finished tweaking git repo https://github.com/nekechs/snailbrain
[INFO] tweaked toml for git repo https://github.com/nekechs/snailbrain written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/nekechs/snailbrain 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e59580280ccd466bf31620d711503d7fecac5f14163d9e51b469b8fbc4e393d4
[INFO] running `Command { std: "docker" "start" "-a" "e59580280ccd466bf31620d711503d7fecac5f14163d9e51b469b8fbc4e393d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e59580280ccd466bf31620d711503d7fecac5f14163d9e51b469b8fbc4e393d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e59580280ccd466bf31620d711503d7fecac5f14163d9e51b469b8fbc4e393d4", kill_on_drop: false }`
[INFO] [stdout] e59580280ccd466bf31620d711503d7fecac5f14163d9e51b469b8fbc4e393d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6aebc3a5a58c714b6e982eb58692135a35fb9a6e0b7c39cacde27532ae3b696
[INFO] running `Command { std: "docker" "start" "-a" "f6aebc3a5a58c714b6e982eb58692135a35fb9a6e0b7c39cacde27532ae3b696", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking num-complex v0.4.2
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking snailbrain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/tens/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::default;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `re_i32` should have an upper camel case name
[INFO] [stdout]  --> src/tens/types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     re_i32,     // 4 bytes
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to upper camel case: `ReI32`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `re_i64` should have an upper camel case name
[INFO] [stdout]  --> src/tens/types.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     re_i64,     // 8 bytes
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to upper camel case: `ReI64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `re_f32` should have an upper camel case name
[INFO] [stdout]  --> src/tens/types.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     re_f32,     // 4 bytes
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to upper camel case: `ReF32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `re_f64` should have an upper camel case name
[INFO] [stdout]  --> src/tens/types.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     re_f64,     // 8 bytes
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to upper camel case: `ReF64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `cm_i32` should have an upper camel case name
[INFO] [stdout]   --> src/tens/types.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     cm_i32,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `CmI32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `cm_f32` should have an upper camel case name
[INFO] [stdout]   --> src/tens/types.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     cm_f32,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `CmF32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::Debug`, `rc::Rc`
[INFO] [stdout]  --> src/tens/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{rc::Rc, fmt::Debug};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/autograd/expr.rs:2:49
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{ops::{Add, Sub, Div}, cell::{RefCell, Ref}, rc::Rc};
[INFO] [stdout]   |                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::linalg::Dot`
[INFO] [stdout]  --> src/autograd/expr.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::linalg::Dot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RawData`
[INFO] [stdout]  --> src/autograd/tape.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{prelude::*, RawData};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Add`
[INFO] [stdout]  --> src/autograd/operations/matvecmul.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::RefCell, ops::Add};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zip`
[INFO] [stdout]  --> src/autograd/operations/matvecmul.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{prelude::*, Zip, LinalgScalar};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Add`
[INFO] [stdout]  --> src/autograd/operations/leaf.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, ops::Add};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zip`
[INFO] [stdout]  --> src/autograd/operations/leaf.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray::{prelude::*, Zip};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::Borrow`, `cell::RefCell`, `rc::Rc`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{rc::Rc, cell::RefCell, borrow::Borrow};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tens::view::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tens::view::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/tens/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::default;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `re_i32` should have an upper camel case name
[INFO] [stdout]  --> src/tens/types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     re_i32,     // 4 bytes
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to upper camel case: `ReI32`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `re_i64` should have an upper camel case name
[INFO] [stdout]  --> src/tens/types.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     re_i64,     // 8 bytes
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to upper camel case: `ReI64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `re_f32` should have an upper camel case name
[INFO] [stdout]  --> src/tens/types.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     re_f32,     // 4 bytes
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to upper camel case: `ReF32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `re_f64` should have an upper camel case name
[INFO] [stdout]  --> src/tens/types.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     re_f64,     // 8 bytes
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to upper camel case: `ReF64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `cm_i32` should have an upper camel case name
[INFO] [stdout]   --> src/tens/types.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     cm_i32,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `CmI32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `cm_f32` should have an upper camel case name
[INFO] [stdout]   --> src/tens/types.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     cm_f32,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `CmF32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::Debug`, `rc::Rc`
[INFO] [stdout]  --> src/tens/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{rc::Rc, fmt::Debug};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/autograd/expr.rs:2:49
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{ops::{Add, Sub, Div}, cell::{RefCell, Ref}, rc::Rc};
[INFO] [stdout]   |                                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::linalg::Dot`
[INFO] [stdout]  --> src/autograd/expr.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::linalg::Dot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RawData`
[INFO] [stdout]  --> src/autograd/tape.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{prelude::*, RawData};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Add`
[INFO] [stdout]  --> src/autograd/operations/matvecmul.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::RefCell, ops::Add};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zip`
[INFO] [stdout]  --> src/autograd/operations/matvecmul.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{prelude::*, Zip, LinalgScalar};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Add`
[INFO] [stdout]  --> src/autograd/operations/leaf.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, ops::Add};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zip`
[INFO] [stdout]  --> src/autograd/operations/leaf.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray::{prelude::*, Zip};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::Borrow`, `cell::RefCell`, `rc::Rc`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{rc::Rc, cell::RefCell, borrow::Borrow};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tens::view::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tens::view::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Dot`
[INFO] [stdout]  --> src/autograd/operations/matvecmul.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray::linalg::{general_mat_vec_mul, Dot, general_mat_mul};
[INFO] [stdout]   |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/autograd/tape.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut nodes = self.nodes.borrow_mut();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sizes`, `strides`, `offset`, and `dtype` are never read
[INFO] [stdout]   --> src/tens/view.rs:9:16
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct TensorView {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 9  |     pub(crate) sizes: Vec<usize>,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 10 |     pub(crate) strides: Vec<usize>,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 11 |     pub(crate) offset: usize,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 12 |     pub(crate) dtype: DType,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TensorView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `dtype` and `sizes` are never read
[INFO] [stdout]  --> src/tens/vec_sto.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct VecStorage {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 7 |     dtype: DType,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     sizes: Vec<usize>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `VecStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `re_i32`, `re_i64`, `re_f32`, `re_f64`, `cm_i32`, and `cm_f32` are never constructed
[INFO] [stdout]   --> src/tens/types.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub(crate) enum DType {
[INFO] [stdout]    |                 ----- variants in this enum
[INFO] [stdout] 5  |     re_i32,     // 4 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 6  |     re_i64,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 7  |     re_f32,     // 4 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 8  |     re_f64,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 9  |
[INFO] [stdout] 10 |     cm_i32,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     cm_f32,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `num_bytes` is never used
[INFO] [stdout]   --> src/tens/types.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl DType {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub(crate) fn num_bytes(&self) -> usize {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `operands` is never read
[INFO] [stdout]   --> src/autograd/tape.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Node {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub(crate) operands: Vec<usize>
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/autograd/operations/matvecmul.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | / impl <T> MatVecMulForward<T> 
[INFO] [stdout] 17 | | where
[INFO] [stdout] 18 | |     T: LinalgScalar
[INFO] [stdout]    | |___________________- associated function in this implementation
[INFO] [stdout] 19 |   {
[INFO] [stdout] 20 |       pub fn new(mat_ref: &Rc<RefCell<Array2<T>>>,
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> src/autograd/operations/leaf.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct LeafForward<T, D>{
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 10 |     pub(crate) value: Rc<RefCell<Array<T, D>>>
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `zeros` is never used
[INFO] [stdout]   --> src/autograd/operations/leaf.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl <T, D> LeafForward<T, D>
[INFO] [stdout] 14 | | where
[INFO] [stdout] 15 | |     D: Dimension,
[INFO] [stdout] 16 | |     T: Clone + Zero
[INFO] [stdout]    | |___________________- associated function in this implementation
[INFO] [stdout] 17 |   {
[INFO] [stdout] 18 |       pub fn zeros<Sh: Dimension>(shape: D) -> (Self, Rc<RefCell<Array<T, D>>>){
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `grad` is never read
[INFO] [stdout]   --> src/autograd/operations/leaf.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct LeafBackward<T, D> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 37 |     pub(crate) grad: Rc<RefCell<Array<T, D>>>
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let A = graph.from_elem_grad(Ix2(3, 4), 5.);
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Dot`
[INFO] [stdout]  --> src/autograd/operations/matvecmul.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray::linalg::{general_mat_vec_mul, Dot, general_mat_mul};
[INFO] [stdout]   |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/autograd/tape.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut nodes = self.nodes.borrow_mut();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sizes`, `strides`, `offset`, and `dtype` are never read
[INFO] [stdout]   --> src/tens/view.rs:9:16
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct TensorView {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 9  |     pub(crate) sizes: Vec<usize>,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 10 |     pub(crate) strides: Vec<usize>,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 11 |     pub(crate) offset: usize,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 12 |     pub(crate) dtype: DType,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TensorView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `dtype` and `sizes` are never read
[INFO] [stdout]  --> src/tens/vec_sto.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct VecStorage {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 7 |     dtype: DType,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     sizes: Vec<usize>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `VecStorage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `re_i32`, `re_i64`, `re_f32`, `re_f64`, `cm_i32`, and `cm_f32` are never constructed
[INFO] [stdout]   --> src/tens/types.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub(crate) enum DType {
[INFO] [stdout]    |                 ----- variants in this enum
[INFO] [stdout] 5  |     re_i32,     // 4 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 6  |     re_i64,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 7  |     re_f32,     // 4 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 8  |     re_f64,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 9  |
[INFO] [stdout] 10 |     cm_i32,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     cm_f32,     // 8 bytes
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `num_bytes` is never used
[INFO] [stdout]   --> src/tens/types.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl DType {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub(crate) fn num_bytes(&self) -> usize {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `operands` is never read
[INFO] [stdout]   --> src/autograd/tape.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Node {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub(crate) operands: Vec<usize>
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/autograd/operations/matvecmul.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | / impl <T> MatVecMulForward<T> 
[INFO] [stdout] 17 | | where
[INFO] [stdout] 18 | |     T: LinalgScalar
[INFO] [stdout]    | |___________________- associated function in this implementation
[INFO] [stdout] 19 |   {
[INFO] [stdout] 20 |       pub fn new(mat_ref: &Rc<RefCell<Array2<T>>>,
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> src/autograd/operations/leaf.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct LeafForward<T, D>{
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 10 |     pub(crate) value: Rc<RefCell<Array<T, D>>>
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `zeros` is never used
[INFO] [stdout]   --> src/autograd/operations/leaf.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl <T, D> LeafForward<T, D>
[INFO] [stdout] 14 | | where
[INFO] [stdout] 15 | |     D: Dimension,
[INFO] [stdout] 16 | |     T: Clone + Zero
[INFO] [stdout]    | |___________________- associated function in this implementation
[INFO] [stdout] 17 |   {
[INFO] [stdout] 18 |       pub fn zeros<Sh: Dimension>(shape: D) -> (Self, Rc<RefCell<Array<T, D>>>){
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `grad` is never read
[INFO] [stdout]   --> src/autograd/operations/leaf.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct LeafBackward<T, D> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 37 |     pub(crate) grad: Rc<RefCell<Array<T, D>>>
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let A = graph.from_elem_grad(Ix2(3, 4), 5.);
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.81s
[INFO] running `Command { std: "docker" "inspect" "f6aebc3a5a58c714b6e982eb58692135a35fb9a6e0b7c39cacde27532ae3b696", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6aebc3a5a58c714b6e982eb58692135a35fb9a6e0b7c39cacde27532ae3b696", kill_on_drop: false }`
[INFO] [stdout] f6aebc3a5a58c714b6e982eb58692135a35fb9a6e0b7c39cacde27532ae3b696
